In our IC extenstion we need to determine whether authenticated user follows some other user or community by their UUID (in general we don't know if it's user or community).
I have checked API documentation and found this:
http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Getting_a_feed_of_the_followed_resources_lc3
It looks like what we need, but have next issues:
1. It can't work if "source" is other than in context root.
For example following 2 calls are working:
/profiles/follow/atom/resources?source=profiles
(profiles == profiles)
/communities/follow/atom/resources?source=communities&type=community
(communities == communities)
but following aren't:
/communities/follow/atom/resources?source=profiles
(communities != profiles)
/profiles/follow/atom/resources?source=communities&type=community
(profiles != communities)
2. According to documentation (as I understood it), "resource" param should filter response returning only "following" status for requested resource, but it seems that it doesn't work. Call:
/profiles/follow/atom/resources?source=profiles&resource=3DE757F6-4AB0-47B8-8821-34BCB5610C7C
still returns feed of all profiles I follow, not only requested one (3DE757F6-4AB0-47B8-8821-34BCB5610C7C).
Can you advise how to avoid this to solve my initial task (get follow status by uuid)? Maybe some other API exists (or will be introduced in 4.0)?
Thanks!