From 4cd8de869d493d95343ee09a186ac94ef6ce2bf4 Mon Sep 17 00:00:00 2001 From: jw255 Date: Tue, 16 Jan 2018 17:33:58 +0000 Subject: added router class to handle API calls and updated TODO with latest Protocol decisions available --- TODO.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index a18f6f9..425cbe3 100644 --- a/TODO.md +++ b/TODO.md @@ -65,3 +65,34 @@ - [ ] *Extensive Unit Testing* ## Write Report + +## General Notes +- Records should be in CSV format (UTF8) +- 1 Record per Line +- Fields separated by , +- Every Record same # of fields +- First Row has labels + +- Requests have the form of "/project/files/directory/file?filters" + - "file" is uuid or file-path + - "project" is project name + - "?" separates path from interface + - "filters" are a number of key-value pairs separated by & + - view + =meta : returns coloumns names and indexes + =file ORlack_of : actual data + - cols + =0,4,3 : specifies cols to filter + =* OR lack_of : all coloumns + - rowstart + =20 : first row to be included in search + default 0 + - rowcount + =15 : number of rows to return + default all + - img_channel : index of colour channel + - img_zoomlevel : a number representing the 'zoom level' desired + - img_xoffset,img_yoffset: relative to top left corner, UNITS: 'real pixels', i.e. agnostic of zoom levels + - img_width : UNITS: 'real pixels', i.e. agnostic of zoom levels + - img_height : UNITS: 'real pixels', i.e. agnostic of zoom levels + - Post requests upload entire file \ No newline at end of file -- cgit v1.2.1