Method: organizations.environments.queries.getResult

After the query is completed, use this API to retrieve the results. If the request succeeds, and there is a non-zero result set, the result is downloaded to the client as a zipped JSON file. The name of the downloaded file will be: OfflineQueryResult-.zip

Example: OfflineQueryResult-9cfc0d85-0f30-46d6-ae6f-318d0cb961bd.zip

HTTP request

GET https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/queries/*/result}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the asynchronous query result to get. Must be of the form organizations/{org}/environments/{env}/queries/{queryId}/result.

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

  • apigee.queries.get

Request body

The request body must be empty.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization scopes

Requires the following OAuth scope:

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