Getting profile information from tfs REST API show

2019-06-14 19:05发布

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.

标签: rest tfs tfs2015
1条回答
Explosion°爆炸
2楼-- · 2019-06-14 19:53

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
查看更多
登录 后发表回答