Skip to main content
PATCH
/
api
/
v1
/
apps
/
{app_id}
/
versions
/
{version_id}
/
revisions
/
{revision_id}
cURL
curl --request PATCH \
  --url https://api.example.com/api/v1/apps/{app_id}/versions/{version_id}/revisions/{revision_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "backend_base_path": "<string>",
  "backend_host": "<string>",
  "backend_port": 123,
  "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

revision_id
string<uuid>
required

Revision ID

Body

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

Traffic weight for canary / weighted routing.

Response

Revision updated

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