« Azure devops api » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
[[Category:Azure]] | [[Category:Azure]] | ||
= Links = | |||
* [https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page Authentication with Personal Access Token] | |||
= Build = | = Build = | ||
== [https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/get%20build%20work%20items%20refs Get Build Work Items Refs] == | == [https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/get%20build%20work%20items%20refs Get Build Work Items Refs] == |
Version du 27 janvier 2021 à 15:08
Links
Build
Get Build Work Items Refs
GET https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}/workitems?api-version=6.0
{ "count": 1, "value": [ { "id": "111" } |
Work Item
Get Work Item
GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitems/{id}?api-version=6.0
Pipeline
Runs - List
GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs?api-version=6.0-preview.1
{ "count": 1, "value": [ { "pipeline": { "id": 111, "name": "MyPipeline" }, "state": "completed", "result": "failed", "createdDate": "2021-01-27T08:26:17.5864636Z", "finishedDate": "2021-01-27T09:07:43.4227015Z", "id": 222, "name": "20210127.3" } |