ManagerUpdates

Extends

Methods

connect

(async) connect(): Promise.<void>

Connect to the realtime namespace.

Returns

Promise.<void>

disconnect

(async) disconnect(): Promise.<void>

Disconnect from the realtime namespace.

Returns

Promise.<void>

getOptionAutoupdate

(async) getOptionAutoupdate(): Promise.<any>

Scopes

UPDATES_READONLY

HTTP

GET /api/manager/updates/option/autoupdate

Returns

Promise.<any>

getOptionChannel

(async) getOptionChannel(): Promise.<any>

Scopes

UPDATES_READONLY

HTTP

GET /api/manager/updates/option/channel

Returns

Promise.<any>

getOptionForceChannel

(async) getOptionForceChannel(): Promise.<any>

Scopes

UPDATES_READONLY

HTTP

GET /api/manager/updates/option/forceChannel

Returns

Promise.<any>

getOptionUpdateNotifications

(async) getOptionUpdateNotifications(): Promise.<any>

Scopes

UPDATES_READONLY

HTTP

GET /api/manager/updates/option/updateNotifications

Returns

Promise.<any>

getState

(async) getState(): Promise.<any>

Scopes

UPDATES_READONLY

HTTP

GET /api/manager/updates/state

Returns

Promise.<any>

getUpdates

(async) getUpdates(opts): Promise.<any>

Scopes

homey.updates.readonly

HTTP

GET /api/manager/updates/update

Parameters

Name Type Description
opts
object
flags
string <optional>
cache
string <optional>
}

Returns

Promise.<any>

getWhatsNew

(async) getWhatsNew(): Promise.<any>

Scopes

homey.updates.readonly

HTTP

GET /api/manager/updates/whatsnew/

Returns

Promise.<any>

installUpdate

(async) installUpdate(): Promise.<any>

Scopes

homey.updates

HTTP

POST /api/manager/updates/update

Returns

Promise.<any>

isConnected

isConnected(): Boolean

If this manager's namespace is connected to Socket.io.

Returns

Boolean

setOptionAutoupdate

(async) setOptionAutoupdate(opts): Promise.<any>

Scopes

UPDATES

HTTP

PUT /api/manager/updates/option/autoupdate

Parameters

Name Type Description
opts
object
value
boolean
}

Returns

Promise.<any>

setOptionChannel

(async) setOptionChannel(opts): Promise.<any>

Scopes

UPDATES

HTTP

PUT /api/manager/updates/option/channel

Parameters

Name Type Description
opts
object
value
string
}

Returns

Promise.<any>

setOptionForceChannel

(async) setOptionForceChannel(opts): Promise.<any>

Scopes

UPDATES

HTTP

PUT /api/manager/updates/option/forceChannel

Parameters

Name Type Description
opts
object
value
string
}

Returns

Promise.<any>

setOptionUpdateNotifications

(async) setOptionUpdateNotifications(opts): Promise.<any>

Scopes

UPDATES

HTTP

PUT /api/manager/updates/option/updateNotifications

Parameters

Name Type Description
opts
object
value
array
}

Returns

Promise.<any>

setWhatsNewRead

(async) setWhatsNewRead(opts): Promise.<any>

Scopes

homey.updates.readonly

HTTP

DELETE /api/manager/updates/whatsnew/:id

Parameters

Name Type Description
opts
object
id
string
}

Returns

Promise.<any>

unsetOptionAutoupdate

(async) unsetOptionAutoupdate(): Promise.<any>

Scopes

UPDATES

HTTP

DELETE /api/manager/updates/option/autoupdate

Returns

Promise.<any>

unsetOptionChannel

(async) unsetOptionChannel(): Promise.<any>

Scopes

UPDATES

HTTP

DELETE /api/manager/updates/option/channel

Returns

Promise.<any>

unsetOptionForceChannel

(async) unsetOptionForceChannel(): Promise.<any>

Scopes

UPDATES

HTTP

DELETE /api/manager/updates/option/forceChannel

Returns

Promise.<any>

unsetOptionUpdateNotifications

(async) unsetOptionUpdateNotifications(): Promise.<any>

Scopes

UPDATES

HTTP

DELETE /api/manager/updates/option/updateNotifications

Returns

Promise.<any>