We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark resourceType enum with flag so you could specify both images and videos
Currently you have to do something like this to retrieve both images and photos:
var @params1 = new ListResourcesByPrefixParams { ResourceType = ResourceType.Video, Type = "upload", Prefix = "SomeFolder", }; var resources1 = await _cloudinary.ListResourcesAsync(@params1); var @params2 = new ListResourcesByPrefixParams { ResourceType = ResourceType.Image, Type = "upload", Prefix = "SomeFolder", }; var resources2 = await _cloudinary.ListResourcesAsync(@params1); var resources = resources1.Resources.Concat(resources2.Resources);
The text was updated successfully, but these errors were encountered:
@nazarkryp so that api has a default resource type of image for now and when looking for video/raw, you have to specify it.
image
video
raw
however, you can use Search API as per https://cloudinary.com/documentation/admin_api#search_for_resources which will return all resource types of default unless specified
Sorry, something went wrong.
No branches or pull requests
Feature request for Cloudinary .NET SDK
Mark resourceType enum with flag so you could specify both images and videos
Explain your use case
Currently you have to do something like this to retrieve both images and photos:
The text was updated successfully, but these errors were encountered: