Flask-Restless¶
Flask-Restless provides simple generation of ReSTful APIs for database models defined using SQLAlchemy (or Flask-SQLAlchemy). The generated APIs send and receive messages in JSON format.
User’s guide¶
- Downloading and installing Flask-Restless
- Quickstart
- Creating API endpoints
- Customizing the ReSTful interface
- HTTP methods
- API prefix
- Collection name
- Specifying one of many primary keys
- Enable patching all instances
- Capturing validation errors
- Exposing evaluation of SQL functions
- Specifying which columns are provided in responses
- Server-side pagination
- Request preprocessors and postprocessors
- Custom queries
- Making search queries
- Format of requests and responses