Tracker TruthMeter API Design
Tracker TruthMeter RESTful API Design
Summary | HTTP Request Type | Endpoint | Request Body  | Description | Sample Response Body |
---|---|---|---|---|---|
Get the Truth for a list of datasets | POST | v1/tracker-meter | Object with two lists--datasets and streams--of EntityName (String) as fields. { "datasets": ["ds1", "ds2", "ds3", "ds4"], "streams": ["strm1", "strm2", "strm3", "strm4"] } Â | entity-type
Note: Can't get truth-values for both datasets and streams in a single request  | Object with two maps datasets and streams. Map key is EntityName and value is the score for the entity. { "datasets": [ {"name": "ds1", "value": 80}], "streams": [ {"name": "strm1", "value": 80}, {"name": "strm2", "value": 90}] } |