Edge Analytics API¶
The brand new API is designed to expose Edge intelligence metrics leveraging on the new capabilities of Edge Analytics.
- Ability to fetch metrics in custom intervals of time.
- Versioned API endpoints.
- Endpoint for custom queries to allow for tailored SQL queries.
The Swagger UI is available at https://api.system73.com/analytics/docs/ where you can get the API reference (OpenAPI spec) or interact with the API endpoints.
The new API is bundled with a subset of the Legacy Stats API endpoints.
These endpoints keep the same interface in order to facilitate the transition of the Legacy Stats
API current users. The legacy endpoints are grouped under the base path
The Edge Analytics API subset of legacy endpoints will also be subject to a deprecation schedule. We will communicate the deprecation schedule making sure we provide you with enough time to perform the migration to the new endpoints.
Current users of the Legacy Stats API can easily migrate to the Edge Analytics API subset of legacy endpoints with minimal effort:
Replace the legacy API base path
Fetch the new credentials (API key) of the Edge Analytics API as described here.
Bearerword into the Authorization header along with the new credential:
Authorization: Bearer <new_api_key>