Ghost/core/server/data
Hannah Wolfe c02ebb0dcf Refactor API arguments
closes #2610, refs #2697

- cleanup API index.js, and add docs
- all API methods take consistent arguments: object & options
- browse, read, destroy take options, edit and add take object and options
- the context is passed as part of options, meaning no more .call
  everywhere
- destroy expects an object, rather than an id all the way down to the model layer
- route params such as :id, :slug, and :key are passed as an option & used
  to perform reads, updates and deletes where possible - settings / themes
  may need work here still
- HTTP posts api can find a post by slug
- Add API utils for checkData
2014-05-15 10:41:05 +01:00
..
export Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
fixtures Implements new Themes JSON API 2014-05-14 11:23:42 +02:00
import Refactor API arguments 2014-05-15 10:41:05 +01:00
migration Add distinct error classes 2014-05-09 12:11:29 +02:00
validation Fix validation 2014-05-14 15:30:46 +02:00
default-settings.json Add app permission checking to canThis 2014-04-16 18:06:39 +02:00
schema.js Changed boolean handling 2014-04-25 09:55:53 +02:00