Retrieve a single category by ID
GET/categories/:id
Retrieve a single category by ID
Request
Path Parameters
id stringrequired
Responses
- 200
- 404
Successfully retrieved the category
- */*
- Schema
- Example (from schema)
Schema
id uuid
name string
created_at date-time
updated_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"created_at": "2024-03-23T09:23:32.856Z",
"updated_at": "2024-03-23T09:23:32.856Z"
}
Category not found
- */*
- Schema
- Example (from schema)
Schema
id uuid
name string
created_at date-time
updated_at date-time
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"created_at": "2024-03-23T09:23:32.857Z",
"updated_at": "2024-03-23T09:23:32.857Z"
}
Loading...