Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Allocation

Return all the allocations that exist for a given node

get
Path parameters
nodeintegerRequired

The node ID

Responses
200Success
application/json
itemsanyOptional
get/nodes/{node}/allocations
GET /api/application/nodes/{node}/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Store new allocations for a given node

post
Path parameters
nodeintegerRequired

The node ID

Body
ipstringRequired
aliasstring · max: 191 · nullableOptional
portsstring[] · min: 1Required
Responses
204

No content

application/json
string[]Optional
post/nodes/{node}/allocations
POST /api/application/nodes/{node}/allocations HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "ip": "text",
  "alias": null,
  "ports": [
    "text"
  ]
}
[
  "text"
]

Delete a specific allocation from the Panel

delete
Path parameters
nodeintegerRequired

The node ID

allocationintegerRequired

The allocation ID

Responses
204

No content

application/json
string[]Optional
delete/nodes/{node}/allocations/{allocation}
DELETE /api/application/nodes/{node}/allocations/{allocation} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Last updated

Was this helpful?