Send Docs Feedback

Import a resource file for an API

Resource Summary

Security

Content Type

application/octet-stream

Category

Resource File,

importResourceFileUrlApi

POST

Import a resource file for an API

Import and create a resource file for an API proxy revision by pasting the contents of the file in the request body.

 

To import a resource file via file upload, see Import a resource file for an API (file upload).

 

For more information on resource files, see Resource files.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/apis/{api_name}/revisions/{revision_number}/resourcefiles

Query Parameters

Name Values Description
name
(required)

The name of the resource, including the file type extension.

type
(required)

The resource type (jsc, java, py, node, xsl, wsdl, xsd).

Header Parameters

Name Values Description
Content-Type
(required)

Specify the content type as application/octet-stream.

Request Body

org_name Mention the organization name true

api_name Mention the API name true

revision_number Mention the API revision number true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?