Skip to main content

__list_subscriptions_impl

Function __list_subscriptions_impl 

Source
pub async fn __list_subscriptions_impl(
    state: State<AppState>,
    query: Query<ListSubscriptionsQuery>,
) -> Result<Json<SubscriptionPage>, HandlerError>
Expand description

List subscriptions.

Returns a paginated list of all subscription mappings in the system.

§Query Parameters

  • limit: The maximum number of subscriptions to return.
  • last_id: The ID of the last subscription in the previous page.

§Responses

200: Json - Paginated list of subscriptions 401: () - Unauthorized 408: () - Request timeout 500: () - Internal server error

§Metadata

@tag subscriptions