Lifecycle inconsistency

0 views
Skip to first unread message

Aleksey Perfilov

unread,
Oct 1, 2008, 2:11:19 AM10/1/08
to opensocial-an...@googlegroups.com

In the opensocial specs, lifecycle paragraph,  “event” and “opensocialevent” are used for the same thing. Which one should it be?
Below is the excerpt:
-------------
If the rel attribute is "opensocialevent", then all events are sent to that endpoint. If the rel attribute matches "opensocialevent.TYPE", then events of TYPE are sent to that endpoint. An optional method attribute can be set to POST or GET to specify how the request should be sent. The default is GET.

Here are some examples:

<Link rel="event" href="http://www.example.com/pingme" method="POST/>
<Link rel="event.addapp" href="http://www.example.com/add" />
<Link rel="event.removeapp" href="http://www.example.com/remove" />
--------------

Also another clarification.

How should event type matching be done? The way interpret the specs they imply that “event.addapp” should trigger “event” as well since it is more general.
So if I wanted to break down “addapp” into say “addapp.gallery” and “addapp.invite” for corresponding contexts, then those should also trigger
“event.addapp” and “event” if I have those defined.
Is that correct?


Thanks,

Aleksey

Aleksey Perfilov

unread,
Oct 1, 2008, 2:17:59 AM10/1/08
to opensocial-an...@googlegroups.com

One more clarification: For invite event parameters it says “id: attribute indicates users who have been invited”

Which format  should it be in? “id1,id2,id3...” or maybe “id1 id2 id3”?

Thanks,

Aleksey
Reply all
Reply to author
Forward
0 new messages