Working select filters with include and exclude logic
This commit is contained in:
@@ -29,6 +29,16 @@ 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",
|
||||
@@ -36,11 +46,23 @@ headers = {
|
||||
},
|
||||
}
|
||||
|
||||
#select = {
|
||||
# "source": "emails",
|
||||
# "selectmethod": "exclude",
|
||||
# "key": "unread",
|
||||
# "value": 0,
|
||||
#}
|
||||
|
||||
select = {
|
||||
"source": "emails",
|
||||
"selectmethod": "exclude",
|
||||
"key": "unread",
|
||||
"value": 0,
|
||||
"include": {
|
||||
"key": {},
|
||||
"value": {},
|
||||
},
|
||||
"exclude": {
|
||||
"key": "unread",
|
||||
"value": 0,
|
||||
}
|
||||
}
|
||||
|
||||
outputs = {
|
||||
|
||||
Reference in New Issue
Block a user