0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/integration/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
..
api_authentication_spec.js adds put route to authentication setup 2015-06-29 13:16:10 -04:00
api_configuration_spec.js Use extends correctly & consistently 2015-06-25 19:56:27 +01:00
api_db_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
api_mail_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
api_notifications_spec.js Use extends correctly & consistently 2015-06-25 19:56:27 +01:00
api_posts_spec.js API Option Handling 2015-07-14 18:20:27 +01:00
api_roles_spec.js API - no more m-2-m relation ids by default 2014-12-02 19:24:44 +00:00
api_settings_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
api_slugs_spec.js API Option Handling 2015-07-14 18:20:27 +01:00
api_tags_spec.js Add support for GET /tags/slug/:slug with unit tests 2015-06-16 09:22:12 -07:00
api_themes_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
api_upload_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
api_users_spec.js API Option Handling 2015-07-14 18:20:27 +01:00