Skip to main content
POST
/
api
/
v1
/
apps
/
{app_id}
/
versions
/
{version_id}
/
revisions
/
{revision_id}
/
endpoints
cURL
curl --request POST \
  --url https://api.example.com/api/v1/apps/{app_id}/versions/{version_id}/revisions/{revision_id}/endpoints \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "<string>",
  "path": "<string>",
  "backend_path": "<string>",
  "policy_override": {}
}
'
{
  "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
method
string
required
path
string
required

Path relative to the version gateway_path (e.g. /orders).

backend_path
string | null
policy_override
object

Response

Endpoint 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