autoendpoint::routes::registration

Function new_channel_route

source
pub async fn new_channel_route(
    _auth: AuthorizationCheck,
    path_args: RegistrationPathArgsWithUaid,
    channel_data: Option<Json<NewChannelData>>,
    app_state: Data<AppState>,
) -> Result<HttpResponse, ApiError>
Expand description

Handle the POST /v1/{router_type}/{app_id}/registration/{uaid}/subscription route