workflow-templates

Create a workflow template

Owner-only farm configuration. External credential scope: write:farms. Publishing is optimistic on expected_current_version; state/default changes are optimistic on expected_metadata_revision. Conflicts return 409.

post/v1/farm/{farm_id}/workflow-templates

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/workflow-templates
  • Auth: HTTP bearer

Path parameters

farm_idstring uuid required

Request body

is_defaultboolean

Response

Success

idstring uuid required
workflowstring required
namestring required
is_activeboolean required
is_defaultboolean required
metadata_revisioninteger required
versionsobject[]
created_atstring date-time
updated_atstring date-time

Changes

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