https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37856
Bug ID: 37856
Summary: Some SUSHI providers require the platform parameter
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: ERM
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected],
[email protected],
[email protected],
[email protected],
[email protected], [email protected]
The harvest_sushi method produces the following URL when harvesting SUSHI data:
<provider_url>/reports/<report_type>?customer_id=<customer_id>&requestor_id=<requestor_id>&api_key=<api_key>&begin_date=<begin_date>&end_date=<end_date>
Some providers require the 'platform' parameter. Docs here:
https://app.swaggerhub.com/apis/COUNTER/counter-sushi_5_0_api/5.0.2#/default/getReportsPR
We need to look for a way to identify when/if a provider requires this
parameter, and add it to the URL if so.
The provider in question is ScienceDirect:
https://registry.countermetrics.org/platform/ab4d3560-1165-491d-a67e-9359d02c2a96
The 'platform parameter required' entry is unchecked even though this provider
requires it. We should consider using this to identify if the parameter is
required or not.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/