Authentication
Every request must include the bearer token below in the
Authorization
header.
Header format:
Authorization: Bearer xXBestCoreClassIS404Xx
Base URL:
https://socialdo.is404.net
Endpoints
/api/todos
List todos
Returns every todo item. Add ?user=NAME to filter by user.
/api/todos
Create todo
Creates a todo item and returns it with its ID.
Body
{
"user": "ada",
"todo": "Prepare lecture notes"
}
/api/todos/{id}
Update todo
Change the description or mark an item as complete.
Body options
{
"todo": "Publish notes",
"completed": true
}
/api/todos/{id}
Delete todo
Removes a todo item. Returns 204 No Content when successful.