This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

List all structured metadata field's text entries

Comments

1 comment

  • Avatar
    Tia Esguerra

    Hi Kyle, 

    Thanks for reaching out. 

    What you are looking to do is not directly possible, as in we currently do not have an API method to do this. 
    But you could write a script. The general idea is that you would use the resources()  method of the Admin API to get all of the assets in your account. Then you would loop over those assets and for each asset check if the metadata property exists. If it does, do another check to see if it's the external id that you are looking for. When all checks pass, you would add the value to a Set, to ensure unique values. From there you could write that out to a text file if needed.

    You can find our documentation on the resources() method of the Admin API here: https://cloudinary.com/documentation/admin_api#get_resources 

    I do think this would be a great enhancement to our API, so I will submit a feature request on your behalf. If our team decides to implement this in the future, I will let you know.

    I hope this helps. If you have any questions, do not hesitate to ask.

    Kind Regards, 

    Tia

    0
    Comment actions Permalink

Post is closed for comments.