Add a fields={all, @all, *} to the specification, which will mean that the container should all the fields;
+1 on “*” for this… since “*” doesn’t need to be url encoded, where @ should be (in this case).
* is a special character (no need to url encode) @ is a reserved character, not being used as part of the path statement in this case (after the path statement, part of the querystring).
--
Michael J. Ryan -- Software Developer -- Apollo Group
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system. |
Agreed the default, and superset calls should contain all non-optional fields.
See prior post of fields=* vs. other terms.
--
Michael J. Ryan -- Software Developer -- Apollo Group
I think we should add profile url to this list obviously, but
+1
Default URI w/ no fields parameter values specified should not result in all fields.
Seeing the consensus here, @MySpace I’ve added this as a defect to our current implementation and we will be responding w/ the four fields of id/urn, name, image uri, profile uri for now.
~Paul
From: opensocial-an...@googlegroups.com [mailto:opensocial-an...@googlegroups.com] On Behalf Of Ropu
Sent: Tuesday, July 22, 2008 11:57 AM
To: opensocial-an...@googlegroups.com
It’s designation is okay when used as part of a path… http://server/path/to/@
It’s when it’s used as a value in a querystring… http://server/path/to/?somevar=@somevalue
That it should be % encoded… as it is a query value, not a resource path.
It should probably be okay, I would suggest testing at least apache, and iis against using an unencoded @ in a querystring param… it wouldn’t surprise me if they still worked, it’s merely that they shouldn’t be used that way, not that they can’t… at least afaik (based on url encoding spec).
Also, using them in a restful manner as part of the resource path should be okay.