Comparisons API

Create HITs by comparison ID

GET /api/comparisons/create_hits.json

Parameters

Name : ids - required - Description : Comparison IDs

Name : email - required - Description : Email addresss

Name : auth_token - required - Description : Auth Token

Name : batch_id Description : Batch ID

Name : hit_setting Description : HIT Setting ID

Request

Headers



Route

GET /api/comparisons/create_hits.json?hit_setting=2205&ids[]=1995&ids[]=1996&email=researcher1%40university.edu&auth_token=fdhM7CkPyeNWGCy4exLA

Query Parameters

hit_setting: 2205
ids: ["1995", "1996"]
email: researcher1@university.edu
auth_token: fdhM7CkPyeNWGCy4exLA

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

{
  "batch_id": 2193
}