{ "uuid": "51246926-dcef-4b83-a25c-4f111921ce3f", "lastMigration": 29, "name": "Workflow Executions API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c18b5f0e-9000-4f82-949c-68e513584295", "documentation": "Returns an execution of the given name.", "method": "get", "endpoint": "v1beta/:name", "responses": [ { "uuid": "39237685-20f4-4ba8-a5dc-258337c6b11f", "body": "{\n \"argument\": \"\",\n \"callLogLevel\": \"{{oneOf (array 'CALL_LOG_LEVEL_UNSPECIFIED' 'LOG_ALL_CALLS' 'LOG_ERRORS_ONLY')}}\",\n \"endTime\": \"\",\n \"error\": {\n \"context\": \"\",\n \"payload\": \"\",\n \"stackTrace\": {\n \"elements\": [\n {\n \"position\": {\n \"column\": \"\",\n \"length\": \"\",\n \"line\": \"\"\n },\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n }\n },\n \"name\": \"\",\n \"result\": \"\",\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUCCEEDED' 'FAILED' 'CANCELLED')}}\",\n \"status\": {\n \"currentSteps\": [\n {\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n },\n \"workflowRevisionId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "667fe72a-9152-4db0-afc3-e8e97a8d2c77", "documentation": "Cancels an execution of the given name.", "method": "post", "endpoint": "v1beta/:name:cancel", "responses": [ { "uuid": "569ccd3f-1934-46fb-a5ed-17baeb5dbe2a", "body": "{\n \"argument\": \"\",\n \"callLogLevel\": \"{{oneOf (array 'CALL_LOG_LEVEL_UNSPECIFIED' 'LOG_ALL_CALLS' 'LOG_ERRORS_ONLY')}}\",\n \"endTime\": \"\",\n \"error\": {\n \"context\": \"\",\n \"payload\": \"\",\n \"stackTrace\": {\n \"elements\": [\n {\n \"position\": {\n \"column\": \"\",\n \"length\": \"\",\n \"line\": \"\"\n },\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n }\n },\n \"name\": \"\",\n \"result\": \"\",\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUCCEEDED' 'FAILED' 'CANCELLED')}}\",\n \"status\": {\n \"currentSteps\": [\n {\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n },\n \"workflowRevisionId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0e331b6d-3767-455d-a209-e6c9047885e6", "documentation": "Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).", "method": "get", "endpoint": "v1beta/:parent/executions", "responses": [ { "uuid": "bc738b48-2361-4951-ba66-28cac9c4c2a5", "body": "{\n \"executions\": [\n {\n \"argument\": \"\",\n \"callLogLevel\": \"{{oneOf (array 'CALL_LOG_LEVEL_UNSPECIFIED' 'LOG_ALL_CALLS' 'LOG_ERRORS_ONLY')}}\",\n \"endTime\": \"\",\n \"error\": {\n \"context\": \"\",\n \"payload\": \"\",\n \"stackTrace\": {\n \"elements\": [\n {\n \"position\": {\n \"column\": \"\",\n \"length\": \"\",\n \"line\": \"\"\n },\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n }\n },\n \"name\": \"\",\n \"result\": \"\",\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUCCEEDED' 'FAILED' 'CANCELLED')}}\",\n \"status\": {\n \"currentSteps\": [\n {\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n },\n \"workflowRevisionId\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1985a6a4-f3fc-4dff-8ae7-a36fbf2bb507", "documentation": "Creates a new execution using the latest revision of the given workflow.", "method": "post", "endpoint": "v1beta/:parent/executions", "responses": [ { "uuid": "6bcfe592-a577-459a-9de3-7b5bcebcd614", "body": "{\n \"argument\": \"\",\n \"callLogLevel\": \"{{oneOf (array 'CALL_LOG_LEVEL_UNSPECIFIED' 'LOG_ALL_CALLS' 'LOG_ERRORS_ONLY')}}\",\n \"endTime\": \"\",\n \"error\": {\n \"context\": \"\",\n \"payload\": \"\",\n \"stackTrace\": {\n \"elements\": [\n {\n \"position\": {\n \"column\": \"\",\n \"length\": \"\",\n \"line\": \"\"\n },\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n }\n },\n \"name\": \"\",\n \"result\": \"\",\n \"startTime\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'SUCCEEDED' 'FAILED' 'CANCELLED')}}\",\n \"status\": {\n \"currentSteps\": [\n {\n \"routine\": \"\",\n \"step\": \"\"\n }\n ]\n },\n \"workflowRevisionId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "c18b5f0e-9000-4f82-949c-68e513584295" }, { "type": "route", "uuid": "667fe72a-9152-4db0-afc3-e8e97a8d2c77" }, { "type": "route", "uuid": "0e331b6d-3767-455d-a209-e6c9047885e6" }, { "type": "route", "uuid": "1985a6a4-f3fc-4dff-8ae7-a36fbf2bb507" } ] }