Spaces:
Sleeping
Sleeping
Deployment via uv
Browse files
README.md
CHANGED
|
@@ -14,10 +14,18 @@ This is a FastAPI backend for a todo application, deployed on Hugging Face Space
|
|
| 14 |
## API Endpoints
|
| 15 |
|
| 16 |
- `GET /api/tasks` - Get all tasks for the authenticated user
|
| 17 |
-
- `POST /api/tasks` - Create a new task
|
| 18 |
-
- `PUT /api/tasks/{task_id}` - Update a task
|
| 19 |
- `DELETE /api/tasks/{task_id}` - Delete a task
|
| 20 |
- `PATCH /api/tasks/{task_id}/complete` - Toggle task completion status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Environment Variables
|
| 23 |
|
|
|
|
| 14 |
## API Endpoints
|
| 15 |
|
| 16 |
- `GET /api/tasks` - Get all tasks for the authenticated user
|
| 17 |
+
- `POST /api/tasks` - Create a new task (supports due dates, recurrence patterns)
|
| 18 |
+
- `PUT /api/tasks/{task_id}` - Update a task (supports due dates, recurrence patterns)
|
| 19 |
- `DELETE /api/tasks/{task_id}` - Delete a task
|
| 20 |
- `PATCH /api/tasks/{task_id}/complete` - Toggle task completion status
|
| 21 |
+
- `GET /api/tasks/search?q={keyword}` - Search tasks by keyword
|
| 22 |
+
- `GET /api/tasks/filter` - Filter and sort tasks (by priority, status, due date, tags)
|
| 23 |
+
- `POST /api/{user_id}/chat` - AI-powered task management via chat
|
| 24 |
+
- `GET /api/{user_id}/history` - Retrieve chat history
|
| 25 |
+
- `GET /api/{user_id}/conversations` - Manage chat conversations
|
| 26 |
+
- `DELETE /api/{user_id}/conversations/{id}` - Delete conversation
|
| 27 |
+
- `POST /api/{user_id}/reminders/check` - Check for due tasks (cron endpoint)
|
| 28 |
+
- `POST /api/{user_id}/events/publish` - Publish task events (Dapr/Kafka)
|
| 29 |
|
| 30 |
## Environment Variables
|
| 31 |
|