You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Mark D Weitzel <we...@us.ibm.com> on 2008/12/01 23:10:33 UTC
appData query...
Maybe someone can answer a quick question regarding an appData query using
vanilla shindig.
When I request the following:
http://.../social/rest/appdata/canonical/@self
What is returned is:
{"entry":{"canonical":{"size":"100","count":"2"}}}
This seems to make sense since there is no {appId} parameter specified,
and in the canonicaldb.json, the "size" and "count" fields don't appear to
be associated with any specific appId. However, I was looking for the
text in the spec (e.g. section 6.4 of the restful API) that indicated this
was a valid query. If the {appId} parameter is left off, then you return
all {appId} values?
If I then make the request:
http://.../social/rest/appdata/canonical/@self/1
What is returned is:
{"entry":{"canonical":{"size":"100","count":"2"}}}
I'm probably reading canonicaldb.json incorrectly, but I don't see where
the same two fields, "size" and "count" are associated with an {addId} of
"1". I expected an empty result for this query. Can someone help clarify
this for me?
Thanks,
-Mark W.
_______________________________________________________________________________________________________________
Mark Weitzel | STSM | IBM Software Group | (919) 543 0625 |
weitzelm@us.ibm.com