Authentication and API Access
Obtaining a token
The Producer obtains an access token from the AirNgin panel. The platform identifies the Producer from that token.
Enabling API access for a serial
When registering a device serial, there is an option to allow API usage. On every call, the platform checks that:
- The device serial (
DeviceSerial) exists. - The serial is allowed to call the API (API access is enabled).
Token transport details
| Item | Status |
|---|---|
| Where the token is sent (header / query / body) | Not specified yet |
| Header name | Not specified yet |
| Token scheme (for example, Bearer) | Not specified yet |
| Base URL | Not specified yet |
| HTTP method | Not specified yet |
| Authentication error format and status codes | Not specified yet |