List all ToDo Items
GET/api/todos
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| status | String | optional Optional filter by status (to_do, done) |
| created_by | Number | optional Optional filter by creator user ID |
curl -X GET "https://yoursite.com/api/todos" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
[
{
"id": "1",
"title": "Task",
"description": "",
"status": "to_do",
"created_by": "1"
}
]