Share via

Getting items from GIT using GitHttpClient based on folder name

Anonymous
2022-08-17T09:23:14.697+00:00

Hello,

I'm trying to get all the items within different folders that matches the following naming convention "/{something}/PPE/".
Is this something that can be done using GitHttpClient?

I was hoping to execute something like below but I'm not sure passing in something below for the scopePath works.

 this.GitHttpClient  
                    .GetItemsAsync(  
                        repositoryId: this.RepositoryId,  
                        scopePath: "/*/PPE/",  
                        recursionLevel: recursionLevel,  
                        latestProcessedChange: true)  
Community Center | Not monitored

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.