gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

Get list of delivery places and fees without actually requesting an item #70

Open nichtich opened 5 years ago

nichtich commented 5 years ago

To better get the conditions required or available for a request or renew. Maybe add an explicit /conditions endpoint to get

The 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

response fields

ndege commented 5 years ago

At first sight for me isn't obviously clear, what should be depict the parameter confirm in this context?

nichtich commented 5 years ago

@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.