Middle-earth API

Beacon lit

POSTbeaconLit

Sent when a beacon in your chain has been lit.

Request

Bodyapplication/json

  • id string Required

    Unique event identifier.

  • type string Required

    Event type.

  • created_at string date-time Required

    When the record was created.

  • data object <Beacon> Required

Example payload

Json
{
  "id": "evt_01",
  "type": "beacon.lit",
  "created_at": "3019-03-10T04:00:00Z",
  "data": {
    "id": "bcn_minas_tirith",
    "name": "minas_tirith",
    "state": "lit",
    "next": "bcn_amon_din"
  }
}

Response

Acknowledge the event by returning any 2xx status.