Skip to main content

__get_subscription_impl

Function __get_subscription_impl 

Source
pub async fn __get_subscription_impl(
    state: State<AppState>,
    __arg1: Path<i64>,
) -> Result<Json<SubscriptionHal>, HandlerError>
Expand description

Get a single subscription.

Retrieve a subscription mapping by its ID.

§Path Parameters

id: The unique identifier of the subscription

§Responses

200: Json - Successfully retrieved the subscription 401: () - Unauthorized 404: () - Subscription was not found 408: () - Request timeout 500: () - Internal server error

§Metadata

@tag subscriptions