Tags
TFS 2017 | TFS 2015 | TFS 2013
Note
Looking for REST APIS that support TFS 2018 or later versions? See the Azure DevOps REST API Reference.
api-version = 2.0
Builds can be tagged for easy searching.
If you haven't already, look at the information on getting started with these APIs.
Get a list of all tags across all builds
GET https://{instance}/DefaultCollection/_apis/build/queues?api-version={version}[&name={string}][&type={string}]
Parameter | Type | Notes |
---|---|---|
URL | ||
instance | string | TFS server name ({server:port}). |
Query | ||
api-version | string | Version of the API to use. |
Sample request
GET https://mytfsserver/DefaultCollection/Fabrikam-Fiber-Git/_apis/build/tags?api-version=2.0
Sample response
{
"count": 6,
"value": [
"myTag",
"existing tag",
"important",
"tag1",
"tag2",
"tag3"
]
}