Skip to main content

EventDestination

Somewhere the station sends what happens on it: an operator's own server, sent a signed POST per event

Attributes (12)
AttributeTypeRequiredDescription
idstringYesread-only
namestringYesWhat the operator calls it
urlstringYesWhere events are POSTed. http or https, and allowed to be on the station's own network. A redirect is never followed
enabledbooleanYesOff sends nothing
eventsstring[]YesThe event types it is sent, from /events/types. Empty means every type, including any added later
consecutiveFailuresnumberYesDeliveries in a row that did not arrive. Any delivery that arrives sets it back to nothing; at twenty the station turns the destination off. read-only
disabledReason'failing'NoSet when the station turned it off itself, because it kept failing. Turning it back on clears this and the count. read-only
lastDeliveredAtstringNoread-only
lastFailedAtstringNoread-only
lastFailurestringNoWhat went wrong last time, in the station's words. read-only
createdAtstringYesread-only
updatedAtstringYesread-only