Ana içeriğe geç

Geolocation API

Endpoints

Authentication

All endpoints require authentication using a Personal API Access Token.

Permissions

These are system admin settings endpoints (/apiops/settings/geolocation). They are not scoped to a project.

User must have system admin (sysAdmin) flag or the ADMIN authority on the account.

OperationRequired access
Get StatussysAdmin or ADMIN authority
Upload MMDB / Enable / DisablesysAdmin or ADMIN authority
Note

A valid API token without admin access returns 400 Bad Request with Unauthorized! Only users with ADMIN role can access this resource! (not HTTP 403).

Note

Get Geolocation Status returns status metadata only (enabled flag, file name, upload date). The MMDB file content is never returned - these databases are typically tens of megabytes and there is no APIops endpoint that downloads them.