TFS Rest API 获取集合中的所有项目显示较少

标签 tfs tfs-2015

当我尝试使用其余 API 获取所有项目时 https://fabrikam-fiber-inc.visualstudio.com/DefaultCollection/_apis/projects?api-version=1.0 在我在本地实例上的集合中,它向我展示了 100 个项目,其中 .Net API 和实际数量应该是 200。

最佳答案

默认为每个请求 100 个,将 top=200 添加到您的查询字符串中,您将获得最多 200 个结果 https://www.visualstudio.com/en-us/docs/integrate/api/tfs/projects

关于TFS Rest API 获取集合中的所有项目显示较少,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44016509/

相关文章:

visual-studio-2015 - Visual Studio 2015 - "Recently Finished"代码审查未显示结果

TFS2015 构建 : "One or more of the steps defined in the build does not have an associated task definition"

powershell - 如何将用户变量从 TFS 2015 Build 定义传递给 shell 脚本?

tfs - Cake Build 自动合并功能

c# - 保存构建定义在 Visual Studio Team Service 中出错

tfs - 有没有办法在 TFS 中跨项目链接工作项

visual-studio - TFS分支和文件夹最佳实践

c# - 如何通过代码在TFS工作项中设置 'Assigned to'?

tfs - 在 TFS2015 update2 vNext 构建配置中发送请求时发生错误

tfs - 使用 .tfignore 按名称递归忽略目录