Information available from DDB CMS. Assuming that the library uses DDB CMS (of course) and has enabled the DING MOBILE SEARCH module.
List of events at the library where the application is logged in
The library endpoint returns information from the ding_library type in the cmscontent service.
News-posts from the local CMS.
The path to an image in /CMS/events and /CMS/news is
"field_ding_event_list_image": {
"name": "List image",
"value": [
"files/727000/3cb63f8249ccd1a5da3bbc965d9b150f6b1531a8.jpeg"
],
According to https://cmscontent.dbc.dk/ the syntax for the path should be: /files/{agency}/{resize}/{filename}
The full path will become:
https://cmscontent.dbc.dk/files/727000/original/3cb63f8249ccd1a5da3bbc965d9b150f6b1531a8.jpeg
Size can either be the exact string “original” or a relativ size in pixels like “1280x720”.