TFS API如何通过邮递员以Json形式获取数据? [英] how to get data in Json form by postman for TFS API?
问题描述
我当前正在使用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屋!