Search API expression [Python]

Comments

2 comments

  • Avatar
    Victor Li

    Hi there,

    Thanks for reaching out to us! Are there additional details that would warrant a use case such as this? For example, if you wanted to search the "travel_to_rome_12345" folder, you should search for exactly that string. If you have multiple folders that you'd like to search, say "travel_to_rome_12345" and "travel_to_england_54321" you have a few options.

    First, you could tag the assets in certain folders so that you could search by tag instead. In this example you might consider a "travel" tag. For more information on adding tags to assets, please see here: https://support.cloudinary.com/hc/en-us/articles/202520142-How-can-I-tag-an-image-

    Second, if the folders in question have a similar naming convention, you could search for "travel*" to find all assets that have "travel" as the prefix in the folders that contain them.

    Please let us know if you have any questions about the above and we'd be happy to help.

    Regards,
    Victor

    1
    Comment actions Permalink
  • Avatar
    Sancler Zanella

    Hi Vitor!

    I sorted the problem adding the 'folder:' parameter in the search expression.

    Anyway, thank you very much!

    0
    Comment actions Permalink

Please sign in to leave a comment.