Getting profile information from tfs REST API showing Page not found

戏子无情 提交于 2019-12-08 14:12:32

问题


Am sure this might have been asked before.I have searched like anything not getting any information thats why i thought of posting here. any help is appreciated

https://app.vssps.visualstudio.com/_apis/profile/profiles/me?api-version=1.0

this REST API always giving Page not found tfs2015 server using.


回答1:


The REST API you mentioned is for VSTS :

https://app.vssps.visualstudio.com/_apis/profile/profiles/me?api-version=1.0

For on-premise TFS (TFS 2015 in your case), you can use below REST API to get the profile information (connect to TFS first):

http://server:8080/tfs/_api/_common/GetUserProfile?__v=5


来源:https://stackoverflow.com/questions/48325523/getting-profile-information-from-tfs-rest-api-showing-page-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!