EventDestination
Somewhere the station sends what happens on it: an operator's own server, sent a signed POST per event
Attributes (12)
| Attribute | Type | Required | Description |
|---|---|---|---|
id | string | Yes | read-only |
name | string | Yes | What the operator calls it |
url | string | Yes | Where events are POSTed. http or https, and allowed to be on the station's own network. A redirect is never followed |
enabled | boolean | Yes | Off sends nothing |
events | string[] | Yes | The event types it is sent, from /events/types. Empty means every type, including any added later |
consecutiveFailures | number | Yes | Deliveries 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' | No | Set when the station turned it off itself, because it kept failing. Turning it back on clears this and the count. read-only |
lastDeliveredAt | string | No | read-only |
lastFailedAt | string | No | read-only |
lastFailure | string | No | What went wrong last time, in the station's words. read-only |
createdAt | string | Yes | read-only |
updatedAt | string | Yes | read-only |