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/groups/opt_out.