Working resolver integration with buildSelect3 exception
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os
|
||||
|
||||
#getoutputs = {"emails": [0, "id"]}
|
||||
|
||||
name = "Get message"
|
||||
|
||||
@@ -12,12 +11,6 @@ showstatus = True
|
||||
|
||||
method = "GET"
|
||||
|
||||
#path = f"https://rentmasseur.com/api/v1/mailbox/{messageid}"
|
||||
#path = [
|
||||
# "https://rentmasseur.com/api/v1/mailbox/",
|
||||
# {"output": "[messageid][0].id"}
|
||||
#]
|
||||
|
||||
resolve = {
|
||||
"targetkeys": ["id"],
|
||||
"label": "path",
|
||||
@@ -25,11 +18,12 @@ resolve = {
|
||||
|
||||
path = [
|
||||
"https://rentmasseur.com/api/v1/mailbox/",
|
||||
{
|
||||
"output": "id",
|
||||
#"keys": [0, "id"]
|
||||
"keys": "id"
|
||||
}
|
||||
{"suffix": "path"}
|
||||
#{
|
||||
# "output": "id",
|
||||
# #"keys": [0, "id"]
|
||||
# "keys": "id"
|
||||
#}
|
||||
]
|
||||
|
||||
#path = os.path.join(baseurl.messageid)
|
||||
@@ -43,12 +37,14 @@ headers = {
|
||||
|
||||
recursive = {
|
||||
"source": "emails",
|
||||
#Transformation target. dynamic target to be resolved in each iteration
|
||||
"target": "id"
|
||||
}
|
||||
|
||||
|
||||
outputs = {
|
||||
"message": "messages"
|
||||
"message": "messages",
|
||||
"profile": "profileData",
|
||||
}
|
||||
|
||||
select = {
|
||||
|
||||
Reference in New Issue
Block a user