Support formats in API requests, and format return value accordingly #14

boonebgorges opened this Issue Mar 27, 2012 · 0 comments


None yet

1 participant

CUNY Academic Commons member

Right now I'm just dumping the request. Should have:

  • Mechanism for requesting return format (json, xml, raw). Could start with just json
  • A fallback when no option is specified
  • Then I have to format the results and echo them out properly, with the right HTTP headers
@boonebgorges boonebgorges was assigned Mar 27, 2012
@boonebgorges boonebgorges added a commit that closed this issue Apr 9, 2012
@boonebgorges boonebgorges Refactor of the API interface to use Restler.
- Since Restler handles numerous data formats natively, this commit fixes #14.
- This changeset provides the framework for the endpoints described in #13.
- This changeset also simplifies the structure of the API server classes, to be more in line with Restler protocol. Fixes #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment