post https://api-dev.aylanetworks.com/devicefactory/v1/devices/reserve.json
This API reserves a range of DSNs. It is intended for module and gateway manufacturers, but not for module-based product manufacturers. The caller must be a member of the OEM::SoftwareOEMManufacturer
, OEM::Admin
, or Ayla::Admin
role.
The response data is an array of objects. Each object contains a device field:
Name | Type | Description |
---|---|---|
device | object | Device objects |
The Device object contains the following fields:
Name | Type | Example |
---|---|---|
dsn | string | AC000W123456789 |
public_key | string | -----BEGIN RSA PUBLIC KEY-----MIIBC...AQAB-----END RSA PUBLIC KEY----- |