-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
To better get the conditions required or available for a request or renew. Maybe add an explicit /conditions endpoint to get
- available condidtions for request
- available condidtions for renew
The answer may depend on user and document but it can be helpful nevertheless to get some default values, such as
- typical renewal fee (FeeCondition)
- typical list of places an item can be delivered to (StorageCondition)
The endpoint could also be accessible publicly for a "default user" with publicly known patron identifier:
HTTP verb and URL
GET https://example.org/core/{uri_escaped_patron_identifier}/conditions
scope
read_conditions
request parameters
- action (string):
requestorrenew - confirm (
0..1) to select which types of conditions to check - doc (
0..1) to limit the conditions to a given document - doc.item (
0..1) URI of a particular item - doc.edition (
0..1) URI of a particular edition
response fields
- the response is a condition