Get all deployment debug logs
get
https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/debugLogs
This operation will get all deployment debug logs.
Request
Path Parameters
-
deployment-name(required): string
The name of the deployment.
Query Parameters
-
expand: string
Comma separated list of named resources to expand, or "all" to expand all
-
fields: string
Comma separated list of fields to be returned
-
links: string
Comma separated list of links to be returned, or "none" to omit links
-
q: string
A JSON object for filtering matching property values within the collection
There's no request body for this operation.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Nested Schema : deploymentDebugLog
Type:
Show Source
object
-
content: object
deploymentDebugLogContent
-
date: string
(date-time)
Read Only:
true
The date the debug log was created. -
deploymentVersion: number
(double)
Read Only:
true
The deployment version that initiated the debug log. -
events: object
deploymentDebugEvents
-
function: string
Read Only:
true
The name of the function that initiated the debug log. -
outcome: string
Read Only:
true
The outcome of the debug log. -
product: string
Read Only:
true
The name of the product that initiated the debug log. -
uid: string
Read Only:
true
The unique identifier generated by the system for the debug log.
Nested Schema : deploymentDebugLogContent
Type:
Show Source
object
-
base64: string
(byte)
Read Only:
true
The binary content of the debug log as a base-64 encoded string.Example:QmFzZS02NCBkYXRhLg==
-
fileName: string
Read Only:
true
The name of the debug log data file. -
mimeType: string
Read Only:
true
The MIME type of the debug log data file.
Nested Schema : debugEvent
Type:
Show Source
object
-
content: object
debugEventContent
-
contentFileName: string
Read Only:
true
The name of the debug event data file. -
contentMimeType: string
Read Only:
true
The MIME type of the debug event data file. -
date: string
(date-time)
Read Only:
true
The date and time the event occurred. -
description: string
Read Only:
true
The description of the event. -
id: number
(double)
Read Only:
true
The unqiue identifier for the debug event. -
name: string
Read Only:
true
The name of the event. -
outcome: string
Read Only:
true
The outcome of the event.
Nested Schema : debugEventContent
Type:
Show Source
object
-
base64: string
(byte)
Read Only:
true
The binary content of the debug event data file as a base-64 encoded string.Example:QmFzZS02NCBkYXRhLg==
-
fileName: string
Read Only:
true
The name of the debug event data file. -
mimeType: string
Read Only:
true
The MIME type of the debug event data file.