Module sentry::routes::routers

source ·
Expand description

This module contains all the Sentry REST API routers.

Ideally these routers will be replaced with proper routing, when we replace the custom hyper server setup with a web framework.

Routers

Routers are functions that are called on certain route prefix (e.g. /v5/channel, /v5/campaign) and they perform a few key operations for the REST API web server:

  • Extract parameters from the route
  • Match against the different HTTP methods
  • Calls additional middlewares for the route

Enums

Functions

/v5/analytics router
/v5/campaign router
/v5/channel router
/v5/units-for-slot router