api.views

Functions

handle_exception(→ dict[str, dict[str, dict[str, ...)

view_api_endpoints(→ dict[str, Any])

view_api_endpoint(→ dict[str, Any])

view_api_endpoint_item(→ dict[str, Any])

edit_api_endpoint_item(→ None)

get_time_restricted_token(→ dict[str, str])

Module Contents

api.views.handle_exception(self: onegov.api.models.ApiException, request: onegov.core.request.CoreRequest) dict[str, dict[str, dict[str, Any] | str]][source]
api.views.view_api_endpoints(self: onegov.api.models.ApiEndpointCollection, request: onegov.core.request.CoreRequest) dict[str, Any][source]
api.views.view_api_endpoint(self: ApiEndpoint[Any], request: onegov.core.request.CoreRequest) dict[str, Any][source]
api.views.view_api_endpoint_item(self: onegov.api.models.ApiEndpointItem[Any], request: onegov.core.request.CoreRequest) dict[str, Any][source]
api.views.edit_api_endpoint_item(self: onegov.api.models.ApiEndpointItem[Any], request: onegov.core.request.CoreRequest) None[source]
api.views.get_time_restricted_token(self: onegov.api.models.AuthEndpoint, request: onegov.core.request.CoreRequest) dict[str, str][source]