pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
3.74k stars 267 forks source link

[misc]: [Question] Fetching down files uploaded #827

Closed marienjus closed 1 month ago

marienjus commented 1 month ago

I understand that this issue may be closed if it should be filed in another category

My issue

I have upload logic up and running, how do I call and retrieve a list of files? E.g for a particular user, or something along this...

markflorkowski commented 1 month ago

how do I call and retrieve a list of files? E

UTAPI listFiles -- https://docs.uploadthing.com/api-reference/ut-api#listfiles

E.g for a particular user

That would be more likely something that you would need to handle in your own DB. eg. by storing the fileKeys associated with a user.