Was this helpful?

 

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

API Resource Path:

/resourcefiles

Description: This method lists resource files available in an organization, an environment, or an API proxy

Verb: GET
Auth: Basic Auth
Media types:
application/json
text/xml
Sample Request:
At the organization level:

$ curl -X GET -H "Accept:application/json" \ https://api.enterprise.apigee.com/v1/o/{org_name}/resourcefiles \
-u myname:mypass

At the environment level:

$ curl -X GET -H "Accept:application/json" \ https://api.enterprise.apigee.com/v1/o/{org_name}/environments/test/resourcefiles \
-u myname:mypass

At the API proxy level level:

$ curl -X GET -H "Accept: application/json" https://api.enterprise.apigee.com/v1/o/{org_name}/apis/{api_name}/revisions/{revision_number}/resourcefiles \
-u myname:mypass 
Sample Response:
{
  "resourceFile" : [ {
    "name" : "transformer.xslt",
    "type" : "xsl"
  }, {
    "name" : "setHeader.js",
    "type" : "jsc"
  } ]
}

 

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?)