UpdateBeacon
UpdateBeacon renames or recolours a beacon; update_mask names the fields (name, color).
Authentication
AuthorizationBearer
A team API key, sent as Authorization: Bearer <key>.
OR
AuthorizationBearer
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Path parameters
id
Identifier of the resource, assigned by Edulead and opaque to callers.
Headers
Edulead-Team
Query parameters
update_mask
Which fields of the resource to change. Fields not listed keep their values.
Request
This endpoint expects an object.
id
Identifier of the resource, assigned by Edulead and opaque to callers.
name
The beacon’s name, trimmed; required on create and when updated. Names need not be unique.
institution_count
How many institutions the beacon holds. Output only.
creator_id
The user or API key that created it.
create_time
When Edulead created the resource.
update_time
When any field last changed.
color
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
Success
beacon
Beacon is a named list of institutions. update_time moves on every change of the name or the institutions.