REST Resource: organizations.environments.apis.revisions.debugsessions

Resource: DebugSession

JSON representation
{
  "name": string,
  "validity": number,
  "count": number,
  "tracesize": number,
  "filter": string,
  "timeout": string
}
Fields
name

string

A unique ID for this DebugSession.

validity

number

Optional. The length of time, in seconds, that this debug session is valid, starting from when it's received in the control plane. Min = 1, Max = 15, Default = 10.

count

number

Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.

tracesize

number

Optional. The maximum number of bytes captured from the response payload. Min = 0, Max = 5120, Default = 5120.

filter

string

Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.

timeout

string (int64 format)

Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.

Methods

create

Creates a debug session for a deployed API Proxy revision.

deleteData

Deletes the data from a debug session.

list

Lists debug sessions that are currently active in the given API Proxy revision.