curl --request GET \
--url https://api.smokeball.com/tasks/{taskId}/subtasks \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"parentTask": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"createdBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"completedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"lastUpdatedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"subject": "Confer with Mary",
"completedDate": "2020-02-15T00:00:00Z",
"createdDate": "2020-02-15T00:00:00Z",
"isCompleted": false,
"isDeleted": false,
"lastUpdated": 637847425252027400
}
]
}
Returns a list of subtasks for a specified task if associated with the authenticated client.
curl --request GET \
--url https://api.smokeball.com/tasks/{taskId}/subtasks \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"parentTask": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"createdBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"completedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"lastUpdatedBy": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"subject": "Confer with Mary",
"completedDate": "2020-02-15T00:00:00Z",
"createdDate": "2020-02-15T00:00:00Z",
"isCompleted": false,
"isDeleted": false,
"lastUpdated": 637847425252027400
}
]
}
When request is successful. Returns a list of 'SubTask' objects.
The response is of type object
.