POST /task-go/v1/workspaces/groups/{groupId}/tasks
Parameter |
Description |
groupId |
UUID of the group to be managed |
Headers
Header |
Value |
Authorization |
Bearer {JWT}
|
{
"name": "Setup project",
"description": "Initialize Git repo and base structure",
"status": "NOT_STARTED",
"priority": "HIGH",
"startingTimestamp": "2025-05-01T10:00:00",
"endingTimestamp": "2025-05-02T18:00:00",
"isFavorite": false,
"assignedToId": "user-uuid"
}
{
"message": "Task created successfully."
}
{
"error": "Unauthorized. Token missing or invalid."
}
{
"error": "Invalid input format."
}
PATCH /task-go/v1/workspaces/groups/tasks/{taskId}
Parameter |
Description |
taskId |
UUID of the task to be managed |
Headers
Header |
Value |
Authorization |
Bearer {JWT}
|
{
"name": "Updated Task Name",
"description": "Updated task description.",
"status": "IN_PROGRESS",
"priority": "MEDIUM",
"startingTimestamp": "2025-05-01T12:00:00",
"endingTimestamp": "2025-05-02T20:00:00",
"isFavorite": true,
"assignedToId": "user-uuid"
}
Fields are optional. Send only what needs to be updated.
{
"message": "Task updated successfully."
}
#### 🔐 401 Unauthorized
```json
{
"error": "Unauthorized. Token missing or invalid."
}
{
"error": "Task not found."
}
DELETE /task-go/v1/workspaces/groups/tasks/{taskId}
Parameter |
Description |
taskId |
UUID of the task to be managed |
Headers
Header |
Value |
Authorization |
Bearer {JWT}
|
{
"message": "Task deleted successfully."
}
{
"error": "Unauthorized. Token missing or invalid."
}
{
"error": "Task not found."
}
GET /task-go/v1/workspaces/groups/tasks/{taskId}
Parameter |
Description |
taskId |
UUID of the task to be managed |
Headers
Header |
Value |
Authorization |
Bearer {JWT}
|
{
"id": "task-uuid",
"name": "Setup project",
"description": "Initialize Git repo and base structure",
"status": "NOT_STARTED",
"priority": "HIGH",
"isFavorite": false,
"startingTimestamp": "2025-05-01T10:00:00",
"endingTimestamp": "2025-05-02T18:00:00",
"assignedTo": {
"id": "user-uuid",
"username": "najat-mansour",
"firstName": "Najat",
"lastName": "Mansour",
"email": "[email protected]",
"birthdate": "2003-01-28",
"gender": "FEMALE",
"address": {
"country": "Palestine",
"city": "Nablus",
"town": "",
"street": ""
},
"createdAt": "2025-05-02T18:00:00",
"app_rate": 5
},
"subtasks": [
{
"id": "subtask-uuid",
"name": "Create GitHub repo",
"description": "Set up the GitHub repository",
"status": "NOT_STARTED",
"priority": "MEDIUM",
"startingTimestamp": "2025-05-01T11:00:00",
"endingTimestamp": "2025-05-01T12:00:00"
}
]
}
{
"error": "Unauthorized. Token missing or invalid."
}
{
"error": "Task not found."
}