Light a beacon
POST
/beaconsLights one beacon and starts the relay: each beacon lights the next within minutes. A beacon that was lit in the last hour returns 429.
Webhooks
Every lit beacon also sends a Beacon lit webhook to your subscribers.
Request
Example request
cURL
curl -X POST 'https://api.middle-earth.example/v3/beacons' \
-H 'Content-Type: application/json' \
-d '{
"beacon": "amon_din",
"message": "Gondor calls for aid"
}'Response
Beacon lit.
Example response
application/json
Json
{
"id": "bcn_amon_din",
"name": "amon_din",
"state": "lit",
"next": "bcn_eilenach"
}