Get the settings the web app needs
Returns the app name and version, the retention days, the access log paths and the map setup. Use /api/v1/system/settings for every setting with its environment variable.
session<token>Session cookie authentication.
Request fulfilled, document follows
application/json- response
The settings the web app reads to set itself up. No credentials appear here.
analytics*How many days the database keeps each kind of data, and when it compresses it.
environment*stringAPP_ENVIRONMENT, one of development, staging or production.
logparser*The log ingestion settings.
map*The map setup.
name*stringruntime*Where the app runs.
version*stringcurl -X GET 'https://geometrikks.example.com/api/v1/settings'{ "analytics": { "compressionAfterDays": 0, "debugRetentionDays": 0, "hourlyRetentionDays": 0, "rawRetentionDays": 0 }, "environment": "string", "logparser": { "logPaths": [ "string" ], "sendLogs": true, "storeDebugLines": true }, "map": { "cartoApiKey": "string", "defaultView": { "latitude": 0, "longitude": 0, "zoom": 0 }, "esriApiKey": "string", "serverLatitude": 0, "serverLocationSource": "configured", "serverLongitude": 0 }, "name": "string", "runtime": { "container": true, "imageTag": "string" }, "version": "string"}Look up the abuse contact for an IP or an ASN GET
Asks the RDAP registry that holds the IP or AS number for its network or AS record and the abuse contact on it. Only the queried address or number leaves the server, and GeoMetrikks caches each answer for up to 24 hours. A private or reserved address gets a 400.
Get version, runtime and database details GET
Returns the app version and image, the Python and library versions, the PostgreSQL, TimescaleDB and PostGIS versions, the schema migration, and the state of the GeoLite2 databases and DROP lists. When the database is unreachable, every database field is null except `migrationHead`, the newest migration this build ships.