curl --request GET \
--url https://api.example.com/api/categories/:slug{
"category": {
"_id": "507f1f77bcf86cd799439011",
"name": "Technology",
"slug": "technology",
"description": "Articles about technology and innovation",
"createdAt": "2024-01-15T10:30:00.000Z"
}
}
Retrieve a specific category by its slug
curl --request GET \
--url https://api.example.com/api/categories/:slug{
"category": {
"_id": "507f1f77bcf86cd799439011",
"name": "Technology",
"slug": "technology",
"description": "Articles about technology and innovation",
"createdAt": "2024-01-15T10:30:00.000Z"
}
}
Retrieves a single category identified by its URL-friendly slug. This endpoint is publicly accessible and does not require authentication.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/PhemiT/vaniykeempire-api/llms.txt
Use this file to discover all available pages before exploring further.
{
"category": {
"_id": "507f1f77bcf86cd799439011",
"name": "Technology",
"slug": "technology",
"description": "Articles about technology and innovation",
"createdAt": "2024-01-15T10:30:00.000Z"
}
}
{
"error": "Category not found"
}
{
"error": "Database connection failed"
}
curl https://api.vaniyk-empire.com/api/categories/technology