MCPcopy Create free account
hub / github.com/apache/cloudstack / apicall

Function apicall

tools/ngui/api.py:33–37  ·  view source on GitHub ↗
(command, data )

Source from the content-addressed store, hash-verified

31 return None
32
33def apicall(command, data ):
34 response, error = make_request(command, data, None, host, port, apikey, secretkey, protocol, path)
35 if error is not None:
36 return error, get_error_code(error)
37 return response

Callers 1

rawapiFunction · 0.90

Calls 2

make_requestFunction · 0.90
get_error_codeFunction · 0.85

Tested by

no test coverage detected