Augment the X-Exl-Api-Remaining header to include the threshold figure
The Alma API includes the X-Exl-Api-Remaining header in responses, e.g.:
X-Exl-Api-Remaining: 192522
It would be helpful if the value for this header additionally included the threshold figure, a.k.a, the total number of requests, e.g.
X-Exl-Api-Remaining: 192522,200000
In the above example, the threshold is 200'000.
This would allow external monitoring scripts to dynamically determine the percentage of requests used for the day. Currently determining this has to based on a static threshold manually added to the script, and would need a script update if the threshold changes (due to an increase or decrease in the number of user licences).
Alternatively the threshold figure could be provided in a separate header:
X-Exl-Api-Quota: 200000