Dear all,
Currently we are using the webhook API with some attachements, but we can't figure out the full path of the uploaded item:
This is a response example
"uploads/04442dae-6d3a-43a9-bd62-5b61e8d61def/Gui.png"
Do you have any idea?
Regarda
Dear all,
Currently we are using the webhook API with some attachements, but we can't figure out the full path of the uploaded item:
This is a response example
"uploads/04442dae-6d3a-43a9-bd62-5b61e8d61def/Gui.png"
Do you have any idea?
Regarda
Hi
I don’t know anything about API, but I think
Sarah
Hi Caio Lopes!
(and Sarah, thanks for the shout-out.)
Assuming you can simply do GraphQL Queries, there are various queries on how you could get the full URL. Your query could look like this, for example:
query {
card(id: <your-Card-Id>) {
id suid attachments { url createdAt }
}
}
and
url
will be the full URL to your attachment.
If you need a specific attachment by field, you can query the field together with the attachment, for example:
query {
card(id: <your-Card-Id>) {
id suid attachments { url createdAt field { id internal_id label } }
}
}
and then filter with your code.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.