Azure DevOps Server (Team Foundation Server | TFS) - Api

Page / - Изменено Alexandr Fokin в 2022/01/25 19:12

Api

Изменено Alexandr Fokin

в 2022/01/25 19:12

Оглавление

Пример использования авторизация PAT. Есть пример c# клиента.	Use personal access tokens https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page
Git	Git API (web api) https://docs.microsoft.com/en-us/rest/api/azure/devops/git/?view=azure-devops-rest-6.0 Список первых 500 Pull Request в статусе "active" http://{Url}/{organization}/{project}/_apis/git/repositories/{RepositoryId}/pullrequests?searchCriteria.status=active&$top=500&api-version=4.1
Список репозиториев	https://docs.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-server-rest-5.0
Список билдов	Build definition https://docs.microsoft.com/en-us/rest/api/azure/devops/build/definitions/list?view=azure-devops-rest-5.0 Builds https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-server-rest-5.0
Список релизов	Release definition https://docs.microsoft.com/en-us/rest/api/azure/devops/release/definitions/list?view=azure-devops-rest-5.0 Releases https://docs.microsoft.com/en-us/rest/api/azure/devops/release/releases/list?view=azure-devops-server-rest-5.0