0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/api
Hannah Wolfe e044136503 API Option Handling
refs #2758

- add a set of default options to utils
- update validation function to only pass through permitted options
- pass permitted options into validate where necessary
- setup basic validation for each known option, and generic validation for the remainder
- change slug to treat 'name' as data, rather than an option
2015-07-14 18:20:27 +01:00
..
authentication.js re-added revoke method to authentication api 2015-07-07 17:39:43 -04: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 Improve API error handling 2015-06-15 10:08:30 +01:00
mail.js Removes objectTypeModelMap to reduce circular dependency. 2014-10-27 20:48:22 -04:00
notifications.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
posts.js API Option Handling 2015-07-14 18:20:27 +01:00
roles.js API Option Handling 2015-07-14 18:20:27 +01:00
settings.js Make the {{navigation}} helper global 2015-02-28 12:53:00 +00:00
slugs.js API Option Handling 2015-07-14 18:20:27 +01:00
tags.js API Option Handling 2015-07-14 18:20:27 +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 API Option Handling 2015-07-14 18:20:27 +01:00
utils.js API Option Handling 2015-07-14 18:20:27 +01:00