Commit Graph

8 Commits

Author SHA1 Message Date
Bruce Martin
bf0154ada6 add current front-end dependencies to documentation (#328)
Add current front-end dependencies to document, highlighting minimum required support for routes.
2018-10-14 08:06:51 -07:00
Bruce Martin
dcb3f6e901 fix inconsistent definition of layout route; update intro to match state of spec (#324)
Pre-release cleanup

intro updated to match state of spec
fix PUT/POST inconsistency for /layout route
bug/errata request process defined

Fixes #127
2018-10-12 11:44:21 -07:00
Charlotte Weaver
3229babd14 Add caching back in (#312)
* Add caching back in

Works now against filter instead of dataframe view

* Layout cache and move post->put

* Fix tests
2018-10-11 16:29:46 -07:00
Charlotte Weaver
11ef5ae51b REST Error handling (#299)
* Use HTTPStatus for all responses

More informative than just the code as an int

* Fill out REST error handling

* Test error routes

* Use HTTP Status for tests too

* factor mime type request into function

* Better mimetype errors

* 404 -> 400 error for bad key
2018-10-08 14:17:56 -07:00
Bruce Martin
a0aae2e266 bkmartinjr/#294 rest sort (#300)
REST API now requires that the server sort all dataframe responses by dimension index (var or obs index), allowing the client (front-end) to assume responses will be sorted. Given that the dataframe usually has a natural ordering, and the server gets to arbitrarily assign indices, this is the most computationally efficient design.

This PR includes changes to the REST API spec, and removing the explicit sort in the front-end code.
2018-10-08 12:57:06 -07:00
Bruce Martin
2d218fa099 fix bugs in diffexp docs (#274) 2018-09-25 11:26:54 -07:00
Charlotte Weaver
023fd01957 Added "filter" level for var filter to match other filters (#267) 2018-09-24 15:09:34 -07:00
Bruce Martin
7a39642593 Docs (#265)
* initial commit of REST API doc in MD

* clarify PUT/POST; improve footnote formatting

* change anchor name to endnote
2018-09-24 14:15:50 -07:00