Skip to content
simondelliott edited this page Sep 22, 2011 · 4 revisions

ReST Spreadsheet

This product is deployed to the http://incidents.routetodigitallive.com. It will allow users to interrogate a CSV file using ReST. The data can be accessed via the /incidents path and the header row of the CSV file defines the fields than can be interrogated. It is assumed that the header row exists and does not contain special characters.

index of incidents

http://incidents.routetodigitallive.com/incidents

individual incident

incidents.routetodigitallive.com/incidents/[Incident id] incident id - /INC[0-9]+^

subset of incidents

incidents.routetodigitallive.com/incidents?[field]=[criteria regex] ... field - The field parameter allows the caller to get a subset of the results based on a regex query. The field parameter can take one of the values from the header row of the spreadsheet.

Examples

to get the 1st page of incidents in html incidents.routetodigitallive.com/incidents

all incidents with “mobile” in the summary incidents.routetodigitallive.com/incidents?Summary=mobile

all incidents with “mobile” in the summary, raised by “Geoff” in XML format incidents.routetodigitallive.com/incidents?Summary=mobile&First Name=Geoff

Clone this wiki locally