Method: organizations.getMetrics

Gets metrics for an organization.

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*}/metrics

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the Apigee organization. Use the following structure in your request: organizations/{org}

Request body

The request body must be empty.

Response body

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

JSON representation
{
  "data": {
    object (MetricsData)
  },
  "message": string,
  "requestId": string,
  "status": string,
  "errorCode": string
}
Fields
data

object (MetricsData)

Object containing metrics related to the organization.

message

string

Description of the operation.

requestId

string

ID that can be used to find request details in the log files.

status

string

Status of the operation.

errorCode

string

ID that can be used to find errors in the log files.

Authorization Scopes

Requires the following OAuth scope:

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

MetricsData

JSON representation
{
  "totalNumberOfSites": string
}
Fields
totalNumberOfSites

string (int64 format)

Total number of portals.