i am looking for clarifications when interpreting the Person Service
specification in the Social API spec. from the spec, the GET retrieves
profile details about a single person or a list of persons.The "create
relationship", which is mentioned as POST (i believe this is correct),
is also quite clear.
but i become a bit confused about the semantics of the other verbs &
functionalities:
- the "update" is mentioned as POST (not PUT?). i can understand a
user can update his own information with it. what about POSTing /@me/
@friends. the current spec allows for only 1 person object to be
included, so should this be understood at modifying the information of
that friend only? i guess in this case this information is not his own
profile information but a "(modified) copy" of it, am i right?
- the "delete" is the most unclear statement to me. given the spec it
seems that this is used for cancelling the user's own information. is
this to be understood as cancelling the user account (DELETE /@me/
@self) ?
in this situation i couldn't find any hint in the spec to "delete a
relationship" (after i created one). at the same time, if the delete
is used to cancel one's own account, is there any dual "creation"
procedure supported?
i checked shindig's code as well but couldn't find any help as most of
these methods are not implemented.
thank you!
walter
| + |
A Person object representing a targeted user |
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/4rf3RrK0nBIJ.--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
To post to this group, send email to opensocial-and-gadgets-spec@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadgets-spec+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-and-gadgets-spec@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadgets-spec+unsub...@googlegroups.com.
In such cases, using @me with an oauth token granted to the agent running on the users behalf would likely be the most appropriate.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/9KQBz_y1sBoJ.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadgets-spec+unsubs...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-and-gadgets-spec@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadgets-spec+unsubs...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/9KQBz_y1sBoJ.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
--
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/9KQBz_y1sBoJ.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
Yeah, I kinda agree, but.... for every use case where we don't like it, we could probably think of one where we do. For example, what if your gamification engine wants to add a new badge to your profile?
I get what Laura is saying about the "run as" model--it's one we've been looking at. Although I also like the idea of OAuth & scopes (what James has been talking about). This might be a way to allow some service update ONLY the badge.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/VZvPDto8zVIJ.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/VZvPDto8zVIJ.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/VZvPDto8zVIJ.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/VZvPDto8zVIJ.
I'm saying that it's possible to use activities in a way that allows the server to respond in particular ways when specific activities occur.. So, yes, that's exactly what i'm saying.
To view this discussion on the web visit https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/88v9a4ppDHoJ.
To post to this group, send email to opensocial-an...@googlegroups.com.
To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com.