从显示未找到页面的 tfs REST API 获取配置文件信息 [英] Getting profile information from tfs REST API showing Page not found

查看:80
本文介绍了从显示未找到页面的 tfs REST API 获取配置文件信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我肯定之前可能已经问过这个问题.我搜索过任何没有得到任何信息的东西,这就是我想在这里发帖的原因.任何帮助表示赞赏

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

这个 REST API 总是给 Page not found tfs2015 server using.

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

推荐答案

你提到的 REST API 是针对 VSTS 的:

The REST API you mentioned is for VSTS :

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

对于本地 TFS(在您的情况下为 TFS 2015),您可以使用以下 REST API 来获取配置文件信息(首先连接到 TFS):

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

这篇关于从显示未找到页面的 tfs REST API 获取配置文件信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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