mirror of
https://github.com/caronc/apprise-api.git
synced 2024-12-12 09:50:50 +01:00
api reference to tags should have read tag (#15)
This commit is contained in:
parent
308b835ba8
commit
6e22b74c01
@ -401,7 +401,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>tags</td>
|
||||
<td>tag</td>
|
||||
<td>{% blocktrans %}Apply tagging logic to the further filter your URLs. This is an optional
|
||||
field.{% endblocktrans %}</td>
|
||||
</tr>
|
||||
@ -413,7 +413,7 @@
|
||||
<div class="collapsible-body">
|
||||
<pre><code class="bash">
|
||||
# {% blocktrans %}Notifies all URLs assigned the <em>devops</em> tag{% endblocktrans %}<br/>
|
||||
curl -X POST -d '{"tags":"devops","body":"test body","title":"test title"}' \<br/>
|
||||
curl -X POST -d '{"tag":"devops","body":"test body","title":"test title"}' \<br/>
|
||||
-H "Content-Type: application/json" \<br/>
|
||||
http://localhost:8000/notify/<em>KEY</em></code></pre>
|
||||
</div>
|
||||
@ -426,7 +426,7 @@
|
||||
from urllib.request import Request<br/>
|
||||
<br/>
|
||||
payload = {<br/>
|
||||
'tags': 'devops',<br/>
|
||||
'tag': 'devops',<br/>
|
||||
'title': 'test title',<br/>
|
||||
'body': 'test body',<br/>
|
||||
}<br/>
|
||||
@ -453,7 +453,7 @@
|
||||
<br/>
|
||||
//The JSON data.<br/>
|
||||
$jsonData = array(<br/>
|
||||
'tags' => 'devops',<br/>
|
||||
'tag' => 'devops',<br/>
|
||||
'title' => 'test title',<br/>
|
||||
'body' => 'test body'<br/>
|
||||
);<br/>
|
||||
@ -495,4 +495,4 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user