Blog¶
3 endpoint(s).
| Endpoint | Method | Summary | Auth |
|---|---|---|---|
/api/v1/blog/posts |
GET |
List Posts | |
/api/v1/blog/posts/by-tag/{tag} |
GET |
List By Tag | |
/api/v1/blog/posts/{slug} |
GET |
Get Post |
GET /api/v1/blog/posts¶
List Posts
| Param | In | Type | Required | Description |
|---|---|---|---|---|
limit |
query | integer | no |
Response 200 — array[BlogPostOut]
Example
curl -X GET 'https://api.example.com/api/v1/blog/posts' \
-H 'Authorization: Bearer <API_KEY>'
GET /api/v1/blog/posts/by-tag/{tag}¶
List By Tag
| Param | In | Type | Required | Description |
|---|---|---|---|---|
tag |
path | string | yes | |
limit |
query | integer | no |
Response 200 — array[BlogPostOut]
Example
curl -X GET 'https://api.example.com/api/v1/blog/posts/by-tag/${tag}' \
-H 'Authorization: Bearer <API_KEY>'
GET /api/v1/blog/posts/{slug}¶
Get Post
| Param | In | Type | Required | Description |
|---|---|---|---|---|
slug |
path | string | yes |
Response 200 — BlogPostOut
Example
curl -X GET 'https://api.example.com/api/v1/blog/posts/${slug}' \
-H 'Authorization: Bearer <API_KEY>'