functions#
Autogenerated API
- argus_api.lib.currentuser.v1.functions.get_functions(onlyRoles: bool = None, keywords: str = None, limit: int = 25, requirePermission: bool = True, maxSecurityLevel: str = 'current', offset: int = None, json: bool = True, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, body: Optional[dict] = None, api_session: Optional[ArgusAPISession] = None) dict #
List the current user’s permission functions regardless of customer (PUBLIC)
- Parameters
onlyRoles (bool) – Only return functions marked as roles
keywords (list) – Filter functions by keywords on name and description
limit (int) – Maximum number of returned functions
requirePermission (bool) – Only return functions which current user has access to
maxSecurityLevel (str) – Only return functions which are available with this security level
offset (int) – Skip a number of functions
json – return the response’s body as a
dict
parsed from json.True
by default. If set to false, the rawrequests.Response
object will be returned.verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.
apiKey – Argus API key.
authentication – authentication override
server_url – API base URL override
body – body of the request. other parameters will override keys defined in the body.
api_session – session to use for this request. If not set, the global session will be used.
- Raises
AuthenticationFailedException – on 401
ForbiddenPermissionException – on 403
InvalidRequestException – on 412
ArgusException – on other status codes
- Returns
dictionary translated from JSON