curl -sS -X PATCH "https://gateway.orbit/api/v1/task-groups/1/tasks/1" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{"title": "Absorb Commander"}'{
"data": {
"id": 123,
"task_group_id": 123,
"position": 123,
"title": "<string>",
"brief": "<string>",
"deliverables": [
{}
],
"topology": [
"<string>"
],
"status": "todo",
"implementer_agent_thread_id": 123,
"tokens": 123,
"line_diff": 123,
"lines_added": 123,
"lines_deleted": 123,
"duration_ms": 123,
"questions": 123,
"escalations": 123,
"type": "implementation",
"target_thread_id": "<string>",
"completion_summary": "<string>",
"check": {
"id": 123,
"kind": "baseline",
"status": "running",
"started_at": "<string>",
"finished_at": "<string>",
"exit_code": 123,
"changed_paths": [
"<string>"
],
"failed_step": "<string>",
"output": "<string>"
},
"assistance_requested": true,
"assistance_kind": "direction",
"assistance_question": "<string>",
"assistance_reason": "<string>",
"fixup_problem": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Update a subtask
Updates a subtask title, brief, or position while its group is in backlog (tasks.not_in_backlog). In todo, running, reviewing, settling, or waiting_for_review, those fields change only while the subtask is todo; positions stay in the todo tail and cannot cross a started or finished subtask. deliverables replaces the whole list, in the form that subtask create takes. It changes in backlog, or in those group statuses while the subtask is todo (tasks.deliverables_locked); outside backlog the list cannot become empty (tasks.subtask_deliverables_missing). Completed and cancelled groups are read-only. Served by the Node that holds the group’s Instance, or by the Gateway for a group without one. Returns extension.disabled while the extension is off.
curl -sS -X PATCH "https://gateway.orbit/api/v1/task-groups/1/tasks/1" \
--cacert /path/to/orbit-root-ca.pem \
-H 'Accept: application/json' \
-H 'X-Orbit-Request-Id: 9d6b1e5c-4a3f-4a1b-9f0e-6d2c3f5a7b81' \
-H 'Content-Type: application/json' \
-d '{"title": "Absorb Commander"}'{
"data": {
"id": 123,
"task_group_id": 123,
"position": 123,
"title": "<string>",
"brief": "<string>",
"deliverables": [
{}
],
"topology": [
"<string>"
],
"status": "todo",
"implementer_agent_thread_id": 123,
"tokens": 123,
"line_diff": 123,
"lines_added": 123,
"lines_deleted": 123,
"duration_ms": 123,
"questions": 123,
"escalations": 123,
"type": "implementation",
"target_thread_id": "<string>",
"completion_summary": "<string>",
"check": {
"id": 123,
"kind": "baseline",
"status": "running",
"started_at": "<string>",
"finished_at": "<string>",
"exit_code": 123,
"changed_paths": [
"<string>"
],
"failed_step": "<string>",
"output": "<string>"
},
"assistance_requested": true,
"assistance_kind": "direction",
"assistance_question": "<string>",
"assistance_reason": "<string>",
"fixup_problem": "<string>"
},
"meta": {
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {},
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Body
New title
160New brief
8000New position, starting at 1
x >= 1JSON array of required workload nodes; [] removes declarations
264^(?:app-dev|app-prod|app-prod-2)(?:\+ingress)?$(?![\s\S])JSON file with an array of typed deliverables that replaces the list
5Show child attributes
Show child attributes