OrkStageOrkStage
API referenceTemplates

POST /templates/{id}/versions

POST /templates/{id}/versions: OrkStage Control API v1 endpoint reference.

POST
/api/v1/templates/{id}/versions

Authorization

headerAuthorizationBearer <token>

Organization API key (scoped). Sessions use the cookie instead.

Path Parameters

id*string

Header Parameters

x-orkstage-csrf?unknown

Cookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.

Request Body

application/json
  1. body
source*string
Length1 <= length <= 200000

Response Body

curl -X POST 'http://localhost:4300/api/v1/templates/string/versions' \  -H 'Content-Type: application/json' \  -d '{  "source": "string"}'
Empty