MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / rest_request

Method rest_request

keepercommander/loginv3.py:850–856  ·  view source on GitHub ↗
(params: KeeperParams, api_endpoint: str, rq)

Source from the content-addressed store, hash-verified

848class LoginV3API:
849 @staticmethod
850 def rest_request(params: KeeperParams, api_endpoint: str, rq):
851 api_request_payload = APIRequest_pb2.ApiRequestPayload()
852 api_request_payload.payload = rq.SerializeToString()
853
854 rs = rest_api.execute_rest(params.rest_context, api_endpoint, api_request_payload)
855
856 return rs
857
858 @staticmethod
859 def get_device_id(params, new_device=False): # type: (KeeperParams, bool) -> bytes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected