dictionaries
GET /api/dictionaries
Summary: List all available dictionaries with their types
Parameters
In | Name | Type | Required | Description |
---|---|---|---|---|
query | no_cache |
boolean | no | Do not use cache for dictionary types |
Responses
-
200 —
-
Media type:
application/json
Type: array[Dictionary]
GET /api/dictionaries/{name}
Summary: Get details of particular dictionary by dictionary name
If dictionary is static, then all values will be returned; if it is dynamic, then no more than 'limit' will be returned from the ones matching 'pattern'.
Parameters
In | Name | Type | Required | Description |
---|---|---|---|---|
path | name |
string | yes | |
query | no_cache |
boolean | no | Do not use cache for dictionary types |
query | pattern |
string | no | Filter by substring (dynamic dictionaries only) |
query | limit |
integer | no | Limit items to given number (dynamic dictionaries only) |
query | show_last_seen |
boolean | no | Show last seen time |
query | last_seen_from |
string | no | Show only last seen newer than given time. Time format: epoch [s] or negative number with unit [h (hours), d (days)] can be provided to get time relative to current. |
query | last_seen_to |
string | no | Show only last seen older than given time.Time format: epoch [s] or negative number with unit[h (hours), d (days)]can be provided to get time relative to current. |
Responses
-
200 —
-
Media type:
application/json
Type: Dictionary
-
404 —
-
Media type:
application/json
Type: Detail