Basic API
Trajectory API
Method | URI | Action | Complete |
---|---|---|---|
GET | /datasets/trajectory | Retrieve list of data sets | Y |
GET | /datasets/trajectory/< name> | Retrieve a dataset | Y |
GET | /datasets/trajectory/< name>?tid=< tid> | Retrieve a trajectory from dataset | Y |
GET | /datasets/trajectory/< name>?r=< range>&t=< time> | Retrieve trajectories in given range | Y |
POST | /datasets/trajectory | Add a new dataset | Y |
POST | /datasets/trajectory/< name> | Add a new trajectory to dataset | Y |
PUT | /datasets/trajectory/< name>?tid=< tid> | Update an existing trajectory | Y |
DELETE | /datasets/trajectory/< name> | Delete a dataset | Y |
DELETE | /datasets/trajectory/< name>?tid=< tid> | Delete a trajectory | Y |
ROI API
Method | URI | Action | Complete |
---|---|---|---|
GET | /datasets/ROI | Retrieve list of ROI datasets | Y |
GET | /datasets/ROI/<name> | Retrieve a ROI dataset | Y |
GET | /datasets/ROI/<name>?rid=<rid> | Retrieve a ROI | Y |
GET | /datasets/ROI/<name>?p=<lat,lng> | Retrieve a ROI containing given location | Y |
GET | /datasets/ROI/<name>?r=<range> | Retrieve trajectories in given range | Y |
GET | /datasets/ROI/<name>?d=<threshold> | Retrieve a ROI which density greater then threshold | Y |
POST | /datasets/ROI/ | Create a new ROI dataset | Y |
POST | /datasets/ROI/<name> | Add a new ROI | Y |
PUT | /datasets/ROI/<name> | Update an existing ROI | Y |
DELETE | /datasets/ROI/<name> | DELETE a ROI data set | Y |
DELETE | /datasets/ROI/<name>?rid=<rid> | DELETE a ROI | Y |
Algorithm API
Method | URI | Action | Complete |
---|---|---|---|
GET | /algo/show/<name> | Retrieve parameters and datasets | Y |
POST | /algo/show | Add parameters and datasets | Y |