MG-RAST/MG-RAST — pull request #131 by teharrison (2012-10-19 15:15:48+00:00)
Title: changes: api2 overhaul and new analysis db schema

1. added new sql schema for anaysis db
2. changed API2 to object based
- each resource is an object that inherits functions from parent (resource.pm)
- allows all non-resource specific functions to be in one place
- modified api2.cgi to call resources as objects
3. added ipythin notebook api resource
4. fixed some minor bugs within api:
- pagination display was inconsistant
- query output was inconsistant
- total count not correct
- all IDs provided by a resource that point to other resources now are tuples (id, url)
- metagenome and project resources now correctly pull ordered / offset / limit set from DB (instead of pulling all)