Skip to main content
POST
/
api
/
v1
/
apps
/
{app_id}
/
versions
cURL
curl --request POST \
  --url https://api.example.com/api/v1/apps/{app_id}/versions \
  --header 'Content-Type: application/json' \
  --data '
{
  "version": "<string>",
  "gateway_path": "<string>"
}
'
{
  "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

Body

application/json
version
string
required

Public version label (e.g. v1, v2, 2026-01).

gateway_path
string | null

Full public mount path (e.g. /payments/v1). Must be globally unique. Optional — when omitted, derived as <app.gateway_path>/.

Response

Version 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