- How to get a device by Serial or IMEI via Octave API?
- What is the correct way to separate development and production environments? We have some test devices that we play with and we want to prevent accidental changes to production devices (human error mostly). Is there a way to separate these environments, maybe create separate Octave accounts? If so, is there a way to transfer blueprints between them?
- How to get a device by Serial or IMEI:
Use API filters: https://rest.octave.dev/#filtering with a filter on hardware.imei or hardware.fsn
https://octave-api.sierrawireless.io/v5.0/your_company/device?filter=hardware.imei==“xxxxxxxxxxxxxx”
This is not limited to hardware properties, any API call can be filtered on any of the targeted entity fields
- What is the correct way to separate development and production environments?
Separate Companies are a good way to formally separate dev & prod environements
A given user can be access to multiple companies. The Production company should be restricted only to the relevant users.
Blueprints can easily be copied from one Company to another one, through Octave UI (Deployment/Blueprints/a given Blueprint/Copy Blueprint). This can be done by a user having access to both Companies.
For Question #1, Example API = GET https://octave-api.sierrawireless.io/v5.0/iot_solutions device/?filter=hardware.fsn==‘VU847300561610’&only=name,hardware