Search code examples
oauthopensocialibm-connectionsibm-sbt

What is the correct REST Endpoint to retrieve user (profile) information from a connections installation


Based on this information: http://www-10.lotus.com/ldd/appdevwiki.nsf/xpDocViewer.xsp?lookupName=API+Reference#action=openDocument&res_title=OpenSocial_Profiles_API_sbar&content=pdcontent

And a working url for posting updates:

I created this one to try and find out to whom this access token belongs:

https://connections4.e-office.com/connections/opensocial/oauth/rest/people/@me/@self

But than I get Error 501: No service defined for path people/@me/@self

what should the url be ?


Solution

  • Apperently you don't need to include: @Self

    This is it:

    connections/opensocial/oauth/rest/people/@me/

    See also : http://www-10.lotus.com/ldd/appdevwiki.nsf/xsp/.ibmmodres/domino/OpenAttachment/ldd/appdevwiki.nsf/B49DB47061DA9DEB85257AC9006D5256/attach/AppDev_OpenSocial.pdf