how to represent collections
Mar 15, 2012 3:24 AM
Posted in group:
OpenSocial and Gadgets Specification Discussion
i have realized to my understanding an inconsistency between OS and AS
on how to represent collections in json:
- AS (
that the various items should be wrapped as array under "items", and
defines a "totalItems" property.
- OS (
) mentions a "result", but
specifically an "entry" property where to fit the array and additional
parameters, such as "totalResults" in lieu of the AS "totalItems".
(which is btw opensearch compliant)
could this be clarified in the spec cleanup?