Get a debug event content
get
https://{your_site_interface}/opa-hub/api/12.2.35/deployments/{deployment-name}/debugLogs/{deployment-debug-log-uid}/events/{debug-event-id}/content
This operation will get the event content as a base-64 encoded string. To receive the event content as a Zip file, send a HTTP Accept header of "Accept: application/zip"
Request
Path Parameters
-
debug-event-id(required): number(double)
The unqiue identifier for the debug event.
-
deployment-debug-log-uid(required): string
The unique identifier generated by the system for the debug log.
-
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
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/octet-stream
- application/json
200 Response
The request was successfully completed.
Root 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.
304 Response
The resource wasn't modified according to the ETag that was provided.
410 Response
The requested resource is no longer available.
412 Response
The resource state on the server side doesn't match the provided ETag.