Ghost/core/server/api
Hannah Wolfe 545bea0eaf Return a single 422 error for invalid values
refs #5808

- Fix the API to return a single 422 error when an invalid value is passed
- Only affects Browse, and not Read at present due to differences in how they are handled
- Frontend was changed to always 404 in #5851
- Adds tests to ensure all cases are covered
2015-09-25 10:30:49 +01:00
..
authentication.js Don't return from sending welcome mail 2015-08-25 09:08:11 +01:00
clients.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
configuration.js finish up password protection 2015-05-12 12:02:18 -06:00
db.js Refactor importer with tests 2014-12-17 18:22:39 +00:00
index.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
mail.js Mail consolidation 2015-08-20 11:36:14 +02:00
notifications.js Remove auto-inclusion of jQuery via ghost_foot 2015-09-02 13:39:22 +01:00
posts.js Merge pull request #5655 from sebgie/extract-permissions 2015-08-11 19:32:20 +01:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
settings.js Make the {{navigation}} helper global 2015-02-28 12:53:00 +00:00
slugs.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
tags.js Add dynamic client_id/client_secret 2015-09-02 16:39:34 +01:00
themes.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
upload.js Add support for zip import 2014-12-10 20:21:06 +00:00
users.js Don't alter password from User.edit endpoint 2015-09-23 23:07:49 +01:00
utils.js Return a single 422 error for invalid values 2015-09-25 10:30:49 +01:00