utility had no equivalent.App\Http\Controllers\Api\V1\Public\DiveCenterController::countries()api.v1.public.dive-centers.countriesthrottle:public. See docs/api/README.md ยง14.GET/api/v1/public/dive-centers/countries200 OKdata is an array, sorted by label. 54 entries at capture time (truncated to the first 3 below).{
"success": true,
"status": "success",
"message": "OK",
"data": [
{ "value": "AG", "label": "Antigua and Barbuda" },
{ "value": "AR", "label": "Argentina" },
{ "value": "AU", "label": "Australia" }
]
}| Field | Type | Nullable | Always present | Description |
|---|---|---|---|---|
data[].value | string | No | Yes | ISO 3166-1 alpha-2 code. Send this as country to GET .../dive-centers |
data[].label | string | No | Yes | English country name |
429 Too Many Requestspublic limiter (300 requests per minute, keyed by IP). No errors key.{
"success": false,
"status": "error",
"message": "Too many requests"
}DiveCenter::scopePubliclyVisible() scope every other public endpoint uses - a country whose only centres are hidden (inactive or expired over a year) does not appear.curl --location 'https://test.diveraid.com/api/v1/public/dive-centers/countries'{
"status": "success",
"message": "string",
"data": [
{
"value": "IT",
"label": "Italy"
}
]
}