-
Notifications
You must be signed in to change notification settings - Fork 39
Home
dapplion edited this page Jul 24, 2018
·
1 revision
The response is a stringified object always contains three keys:
{
success: true / false
message: 'Error: package not found'
result: <object, array or string>
}
domain: <event>.dappmanager.dnp.dappnode.eth
event | kwargs | result |
---|---|---|
installPacakge | id | {} |
removePackage | id, deleteVolumes | {} |
togglePackage | id, timeout | {} |
restartPackage | id | {} |
restartPackageVolumes | id | {} |
updatePackageEnv | id, envs, restart, isCore | {} |
logPackage | id, options | {id, logs} |
fetchPackageVersions | id | [{ versionObject }] |
fetchPackageData | id | {manifest, avatar} |
listPackages | - | [{ pkgDataObject }] |
fetchDirectory | - | [{name, status}] |
{
id: '927623894...', (string)
isDNP: true, (boolean)
created: date (string),
image: imageName, (string)
name: otpweb.dnp.dappnode.eth, (string)
shortName: otpweb, (string)
version: '0.0.4', (string)
ports: listOfPorts, (string)
state: 'exited', (string)
running: true, (boolean)
...
envs: envVariables (object)
}
{
version: '0.0.4', (string)
manifest: manifest (object)
}