Method: organizations.environments.sharedflows.revisions.deployments.deploy

Deploys a shared flow revision to an environment in an organization. Shared flows cannot be used until they have been deployed to an environment.

If you experience HTTP 500 errors during deployment, consider using the override parameter to deploy the shared flow in place of a revision currently deployed.

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

HTTP request

POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/sharedflows/*/revisions/*}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. A resource name representing a shared flow in an environment. Must be of the form organizations/{org_id}/environments/{env_id}/sharedflows/{sharedFlowId}/revisions/{revision_id}.

Query parameters

Parameters
override

boolean

When set to true, forces deployment of the new revision by overriding conflict checks between revisions.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Deployment.

Authorization Scopes

Requires the following OAuth scope:

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