Allocation
Path parameters
nodeintegerRequired
The node ID
Responses
200Success
application/json
itemsanyOptional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
get/nodes/{node}/allocations
GET /api/application/nodes/{node}/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]Path parameters
nodeintegerRequired
The node ID
Body
ipstringRequired
aliasstring · max: 191 · nullableOptional
portsstring[] · min: 1Required
Responses
204
No content
application/json
string[]Optional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
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"
]Path parameters
nodeintegerRequired
The node ID
allocationintegerRequired
The allocation ID
Responses
204
No content
application/json
string[]Optional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
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?

