-
Notifications
You must be signed in to change notification settings - Fork 5
Task Result Response
The result returned by this service is an ordered list of objects that denote an action with action attribute along and result stored under data attribute.
The list allows for multiple actions to be returned.
For details on the format of values in data
field, click the Example link next to each action below.
{
"progress": number // 0 - 100 where 100 means complete
"status": string // One of the following: submitted, processing, complete, failed
"result":
[
{
"action": "addNetworks|updateNetwork|addTables|updateTables|updateLayouts|updateSelection",
"data" : <response data for action>
}
]
}
Must correspond to entry in cyWebActions list and denotes what to perform. Information about these actions and examples can be found here:
-
addNetworks
: Add the given networks to the current workspace. Example -
updateNetwork
: Update the current network in the workspace. Example -
addTables
: TO BE ADDED IN FUTURE Add new tables to the workspace. Example -
updateTables
: Update existing tables in the workspace. Example -
updateLayouts
: Update the layouts of the current network in the workspace. Example -
updateSelection
: Update the current network selection states of nodes and edges. Example
The data to return with each action. See action section above for more information