pub async fn get_channels_route(
auth: AuthorizationCheck,
path_args: RegistrationPathArgsWithUaid,
app_state: Data<AppState>,
) -> Result<HttpResponse, ApiError>
Expand description
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.