This was the 2nd google search result for "google cloud endpoints querystring" so I figured I'd throw the answer in, even if the question is old....
http://stackoverflow.com/questions/19804951/google-cloud-endpoints-making-calls-with-js-client-passing-params-and-json-bo/19809245#19809245 and https://developers.google.com/api-client-library/javascript/dev/dev_jscript#AssemblingaJSONRPCrequest On Monday, December 9, 2013 3:03:45 PM UTC-5, Benjamin Crom wrote: > > I am building a Google Cloud Endpoints API which receives the following > query string via GET: > > ?count=10&page=1&sorting[title_column]=desc > > Unfortunately when creating a resource container there is no dictionary > data type in the Message.messages class. I cannot access either the key or > value of the 'sorting' dictionary in the GET query string. This resource > container does not work: > > REQUEST_RESOURCE_CONTAINER = endpoints.ResourceContainer( > message_types.VoidMessage, > count=messages.IntegerField(2), > page=messages.IntegerField(3), > sorting=messages.StringField(4) > ) > > Are there any suggestions? I can't change the way the client program > accesses this API and I really wanted to implement this using Google > Cloud Endpoints. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
