Create a new category
POST/v1/categories
Create a new category
Request
Query Parameters
q string
Search query for categories
- application/json
Body
required
groupId uuid
Example:
01926b84-93cb-75b9-b445-a5a744f7a59fname string
Example:
Groceriesnotes string
Example:
Some markdown notesResponses
- 201
- 400
- 401
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
id uuid
Example:
01926b84-93cb-75b9-b445-a5a744f7a59fgroupId uuid
Example:
01926b84-93cb-75b9-b445-a5a744f7a59fname string
Example:
Groceriesnotes string
Example:
Some markdown notescreatedAt date-time
Example:
2024-10-07T01:02:03ZupdatedAt date-time
Example:
2024-10-07T01:02:03Z{
"id": "01926b84-93cb-75b9-b445-a5a744f7a59f",
"groupId": "01926b84-93cb-75b9-b445-a5a744f7a59f",
"name": "Groceries",
"notes": "Some markdown notes",
"createdAt": "2024-10-07T01:02:03Z",
"updatedAt": "2024-10-07T01:02:03Z"
}
Bad request
Unauthenticated
Internal Error
Loading...