How to get all ressources from a folder ?

serverdata11
serverdata11 Member Posts: 1

Hello,

I have two folders:

uploads and pdf_uploads

so how can I get all ressources from the pdf_uploads ?

Answers

  • tia
    tia Member, Cloudinary Staff Posts: 29

    Hi there,

    Thanks for reaching out.

    You can use the `get_resources` method of the Admin API to do this. You will need to pass the `prefix` parameter to get the assets in one particular folder. 

    You can reference the documentation on the Admin API here: https://cloudinary.com/documentation/admin_api#get_resources

    I hope this helps. Please give this a try and if you have any questions at all, do not hesitate to ask.

    Kind regards,

    Tia