Download director logs
Download director logs
Downloads the corresponding logs for the given task_id.
Request
URI
GET
https://{opsmanager-installation}/api/v0/deployed/director/logs/{task_id}
COPY
Path Parameters
integer
task_id
Required
Constraints:
minimum: 1
task_id
Responses
200
OK
Returns
EmptyResponse
of type(s)
application/json
Operation doesn't return any data structure
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
404
BOSH Director has not been deployed, or the log does not exist
Returns
NestedErrorsResponseVariant
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/deployed/director/logs/{task_id}
Logs Operations
GET
Current Apply Change log (live streaming)
GET
List downloadable director logs
POST
Enqueueing log downloads for the director
GET
Download director logs
GET
List downloadable product job logs
POST
Enqueueing log downloads for A given job
GET
Download deployed product job log
GET
Apply Change log
GET
Apply Change log