Download OpenAPI specification:Download
TodoアプリのバックエンドAPIです。
IDに紐づくTodoをDBから削除する
Delete Todo
OK
Bad Request
Internal Server Error
{"id": 0}
{"result": "string"}
リクエストに含まれるTodoのデータをDBに登録する
Register Todo
{"content": "string"}
DBに登録されているすべてのTodoをリストで取得する
{"content": "string","createdAt": "string","done": true,"id": 0,"updatedAt": "string"}
IDに紐づいているTodoのステータスを更新する。呼び出す度に、Doneのステータスをトグルする。
Update Todo