Send Docs Feedback

Import a resource file for an environment (file upload)

Resource Summary

Security

Content Type

multipart/form-data

Category

Resource File,

Importaresourcefileforanenvironmentfileupload

POST

Import a resource file for an environment (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 environment.

 

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/environments/{env_name}/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)

Use 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

env_name Mention the environment name 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?