OpenSocial/spec

Core Data Spec - Activity Streams Issue

Opened this issue · 0 comments

Original author: jasn...@gmail.com (February 22, 2012 19:31:14)

SPECIFICATION BUGS ONLY - Description
=====================================
Section 2.4 of the Core Data Spec defines some items relating to Activity Streams... however, what's defined seems completely incompatible with Activity Streams. For instance, this is declared in section 2.4...

Collection = "{"
"result : {"
[ "totalResults : " number "," ]
[ "startIndex : " number "," ]
[ "itemsPerPage : " number "," ]
[ "filtered : " ( "true" / "false" ) "," ]
[ "updatedSince : " ( "true" / "false" ) "," ]
[ "sorted : " ( "true" / "false" ) "," ]
[ "itemsPerPage : " number "," ]
"entry :" Array<Object>
"}"
"}"

Whereas the JSON Activity Streams definition of a collection simply consists of "url". "items" and "totalItems" fields.

What is the relationship between Activity Streams and the fields defined in the specification? Is it "totalResults" or "totalItems"... is it "entry" or "items"... how do the other fields defined have anything to do with Activity Streams?

Document affected:
==================
1.) Please attach a patch for the document if appropriate.
2.) Post a thread at
http://groups.google.com/group/opensocial-and-gadgets-spec/topics
linking to this issue report.
3.) Post a comment on this issue, linking back to the thread.

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=1255