Skip to content

Webhook definition #35

@Coolawy

Description

@Coolawy

Hi
I wanted to configure alarmserver to send a webhook to Synology Surveilence Station after getting alarm from a camera but I have a problem with webhook definition.

Synology Surveilence Station is preparing the webhook in below form:
http://192.168.3.6:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token="uNYyGCJD4ffe3rnuC1SZGDR0i3biFsc9g5nprfef8eSpP1vzTNgdFjvw6og0Qyu5"

I tried to configure it i several ways:

  • using whole URL like above
  • splitting it:
    webhooks:
    enabled: true
    items:
    • url: "http://192.168.3.6:5000/webapi/entry.cgi"
      method: "POST"
      headers:
      • "api=SYNO.SurveillanceStation.Webhook&method="Incoming"&version=1&token="uNYyGCJD4ffe3rnuC1SZGDR0i3biFsc9g5nprfef8eSpP1vzTNgdFjvw6og0Qyu5""

What I'm getting is a parse error from during container start:
image

Please advice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions