Flag CDN endpoints (System (public))
1 FeatherPanel System (public) endpoint from system/flagcdn.php: methods, paths, auth, permissions, rate limits, parameters and responses.
Last synced from FeatherPanel 15b94e9 on .
On this page
Defined in backend/app/routes/system/flagcdn.php. Authentication used here: Public. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.
Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.
Endpoints
GET/api/system/country-codes
Get all country codes Retrieve all available country codes and names from FlagCDN. This endpoint is cached for 24 hours.
Response data field | Type | Description |
|---|---|---|
country_codes | object | Object mapping country codes to country names |
curl -X GET "$PANEL_URL/api/system/country-codes" \
-H "Accept: application/json"Responses: 200 Country codes retrieved successfully · 500 Internal server error - Failed to fetch country codes