Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Team Services API

Does anyone know if there is a Visual Studio Team Services (http://visualstudio.com/) API? Please note I am referencing the "Service" and not the "Server".

I've been looking but I have been unable to find one.

like image 643
user687554 Avatar asked Dec 27 '12 14:12

user687554


2 Answers

See: Team Foundation Server OData API

Have a read, then follow the instructions from "Team Foundation Service authentication:" to set up your account/profile to access the Api.

You can then access the resources via the web Api.

There are also some sample applications near the top of that page that make use of this Api/OData.

like image 170
Ibraheem Avatar answered Oct 21 '22 01:10

Ibraheem


As Edward and Christopher pointed out, the Client Object Model for the Cloud version of TFS and the on-premise version are identical, but not all API's will work with both systems. You can download the Client Object Model installer from the following location:

  • 2012
  • 2010 SP1 and Forward Compatibility GDR

Which API's work on which system is constantly changing, since new features are added to the cloud version all the time, while certain features are currently only available on the on-premise version (sharepoint integration and reporting for example).

Apart from that there is an OData API for TFS 2010 on-premise and that API is expected to be released for TFSvc and TFS on-premise in the near future. Probably coming to the TFSvc first.

like image 22
jessehouwing Avatar answered Oct 21 '22 01:10

jessehouwing