GET /api/v1/holidays/{holidayId}
Summary: Get a holiday by id
Operation ID: Holiday
Auth: unknown
Operation ID: Holiday
Auth: unknown
Description
Returns one Canadian statutory holiday by integer id. Returns a 404 response for invalid ids.
Parameters (3)
holidayId
(integer, path, required)
Primary key for a holiday
Constraints: {'minimum': 1, 'maximum': 32}
optional
(string, query, optional, default: false)
A boolean parameter. If false or 0 (default), will return provinces for which this is a legislated holiday. If true or 1, will return provinces which optionally celebrate this holiday.
Constraints: {'enum': ['1', '0', 'true', 'false']}
year
(integer, query, optional, default: 2023)
A calendar year
Constraints: {'minimum': 2016, 'maximum': 2029}
No probe data for this endpoint yet.