Comparisons API

Prepare tasks by comparison ID

POST /api/comparisons/prepare_tasks.json

Parameters

Name : email - required - Description : Email address

Name : auth_token - required - Description : Auth Token

Name : ids Description : Comparison IDs

Name : batch_id Description : Batch ID

Request

Headers



Route

POST /api/comparisons/prepare_tasks.json

Body

{"ids":[2030,2031],"email":"researcher66@university.edu","auth_token":"yNqPLwyy4Jy_G6LiDhKx"}

Response

Headers

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

Status

200 OK

Body

{
  "batch_id": 2228,
  "batch_url": "https://sentimentit.com/compare_batch/2228",
  "urls": [
    "https://sentimentit.com/comparisons/2030/compare",
    "https://sentimentit.com/comparisons/2031/compare"
  ]
}