class MyModel(ndb.Model):
    property1 = ndb.StringProperty()
property2 = ndb.StringProperty()
owner = ndb.KeyPropertyProperty(kind='User')


class RESTMeta:
    pass
REST API in Google App Engine + Python?