Method: organizations.environments.queries.getResulturl

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 sent to the client as a list of urls to JSON files.

HTTP request

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

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}/resulturl.

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

  • apigee.queries.get

Request body

The request body must be empty.

Response body

The response for queries.getResulturl

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

JSON representation
{
  "urls": [
    {
      object (URLInfo)
    }
  ]
}
Fields
urls[]

object (URLInfo)

The list of Signed URLs generated by the queries.create request

Authorization scopes

Requires the following OAuth scope:

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

URLInfo

A Signed URL and the relevant metadata associated with it.

JSON representation
{
  "uri": string,
  "md5": string,
  "sizeBytes": string
}
Fields
uri

string

The signed URL of the JSON data. Will be of the form https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Algorithm= GOOG4-RSA-SHA256&X-Goog-Credential=example%40example-project.iam.gserviceaccount .com%2F20181026%2Fus-central1%2Fstorage%2Fgoog4_request&X-Goog-Date=20181026T18 1309Z&X-Goog-Expires=900&X-Goog-SignedHeaders=host&X-Goog-Signature=247a2aa45f16 9edf4d187d54e7cc46e4731b1e6273242c4f4c39a1d2507a0e58706e25e3a85a7dbb891d62afa849 6def8e260c1db863d9ace85ff0a184b894b117fe46d1225c82f2aa19efd52cf21d3e2022b3b868dc c1aca2741951ed5bf3bb25a34f5e9316a2841e8ff4c530b22ceaa1c5ce09c7cbb5732631510c2058 0e61723f5594de3aea497f195456a2ff2bdd0d13bad47289d8611b6f9cfeef0c46c91a455b94e90a 66924f722292d21e24d31dcfb38ce0c0f353ffa5a9756fc2a9f2b40bc2113206a81e324fc4fd6823 a29163fa845c8ae7eca1fcf6e5bb48b3200983c56c5ca81fffb151cca7402beddfc4a76b13344703 2ea7abedc098d2eb14a7

md5

string

The MD5 Hash of the JSON data

sizeBytes

string (int64 format)

The size of the returned file in bytes