cURL
curl --request GET \ --url http://localhost:3000/api/v1/categories/{id} \ --header 'Authorization: Bearer <token>'
{ "category": { "id": "cat_business12", "name": "Business", "description": "General business news and updates." } }
Returns details for a single category, including its description.
API Key authentication using Bearer token
Bearer token for authentication
Category ID
Category retrieved successfully
Show child attributes