/settings/get_multi
Look up multiple keys. Each value is retrieved, as in the settings/get command, by first looking at the client-specific setting, and then falling back to the application default setting.
URL
https://{yourdomain}.com/settings/get_multi
Request
| Parameter | Required | Description |
|---|---|---|
client_idstring | Yes | The client identifier. |
client_secretstring | Yes | The shared secret paired with the client_id. |
keysstring | Yes | A JSON array of the keys to retrieve. |
for_client_id string | Yes | The client identifier whose keys will be retrieved. |
Example Response
https://yourdomain.com/settings/get_multi?keys=["bla", "level", "owner"]for_client_id=98765432198765432198765432198765&client_id=12345678912345678912345678912345&client_secret=98765432198765432198765432198765
Fetch the values of "owner," "level," and "bla" for a the specific client, where "bla" has no client-specific value and no default value.
{
"result":{
"bla":false,
"level":"10",
"owner":"Jay"
},
"stat":"ok"
}