Repository navigation
API
Dmitrii Shmanatov edited this page May 11, 2026
·
4 revisions
⚠️ API is not yet implemented
This documentation is a draft. The endpoints described below do not exist yet.
Status: planned for future releases after the stable release of the demo.
Pass your API token in the X-API-Token header.
POST /api/task/status
| Field | Type | Required | Description |
|---|---|---|---|
id |
int | yes | Unique task identifier |
status |
string | yes | Task status (queued, completed, etc.) |
mc |
int | no | Max concurrency (default: 1) |
progress |
int | no | Progress percentage (0–100) |
worker |
int | no | Worker ID |
message |
string | no | Human-readable message |
meta |
object | no | Additional metadata |
curl -X POST https://fast.af.l3373.xyz/api/task/status \
-H "Content-Type: application/json" \
-H "X-API-Token: reptile" \
-d '{
"id": 123,
"status": "check_lock",
"mc": 4,
"progress": 75,
"worker": 2,
"message": "Checking semaphore",
"meta": {"job": "App\\\\Jobs\\\\SendEmail", "user_id": 42}
}'{
"success": true,
"message": "Task created"
}{
"success": false,
"message": "Missing id or status"
}| HTTP status | Description |
|---|---|
| 400 | Validation error |
| 401 | Unauthorized |
| 429 | Rate limit exceeded |
| 500 | Internal server error |