Send Docs Feedback

Note: Most user interface tasks can be performed in Edge Classic or the New Edge experience. For an overview, getting started topics, and release notes specific to the New Edge experience, see the docs.

Update a resource file in an API

Resource Summary

Security

Content Type

application/octet-stream

Category

null,

UpdatearesourcefileinanAPI

PUT

Update a resource file in an API

Updates a resource file in an API proxy.

 

Paste the contents of the file in the request body.

 

You can also PUT a file to this API by using a cURL command in the form:
 

curl -H "Content-type: multipart/form-data" -F file=@{filename_with_extension} \
-X PUT https://api.enterprise.apigee.com/v1/o/{org}/apis/{api_name}/revisions/{revision_number}/resourcefiles/{resource_type}/{resource_name} \
-u email

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/{resource_type}/{resource_name}

Request Body

org_name Mention the organization name true

resource_type Mention the resource type true

resource_name Mention the resource 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?