api.views ========= .. py:module:: api.views Functions --------- .. autoapisummary:: api.views.handle_exception api.views.view_api_endpoints api.views.view_api_endpoint api.views.view_api_endpoint_item api.views.edit_api_endpoint_item api.views.get_time_restricted_token Module Contents --------------- .. py:function:: handle_exception(self: onegov.api.models.ApiException, request: onegov.core.request.CoreRequest) -> dict[str, dict[str, dict[str, Any] | str]] .. py:function:: view_api_endpoints(self: onegov.api.models.ApiEndpointCollection, request: onegov.core.request.CoreRequest) -> dict[str, Any] .. py:function:: view_api_endpoint(self: onegov.api.models.ApiEndpoint[Any], request: onegov.core.request.CoreRequest) -> dict[str, Any] .. py:function:: view_api_endpoint_item(self: onegov.api.models.ApiEndpointItem[Any], request: onegov.core.request.CoreRequest) -> dict[str, Any] .. py:function:: edit_api_endpoint_item(self: onegov.api.models.ApiEndpointItem[Any], request: onegov.core.request.CoreRequest) -> None .. py:function:: get_time_restricted_token(self: onegov.api.models.AuthEndpoint, request: onegov.core.request.CoreRequest) -> dict[str, str]