httpapi
HTTPAPI for python-cmk.
HTTPAPI(url, user=None, password=None)
Bases: API
Source code in src/cmk/httpapi.py
22 23 24 25 26 27 28 29 |
|
view(view_name, limit='none', **filters)
Fetches data from a View.
Retrieves rows of the view specified by name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
view_name |
str
|
Name of the View |
required |
limit |
Literal['soft', 'hard', 'none']
|
Limit the amount of results |
'none'
|
**filters |
Filter parameters |
{}
|
Source code in src/cmk/httpapi.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|