App as returned by HomeyAPIV2.ManagerApps.
Properties
autoupdate
autoupdate: booleanType
- boolean
brandColor
brandColor: stringType
- string
channel
channel: stringType
- string
compatibility
compatibility: stringType
- string
crashed
crashed: booleanType
- boolean
crashedMessage
crashedMessage: stringType
- string
enabled
enabled: booleanType
- boolean
exitCode
exitCode: numberType
- number
exitCount
exitCount: numberType
- number
exitSignal
exitSignal: stringType
- string
hasDrivers
hasDrivers: booleanType
- boolean
icon
icon: stringType
- string
iconObj
iconObj: objectType
- object
id
id: stringType
- string
images
images: objectType
- object
name
name: stringType
- string
origin
origin: stringType
- string
permissions
permissions: arrayType
- array
ready
ready: booleanType
- boolean
sdk
sdk: numberType
- number
session
session: stringType
- string
settings
settings: booleanType
- boolean
state
state: stringType
- string
updateAvailable
updateAvailable: objectType
- object
usage
usage: objectType
- object
version
version: stringType
- string
Methods
delete
(async) delete(opts): Promise.<any>Make a DELETE request to the App's Web API.
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
path
|
string | |
|
Returns
Promise.<any>
get
(async) get(opts): Promise.<any>Make a GET request to the App's Web API.
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
path
|
string | |
|
Returns
Promise.<any>
post
(async) post(opts): Promise.<any>Make a POST request to the App's Web API.
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
path
|
string | |
body
|
object | |
|
Returns
Promise.<any>
put
(async) put(opts): Promise.<any>Make a PUT request to the App's Web API.
Parameters
Name | Type | Description |
---|---|---|
opts
|
object | |
path
|
string | |
body
|
object | |
|
Returns
Promise.<any>
Events
delete
.on('delete')update
.on('update')Parameters
Name | Type | Description |
---|---|---|
app
|
object |