Notebook
All routes under /api/v1/notebook require authentication.
GET /notebook
List notes with filtering.
Auth: Required
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
tag | string | Filter by tag |
search | string | Search by title/content |
ordering | string | date, -date, title |
Response:
{
"success": true,
"data": {
"items": [
{
"id": "uuid",
"title": "Weekly Order Checklist",
"content": "Check stock levels every Monday...",
"tags": ["weekly", "checklist"],
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2024-01-15T10:00:00Z"
}
],
"count": 12
}
}POST /notebook
Create a new note.
Auth: Required
Request Body:
{
"title": "Weekly Order Checklist",
"content": "Check stock levels every Monday morning before opening.",
"tags": ["weekly", "checklist"]
}Response: Note object.
GET /notebook/:id
Get a single note.
Auth: Required
PATCH /notebook/:id
Update a note. All fields optional.
Auth: Required
DELETE /notebook/:id
Delete a note.
Auth: Required