mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
[
|
|
{
|
|
"request": "POST /api/application/nodes",
|
|
"status": 201,
|
|
"body": {
|
|
"object": "node",
|
|
"attributes": {
|
|
"id": 1001,
|
|
"uuid": "e45a916b-7b34-4394-9e17-48fad8d0185e",
|
|
"public": true,
|
|
"name": "node-gamma",
|
|
"description": "Created through the API",
|
|
"location_id": 1,
|
|
"fqdn": "localhost",
|
|
"scheme": "https",
|
|
"behind_proxy": false,
|
|
"maintenance_mode": false,
|
|
"memory": 2048,
|
|
"memory_overallocate": 0,
|
|
"disk": 20480,
|
|
"disk_overallocate": 0,
|
|
"upload_size": 100,
|
|
"daemon_listen": 8080,
|
|
"daemon_sftp": 2022,
|
|
"daemon_base": "/var/lib/pterodactyl/volumes",
|
|
"created_at": "2026-03-04T05:06:07+00:00",
|
|
"updated_at": "2026-03-04T05:06:07+00:00",
|
|
"allocated_resources": {
|
|
"memory": 0,
|
|
"disk": 0
|
|
},
|
|
"relationships": [],
|
|
"extensions": {}
|
|
},
|
|
"meta": {
|
|
"resource": "https://panel.example.test/api/application/nodes/1001"
|
|
}
|
|
}
|
|
}
|
|
]
|