Pterodactyldocs
Admin A P I

Export egg

Downloads an egg share JSON file.

GET/api/admin/eggs/{egg_id}/export
AuthorizationBearer <token>

Application API requests require an application API token, or a client API token, that belongs to a root administrator. Admin API requests require a client API token that belongs to a root administrator, and reject application API tokens. Client API requests require a client API token.

In: header

Path Parameters

egg_id*integer

The egg ID.

Response Body

text/plain

application/json

application/json

application/json

curl -X GET "https://example.com/api/admin/eggs/1/export"
"{\"_comment\":\"DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL\",\"meta\":{\"version\":\"PTDL_v2\"}}"