REST API v1
Developer API
NTRIP credential provisioning at scale, station/health queries, VRS and signed webhooks. Bearer-token authentication (create one in Admin → Platform).
Quick example
curl -X POST https://geonet.com.mx/api/v1/credentials \
-H "Authorization: Bearer gnk_tu_token_aqui" \
-H "Content-Type: application/json" \
-d '{"station_codigo":"CMXC_GAM_01","segundos":86400,"cliente_nombre":"Rover 7","cliente_email":"ops@flotas.mx","enviar_email":true}'
The seed demo token has read, provision and revoke scopes.
| Method | Endpoint | Description |
|---|---|---|
| GET | /stations | Lista las estaciones CORS activas con estado en vivo |
| GET | /stations/{id}/health | Salud e historial de uptime (60 días) de una estación |
| GET | /vrs | Selección de mountpoint inteligente (Network RTK/VRS o base única) para una posición |
| GET | /credentials | Lista credenciales (filtro opcional ?estado=activa|expirada|revocada) |
| POST | /credentials | Provisiona una credencial NTRIP (scope: provision) |
| GET | /credentials/{id} | Detalle de una credencial |
| DELETE | /credentials/{id} | Revoca una credencial (scope: revoke) — emite webhook credential.revoked |
| GET | /webhooks | Lista los webhooks del dueño del token |
| POST | /webhooks | Crea un webhook saliente firmado (HMAC-SHA256, header X-GeoNet-Signature) |
| DELETE | /webhooks/{id} | Desactiva un webhook |
OpenAPI 3.1: /docs/openapi.json ·
Webhooks: X-GeoNet-Signature: sha256=HMAC(body, secreto) ·
Rate limit: 240 req/min por IP.