Skip to content

click url not being passed through apprise #270

@fregapple

Description

@fregapple

So I have setup a config file similar to this:

urls:
  - ntfy://ntfy:80/topic:
    -  tag: <myTag>
  - bark://bark-server:8080/<key>
    - tag: <myTag>

I was hoping to pass on from a payload:

{
  "title": "some title",
  "subtitle": "some subtitle",
  "click": "click url",
  "icon": "custom icon".
  "tag": "myTag"
}

through http://apprise:8000/notify/ to the configs urls.

https://github.com/caronc/apprise/wiki/Notify_bark

Here you have mentioned the parameters allowed are click which then converts the payload to "url" for bark. But it doesn't seem to work?

if I set the url in the config to:

bark://bark-server:8080/<key>/?url=<url link>

Then the notification works fine with the click link. However, that is hardcoded and I want the link to be dynamic so in the payload would be best.

Also, not sure why icon can't be supported as well?

So far to get around the icon part, in the config file I have:

 bark://bark-server:8080/<key>/?icon=<link to icon>

This allows the icon to be shown. I am sure we could just provide the icon parameter ourself (if we can in the payload) otherwise it just defaults to the apprise icon as it does now.

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