ListResourcesByPrefixParams - Mark ResourceType Enum as FLAG
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by locating ListResourcesByPrefixParams and the ResourceType enum in the Cloudinary .NET SDK. Review how ListResourcesAsync serializes ResourceType, then verify that selecting both image and video resources works without requiring two requests; done means the combined request returns both resource types.
Written by the indexing model from the issue text.
Description
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:
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);
- Dominant language
- C#
- Stars
- 105
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/CloudinaryDotNet
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
cloudinary/CloudinaryDotNet#387 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
cloudinary/CloudinaryDotNet#385 · 5 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
cloudinary/CloudinaryDotNet#383 · 1 comment ·
-
Create New Sample Project with Generative AI and Special Use CasesMay be free again @Nupoor10 claimed this 768 days ago, and no pull request is open. Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudinary/CloudinaryDotNet#369 · 4 comments ·
-
Update the Sample ProjectMay be free again @arya2004 claimed this 772 days ago, and no pull request is open. Open
cloudinary/CloudinaryDotNet#368 · 4 comments · 1 assignee ·
All issues in cloudinary/CloudinaryDotNet
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
a-corriger documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
DigiBanks99/menlo#640 ·
Maintainers usually reply within 1 day
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
Maintainers usually reply within 3 days
-
area / templates
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
bitfoundation/bitplatform#15109 ·
Maintainers usually reply within 1 day