_device_before_add_

From Yombo
< docs‎ | hooks
Jump to: navigation, search
device_before_add
Hook name _device_before_add_
Status Active
Hook source type Library
Stop on exception No
Commonly used No
Implemented by devices

Summary

Called before a new device is submitted to Yombo API to be added.

Details

Used for notification just before a new device is created by calling the Yombo API. After the device is successfully created, it will be imported.

Raising "YomboHookStopProcessing" will prevent the device from being added.

KWargs

  • data - A dictionary of details about the device to be added.

Expects

Not expecting any data returned.


This page was last edited on 15 September 2018.