go-teamcity
go-teamcity copied to clipboard
listing sub projects
Looking at the Project struct I can't see a way of listing sub project to a project. Is there another way this can be done that I am missing? I see there is a ParentProject
but no child/sub project.
To provide a little more info. I'm looking for the following api GET /app/rest/projects
That's right @V3ckt0r , there is no support yet for ad-hoc project querying.
That would require changes to the ProjectService
to accept locators
.
I played a bit in local trying to come up with a generic locators implementation for several endpoints but I wasn't happy about the design so I dropped it a while ago, focusing more on other features.
However, it won't be hard to implement some locators support for projects and a GetByLocator
in projects/
endpoint.
Would you please elaborate a bit more if is there any locators/filters you'd like implemented?
This feature will be great. For me, it will be nice to be able to list all VcsRoots.