Difference between revisions of "GetKeyValues"

From Gvp-public
Jump to navigation Jump to search
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>:{
::      { Object of [[Person]] }
+
::      "global": {
 +
:::      "ANALYTICS": {
 +
::::        "ANALYTICS_BATCH_SIZE": 100,
 +
::::        "ANALYTICS_BATCH_TIME_LIMIT": 86400
 +
:::      }
 +
::    }
 
}
 
}
  
  
 
|Exceptions=
 
|Exceptions=
* [[Exceptions#InvalidInputParameter InvalidInputParameter]]
+
* [[StatusCode#InvalidInputParameter | InvalidInputParameter]]
  
 
|Cache=
 
|Cache=

Revision as of 13:24, 3 September 2015

Description

Gets a tree of components-groups-keys.

This method can be used by anonymous login or logged user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • 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
}
}

}


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


See also