#devil_api

1 messages ยท Page 1 of 1 (latest)

broken steepleBOT
granite brambleBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

broken steepleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1246029746589143102

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

hazy moss
#

Chat got closed before, we just talked about this a bit.

#

Is there a way to get the file link through the files api?

#

OR the dispute evidence? Nothing came up in the request.

wanton elbow
#

๐Ÿ‘‹ happy to help

hazy moss
#

hey

wanton elbow
#

would you mind sharing the failing request IDs?

hazy moss
#

there's no failing req iq? I'm trying to get a file link id ( which is link_xxxx ) through the file api

#

is there a way that it get's stored either in the dispute evidence, or the File api?

wanton elbow
hazy moss
#

yeah but where would I retrieve that later

#

do I need to store it in db

wanton elbow
hazy moss
#

that's for a file not file link?

wanton elbow
#

yes you retrieve the file

hazy moss
#

okay but I need the file link later

wanton elbow
#

and on the file there's an array called links

#

which has a list of file links

hazy moss
#

AAAA

#

okay okay

wanton elbow
#

if it's empty then you create a new file link

hazy moss
#

eureka moment

#

thank you, if I have more options i'll open another thread

wanton elbow
#

I'm not sure I follow

wanton elbow
hazy moss
#

more questions

#

autocorrect

wanton elbow
#

you can ask here

#

if you have now

hazy moss
#

I only get this from retrieving the file:

[PRISMA]     object: 'list',
[PRISMA]     data: [ [Object] ],
[PRISMA]     has_more: false,
[PRISMA]     url: '/v1/file_links?file=file_<CUSTOMID>'
[PRISMA]   },```
#

even tho there's a file link as i know

#

i created it 5 mins ago

wanton elbow
#

yes in the links.data[0] you have the link

hazy moss
#

thank u a lot

#

all good