- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Session
- Try it!
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 |
Required. The name of the API Proxy revision deployment for which to list debug sessions. Must be of the form: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Maximum number of debug sessions to return. The page size defaults to 25. |
pageToken |
Page token, returned from a previous debugsessions.list call, that you can use to retrieve the next page. |
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 ( |
Fields | |
---|---|
sessions[] |
Session info that includes debug session ID and the first transaction creation timestamp. |
nextPageToken |
Page token that you can include in a ListDebugSessionsRequest to retrieve the next page. If omitted, no subsequent pages exist. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
Session
Session carries the debug session id and its creation time.
JSON representation |
---|
{ "id": string, "timestampMs": string } |
Fields | |
---|---|
id |
The debug session ID. |
timestampMs |
The first transaction creation timestamp in millisecond, recorded by UAP. |