Open nichtich opened 5 years ago
At first sight for me isn't obviously clear, what should be depict the parameter confirm in this context?
@ndege yes, the name is misleading. It could be used to select condition types, but the server could also just return all condition types so we can remove this parameter. A backend may however answer some condition types quicker then others so selection can make sense.
To better get the conditions required or available for a
request
orrenew
. Maybe add an explicit/conditions
endpoint to getThe answer may depend on user and document but it can be helpful nevertheless to get some default values, such as
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
request
orrenew
0..1
) to select which types of conditions to check0..1
) to limit the conditions to a given document0..1
) URI of a particular item0..1
) URI of a particular editionresponse fields