-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom json issue #541
Comments
I already told you in our forums about this, you just set it in the request body @caronc please close this imho |
|
I don't mind adding support for this if you like. Basically if you're URL looked like this (leveraging colon ( e.g:
If you were to specify a value used by the system... such as Would something like that be useful at all to you? Whatever you define is somewhat static; the variable paramters are still |
This comment was marked as outdated.
This comment was marked as outdated.
Hi, maybe take a look at this: Bark is a secure & privacy-protected push tool, it's kinda popular in china. so in changedetection.io |
Custom Payload has been implemented; maybe you could just test it out for me? The instructions on how to use (including test) it are in the Pull request itself. As per your Bark Notifications reference; that's a bit off topic from this particular branch, but i went ahead and created a separate ticket for you regarding that. |
Tested using custom build of changedetection.io (included link to git for apprise in requirements.txt) and it works, but in my case i'ts not solving problem because I need to send structure like this:
and by using the new apprise implementation it's sending it like this: Notice how 'recipients' array is incorrectly parsed as string. Any ideas how to pass parameters properly? I'm sending request like this:
From what I understood this would need slight change to code to be able to parse [] properly and don't quote them as a string. |
The payload that you pass in was never intended to be converted into a JSON Array; just like the payload can't convert the word 'false' to an actual JSON To accommodate this request, I'd almost have to add a |
I'm kind of siding with @dgtlmoon at this point. I'm not sure how much more granular we should get here. Apprise meant to relay data to any end-point you want. The custom JSON endpoint is already pretty feature rich now; especially with the last merge request that allows you to complete mangle the payload. I don't think what you're pitching is a terrible idea, but i don't see value in focusing in on it because i just don't see anyone getting value out of it but you 😉 . Unless there is actually more demand, i think we should leave this very extend customization i already added as your solution. If you want to make PR to enhance it, i certainly will entertain it. |
Closing this issue off; will focus on Bark Notification Support next |
❓ Question
i'm using changedetection.io which uses apprise as notification backend.
i noticed custom json is sent in a fixed structure like this:
my question is:
Can i send a custom json structure?
Please tell me how if yes.
like this:
The text was updated successfully, but these errors were encountered: