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 |
|
|
type | description |
---|---|
Association | |
AssociationsForWord | |
Author | |
Bookmarks | |
Classification | |
ClassificationRequest | |
ClassificationResponse | |
CopyObserverRequest | |
CopyRequest | |
CopyRequests | |
CopySectorRequest | |
CreateCustomerObserverRequest | |
Curve | |
CurveLabel | |
CustomerObserverView | |
DfTermTopic | |
DocsStatsContext | |
DocsStatsDocument | |
DocsStatsResponse | |
Document | |
Document | |
DocumentList | |
DocumentMeasurement | |
DocumentReference | |
DocumentSnippet | |
Documents | |
DocumentsDetails | |
DocumentsDomains | |
DocumentsRequest | |
EthersourceAdvice | |
EthersourceAssociationsForWordsResponse | |
EthersourceBackgroundAssociation | |
EthersourceBackgroundAssociationSearchResponse | |
EthersourceDocumentCountResponse | |
EthersourceDocumentDetailsResponse | |
EthersourceDocumentDomain | |
EthersourceDocumentSnippetSearchResponse | |
EthersourceDocumentURI | |
EthersourceDocumentsXml | |
EthersourceDomainSearchResponse | |
|
|
EthersourceSnippetToken | |
EthersourceTargetResponse | |
EthersourceURISearchResponse | |
EthersourceURLSnippetSearchResponse | |
EthersourceValue | |
EthersourceValues | |
GaugeRequest | |
GaugeResponse | |
HealthCheckReport | |
HealthCheckResult | |
HealthCheckType | |
ImageUploadRequest | |
ImageUploadResponse | |
KPIGroup | |
KPIReference | |
KeyPerformanceIndex | |
KeyPerformanceIndex | |
KeyPerformanceIndexDetails | |
KeyPerformanceIndexMentions | |
KeywordSimilarTerms | |
KpiAssociations | |
KpiSentimentValues | |
KpisAssociationsResponse | |
KpisResponse | |
Language | |
ListCustomerObserverViewsResponse | |
Observer | |
Observer | |
ObserverBookmark | |
ObserverDetails | |
ObserverDetailsList | |
ObserverKpiSentiments | |
ObserverList | |
ObserverMentions | |
ObserverSentimentValues | |
ObserverSentiments | |
ObserverThin | |
ObserverUsageStatistics | |
ObserversMentionsList | |
PolarizationValue | |
Pole | |
Pole | |
PoleMeasurement | |
PolePart | |
PolePart | |
PoleSuggestion | |
PoleSuggestions | |
PolesResponse | |
Resolution | |
SalientTerms | |
Sector | |
SectorAnnotation | POST method should have the following parameters: { "resolution": //"hour"/"day"/"month" the resolution of the given data point "date": //timestamp for the given data point, "created": //timestamp for when the note itself is created, "text": //String containing the note, "affected": //[observerId] - array with ids of the observers in a sector that the note concerns - this could maybe be optional. "author" : { name: //full name of the author of the note, mail: //email to the author of the note }, "createdBy": //userId of the account that was used when note was created. }. |
SectorAnnotationRequest | |
SectorAnnotations | |
SectorBookmark | |
SectorKPIResponse | |
SectorKPIs | |
SectorKpiSentiments | |
SectorMentions | |
SectorObserverGroupMentions | |
SectorObserversMentions | |
SectorSentiments | |
SectorThin | |
SectorsResponse | |
Sentence | |
SentimentValues | |
StableAssociation | |
StoriesResponse | |
Story | |
Suggestions | |
TargetDetails | |
Term | |
TermRelation | |
TextReferenceByod | |
TextReferencesGroup | |
TimestampValue | |
Tonality | |
Topic | |
Topics | |
TrendingAndStableAssociations | |
TrendingAndStableAssociationsList | Wrapper object for TrendingAndStableAssociations objects since jax-rs does not specify how to encode lists. see http://docs.codehaus.org/display/ENUNCIATE/Lists+and+JAX-RS and https://docs.google.com/document/d/1a5JiRvTscvV0APpNVqmypzX-TjJH6klOmEKHBghn__k/edit# |
UsageStatistics | |
User | |
User | |
UserAPIKey | |
UserRoles |
type | description |
---|---|
resolution | |
association | |
associationsForWord | |
author | |
bookmarks | |
classification | |
classificationRequest | |
classificationResponse | |
copyObserverRequest | |
copyRequest | |
copyRequests | |
copySectorRequest | |
curve | |
curveLabel | |
customerObserverView | |
documentList | |
documentMeasurement | |
documentReference | |
documentSnippet | |
documents | |
documentsDetails | |
documentsDomains | |
domainInfoSortType | |
error | Returned when there is an exception while calling an API method. Includes a result code and a message. |
errorCode | |
ethersourceAdvice | |
ethersourceAssociationsForWordsResponse | |
ethersourceAssociationsSearchResponse | |
ethersourceBackgroundAssociation | |
ethersourceBackgroundAssociationSearchResponse | |
ethersourceDocumentCountResponse | |
ethersourceDocumentDetailsResponse | |
ethersourceDocumentDomain | |
ethersourceDocumentSnippetSearchResponse | |
ethersourceDocumentURI | |
ethersourceDocumentsXml | |
ethersourceDomainSearchResponse | |
ethersourceGeckoBoardFunnelPlot | |
ethersourceGeckoBoardLineGraph | |
ethersourceGeckoBoardPieChart | |
ethersourceGeckoBoardRagColumns | |
ethersourceGeckoBoardTrend | |
ethersourceShackeltonResponse | |
|
|
ethersourceSnippetToken | |
ethersourceTargetResponse | |
ethersourceURISearchResponse | |
ethersourceURLSnippetSearchResponse | |
ethersourceValue | |
ethersourceValues | |
gaugeResponse | |
geckoBoardGeneric | |
geckoBoardSetting | |
healthCheckReport | |
healthCheckType | |
healthCheckResult | |
imageUploadResponse | |
KPIGroup | |
KPIReference | |
keyPerformanceIndexDetails | |
keyPerformanceIndexMentions | |
kpiAssociation | |
kpiAssociations | |
kpiSentimentValues | |
kpisAssociationsResponse | |
kpisResponse | |
leftronicChart | |
listCustomerObserverViewsResponse | |
observer | |
observerBookmark | |
observerDetails | |
observerDetailsList | |
observerKpiSentiments | |
observerList | |
observerMentions | |
observerSentimentValues | |
observerSentiments | |
observerThin | |
observerUsageStatistics | |
polarizationValue | |
pole | |
poleMeasurement | |
polePart | |
poleSuggestion | |
poleSuggestions | |
polesResponse | |
replayResponse | |
salientTerms | |
sector | |
sectorAnnotation | POST method should have the following parameters: { "resolution": //"hour"/"day"/"month" the resolution of the given data point "date": //timestamp for the given data point, "created": //timestamp for when the note itself is created, "text": //String containing the note, "affected": //[observerId] - array with ids of the observers in a sector that the note concerns - this could maybe be optional. "author" : { name: //full name of the author of the note, mail: //email to the author of the note }, "createdBy": //userId of the account that was used when note was created. }. |
sectorAnnotationRequest | |
sectorAnnotations | |
sectorBookmark | |
sectorKPIResponse | |
sectorKpiSentiments | |
sectorMentions | |
sectorObserverGroupMentions | |
sectorObserversMentions | |
sectorSentiments | |
sectorThin | |
sectorsResponse | |
sentence | |
sentimentValues | |
sortType | |
stableAssociation | |
storiesResponse | |
storiesResponseByod | |
story | |
suggestions | |
targetDetails | |
term | |
termRelation | |
timestampValue | |
tonality | |
topic | |
topics | |
trendingAndStableAssociations | |
trendingAndStableAssociationsList | Wrapper object for TrendingAndStableAssociations objects since jax-rs does not specify how to encode lists. see http://docs.codehaus.org/display/ENUNCIATE/Lists+and+JAX-RS and https://docs.google.com/document/d/1a5JiRvTscvV0APpNVqmypzX-TjJH6klOmEKHBghn__k/edit# |
trendingAndStableTopics | |
uriInfoSortType | |
usageStatistics | |
user | |
createCustomerObserverRequest | |
docsStatsContext | |
docsStatsDocument | |
document | |
documentsRequest | |
gaugeRequest | |
keyPerformanceIndex | |
language |