Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Category

List all categories for the authenticated user

get
Responses
200Success
application/json
itemsanyOptional
get/account/categories
GET /api/client/account/categories HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Create a new category

post
Body
namestring · max: 191Required
descriptionstring · nullableOptional
colorstring · max: 7 · nullableOptionalPattern: ^#([a-f0-9]{6}|[a-f0-9]{3})$
Responses
200Success
application/json
itemsanyOptional
post/account/categories
POST /api/client/account/categories HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "name": "text",
  "description": null,
  "color": null
}
[]

Get a specific category

get
Path parameters
uuidstringRequired
Responses
200Success
application/json
itemsanyOptional
get/account/categories/{uuid}
GET /api/client/account/categories/{uuid} HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Update a category

put
Path parameters
uuidstringRequired
Body
namestring · max: 191Optional
descriptionstring · nullableOptional
colorstring · max: 7 · nullableOptionalPattern: ^#([a-f0-9]{6}|[a-f0-9]{3})$
Responses
200Success
application/json
itemsanyOptional
put/account/categories/{uuid}
PUT /api/client/account/categories/{uuid} HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "name": "text",
  "description": null,
  "color": null
}
[]

Delete a category

delete
Path parameters
uuidstringRequired
Responses
204

No content

application/json
string[]Optional
delete/account/categories/{uuid}
DELETE /api/client/account/categories/{uuid} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Reorder categories for the authenticated user

post
Body
idsstringOptional
Responses
204

No content

application/json
string[]Optional
post/account/categories/reorder
POST /api/client/account/categories/reorder HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "ids": "text"
}
[
  "text"
]

Last updated

Was this helpful?