autoendpoint::routes

Module registration

source

Functions§

  • Handle the GET /v1/{router_type}/{app_id}/registration/{uaid} route Since this is called daily by a mobile device, it can serve as part of a liveliness check for the device. This is more authoritative than relying on the bridge service to return a “success”, since the bridge may retain “inactive” devices, but will immediately drop devices where Firefox has been uninstalled or that have been factory reset.
  • Increment a metric with data from the request
  • Handle the POST /v1/{router_type}/{app_id}/registration/{uaid}/subscription route
  • Handle the POST /v1/{router_type}/{app_id}/registration route
  • Handle the DELETE /v1/{router_type}/{app_id}/registration/{uaid}/subscription/{chid} route
  • Handle the DELETE /v1/{router_type}/{app_id}/registration/{uaid} route
  • Handle the PUT /v1/{router_type}/{app_id}/registration/{uaid} route