Bug 37617 - Opening and closing hours should be either delivered in libraries responses or have a dedicated endpoint
Summary: Opening and closing hours should be either delivered in libraries responses o...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 6796
Blocks:
  Show dependency treegraph
 
Reported: 2024-08-12 09:36 UTC by Paul Derscheid
Modified: 2024-08-22 10:36 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Derscheid 2024-08-12 09:36:35 UTC
I'd suggest that we make the opening and closing times accessible via the API for usage within koha (for example in Vue) as well as usage on external websites (for example an institution's main website separate from the OPAC).

We could either add it to the /libraries endpoint's responses or create a dedicated endpoint for opening hours.

I'm leaning more towards the inclusion within the library responses.
Comment 1 Martin Renvoize 2024-08-22 10:34:37 UTC
You can embed them already.
Comment 2 Martin Renvoize 2024-08-22 10:36:12 UTC
However.. I'd really like to see bug 36079 happen where we actually allow for regular open/closed days to be set with opening hours and thus returned in the same embedded response