Project collections

Last Update: 7/14/2017

api-version = 1.0-preview.2

This API is in preview. Learn more

Project collections contain team projects that have source code, work items, and other resources.

If you haven't already, look at the information on getting started with these APIs.

Get a project collection

GET https://{instance}/_apis/projectcollections/{collection}?api-version={version}
Parameter Type Notes
instance string VS Team Services account ({account} or TFS server ({server:port}).
collection string Name or ID of the project collection.
api-version string Version of the API to use.

Sample request


Sample response

Status code: 200
  "id": "d81542e4-cdfa-4333-b082-1ae2d6c3ad16",
  "name": "DefaultCollection",
  "url": "",
  "state": "Started",
  "_links": {
    "self": {
      "href": ""
    "web": {
      "href": ""

Sample code