NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
GET
access to one level of relationship depth
for models.None
objects.POST
requests now receive a response containing all
fields of the created instance.PATCH
requests update fields on related
instances.POST
requests that set hybrid properties.assertEqual()
methods to assert
statements in tests.Content-Type: application/json
will cause a 415
response.Content-Type: application/json
.has
and any
searches.include_methods
keyword argument to
APIManager.create_api
, which allows JSON responses to include the
result of calling arbitrary methods of instances of models.Content-Type
header.DELETE
requests to related instances.POST
and PATCH
requests, recurse into
nested relations to get or create instances of related models.GET
request to a
relation sub-URL.POST
requests.flask.Request.json
to parse incoming JSON requests.jsonify_status_code
function with built-in support
for return jsonify(), status_code
style return statements (new in Flask
0.9).POST
requests to dictionary-like
association proxies.404
if a search reveals no matching results.404
if no related field exists for a request
with a related field in the URL.GET
and PATCH
requests that access multiple
resources.query
attribute on models to be a callable.DataError
and ProgrammingError
exceptions when bad data
are sent to the server.sqlalchemy.Time
fields in JSON responses.POST
requests and some search queries.NULL
using comparison
operators.None
.DELETE
should only return 204
if
something is actually deleted.null
inside has
search operators.helpers.count
.PATCH
requests.is_deleted
to was_deleted
when providing keyword
arguments to postprocessor for DELETE
method in order to match
documentation.