mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
55 lines
1.9 KiB
JSON
55 lines
1.9 KiB
JSON
[
|
|
{
|
|
"request": "POST /api/admin/eggs/import",
|
|
"status": 201,
|
|
"body": {
|
|
"object": "egg",
|
|
"attributes": {
|
|
"id": 1001,
|
|
"uuid": "e45a916b-7b34-4394-9e17-48fad8d0185e",
|
|
"author": "support@example.test",
|
|
"name": "Paper Child",
|
|
"description": null,
|
|
"features": null,
|
|
"docker_image": "ghcr.io/pterodactyl/yolks:java_21",
|
|
"docker_images": {
|
|
"Java 21": "ghcr.io/pterodactyl/yolks:java_21"
|
|
},
|
|
"force_outgoing_ip": null,
|
|
"config": {
|
|
"files": {
|
|
"server.properties": {
|
|
"parser": "properties",
|
|
"find": {
|
|
"server-ip": "0.0.0.0",
|
|
"server-port": "{{server.build.default.port}}"
|
|
}
|
|
}
|
|
},
|
|
"startup": {
|
|
"done": ")! For help, type "
|
|
},
|
|
"stop": "stop",
|
|
"logs": {},
|
|
"file_denylist": [],
|
|
"extends": null
|
|
},
|
|
"startup": "java -jar {{SERVER_JARFILE}}",
|
|
"script": {
|
|
"privileged": null,
|
|
"install": "#!/bin/ash\necho \"installing\"",
|
|
"entry": "ash",
|
|
"container": "ghcr.io/pterodactyl/installers:alpine",
|
|
"extends": null
|
|
},
|
|
"relationships": [],
|
|
"created_at": "2026-03-04T05:06:07+00:00",
|
|
"updated_at": "2026-03-04T05:06:07+00:00"
|
|
},
|
|
"meta": {
|
|
"resource": "https://panel.example.test/api/admin/eggs/1001"
|
|
}
|
|
}
|
|
}
|
|
]
|