Skip to main content

REST API module for Invenio.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-rest.svg https://github.com/inveniosoftware/invenio-rest/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-rest.svg https://img.shields.io/pypi/v/invenio-rest.svg

REST API module for Invenio.

Invenio-REST takes care of installing basic error handling on a Flask API application, as well as initializing Flask-CORS for Cross-Origin Resources Sharing (not enabled by default).

Further documentation is available on https://invenio-rest.readthedocs.io/

Changes

Version 1.2.6 (released 2021-12-05)

  • Add support for CSRF token rotation during a grace period to allow clients transparently rotate the CSRF token without being prompted with CSRF errors.

Version 1.2.5 (released 2021-12-04)

  • Fix issue with CSRF token being reset on every request.

Version 1.2.4 (released 2021-10-18)

  • Support for Flask v2.0

Version 1.2.3 (released 2020-12-07)

  • Fixes a bug with CSRF checking when the endpoint did not exist.

Version 1.2.2 (released 2020-09-27)

  • Adds Cache-Control:’no-cache’ header to 304 responses to ensure that browsers will not cache responses client side

Version 1.2.1 (released 2020-05-08)

  • The CSRF Middleware is now by default disabled.

  • The CSRF_SECRET_SALT now defaults to invenio-csrf-token.

  • Added a new configuration variable: CSRF_FORCE_SECURE_REFERER.

Version 1.2.0 (released 2020-03-10)

  • Centralize dependency management via Invenio-Base.

Version 1.1.3 (released 2020-01-08)

  • Set upper limit version of webargs, lower than 6.0.0.

Version 1.1.2 (released 2019-09-19)

  • Bumps webargs to 5.5.0 (provides support for marshmallow 3).

Version 1.1.1 (released 2019-08-02)

  • Bumps marshmallow to 2.15.2 (minimum required by webargs).

Version 1.1.0 (released 2019-07-31)

  • Adds marshmallow 2 vs 3 compatibility functions.

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-rest-1.2.7.tar.gz (35.2 kB view details)

Uploaded Source

Built Distribution

invenio_rest-1.2.7-py2.py3-none-any.whl (21.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-rest-1.2.7.tar.gz.

File metadata

  • Download URL: invenio-rest-1.2.7.tar.gz
  • Upload date:
  • Size: 35.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for invenio-rest-1.2.7.tar.gz
Algorithm Hash digest
SHA256 a6d3fe277fd8df95d1b1ef585571d0ec2d2e544aef6b7c4b49185d9263078ded
MD5 057c6a041075b52e396a399ef271a02e
BLAKE2b-256 ddfde3900ca2deed50b4ff95c38b7edd0e2163086a74a3b3a8222221e5a2d49d

See more details on using hashes here.

Provenance

File details

Details for the file invenio_rest-1.2.7-py2.py3-none-any.whl.

File metadata

  • Download URL: invenio_rest-1.2.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for invenio_rest-1.2.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3695d4127e6406d6af89feea9f9e04713215296a8816d0c3d969e16a53e3e50
MD5 005e2a6758c5d448b71d7d137220773c
BLAKE2b-256 310b6710a30898b600661ddaa51e57c2a0cefed8c4a2f20ca9f91c9abf3e3d9f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page