API
SensLog provides REST-based API with variety of methods to provide or publish data. Both versions of SensLog have own API that respect version of data model.
SensLog v1 API
SensLog contains RESTful API for Feeder, Provider, VGI and Telemetry module. Most important services and methods will be described in following tables.
Feeder and Provider module
ControllerServlet
FeederServlet
- InsertObservation
- InsertPosition
- InsertAlertEvent
DataService
- GetUnits
- GetUnitsList
- GetPositions
- GetPositionsDay
- GetLastPositions
- GetLastPositionsWithStatus
- GetTracks
- GetRecentTracks
SensorService
- GetSensors
- GetObservations
- GetLastObservations
AlertService
- GetAlerts
- GetAlertEventsByTime
ManagementService
- InsertUnit
VGI Module
VgiObservationService
- InsertVgiObservation
- UpdateVgiObservation
- SelectVgiObservations
- SelectVgiObservation
- DeleteVgiObservation
VgiMediaService
- ListVgiMedia
- InsertVgiMedia
- UpdateVgiMedia
- GetVgiMedia
- DeleteVgiMedia
VgiCategoryService
- SelectVgiCategories
- SelectVgiCategory
- SelectVgiCategoryDescendants
VgiDatasetService
- SelectVgiDatasets
- InsertVgiDataset
- GetVgiDataset
- DeleteVgiDataset