jfinkels / flask-restless

NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
https://flask-restless.readthedocs.io
GNU Affero General Public License v3.0
1.02k stars 301 forks source link

Patch updateon not documented #654

Open anuragagarwal561994 opened 7 years ago

anuragagarwal561994 commented 7 years ago

Flask-Restless version = 1.0.0b2

On PATCH request, server returns 204 code, server doesn’t update any attributes besides those provided and returns 200 OKwith the updated resource if resource is modified in ways other than those specified by the request.

The latter part is not documented which is an important case to be considered. I have to go through the code to understand this behaviour.