One binding with the definition and the workflow document it runs. Its `ETag` (the body's `rowVersion`) is the `If-Match` of the next write.
GET
/v1/projects/{projectId}/workflow-bindings/{purpose}curl -X GET 'https://api.embodiflow.io/v1/projects/{projectId}/workflow-bindings/{purpose}' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- projectIdstringrequired
- purposestringrequired
Responses
Success
- dataobjectrequired
- purposestringrequiredAllowed valuesexportprocessingcurate
- revisionRefstring | nullrequired
- triggersobject | nullrequired
- updatedAtstring | nullrequired
- rowVersionnumberrequired
- definitionobjectrequired
- revisionobjectrequired
- latestPublishedRevisionobjectrequired
Response example
{
"data": {
"purpose": "export",
"revisionRef": "string",
"triggers": {},
"updatedAt": "string",
"rowVersion": 0,
"definition": {
"id": "string",
"code": "string",
"name": "string",
"owner": "tenant",
"latestRevision": 0
},
"revision": {
"spec": {},
"specHash": "string",
"id": "string",
"revision": 0,
"publishedAt": "string"
},
"latestPublishedRevision": {
"id": "string",
"revision": 0,
"publishedAt": "string"
}
}
}Servershttps://api.embodiflow.io/v1