注意:此产品的某些方面处于 Beta 版阶段。Hybrid 安装选项是 GA。要加入 Beta 版计划,请与您的 Apigee 代表联系。

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