Is out there any REST API for TFS 2013 On-Premises installation?

我的未来我决定 提交于 2019-11-28 20:43:32
Richard Banks

Not in any officially supported manner.

That said, it doesn't take too much exploring to see that some of the APIs are already present in TFS 2013 already.

For example, if you're using TFS2013.4, try sending a GET to https://{yourserver}/defaultcollection/_apis/git/repositories?api-version=1.0 and see what the result is.

Examples of using the REST API for on-premise, when they do turn up, will be all but identical to the Visual Studio Team Services REST API documentation.

P.S. I'm not sure if the work item APIs are there yet. I get 404's when calling the work item specific API URLs.

UPDATE: TFS2015 has now been released and it includes the full REST APIs from Visual Studio Team Services.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!