The resources use a data model that is supported by a set of client-side libraries that are made available on the files and libraries page.
There is a WADL document available that describes the resources API.
name | path | methods | description |
---|---|---|---|
ClassifierApi |
|
|
|
DocStatsApi |
|
|
|
ExternalApiV2 |
|
|
A restful API to external methods of Ethersource. Returned data is encoded as json objects. The default endpoint to use is https://ethersource.gavagai.se/ethersource/rest/v2/. So to use getValue you should use https://ethersource.gavagai.se/ethersource/rest/v2/getValue For most of these externalApi methods, you need to have a list of your customerObserverViews. To get these, use the method listAllCustomerObserverViews The API requires HTTP Basic Authentication, thus you need a username and a password to access the API. You will get this from a Gavagai operator. Most API methods also require you to pass in an API key. You will get this as well from a Gavagai operator. Version history:v8 added several TopicTracker Methods to the api, only applicable to a TopicTrackerUser. v7 added getValues(to get the Polarization Values for a CustomerObserver over a given Range), getMostRecentValues(to get the recent Polarization Values), getComparisonValues(to get the most recent values for a set of customerObserverViews, to compare them) to the api. v6 added findAssociations to the api v5 added findDocumentURIs to the api v4 getTriggerMarker changed its matching algorithm slightly: now it matches a triggermarker within the given day or hour (or whatever resolution is set) regardless of the values of the smaller time fields, and not, as previously, the closest triggerMarker. v3 trigger marker methods now reference a sensorSubscriptionId instead of a sensorId v2 changed path in example call v1 first version of api with getValue Changes to Ethersource Api:We have upgraded our api from Version 1 to Version 2. These are the changes that go along with this upgrade:
End Point: https://ethersource.gavagai.se/ethersource/rest/v2/
1) For all the method calls, the outer wrapper that was returned with the JSON has been removed |
GaugeApi |
|
|
|
KpisApi |
|
|
|
ObserversApi |
|
|
|
PolesApi |
|
|
|
SectorsApi |
|
|
|
UsersApi |
|
|