curl --request GET \
--url http://localhost:3001/api/v1/tasks/{id} \
--cookie nut-session={
"success": true,
"data": {
"id": "<string>",
"title": "<string>",
"status": "draft",
"intent": "<string>",
"content": "<string>",
"priority": "low",
"readiness": 50,
"tags": [
"<string>"
],
"author": {
"type": "user",
"id": "<string>",
"name": "<string>"
},
"reviewers": [
"<string>"
],
"planSteps": [
{
"id": "<string>",
"description": "<string>",
"status": "pending",
"command": "<string>",
"expectedOutcome": "<string>",
"output": "<string>",
"error": "<string>",
"executedAt": "2023-11-07T05:31:56Z"
}
],
"comments": [
{
"id": "<string>",
"author": "<string>",
"content": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"changes": [
{
"path": "<string>",
"type": "create",
"content": "<string>",
"oldPath": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Retrieve a specific task by ID
curl --request GET \
--url http://localhost:3001/api/v1/tasks/{id} \
--cookie nut-session={
"success": true,
"data": {
"id": "<string>",
"title": "<string>",
"status": "draft",
"intent": "<string>",
"content": "<string>",
"priority": "low",
"readiness": 50,
"tags": [
"<string>"
],
"author": {
"type": "user",
"id": "<string>",
"name": "<string>"
},
"reviewers": [
"<string>"
],
"planSteps": [
{
"id": "<string>",
"description": "<string>",
"status": "pending",
"command": "<string>",
"expectedOutcome": "<string>",
"output": "<string>",
"error": "<string>",
"executedAt": "2023-11-07T05:31:56Z"
}
],
"comments": [
{
"id": "<string>",
"author": "<string>",
"content": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"changes": [
{
"path": "<string>",
"type": "create",
"content": "<string>",
"oldPath": "<string>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}