Hello, all.

I try to implement an OpenSocial container in my opensoruce project.
I started to read the v0.9(http://www.opensocial.org/Technical-
Resources/opensocial-spec-v09/RPC-Protocol.html#AppData), and try to
implement server-side applications.

Then I have an question about the appdata.get rpc specification.
What should appdaga.get return in the following case?

The data condition:
  "user1" has appdata: {"myapp_key1" => "value1"}
  "user2" has appdata: {"myapp_key1" => "value2"}

The argument condition:
  appdata.get( {
   "userId" => ["user1", "user2"],
   "groupId" => "@self"
   ...
  })

I think the return value in this case should be an Array,
[{"myapp_key1" => "value1"}, {"myapp_key1" => "value2"}].
But in the specification, the value type is defined as Map<String,
String>, not Map<String, Array<String>>.

If anyone has practices about this case, please advice me.
Thanks.

--
Yohei Sasaki
http://www.yssk22.info/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to