Spaces:
Paused
Paused
| title: Status Tracker | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 6.9.0 | |
| app_file: app.py | |
| pinned: false | |
| # Status Tracker API | |
| Centralized service for tracking generation status across multiple Hugging Face Spaces. | |
| ## API Endpoints | |
| | Method | Endpoint | Description | | |
| |--------|----------|-------------| | |
| | GET | `/` | API information | | |
| | GET | `/health` | Health check | | |
| | GET | `/test` | Test endpoint | | |
| | POST | `/register` | Register a new project | | |
| | POST | `/update` | Update service status | | |
| | GET | `/status/{project_id}` | Get project status | | |
| | GET | `/projects` | List all projects | | |
| ## Example Usage | |
| ```bash | |
| # Register a project | |
| curl -X POST https://yukee1992-status-tracker.hf.space/register \\ | |
| -H "Content-Type: application/json" \\ | |
| -d '{ | |
| "project_id": "video123", | |
| "n8n_webhook": "https://your-n8n.com/webhook", | |
| "services": ["tts", "image"] | |
| }' | |
| # Update status | |
| curl -X POST https://yukee1992-status-tracker.hf.space/update \\ | |
| -H "Content-Type: application/json" \\ | |
| -d '{ | |
| "project_id": "video123", | |
| "service_type": "tts", | |
| "status": "completed", | |
| "file_urls": ["https://example.com/audio.mp3"] | |
| }' |