Experiment Criterion
Operations related to Experiment Criterion, the individual test condition or parameter within an experiment configuration.
Path parameters
datamart_idinteger · int64Required
The Datamart id from which the representativeness criterion belong
criterion_idinteger · int64Required
The representativeness criterion
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
get/datamarts/{datamart_id}/experiments/criteria/{criterion_id}
GET /v1/datamarts/{datamart_id}/experiments/criteria/{criterion_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"created_ts": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"last_modified_by": "text",
"query_id": "text",
"created_by": "text",
"archived": false,
"archived_ts": 0,
"id": "text",
"name": "text",
"archived_by": "text"
}
}Path parameters
datamart_idinteger · int64Required
The Datamart id from which the representativeness criterion belong
criterion_idinteger · int64Required
The representativeness criterion
Body
actionstring · enumRequiredPossible values:
Responses
200
Success !
application/json
statusstring · enumRequiredPossible values:
400
Error response
application/json
401
Error response
application/json
403
Error response
application/json
404
Error response
application/json
500
Error response
application/json
503
Error response
application/json
post/datamarts/{datamart_id}/experiments/criteria/{criterion_id}
POST /v1/datamarts/{datamart_id}/experiments/criteria/{criterion_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"action": "ARCHIVE"
}{
"status": "ok",
"data": {
"created_ts": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"last_modified_by": "text",
"query_id": "text",
"created_by": "text",
"archived": false,
"archived_ts": 0,
"id": "text",
"name": "text",
"archived_by": "text"
}
}Last updated
Was this helpful?