Seasons
The season model
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the season.
- Name
number
- Type
- integer
- Description
The season number
- Name
startDate
- Type
- string
- Description
Original date when the season started
- Name
endDate
- Type
- string
- Description
Original date when season ended
GET/api/seasons
List all seasons
Retrieve all seasons available.
Optional attributes
- Name
limit
- Type
- integer
- Description
Limit the number of contacts returned.
Request
GET
/api/seasonscurl -G https://theofficeapi.dev/api/seasons
Response
[
{
"id": 1,
"number": 1,
"startDate": "2005-03-24",
"endDate": "2005-04-26"
},
{
"id": 2
// ...
}
]