Usage


The audit API gives you insight into how the system is being used

To use these functions you will need "admin" privilege

Methods

Service Format Description Version Example
/api/v1/audit JSON Get a list of services to retrieve audit data 15.12+ https://sg.smap.com.au/api/v1/audit
/api/v1/audit/{key} GeoJSON Get per question audit data from a survey. {key} is the survey ident which can be found in the list of services retrieved above. A GeoJson object is returned for each question and includes the time it took for the data collector to answer the question and the gps coordinates of where the question was answered. This data is only returned if "Timing Data" and "Record Location" were enabled for the survey. 15.12+ https://sg.smap.com.au/api/v1/audit/s1190_16030

Parameters

Parameter Description Version Example
start Retrieve data from the specified primary key 15.12+ https://sg.smap.com.au/api/v1/data.csv?start=2
limit The number of records to retrieve 15.12+ https://sg.smap.com.au/api/v1/data.csv?start=2&limit=1