Was this helpful?


API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:


Description: Gets the body of a resource from an organization, environment, or API proxy.

Verb: GET
Auth: Basic Auth
Media types:
Sample Request:
At the organization level:

$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/resourcefiles/jsc/setHeader.js \
-u myname:mypass

At the environment level:

$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/environments/test/resourcefiles/jsc/setHeader.js \
-u myname:mypass

At the API proxy level:

$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/apis/weatherapi/revisions/{revision_number}/resourcefiles/jsc/setHeader.js \
-u myname:mypass
Sample Response:
request.setHeader("RequestPath", flow.getVariable("proxy.basepath"));

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)