Workflows

Publish this workflow revision and enable its source

post/workflows/{id}/publish

Request

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

Path parameters

idstring required

Query parameters

workspace_idstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

expected_revisioninteger required
publication_revisioninteger

Example request

{
  "$schema": "https://example.com/api/v1/schemas/WorkflowRevisionInputBody.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.