SETTO API

Set a category’s seeds («Cabezas de serie») (needs the `manage` scope)

PUT
/v1/external/tournaments/{idx}/divisions/{divisionIdx}/seeds

Replaces the seeding of a category: seedCount teams are seeded, and seeds must hold exactly seeds 1..seedCount, each on an accepted team of the category; every other team loses its seed. seedCount: null switches seeding off. Recorded in «Actividad».

Authorization

apiToken
AuthorizationBearer <token>

API token (organization or personal)

In: header

Path Parameters

idx*string

Tournament identifier

Formatuuid
divisionIdx*string

Category identifier

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/external/tournaments/497f6eca-6276-4993-bfeb-53cbbbba6f08/divisions/497f6eca-6276-4993-bfeb-53cbbbba6f08/seeds" \  -H "Content-Type: application/json" \  -d '{    "seedCount": 4,    "seeds": [      {        "teamIdx": "b8c9d0e1-f2a3-4456-8b7c-8d9e0f1a2b3c",        "seed": 1      }    ]  }'
{  "divisionIdx": "a7b8c9d0-e1f2-4345-8a6b-7c8d9e0f1a2b",  "seedCount": 4,  "seeds": [    {      "teamIdx": "b8c9d0e1-f2a3-4456-8b7c-8d9e0f1a2b3c",      "seed": 1    }  ]}