Application Configuration
Service Id: platform6.appconfig
1. Get Config Item Value & Type
| Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
get |
id |
Service item id (required) |
|
A valid response will be:
| Header’s key |
Description |
platform6.response.status |
OK |
platform6.response.value |
[config value as string] |
config.type |
[type as string] |
| Type Strings |
| Boolean |
| Integer |
| Long |
| Double |
| Float |
| Byte |
| UUID |
| Date |
| Character |
| ZonedDateTime |
| String |
| AppTag |
2. Check Config Item Existence
| Header key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
exists |
id |
Service item id (required) |
|
A valid response will be:
| Header key |
Description |
platform6.response.status |
OK |
platform6.response.value |
true or false |
3. Set A Config Item Override
| Header key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
override |
platform6.request.user |
The email of the user making the request |
|
id |
Service item id (required) |
|
value |
Service item id (required) |
|
A valid response will be:
| Header key |
Description |
platform6.response.status |
OK |
4. List Config Items As Maps
| Header key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
listAll |
A valid response will be:
| Header key |
Description |
platform6.response.status |
OK |
names |
JSON Map[:] |
values |
JSON Map[:] |
types |
JSON Map[:] |
4. List Config Items
| Header key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
list |
appKey |
Application key |
|
A valid response will be:
| Header key |
Description |
platform6.response.status |
OK |
config.[id].value |
Config item value |
config.[id].type |
Config item type name (see Type table above) |