API Introduction

Welcome to the DITBlogs API documentation. Our API provides programmatic access to manage and retrieve your blog content, including posts, categories, tags, and comments.

Base URL

All API endpoints are relative to the following base URL:

text
https://blogs.dishis.tech/api/v1

Note

All API requests must be made over HTTPS. Calls made over plain HTTP will fail.

Quickstart: Fetching Recent Posts

Here’s a quick example to get you started. This cURL command fetches the 10 most recent posts from your organization. Don't forget to replace YOUR_API_KEY with your actual key.

bash
curl --request GET \
     --url 'https://blogs.dishis.tech/api/v1/posts' \
     --header 'Authorization: Bearer YOUR_API_KEY'