Updates a shared flow revision. This operation is only allowed on revisions which have never been deployed. After deployment a revision becomes immutable, even if it becomes undeployed.
The payload is a ZIP-formatted shared flow. Content type must be either multipart/form-data or application/octet-stream.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/sharedflows/*/revisions/*}
Required. The name of the shared flow revision to update. Must be of the form: organizations/{organizationId}/sharedflows/{sharedFlowId}/revisions/{revisionId}
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 name:
apigee.sharedflowrevisions.update
Query parameters
Parameters
validate
boolean
Ignored. All uploads are validated regardless of the value of this field. It is kept for compatibility with existing APIs. Must be true or false if provided.
Request body
The request body contains an instance of HttpBody.
Response body
If successful, the response body contains an instance of SharedFlowRevision.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-04 UTC."],[[["This API endpoint updates a shared flow revision, which is only permissible for revisions that have not been deployed previously, as deployed revisions become immutable."],["The HTTP request to update a shared flow revision is a POST operation, targeting a specific URL that uses gRPC Transcoding syntax."],["The `name` path parameter, a string, is a required field that specifies the identifier for the revision to be updated, while the associated authorization requires `apigee.sharedflowrevisions.update` IAM permission."],["The `validate` query parameter is not used and will be ignored, but the endpoint supports it for legacy reasons."],["The request body should be formatted as either multipart/form-data or application/octet-stream, and contain an instance of HttpBody while the successful response body contains an instance of SharedFlowRevision."]]],[]]