Applications
Service Id: platform6.applications
1. List All Applications
Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
list |
A valid response will be:
Header’s key |
Description |
platform6.response.value |
JSON Map> |
|
[key = appKey, value = metaMap [installed, version] ] |
2. List An Applications Component Id (keyed by service) given App Item Id
Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
listComponentItems |
id |
Applications Service Item Id [appKey.name] |
|
A valid response will be:
Header’s key |
Description |
platform6.response.value |
JSON Map> |
|
[key = serviceId, value = List of item ids ] |
Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
deployUpdate |
fromId |
Applications Service Item Id to Take component from |
|
toId |
Applications Service Item Id to deploy the component to |
|
componentId |
The component id |
|
serviceId |
The service id |
|
A valid response will be:
Header’s key |
Description |
platform6.response.status |
ok |
4. Save Application Rollback State
Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
putStateValue |
id |
Applications Service Item Id to store state |
|
key |
State entry key |
|
value |
State entry value |
|
A valid response will be:
Header’s key |
Description |
platform6.response.status |
OK |
platform6.response.value |
[previous state value as string] |
4. Read Application Rollback State
Header’s key |
Description |
Value |
platform6.request.action |
The action to perform (required) |
getStateValue |
id |
Applications Service Item Id to store state |
|
key |
State entry key |
|
A valid response will be:
Header’s key |
Description |
platform6.response.status |
OK |
platform6.response.value |
[state value as string or null] |