about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenny Morrison <benmorrison@ttm.sh>2019-03-17 22:59:19 -0400
committerBenny Morrison <benmorrison@ttm.sh>2019-03-17 22:59:19 -0400
commit8eba807b76007421908346a4d70d055b492af939 (patch)
treeb14fd58dbd79d902b677a50099f27258b1fc6b48
parentb892315699b94ba7f0bf9d2a78dbb1a637227ea7 (diff)
downloadgoofbot-8eba807b76007421908346a4d70d055b492af939.tar.gz
added gotify script for goofbot to call
-rw-r--r--.gitignore1
-rw-r--r--gotify.sh.example6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..62883ad
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gotify.sh
diff --git a/gotify.sh.example b/gotify.sh.example
new file mode 100644
index 0000000..72caa06
--- /dev/null
+++ b/gotify.sh.example
@@ -0,0 +1,6 @@
+curl --request POST \
+  --url 'https://gotify.tildeverse.org/message?token=redacted' \
+    --header 'accept: application/json' \
+      --header 'content-type: application/json' \
+        --header 'x-gotify-key: redacted' \
+          --data '{  "message": "A hero is needed in #institute",  "priority": 2,  "title": "Admin Request" }'