Task Endpoints
API endpoints for task management, statuses, priorities, and related features.
Tasksโ
List Tasksโ
GET /api/tasks?take=20&skip=0&relations[]=project&relations[]=creator
Authorization: Bearer {token}
Response (200 OK):
{
"items": [
{
"id": "...",
"title": "Implement user dashboard",
"description": "Create the main dashboard view",
"number": 42,
"prefix": "PROJ",
"status": "IN_PROGRESS",
"priority": "HIGH",
"size": "MEDIUM",
"estimate": 28800,
"dueDate": "2024-02-01T00:00:00.000Z",
"projectId": "...",
"organizationId": "...",
"creator": { "id": "...", "name": "John Doe" },
"tags": [{ "name": "Frontend" }],
"taskStatusId": "...",
"taskPriorityId": "...",
"taskSizeId": "..."
}
],
"total": 150
}
Get Task by IDโ
GET /api/tasks/{id}?relations[]=members&relations[]=teams
Authorization: Bearer {token}
Create Taskโ
POST /api/tasks
Authorization: Bearer {token}
Content-Type: application/json
{
"title": "New Feature Task",
"description": "Implement the new feature",
"status": "TODO",
"priority": "MEDIUM",
"size": "LARGE",
"estimate": 57600,
"dueDate": "2024-02-15",
"projectId": "project-uuid",
"organizationId": "org-uuid",
"members": [{ "id": "employee-uuid" }],
"tags": [{ "id": "tag-uuid" }]
}
Update Taskโ
PUT /api/tasks/{id}
Authorization: Bearer {token}
Content-Type: application/json
{
"title": "Updated Task Title",
"status": "IN_PROGRESS",
"priority": "HIGH"
}
Delete Taskโ
DELETE /api/tasks/{id}
Authorization: Bearer {token}