Difference between revisions of "GetKeyValues"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
Description=Gets a tree of components-groups-keys. | Description=Gets a tree of components-groups-keys. | ||
− | This method | + | This method doesn't need token |
|Parameters= | |Parameters= | ||
{{Api_Parameter| | {{Api_Parameter| | ||
− | ParamName= | + | ParamName=instanceId |
− | |ParamType= | + | |ParamType=Int |
|ParamRequired=required | |ParamRequired=required | ||
− | |ParamDescription=A valid | + | |ParamDescription=A valid InstanceID |
}} | }} | ||
{{Api_Parameter| | {{Api_Parameter| | ||
Line 40: | Line 40: | ||
: <span style="color: #a11">"Severity"</span>: 1, | : <span style="color: #a11">"Severity"</span>: 1, | ||
: <span style="color: #a11">"StatusMessage"</span>: "OK", | : <span style="color: #a11">"StatusMessage"</span>: "OK", | ||
− | : <span style="color: #a11">"Content"</span>: | + | : <span style="color: #a11">"Content"</span>:{ |
− | :: { | + | :: "global": { |
+ | ::: "ANALYTICS": { | ||
+ | :::: "ANALYTICS_BATCH_SIZE": 100, | ||
+ | :::: "ANALYTICS_BATCH_TIME_LIMIT": 86400 | ||
+ | :::: } | ||
+ | ::: } | ||
+ | :: } | ||
} | } | ||
+ | In case component, groups or keys doesn't exist, the response contains a void content {}. | ||
|Exceptions= | |Exceptions= | ||
− | * | + | * [[StatusCode#InvalidInputParameter | InvalidInputParameter]] |
|Cache= | |Cache= |
Latest revision as of 15:33, 13 November 2017
Description
Gets a tree of components-groups-keys.
This method doesn't need token
Parameters
- instanceId (Int, required)
- A valid InstanceID
- components (String, required)
- Comma-separated components' name to filter the response tree. It is case insensitive.
- groups (String, optional)
- Comma-separated groups' name to filter the response tree. It is case insensitive.
- keys (String, optional)
- Comma-separated keys' name to filter the response tree. It is case insensitive.
Returns
First, second and third levels of ParameterComponent tree, which contains filtered keys inside groups inside components
Example:
{
- "Statuscode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content":{
- "global": {
- "ANALYTICS": {
- "ANALYTICS_BATCH_SIZE": 100,
- "ANALYTICS_BATCH_TIME_LIMIT": 86400
- }
- }
- "ANALYTICS": {
- }
- "global": {
}
In case component, groups or keys doesn't exist, the response contains a void content {}.
Exceptions
Caching
This method is cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
2.4 | Initial method design | Harley Cabral |