注意:此产品的某些方面处于 Beta 版阶段。Hybrid 安装选项是 GA。要加入 Beta 版计划,请与您的 Apigee 代表联系。

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}

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.

sharedflowId

string

Required. The name to give the 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