Matrix bridge working and effectively pushing messages
This commit is contained in:
@@ -2,43 +2,12 @@ name = "Get message list"
|
||||
|
||||
kind = "action"
|
||||
|
||||
id = "getmessagelist"
|
||||
|
||||
showstatus = True
|
||||
|
||||
#skipstep = {
|
||||
# "checkavailable": "validTo >= 3600"
|
||||
#}
|
||||
|
||||
#availabletime = int(os.environ.get("AVAILABLE_DURATION",3))
|
||||
|
||||
#duration = availabletime - 1
|
||||
|
||||
#keys = [
|
||||
# {
|
||||
# "keytitle": "option",
|
||||
# "keyvalue": 1,
|
||||
# },
|
||||
# {
|
||||
# "keytitle": "duration",
|
||||
# "keyvalue": duration,
|
||||
# },
|
||||
#]
|
||||
|
||||
method = "GET"
|
||||
|
||||
#path = "https://rentmasseur.com/api/v1/mailbox?page=1&folder=1&sort=1"
|
||||
path = "https://rentmasseur.com/api/v1/mailbox"
|
||||
|
||||
|
||||
#path = [
|
||||
# "https://rentmasseur.com/api/v1/mailbox/",
|
||||
# {
|
||||
# "output": "emails",
|
||||
# "keys": [0, "id"]
|
||||
# }
|
||||
#]
|
||||
|
||||
headers = {
|
||||
"Authorization": {
|
||||
"output": "access_token",
|
||||
@@ -46,13 +15,6 @@ headers = {
|
||||
},
|
||||
}
|
||||
|
||||
#select = {
|
||||
# "source": "emails",
|
||||
# "selectmethod": "exclude",
|
||||
# "key": "unread",
|
||||
# "value": 0,
|
||||
#}
|
||||
|
||||
select = {
|
||||
"source": "emails",
|
||||
"include": {
|
||||
@@ -69,6 +31,3 @@ outputs = {
|
||||
"emails": "emails"
|
||||
}
|
||||
|
||||
#prints = {
|
||||
# "messageid": "id"
|
||||
#}
|
||||
|
||||
Reference in New Issue
Block a user