caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
580 stars 50 forks source link

Added and/or support with tags #104

Closed caronc closed 1 year ago

caronc commented 1 year ago

Description:

Related issue (if applicable): refs #103

At this time, all elements identified for tag entries on the notification are or'ed together which may not be the desired effect.

With this PR, you can post your notification with ` (space) to delimitand'd tags and,(comma) to delimitor`'ed tags.

Ie: value Effect
TagA TagA
TagA, TagB TagA OR TagB
TagA TagC, TagB (TagA AND TagC) OR TagB
TagB TagC TagB AND TagC

If the space gets confusion, feel free to also use + (in liue of a space) and | (pipe) in lieu of a comma (or a mix of) to help with your defining elements. Whitespace around delimiters themselves are ignored.

Checklist