Skip to main content

GET: Get Category

Endpoint: GET http://api.blug.io/api/v1/blog/categories/:id/

Description

This request retrieves a single category.

Headers

  • X-API-KEY: {{API_KEY}}

Path Variables

  • id — The unique identifier of the category. Example: fe7c3208-454a-sten-899e-018dd20e9247

Example Request

curl --location 'http://api.blug.io/api/v1/blog/categories/fe7c3208-454a-sten-899e-018dd20e9247/'

Example Response

200 OK

{
"uuid": "fe7c3208-454a-sten-899e-018dd20e9247",
"name": "Tech & Sports",
"description": null,
"cover_image": "https://imgflip.com/gif/931mkx",
"slug": "tech-sports",
"articles": []
}