Skip to main content

sharedflows

Creates, updates, deletes, gets or lists a sharedflows resource.

Overview

Namesharedflows
TypeResource
Idgoogle.apigee.sharedflows

Fields

NameDatatypeDescription
namestringThe ID of the shared flow.
latestRevisionIdstringThe id of the most recently created revision for this shared flow.
metaDataobjectMetadata common to many entities in this API.
revisionarrayA list of revisions of this shared flow.

Methods

NameAccessible byRequired ParamsDescription
organizations_sharedflows_getSELECTorganizationsId, sharedflowsIdGets a shared flow by name, including a list of its revisions.
organizations_sharedflows_listSELECTorganizationsIdLists all shared flows in the organization.
organizations_sharedflows_createINSERTorganizationsIdUploads 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.
organizations_sharedflows_deleteDELETEorganizationsId, sharedflowsIdDeletes a shared flow and all it's revisions. The shared flow must be undeployed before you can delete it.

SELECT examples

Lists all shared flows in the organization.

SELECT
name,
latestRevisionId,
metaData,
revision
FROM google.apigee.sharedflows
WHERE organizationsId = '{{ organizationsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new sharedflows resource.

/*+ create */
INSERT INTO google.apigee.sharedflows (
organizationsId,
contentType,
data,
extensions
)
SELECT
'{{ organizationsId }}',
'{{ contentType }}',
'{{ data }}',
'{{ extensions }}'
;

DELETE example

Deletes the specified sharedflows resource.

/*+ delete */
DELETE FROM google.apigee.sharedflows
WHERE organizationsId = '{{ organizationsId }}'
AND sharedflowsId = '{{ sharedflowsId }}';