Check a verdict: 'Judge is right' or 'I disagree'. Never changes the ranking
PUT
/v1/comparisons/{comparison_id}/review
const url = 'https://api.supposing.app/v1/comparisons/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/review';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"agrees":true,"winner_item":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","reason":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.supposing.app/v1/comparisons/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/review \ --header 'Content-Type: application/json' \ --data '{ "agrees": true, "winner_item": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reason": "example" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”comparison_id
required
Comparison Id
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Review
A person’s check of one verdict: “Judge is right” or “I disagree” (with their winner).
object
Example generated
{ "by_name": "example", "agrees": true, "winner_item": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reason": "example", "updated_at": "2026-04-15T12:00:00Z"}Client error. Branch on code; show message and hint.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}Server error.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}