Method: organizations.environments.apis.revisions.debugsessions.list

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

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*/apis/*/revisions/*}/debugsessions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the API Proxy revision deployment for which to list debug sessions. Must be of the form: organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

JSON representation
{
  "sessions": [
    {
      object (Sesssion)
    }
  ]
}
Fields
sessions[]

object (Sesssion)

Session info that includes debug session ID and the first transaction creation timestamp.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

Sesssion

JSON representation
{
  "id": string,
  "timestampMs": string
}
Fields
id

string

The debug session ID.

timestampMs

string (int64 format)

The first transaction creation timestamp in millisecond, recoreded by UAP.