API
The Edgemesh Analytics API.

Authentication

This API requires a token be sent on every request. You can create an API Token in the account section of the portal. Once you have your token, you can authenticate your request by adding the token to the X-API-Key header or the api-key query parameter.

Routes

Account, Domain and Org resources are accessed with their ID. You can get your domain ID by navigating to the portal and selecting your domain.
https://portal.edgemesh.com/dashboard/:orgId/domain/:domainId
post
https://api.edgemesh.com
/access/domain/:id/server/purge
Purge Server Cache
get
https://api.edgemesh.com
/access/domain/:id/client/purge
Purge Client Cache
get
https://api.edgemesh.com
/access/domain/:id/purge
Purge All Caches

Webhooks

Below is a collection of platform specific webhooks. Like the routes, some webhooks require the IDs for your Account, Domain or Org. They can be found by navigating to the portal and selecting your domain.
https://portal.edgemesh.com/dashboard/:orgId/domain/:domainId
post
https://api.edgemesh.com
/webhook/shopify/purge/:id
Shopify Purge Cache