Send Docs Feedback

Import a resource file for an API (file upload)

Resource Summary

Security

Content Type

multipart/form-data

Category

Resource File,

ImportaresourcefileforanAPIfileupload

POST

Import a resource file for an API (file upload)

Imports a resource file into an API proxy through file upload. This is an alternative to importing a resource file by passing the file contents in the request body, as described in Import a resource file for an API.

 

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 multipart/form-data.

Attachments


Name Value Description
file
(required)

Attach the resource file you want to import.

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?