rest_gae icon indicating copy to clipboard operation
rest_gae copied to clipboard

REST interface for NDB models over webapp2 in Google App Engine Python

Results 11 rest_gae issues
Sort by recently updated
recently updated
newest added

I want to validate an input json before saving in ndb using before_post_callback. How can u achieve that ? I can raise Errors but how can i respond an error...

I have the following models ``` class Plant(ndb.Model): name = ndb.StringProperty() company = ndb.KeyProperty(kind='Company') owner = ndb.KeyProperty(kind='User') class RESTMeta: user_owner_property = 'owner' include_output_properties = ['name'] class Department(ndb.Model): name = ndb.StringProperty()...

Including client-side AJAX calls to the REST API.

Most tests would require interacting with the dev_appserver, and I'm not yet sure what that will mean for their design.

So if we have a `blob_prop` inside a `struct_prop`, the URL endpoint will be: `/api/my_model/struct_prop/blob_prop`. This support should be recursive (e.g. blob property within a structured property within a structured...

i.e. `DELETE /api/my_model/123/blob_prop` will delete the blob from the blob store and set the BlobKeyProperty to None

Allowing string ids to be POSTed introduced a bug / security hole. When POSTing a new instance, or multiple instances, the id is accepted as is, and is posted over...

Currently, our permission system has the following types of permission for a given operation on a given model: ``` PERMISSION_ANYONE PERMISSION_LOGGED_IN_USER PERMISSION_OWNER_USER PERMISSION_ADMIN ``` This means that there is currently...

Used while developing - similar to what djagno-rest-framework has.

enhancement