Method: organizations.environments.resourcefiles.get

Gets the contents of a resource file.

For more information about resource files, see Resource files.

HTTP request

GET https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/resourcefiles/{type}/{resourceFileId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Name of the environment in the following format: organizations/{org}/environments/{env}.

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

  • apigee.resourcefiles.get
type

string

Required. Resource file type. Valid types include java, js, jsc, properties, py, wsdl, xsd, or xsl. For more information, see Resource types.

resourceFileId

string

Required. ID of the resource file. Must match the regular expression: [a-zA-Z0-9:/\!@#$%^&{}[]()+-=,.~'` ]{1,255}

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