Would it be possible to just make colons legal in the container-specific
identifier portion of GUIDs? Then, containers could elect to use IDs like:
example.org:person:78gh37261ddfdf
example.org:group:58bc72316eae1f
...which would still lead to legal URNs, like:
urn:guid:example.org:person:78gh37261ddfdf
urn:guid:example.org:group:58bc72316eae1f
Another option might be to leave GUIDs alone and instead add metadata
into the messaging markup. For example, perhaps:
<entry xmlns="http://www.w3.org/2005/Atom"
xmlns:osapi="http://opensocial.org/2008/opensocialapi"
xmlns:myapi="http://my.container.com/2008/osextensionsapi">
<osapi:recipient><osapi:person>example.org:AD38B3886625AAF</osapi:person></osapi:recipient>
<osapi:recipient><myapi:group>example.org:997638BAA6F25AD</myapi:group></osapi:recipient>
...
</entry>
--Jamey
example.org:34KJDCSKJN2HHF0DW20394/friends
as the id and urn:guid:example.org:34KJDCSKJN2HHF0DW20394/friends for the urn. Note that this already extends the id conventions so its reasonable to assume we can do the same for types and other structures
I personally have no problem with a convention like
<domain>:[<type>:]<alphanum id>[/path]
where <type> is optional but has reserved names for the already specified opensocial types. Containers are then free to use it or not.
The use of paths to represent relative structures probably deserves some discussion as its likely that
example.org:34KJDCSKJN2HHF0DW20394/friends
to represent a user owned group will have namespace collision issues with other entity types owned by a user
I'm not clear on how this is supposed to proceed from here. I also
agree with the sentiment that more feedback would be good. But so far,
it doesn't seem to be forthcoming.
So are we supposed to just take the absence of such feedback as a sign
that people are at least not strongly opposed to this, and vote on the
proposal that Bobby describes in his last paragraph above? If so, I'm +1.
--Jamey
+1 on providing a way to send messages to groups in addition to people.
- Dave
YAP does not support requestSendMessage and requestShareApp.