Skip to main content
GET
Get who holds the most of a unit

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Path Parameters

unit
string
required

The unit's key. The agent tool may leave it out (the REST path always names it): then the oldest unit that someone holds, or the oldest unit when nobody holds any

Query Parameters

limit
integer
default:10

How many places, 1 to 10

Required range: 1 <= x <= 10

Response

Get who holds the most of a unit

unit
object
required

The unit the board is for

rows
object[]
required

Most first, then by ID. Only people with more than 0; people merged into another are left out