The API endpoint allows you to retrieve all the added todos.When accessing this endpoint, you will receive a response containing a list of all the todos that have been added.

https://api.freeapi.app/api/v1/todos?query=reactjs&complete=false

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 { "data": [ { "__v": 0, "_id": "648e070a36b0cc220c8a7883", "createdAt": "2023-06-17T19:18:34.462Z", "description": "Some description about todo", "isDone": false, "title": "Learn python", "updatedAt": "2023-06-17T19:18:34.462Z" }, { "__v": 0, "_id": "648e0741aeefd0cfa40adddd", "createdAt": "2023-06-17T19:19:29.887Z", "description": "", "isDone": false, "title": "Learn Javascript", "updatedAt": "2023-06-17T19:19:29.887Z" }, { "__v": 0, "_id": "648e0746aeefd0cfa40adddf", "createdAt": "2023-06-17T19:19:34.866Z", "description": "", "isDone": false, "title": "Learn ReactJs", "updatedAt": "2023-06-17T19:19:34.866Z" }, { "__v": 0, "_id": "648e0749aeefd0cfa40adde1", "createdAt": "2023-06-17T19:19:37.856Z", "description": "", "isDone": false, "title": "Learn Ruby", "updatedAt": "2023-06-17T19:19:37.856Z" } ], "message": "Todos fetched successfully", "statusCode": 201, "success": true }

The API endpoint retrieves a specific todo item based on the todo ID provided as a path variable in the URL.When accessing this endpoint and specifying a valid todo ID in the URL, you will receive a response containing the details of the corresponding todo item.

https://api.freeapi.app/api/v1/todos/648e0741aeefd0cfa40adddd

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 { "data": { "__v": 0, "_id": "648e0749aeefd0cfa40adde1", "createdAt": "2023-06-17T19:19:37.856Z", "description": "", "isDone": false, "title": "Learn Ruby", "updatedAt": "2023-06-17T19:19:37.856Z" }, "message": "Todo fetched successfully", "statusCode": 200, "success": true }