Skip to main content
POST
/
api
/
v1
/
apps
/
{app_id}
/
versions
/
{version_id}
/
revisions
cURL
curl --request POST \
  --url https://api.example.com/api/v1/apps/{app_id}/versions/{version_id}/revisions \
  --header 'Content-Type: application/json' \
  --data '
{
  "backend_host": "<string>",
  "revision": "<string>",
  "backend_base_path": "<string>",
  "backend_port": 123,
  "backend_scheme": "<string>",
  "default_policy": {},
  "health_check_path": "<string>",
  "strip_gateway_path": true,
  "traffic_weight": 123
}
'
{
  "data": "<unknown>",
  "message": "<string>",
  "status": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.draskencloud.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

app_id
string<uuid>
required

App ID

version_id
string<uuid>
required

Version ID

Body

application/json
backend_host
string
required
revision
string
required
backend_base_path
string
backend_port
integer<int32>
backend_scheme
string
default_policy
object
health_check_path
string | null
strip_gateway_path
boolean
traffic_weight
integer<int32>

Traffic weight for canary / weighted routing. Defaults to 100.

Response

Revision created

data
any
required

Response payload; null on delete or error

message
string
required
status
integer<int32>
required

HTTP status code mirrored in the body

Required range: x >= 0