6 messages in com.googlegroups.opensocial-container[OpenSocial] the strcture of a resour...
FromSent OnAttachments
Tamir18 Jul 2008 06:12 
anand sharma18 Jul 2008 09:43 
Davi Sáránszky Mesquita18 Jul 2008 10:00 
Chris Chabot18 Jul 2008 12:41 
Davi Sáránszky Mesquita18 Jul 2008 13:48 
Chris Chabot18 Jul 2008 14:40 
Subject:[OpenSocial] the strcture of a resource request url in the RESTful API Specification
From:Tamir (Tami@gmail.com)
Date:07/18/2008 06:12:46 AM
List:com.googlegroups.opensocial-container

Hi, I'm trying to understand the structure of url's of resource request in the RESTful API Specification.

From the following three example: /people/{guid}/@all -- Collection of all people connected to user {guid} /people/{guid}/@friends -- Collection of all friends of user {guid}; subset of @all /people/{guid}/{groupid} -- Collection of all people connected to user {guid} in group {groupid}

I understand that the structure is [resourceType]/[Unique Identifier]/ [Criteria] But the fourth example is not clear for me: /people/{guid}/@all/{pid} -- Individual person record for a specific person known to {guid}; shows {guid}'s view of {pid}.

what is the different between "/people/{guid}/@all/{pid}" and "/ people/{pid}/@self"? when should I use "/people/{guid}/@all/{pid}"?

Cheers