Skip to content

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

@nichtich

Description

@nichtich

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): request or renew
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions