Skip to content

Third Party Webhook Support - JSON sub-string re-map support #209

Open
@oopen

Description

@oopen

💡 The Idea

Support re-mapping sub-key of JSON

For exemple to support Scoold webhook format described here

{"appid":"scoold","event":"update","items":[{"id":"tag:acpi","timestamp":1486848081865,"type":"tag","appid":"scoold","updated":1561644547996,"name":"ParaObject tag:acpi","votes":2,"version":0,"stored":true,"indexed":true,"cached":true,"tag":"acpi","count":1,"objectURI":"/tags/acpi","plural":"tags"}],"timestamp":1561644548430}

We need to access the JSON sub-key, witch is a Object contain in a Array

🔨 Breaking Feature

It will be great to re-map with sub-keys of the JSON.
For example we would like to access to the key items[0].objectURI

Call URL will be in this case :

http://apprise/notify/{KEY}?:appid=title&:items[0].objectURI=body

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions