Get a task or completed farm record by ID
Retrieve one existing task or completed farm record using its task ID. Returns its description, status, completion details, photo URLs, record notes and any saved typed record data. Use include to expand supported relationships such as producer, provider, farm, asset, parent and children. This lookup does not update the task, mark it complete or notify anyone.
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/tasks/{id}
- Auth: none declared
Path parameters
Id of the record
Query parameters
Comma-separated snake_case relationship paths to embed (JSON:API included array, or inlined for application/json). Never embedded by default; unknown paths ignored; dot notation selects children; max 10 paths. Allowed paths: producer, provider, category, place, place.location, service, service.owner, service.category, service.city, service.place, service.location, farm, parent, children, asset.
Response
Successful. When the include query parameter is used, the response may contain an included array (JSON:API) or inlined related resources (application/json).
Example response
{
"data": {
"type": "task"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.