Added ability to ping synapse and wake it
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
name = "Synapse Wake"
|
||||||
|
|
||||||
|
kind = "action"
|
||||||
|
|
||||||
|
alias = "synapseping"
|
||||||
|
|
||||||
|
showstatus = True
|
||||||
|
|
||||||
|
isrequest = True
|
||||||
|
|
||||||
|
method = "POST"
|
||||||
|
|
||||||
|
path = [
|
||||||
|
"https://loxthelion.com/_matrix/client/v1/appservice/rmass/ping",
|
||||||
|
]
|
||||||
|
|
||||||
|
headers = {
|
||||||
|
"Authorization": {
|
||||||
|
"os": "AS_TOKEN",
|
||||||
|
"prefix": "Bearer ",
|
||||||
|
},
|
||||||
|
"Content-Type": "application/json",
|
||||||
|
}
|
||||||
|
|
||||||
|
keys = {}
|
||||||
|
|
||||||
Reference in New Issue
Block a user