user687554
user687554

Reputation: 11131

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.

Upvotes: 6

Views: 5839

Answers (4)

Sk Shahnawaz-ul Haque
Sk Shahnawaz-ul Haque

Reputation: 588

Microsoft does provide REST ful as well as Client Object Model (DLL) based APIs which works both for on-premise Team Foundation Server and Visual Studio Team Services. But, REST ful API is still not complete, for example, there is still no end-point for getting drop-down field values. It is therefore recommended to use COM DLL APIs.

Upvotes: 0

Esther Fan - MSFT
Esther Fan - MSFT

Reputation: 8516

Visual Studio Team Services and Team Foundation Server now also has REST APIs, service hooks, and an extensions framework:

https://www.visualstudio.com/docs/integrate/overview

Upvotes: 0

Ibraheem
Ibraheem

Reputation: 2358

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.

Upvotes: 4

jessehouwing
jessehouwing

Reputation: 114461

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:

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.

Upvotes: 1

Related Questions