Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Tracker TruthMeter RESTful API Design

SummaryHTTP Request TypeEndpointRequest Body

 

DescriptionSample Response Body
Get the Truth for a list of datasetsPOSTv1/truth-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

  • dataset
  • stream

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": [ {"ds1", 80}, {"ds2", 90}, {"ds3", 70}, {"ds4", 90} ],
"streams": [ {"strm1", 80}, {"strm2", 90}, {"strm3", 70}, {"strm4", 90} ]
}
  • No labels