List all opening hours for legacy API
Changed onget/opening_hours/instances
Request
- Base URL: http://varnish:8080
- URL: http://varnish:8080/opening_hours/instances
- Auth: cookie (a scheme the document does not define)
Query parameters
_format'json' required
Request format
from_datestring date required
Retrieve opening hours which occur after and including the provided date. In ISO 8601 format.
to_datestring date required
Retrieve opening hours which occur before and including the provided date. In ISO 8601 format.
nidinteger[] required
The id(s) of the branch(es) for which to retrieve opening hours. Can be a single id or a comma-separated list of ids.
Response
OK
Example response
[
{
"start_time": "09:00",
"end_time": "17:00"
}
]Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking