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

Creates a debug session for a deployed API Proxy revision.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the API Proxy revision deployment for which to create the DebugSession . Must be of the form organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision} .

Authorization requires the following IAM permission on the specified resource parent :

  • apigee.tracesessions.create

Query parameters

Parameters
timeout

string ( int64 format)

Optional. The time in seconds after which this DebugSession should end. A timeout specified in DebugSession will overwrite this value.

Request body

The request body contains an instance of DebugSession .

Response body

If successful, the response body contains a newly created instance of DebugSession .

Authorization scopes

Requires the following OAuth scope:

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