Categories
Last updated
Last updated
GET /api/categories HTTP/1.1
Accept: */*
[
{
"id": 1,
"name": "text",
"description": "text",
"color": "text",
"createdAt": "2026-02-06T15:50:50.584Z"
}
]POST /api/categories HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"name": "text",
"description": "text",
"color": "#3B82F6"
}{
"id": 1,
"name": "text",
"description": "text",
"color": "text",
"createdAt": "2026-02-06T15:50:50.584Z"
}PUT /api/categories HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"id": 1,
"name": "text",
"description": "text",
"color": "text"
}{
"id": 1,
"name": "text",
"description": "text",
"color": "text",
"createdAt": "2026-02-06T15:50:50.584Z"
}DELETE /api/categories?id=text HTTP/1.1
Accept: */*