You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results.

Import a shared flow

Import a shared flow

POST

Import a shared flow

Uploads a ZIP-formatted shared flow configuration bundle from a local machine to an Edge organization. If the shared flow already exists, this creates a new revision of it. If the shared flow does not exist, this creates it.

Once imported, the shared flow revision must be deployed before it can be accessed at runtime. By default, shared flow configurations are not validated on import.

In the following cURL example, Content-Type is automatically set to multipart/form-data

curl -X POST -u email:password -F "file=@sharedflow.zip" "https://api.enterprise.apigee.com/v1/organizations/{org_name}/sharedflows?action=import&name=example

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/sharedflows

Query Parameters


Name Values Description
action
(required)

Specify "import" to import a shared flow from the file's contents.

name
(required)

Name to use for the imported shared flow.


Header Parameters


Name Values Description
Content-Type
(required)

Request content type.

Attachments


Name Value Description
file
(required)

Shared flow configuration in ZIP format.

Request Body

org_name Name of your organization. foo 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.

Resource Summary

Security

Content Type

multipart/form-data

Category

Shared flows

Working...

Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click the "Send Feedback" button.
    (Incorrect? Unclear? Broken link? Typo?)