{{token}} variable:Authorization: Bearer {{token}}200 OK response returns a JSON object with a lins array containing league objects.lins[]):| Field | Type | Description |
|---|---|---|
i | string | Unique league ID |
n | string | League name |
cpi | string | Competition ID |
un | number | Unknown/unused field |
lim | string | League image path (relative) |
gpm | number | Goals per match setting |
rnkm | number | Ranking mode |
cpte | boolean | Competition type flag |
{
"lins": [
{
"i": "2609146",
"n": "HaramLig",
"cpi": "1",
"un": 0,
"lim": "league/f75ae72a923040e0a01d1b4d7480fb35",
"gpm": 1,
"rnkm": 1,
"cpte": false
}
]
}curl --location 'https://api.kickbase.com/v4/leagues' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'{
"lins": [
{
"i": "1234",
"n": "Liganame",
"cpi": "1",
"un": 0,
"lim": "league/1234abc.jpeg",
"gpm": 1,
"rnkm": 1,
"cpte": false
}
]
}