diff -r c87c3943d6ab -r a17cbf539a69 cubicweb/pyramid/__init__.py --- a/cubicweb/pyramid/__init__.py Tue Mar 10 23:44:45 2020 +0100 +++ b/cubicweb/pyramid/__init__.py Tue Mar 10 23:47:50 2020 +0100 @@ -231,6 +231,8 @@ cwconfig = config.registry.get('cubicweb.config') repo = config.registry.get('cubicweb.repository') + config.include('cubicweb.pyramid.rest_api') + if repo is not None: if cwconfig is None: config.registry['cubicweb.config'] = cwconfig = repo.config