GetCategoriesResponseDto
nextCursorstring
Cursor for fetching the next page of results
Example:
eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQpreviousCursorstring
Cursor for fetching the previous page of results
Example:
eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9totalnumberrequired
Total amount of results
results object[]required
List of categories matching the query criteria
Array [
idnumberrequired
Unique identifier for the category
Example:
1namestringrequired
Name of the category
Example:
Test categorycreatedAtstring<date-time>required
Date when the category was created
updatedAtstring<date-time>required
Date when the category was last updated
]
GetCategoriesResponseDto
{
"nextCursor": "eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQ",
"previousCursor": "eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9",
"total": 0,
"results": [
{
"id": 1,
"name": "Test category",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
]
}