Buzzer

Creates a Buzzer resource.

Creates a Buzzer resource.

post/buzzers

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/buzzers
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Request body

chipIdstring
batteryLastVoltagenumber nullable

The last battery voltage of the buzzer, in Volt.

batteryLastChangeDatestring date-time nullable

The date of the last battery change.

rssiReceptionLastLevelnumber nullable

The last RSSI reception level of the buzzer, in dBm.

eventTypestring

The type of event that the buzzer is associated with. Could be "goal", "buzz" or a NgtvSessionEventType.

fieldstring iri-reference nullable

Example request

{
  "field": "https://example.com/"
}

Response

Buzzer resource created

idinteger
chipIdstring
batteryLastVoltagenumber nullable

The last battery voltage of the buzzer, in Volt.

batteryLastChangeDatestring date-time nullable

The date of the last battery change.

rssiReceptionLastLevelnumber nullable

The last RSSI reception level of the buzzer, in dBm.

eventTypestring

The type of event that the buzzer is associated with. Could be "goal", "buzz" or a NgtvSessionEventType.

createdAtstring date-time
updatedAtstring date-time
batteryPercentagenumber nullable

Get the battery percentage of the buzzer according to its last battery voltage.

Example response

{
  "field": {
    "sportCenter": {
      "coordinates": [
        0,
        0
      ],
      "visible": true,
      "timeZone": "Europe/Paris",
      "durationChoices": [
        3600,
        5400,
        7200
      ],
      "language": "en",
      "distanceUnite": "km",
      "country": {
        "currency": "EUR"
      },
      "tags": [
        {
          "createdAt": "CURRENT_TIMESTAMP",
          "updatedAt": "CURRENT_TIMESTAMP"
        }
      ],
      "createdAt": "CURRENT_TIMESTAMP",
      "updatedAt": "CURRENT_TIMESTAMP"
    },
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.