REST API module for Invenio, providing content negotiation, REST endpoints registration, and error handling. Current version 3.0.1, compatible with Python >=3.7. Development is ongoing but release cadence is irregular.
pip install invenio-restVerified import paths — ran on the pinned version, not inferred.
Initialize InvenioREST with a Flask app the usual way.
Update imports and replace old registration calls with create_api_blueprint.
Use lowercase and correct format strings in Accept headers.
Replace from invenio_rest.errors import ... with from invenio_rest.error_handlers import ...
Ensure you have version >=1.0.0 and use: from invenio_rest import InvenioREST
Check your version. If >=2.0.0, use: from invenio_rest.views import create_api_blueprint