Rya*_* E. 4 azure-devops azure-devops-rest-api
我找不到如何从 API 检索区域路径。我能够到达迭代路径,但不能到达区域路径。
我在技术上使用 c# 包装器
我试过了
以下是您正在寻找的 API 调用:
GET https://dev.azure.com/{organization}/{project}/_apis/wit/classificationnodes?$depth={$depth}&api-version=5.0
Run Code Online (Sandbox Code Playgroud)
这将为您提供根节点及其子节点,之后您可以查询单个子节点,例如我得到的子节点:
id : 32
identifier : GUID
name : childname
structureType : area
hasChildren : False
path : \parent\Area\childname
url : https://dev.azure.com/xxx/yyy/_apis/wit/classificationNodes/Are
as/childname
Run Code Online (Sandbox Code Playgroud)
C# API:
GET https://dev.azure.com/{organization}/{project}/_apis/wit/classificationnodes?$depth={$depth}&api-version=5.0
Run Code Online (Sandbox Code Playgroud)
附:它非常好地隐藏在 API 文档中
| 归档时间: |
|
| 查看次数: |
1940 次 |
| 最近记录: |