Was this helpful?

 

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

API Resource Path:

/resourcefiles/{resource_type}/{resource_name}

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

Verb: GET
Auth: Basic Auth
Media types:
application/json
text/xml
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"));

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.