Skip to content
codeinthehole edited this page Mar 13, 2013 · 8 revisions

Requirements:

  • Prove a set of REST JSON APIs that can easily be mixed into an Oscar project
  • The APIs should pick up any customised models within that project and expose their fields in the API
  • The APIs should be extensible so that projects can customise the output, authentication and authorization.
  • The APIs should expose the models from django-oscar-stores if this extension is installed (as this will be a common requirement).

APIs:

  • Readonly product data, possibly including a search filter that uses the appropriate backend (eg Solr)
  • Offers
  • Basket (including write operations to modify the basket)
  • Checkout (could be tricky to do in a flexible/extensible way)

Questions:

  • Which REST framework to use: TastyPie or django REST framework. I have a mild preference for Tastypie as I know it better and it is easily extensible.
Clone this wiki locally