就在那里为TFS 2013开 - premises安装任何REST API? [英] Is out there any REST API for TFS 2013 On-Premises installation?

查看:204
本文介绍了就在那里为TFS 2013开 - premises安装任何REST API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用源$ C ​​$ c和任务管理公司的Team Foundation Server 2013有没有一种方法,我怎么能操纵内积压工作项目在REST API?

我们的项目是通过Web URL访问:<一个href=\"https://tfs.company.com/tfs/ProjectCollection/Project\">https://tfs.company.com/tfs/ProjectCollection/Project

我发现这个: https://tfsodata.visualstudio.com/ 但这似乎对项目中只工作<一个HREF =htt​​ps://visualstudio.com> https://visualstudio.com 。

我想AP preciate也有一些例子。

谢谢!


解决方案

在没有任何官方支持的方式。

这是说,它并不需要太多的探索地看到,某些API已经present在TFS 2013了。

例如,如果你使用TFS2013.4,尝试发送一个GET到https:// {} yourserver和/defaultcollection/_apis/git/repositories?api-version=1.0看看结果是什么

使用导通premise的REST API的实例当他们转起来,将​​成为所有,但等同于的 Visual Studio的在线REST API文档

P.S。我不知道,如果工作项API是那里。我得到404的调用工作项特定的API URL时。

更新: TFS2015 CTP1现在已经宣布,它包括从VSO全REST API的

We use company Team Foundation Server 2013 for source code and task management. Is there a way how can I manipulate work items within backlog over REST API?

Our project is accessible via web url: https://tfs.company.com/tfs/ProjectCollection/Project

I have found this: https://tfsodata.visualstudio.com/ but this seems to work only for projects within https://visualstudio.com.

I would appreciate also some examples.

Thanks!

解决方案

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 Online 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 CTP1 has now been announced and it includes the full REST APIs from VSO.

这篇关于就在那里为TFS 2013开 - premises安装任何REST API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆