CreateBeacon
CreateBeacon adds an empty beacon; the team must be under its NR_BEACONS__TOTAL limit. The same request_id returns the beacon it made.
Authentication
A team API key, sent as Authorization: Bearer <key>.
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Headers
Query parameters
Caller-chosen idempotency key. The same key from the same caller within 24 hours returns the original result instead of acting again.
Request
The beacon’s name, trimmed; required on create and when updated. Names need not be unique.
The beacon’s colour on the map, or empty for the app’s default: a scheme and a value, for now
color:<name>-<shade> naming the app’s palette (color:orange-80); a hex: scheme may follow.
Response
Beacon is a named list of institutions. update_time moves on every change of the name or the institutions.