Endpoints
create_task_download
Authorize five-minute private ZIP delivery using this same current grant.
Request
Authentication is required by the published contract.
curl -X POST 'https://api.ursy.cloud/v1/tasks/{task_id}/download' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_SERVICE_TOKEN'- Scopes
- Not specified by this operation
- Execution
- At the owning service
- Risk classification
- not declared
Parameters
task_id path · string requiredSee the accepted schema for constraints.
Idempotency-Key header · string requiredSee the accepted schema for constraints.
This operation is documented here. Use the owning service with the appropriate credentials and permissions to execute it.
Response schemas and request body
{
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": false
}
}
}
},
"responses": {
"200": {
"description": "Typed operation result; request_id correlates the request.",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": true,
"properties": {
"download": {
"type": "object",
"additionalProperties": false,
"properties": {
"task_id": {
"type": "string"
},
"url": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"authorization": {
"type": "string"
}
},
"required": [
"task_id",
"url",
"expires_at",
"authorization"
]
}
},
"required": [
"download"
]
}
}
}
},
"default": {
"description": "Stable error envelope. 401 invalid/expired/revoked grant; 403 missing scope; 404 unavailable resource; 409 plan/idempotency conflict; 412 stale ETag; 413 size/quota; 429 rate limit.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}