sharedflows
Creates, updates, deletes, gets or lists a sharedflows
resource.
Overview
Name | sharedflows |
Type | Resource |
Id | google.apigee.sharedflows |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The ID of the shared flow. |
latestRevisionId | string | The id of the most recently created revision for this shared flow. |
metaData | object | Metadata common to many entities in this API. |
revision | array | A list of revisions of this shared flow. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_sharedflows_get | SELECT | organizationsId, sharedflowsId | Gets a shared flow by name, including a list of its revisions. |
organizations_sharedflows_list | SELECT | organizationsId | Lists all shared flows in the organization. |
organizations_sharedflows_create | INSERT | organizationsId | 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. |
organizations_sharedflows_delete | DELETE | organizationsId, sharedflowsId | Deletes 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.apigee.sharedflows (
organizationsId,
contentType,
data,
extensions
)
SELECT
'{{ organizationsId }}',
'{{ contentType }}',
'{{ data }}',
'{{ extensions }}'
;
- name: your_resource_model_name
props:
- name: contentType
value: string
- name: data
value: string
- name: extensions
value:
- object
DELETE
example
Deletes the specified sharedflows
resource.
/*+ delete */
DELETE FROM google.apigee.sharedflows
WHERE organizationsId = '{{ organizationsId }}'
AND sharedflowsId = '{{ sharedflowsId }}';