Module registration

Source

Functions§

get_channels_route
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.
incr_metric 🔒
Increment a metric with data from the request
new_channel_route
Handle the POST /v1/{router_type}/{app_id}/registration/{uaid}/subscription route
register_uaid_route
Handle the POST /v1/{router_type}/{app_id}/registration route
unregister_channel_route
Handle the DELETE /v1/{router_type}/{app_id}/registration/{uaid}/subscription/{chid} route
unregister_user_route
Handle the DELETE /v1/{router_type}/{app_id}/registration/{uaid} route
update_token_route
Handle the PUT /v1/{router_type}/{app_id}/registration/{uaid} route