list
GET /category
GET
/category
Lists all categories.
Parameters
Query Parameters
page
number
Page number starting at 1
Example
perPage
number
Items per page
Example
sort
string
Sort string (-/+
Example
filter
expand
string
Expand a foreign key column (https://pocketbase.io/docs/working-with-relations/#expanding-relations).
Example
requestKey
string
Unique request key. Prevents auto cancel when sending multiple requests.
Example
Responses
200
object
page
required
integer
perPage
required
integer
totalItems
required
integer
totalPages
required
integer
items
required
Array<object>
object
collectionId
required
string
collectionName
required
string
created
required
string
id
required
string
img
required
string
name
required
string
updated
required
string
Examples
Success
400
object
message
required
string
detail
required
Array<object>
object
code
string
minimum
integer
type
string
inclusive
boolean
exact
boolean
message
string
path
Array<string>
Examples
Exception
x-400:Invalid sort/expand/filter
object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
Examples
Exception