Difference between revisions of "GetKeyValues"

From Gvp-public
Jump to navigation Jump to search
 
(2 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 can be used by anonymous login or logged user.
+
This method doesn't need token
  
 
|Parameters=
 
|Parameters=
  
 
{{Api_Parameter|
 
{{Api_Parameter|
ParamName=token
+
ParamName=instanceId
|ParamType=String
+
|ParamType=Int
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
+
|ParamDescription=A valid InstanceID
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
Line 50: Line 50:
 
}
 
}
  
 +
In case component, groups or keys doesn't exist, the response contains a void content {}.
  
 
|Exceptions=
 
|Exceptions=

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
}
}
}

}

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


See also