#[Group('Application API','Root administrator endpoints for managing panel resources using application API tokens.')]
#[Subgroup('Eggs','Retrieve egg metadata used for server creation.')]
classEggControllerextendsApplicationApiController
{
/**
* Return all eggs that exist on the panel.
*/
#[Endpoint('List eggs','Returns a paginated list of server eggs available on the panel.')]
#[QueryParam('per_page','integer','Number of eggs to return per page, up to 100.',required:false,example:50)]
#[QueryParam('filter[name]','string','Filter eggs by name.',required:false,example:'Paper')]
#[QueryParam('filter[tag]','string','Filter eggs by tag slug. Separate several slugs with commas to return eggs that carry any of them.',required:false,example:'minecraft')]
#[QueryParam('sort','string','Sort eggs by id or name. Prefix with "-" for descending order.',required:false,example:'name',enum:['id','-id','name','-name'])]
#[QueryParam('include','string','Comma-separated relationships to include. Supports "servers", "config", "script", "variables", and "tags" when the key can read those resources.',required:false,example:'variables',enum:['servers','config','script','variables','tags'])]
#[Endpoint('Get egg','Returns a single egg by internal numeric ID.')]
#[QueryParam('include','string','Comma-separated relationships to include. Supports "servers", "config", "script", "variables", and "tags" when the key can read those resources.',required:false,example:'variables',enum:['servers','config','script','variables','tags'])]