MicrosoftDocs / vsts-rest-api-specs

MIT License
169 stars 115 forks source link

API to client mapping #110

Open VaclavK opened 6 years ago

VaclavK commented 6 years ago

It is generally not straightforward to map which clien (in published packages) t maps to what area and which package to reference

e.g. I am trying to confirm which client (and where) to utilise to get service endpoints.... it does not seem to be there but I want to confirm or locate it


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

VaclavK commented 6 years ago

I have found "connected services" client - debugging the client I am seeing route that is not documented but calling it does not return any expected result (VSTS UI returns number of services as I have set them up when looking at project settings/service connections)

"_apis/projects/{projectId}/{resource}/{name}" with Resource = "connectedServices"

tracing the UI I can see it calls to expected serviceendpoints routes but I cannot see the client for it (yet) so I may need to write it manually

VaclavK commented 6 years ago

eventually found it in distributedtask client nuget - with some mapping of API resource area to client+nuget it would have been very different experience