13.22
Serverinformatie
GET
/<guild_id>/api/guildHaalt algemene serverinformatie op: naam, pictogram, aantal leden, aantal open tickets en aantal panelen. Handig als je meerdere servers vanaf één plek beheert. Vereist het recht `view_guild`.
Voorbeeldverzoek
curl -X GET \
-H "Authorization: Bearer <API_TOKEN>" \
https://api.ticketsx.xyz/<guild_id>/api/guildVoorbeeldantwoord
{
"guild": {
"id": "123",
"name": "My Server",
"icon_url": "https://cdn.discordapp.com/...",
"member_count": 1200,
"open_ticket_count": 7,
"panel_count": 3
}
}