Register a device (owner/admin; returns its key ONCE)
Mints an 8-byte device id and, for every suite but none, a key. The key is returned ONCE, hex-encoded, and cannot be retrieved again — write it into the device now. suite and nonce_len are FIXED at registration and never change: a deployed device cannot be asked to re-read its own layout, so rotation is a new device and an overlap. An AEAD suite fixes nonce_len at the cipher's size; the others take 0, 4 or 8, and 4 or more is what lets NATS recognize a retry. A device with no durable counter and no clock must use xchacha20-poly1305, whose 24-byte nonce is safe to draw at random.
Request
- Base URL: https://api.wavehouse.cloud
- URL: https://api.wavehouse.cloud/v1/projects/{project_id}/udp/devices
- Auth: one of:
- API key in cookie whc_session
- HTTP bearer
- API key in header X-API-Key
Path parameters
Headers
A unique value you choose per logical request (a random UUID). A retry with the same key and the same request within 24 hours returns the first response, marked Idempotency-Replayed: true, instead of acting twice. The same key with a different request is refused with 422; one sent while the first is still running gets 409.
Request body
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.