MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / get

Method get

apps/application/views/application_api_key.py:72–76  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, application_id: str, current_page: int, page_size: int)

Source from the content-addressed store, hash-verified

70 CompareConstants.AND),
71 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
72 def get(self, request: Request, workspace_id: str, application_id: str, current_page: int, page_size: int):
73 return result.success(ApplicationKeySerializer(
74 data={'application_id': application_id,
75 'workspace_id': workspace_id,
76 'order_by': request.query_params.get('order_by')}).page(current_page, page_size))
77
78 class Operate(APIView):
79 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
pageMethod · 0.45

Tested by

no test coverage detected