Vigiora

Αυτή η σελίδα δεν είναι ακόμη διαθέσιμη στη γλώσσα Ελληνικά. Εμφανίζεται στα αγγλικά.

WebhooksΑπό την 1.6.16

Send Vigiora's events to your own systems from Settings → System → Webhooks, test them and follow every delivery.

Στην εφαρμογή: /system/webhooks

A webhook sends the events you pick, such as new alerts or cameras going offline, to an address of your own, as signed JSON, with retries. From version 1.6.16 you manage webhooks in the app under Settings → System → Webhooks, as well as with the API.

Each webhook shows its state and its last delivery.

Admins create and change webhooks. Operators see the list and the deliveries, read-only.

Add a webhook#

  1. Open Webhooks

    Open Settings → System → Webhooks (or the Webhooks card under Settings → System → Integrations) and click New webhook.

  2. Name it and give the address

    Enter a Name, such as "Ops dashboard", and the Address (URL), such as https://example.com/vigiora. It must be https:// unless you tick Allow plain http and private (LAN) addresses.

  3. Pick the events

    Under Events, tick the event types to send, or All. See Events for what each one means.

  4. Pick the cameras

    Under Cameras, tick the cameras whose events you want. Leave all unticked for every camera. Events without a camera always go.

  5. Create it and copy the secret

    Click Create webhook. The signing secret appears once: click Copy and store it with your receiver, which checks X-Vigiora-Signature with it. It is not shown again.

Test and follow deliveries#

  • Test (or Send a test event on the webhook's page) sends a webhook.test event at once and shows the answer, for example Test delivered (200). A webhook must be on to be tested.
  • Each webhook shows its state: On, Off, Failing, or Disabled after failures when the server turned it off after repeated failures. Fix the receiver, then turn it on again.
  • Each webhook shows its Last delivery, or Nothing delivered yet.

On a webhook's page, Recent deliveries lists each delivery with its Event, Status (Delivered, Failed, Waiting to retry, Delivering or Held (webhook off)), Attempts and When. Filter by status, open the Detail of a failed one, and click Redeliver to send it again. The list refreshes every 15 seconds, and deliveries are kept 14 days.

Change or remove a webhook#

  • Change the name, address, events, cameras or the On (events are delivered) switch on the webhook's page, then Save.
  • New secret makes a new signing secret. The old one stops working at once, so update your receiver.
  • Delete removes the webhook and its delivery log.

A server can have up to 50 webhooks. How deliveries are signed, retried and protected is in Webhooks and events.

Επεξεργασία αυτής της σελίδας στο GitHub