Page 1 of 1

[Implemented] API - create device - specify zone and credentials

Posted: Thu Nov 12, 2020 10:06 am
by ptorbjornsson
Hi,

We have a setup with a large number of devices, distributed across several zones.
As we frequently add new devices to these zones, it would be a great feature if you could specify which zone a new device should belong to, when creating it using the API. It could also be useful to be able to bind device credentials through the API.

Re: API - create device - specify zone and credentials

Posted: Fri Jul 09, 2021 3:56 pm
by Tomas
Just an update: we are currently designing API v3 (to be released in v2.2) which we hope to implement in the following 3-6 months. It will expose Zones and Credentials, as well as the ability to set Zone and bind credentials for device creation.

We will publish a draft of the proposed API endpoints and objects in the Beta section of the forum once finalized for comments, please subscribe there if you wish to be notified when that is ready :)

Re: API - create device - specify zone and credentials

Posted: Fri Jul 09, 2021 4:00 pm
by edward.fingleton
That is great news Tomas! Will remove what is a currently manual task from our Unimus setup and shorten the distance between a piece of equipment coming online and being discovered and being properly backed up.

Look forward to it.

Re: API - create device - specify zone and credentials

Posted: Tue Aug 10, 2021 11:18 am
by ptorbjornsson
I agree, great news indeed!
This really helps automate adding new devices properly via scripting.

Re: API - create device - specify zone and credentials

Posted: Wed Aug 11, 2021 11:08 pm
by Tomas
API v3 draft available here: viewtopic.php?f=4&t=1347

Please post any questions / feedback in that topic :)