List all opening hours
Changed onget/api/v1/opening_hours
Request
- Base URL: http://varnish:8080
- URL: http://varnish:8080/api/v1/opening_hours
- Auth: cookie (a scheme the document does not define)
Query parameters
_format'json' required
Request format
branch_idinteger
The id of the branch for which to retrieve opening hours.
from_datestring date
Retrieve opening hours which occur after and including the provided date. In ISO 8601 format.
to_datestring date
Retrieve opening hours which occur before and including the provided date. In ISO 8601 format.
Response
OK
Example response
[
{
"category": {
"color": "#ff0099"
},
"start_time": "09:00",
"end_time": "17:00",
"branch_isil_id": "DK-710100"
}
]Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking