# ezunpaywall

Experimental middleware that fetches metadata from the Unpaywall mirror hosted by the Inist-CNRS.

# Headers

  • ezunpaywall-cache : Enable/Disable cache.
  • ezunpaywall-ttl : Lifetime of cached documents, in seconds. Defaults to 7 days (3600 * 24 * 7).
  • ezunpaywall-throttle : Minimum time to wait between queries, in milliseconds. Defaults to 100ms.
  • ezunpaywall-paquet-size : Maximum number of identifiers to send for query in a single request. Defaults to 50.
  • ezunpaywall-buffer-size : Maximum number of memorised access events before sending a request. Defaults to 1000.
  • ezunpaywall-api-key : apikey to use ezunpaywall.

# Enriched fields

Name Type Description
is_oa Boolean Is there an OA copy of this resource.
journal_is_in_doaj Boolean Is this resource published in a DOAJ-indexed journal.
journal_is_oa Boolean Is this resource published in a completely OA journal.
oa_status String The OA status, or color, of this resource.
updated String Time when the data for this resource was last updated.

# Example :

curl -v -X POST http://localhost:59599
  -H "ezPAARSE-Middlewares: ezunpaywall"
  -F "files[]=@access.log"
Last Updated: 3/6/2024, 7:11:29 AM