Overview
The List Seasons endpoint retrieves a paginated list of seasons available in the system. Each season represents a specific edition of a tournament within a defined time period and includes metadata about the tournament, organizer, and age group. The endpoint supports incremental synchronization through the since parameter, allowing developers to retrieve only the seasons that were updated after a specified date and time. This is useful for keeping external systems synchronized with the latest season data without repeatedly downloading the entire dataset. The response includes season details such as the season name, start and end dates, gender category, tournament information, organizer information, and associated age group. This endpoint should typically be used when:- Synchronizing season metadata between systems
- Building tournament browsers or competition lists
- Preparing data pipelines that depend on season structures
- Periodically updating cached season data
Typical Use Cases
- Synchronizing seasons into a local database.
- Displaying available competitions in an application.
- Building dashboards for tournaments and seasons.
- Updating season data using incremental updates with the
sinceparameter.
Parameters
Module API is fixed and cannot be changed. Always use
api.Defines the API endpoint to execute. For this endpoint use
SeasonList.Specifies the API version. The supported version for this endpoint is
V2.Specifies the response format. Use
json.Language of the response. Example:
en.Optional parameter used to retrieve seasons that were updated after a specific date and time.
Format: “YYYY-MM-DD HH:MM:SS” Example: “2023-01-15 12:30:00”
Specifies which page of results should be returned.
Defines the number of records returned per page.
Endpoint
GET api.phpCode Examples
Response Example
Response Fields
| Field | Type | Description |
|---|---|---|
| result | boolean | Indicates whether the request was successful. |
| title | string | Status title of the response. |
| message | string | Human-readable message describing the result. |
| object.total_records | integer | Total number of records available in the dataset. |
| object.current_records | integer | Number of records returned in the current response. |
| object.pages | integer | Total number of pages available. |
| object.current_page | integer | The current page number returned by the API. |
| Data | array | List of season objects returned by the API. |
| Data._type | string | Object type identifier. |
| Data.name | string | Name of the season. |
| Data.gender | string | Gender category for the season if defined. |
| Data.nature | string | Defines the season structure type (e.g., HYBRID). |
| Data.tournament.id | integer | Unique identifier of the tournament. |
| Data.tournament.name | string | Name of the tournament associated with the season. |
| Data.tournament.gender | string | Gender classification of the tournament. |
| Data.tournament.organizer.id | integer | Unique identifier of the organizing body. |
| Data.tournament.organizer.name | string | Name of the organization managing the tournament. |
| Data.tournament.age_group.id | integer | Unique identifier of the age group category. |
| Data.tournament.age_group.name | string | Name of the age group (e.g., Adult). |
| Data.startDate | date | Start date of the season. |
| Data.endDate | date | End date of the season. |