Get All file Url nextjs app router

hey bro how can i get all the files with their url. I want to display it on frontend. app dir. nextjs?
2 Replies
JulieCezar
JulieCezar11mo ago
What files?
markr
markr11mo ago
utapi.listFiles() Is what you're looking for I think. It's not available yet, but will be in the next release (5.3). The endpoint is up though, so you could manually hit it if you don't want to wait. We released 5.3.0 this morning, so listFiles should now be available for you to use!