List seasons
GET
/v1/seasons
const url = 'http://localhost:8080/v1/seasons';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/seasonsResponses
Section titled “Responses”Seasons with ingested data.
Media typeapplication/json
object
seasons
required
Array<object>
object
id
required
string
name
required
string
competition
required
object
id
required
string
name
required
string
country
required
string
Example
{ "seasons": [ { "name": "2026/2027" } ]}