Method: organizations.sharedflows.create

Uploads a ZIP-formatted shared flow configuration bundle to an 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.

The size limit of a shared flow bundle is 15 MB.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*}/sharedflows

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent organization under which to create the shared flow. Must be of the form: organizations/{organizationId}

If the resource has the space attribute set, IAM permissions are checked against the Space resource path. To learn more, read the Apigee Spaces Overview.

Authorization requires the following IAM permission on the specified resource parent:

  • apigee.sharedflows.create

Query parameters

Parameters
action

string

Required. Must be set to either import or validate.

name

string

Required. The name to give the shared flow

space

string

Optional. The ID of the space to associated with this shared flow. Any IAM policies applied to the space will affect access to this shared flow. Note that this field is only respected when creating a new shared flow. It has no effect when creating a new revision for an existing shared flow.

Request body

The request body contains an instance of HttpBody.

Response body

If successful, the response body contains a newly created instance of SharedFlowRevision.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform