Send Docs Feedback

Resource files API

API Platform Base Path:{org_name}

API Resource Path: /resourcefiles
A files containing executable code or definitions used by API policies to enable custom behavior and extensibility
Resource files are executable code or other types of assets (for example XSLT) that are used by API proxies at runtime. Resource files can be stored at one of three levels:
  • API proxy: Available to any policies in an API proxy.
  • Environment: Available to any policies in any API proxy deployed in the environment.
  • Organization: Available to any API proxy deployed in any environment in an organization.

Resource files are resolved by name. Apigee Edge resolves resource files from most specific (API proxy) to the most general (organization).

This enables you to store generic code that provides utility processing at the organization level. This provides for greater maintainability, since generic code is not repeated across multiple API proxies.

A good example of code that might be scoped to the organization is a library to do Base64 encoding.

The following list shows the list of supported resource types and their associated directory name:

  • jsc: JavaScripts
  • java: JAR files
  • py: Python scripts
  • node: Node.js files, including the main Node.js file, related source files, and module dependencies
  • wsdl: Web service description language files
  • xsd: XML schemas
  • xsl: XSLT files

For more on resource files, see Resource files.


Help or comments?