TFS API如何通过邮递员以Json形式获取数据? [英] how to get data in Json form by postman for TFS API?

查看:106
本文介绍了TFS API如何通过邮递员以Json形式获取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在使用TFS API,其链接为


及以下邮递员我正在通过此链接点击ID通过 GET

http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/MRI_SCRUM_GIT/_workitems?_a=edit&id=61092&api-version=1.0

由于您只想获得一个工作项,因此应参考文档的本节:



https://www.visualstudio.com/zh-CN/docs/integrate/api/wit/work-items#get-a-work-item



邮递员中,应使用以下链接方式 GET

  http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/_apis/wit/workitems/61092?api -version = 1.0 


i am currently using TFS API who's link is
https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#byids

currently in my project i want to accees the following workitem 61092
http://apactfs.cbre.com:8080/tfs/CBRE.APAC.Applications/MRI_SCRUM_GIT/_workitems?_a=edit&id=61092

and in Postman i am hitting the id by this Link By GET
http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/MRI_SCRUM_GIT/_workitems?_a=edit&id=61092&api-version=1.0

解决方案

Since you only want to get one work item, you should refer to this section of the document:

https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#get-a-work-item

And in Postman you should use the following Link By GET

http://apactfs.cbre.com:8080/tfs/cbre.apac.applications/_apis/wit/workitems/61092?api-version=1.0

这篇关于TFS API如何通过邮递员以Json形式获取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆