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