List all ToDo Items

GET/api/todos

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
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"
  }
]
MethodGET
Path/api/todos
GroupTo Do
Sincev1.0.0
Defined inRestApi/Controllers/ToDoController.php