Workflows

Create a workflow draft

post/workflows

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/workflows
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Query parameters

workspace_idstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

descriptionstring required
expected_revisioninteger required
namestring required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/WorkflowSaveRequest.json",
  "definition": {
    "source": {
      "$schema": "https://example.com/api/v1/schemas/WorkflowSource.json"
    }
  }
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

created_atstring date-time required
descriptionstring required
enabledboolean required
idstring required
last_checked_atstring date-time
namestring required
published_revisioninteger required
revisioninteger required
source_errorstring
updated_atstring date-time required
workspace_idstring required

Example response

{
  "$schema": "https://example.com/api/v1/schemas/Workflow.json",
  "definition": {
    "source": {
      "$schema": "https://example.com/api/v1/schemas/WorkflowSource.json"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.