Enqueueing log downloads for A given job
This returns a task identifier for the async operation that performs log downloading from BOSH.
To track log download status, call GET /api/v0/deployed/products/{product_guid}/jobs/{job_guid}/logs
The guid of the product
The guid of the job
{
"instance_name": "string"
}
(Optional) The specific instance name to download logs for (e.g., "web_server/44defb8a-3aa3-4049-ac03-40291d7457b5"). If not provided, downloads logs for all instances of the job.
OK
{
"id": "string"
}
id
Setup is not completed
{
"errors": {
"errors": [
"string"
]
}
}
errors
Unauthorized
{
"errors": {
"errors": [
"string"
]
}
}
errors
Forbidden
{
"errors": {
"errors": [
"string"
]
}
}
errors
Product does not exist, has not been deployed, or job does not exist
{
"error": "string"
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/v0/deployed/products/{product_guid}/jobs/{job_guid}/logs