GET
/
tasks
/
{taskId}
/
documents
/
{id}
curl --request GET \
  --url https://api.smokeball.com/tasks/{taskId}/documents/{id} \
  --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"
  },
  "task": {
    "id": "<string>",
    "href": "<string>",
    "relation": "<string>",
    "method": "<string>"
  },
  "type": 0,
  "isDeleted": false,
  "document": "<any>"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

taskId
string
required
id
string
required

Response

200
application/json

When request is successful. Returns a 'Link' object.

Task document resource.