Problem/Motivation

When using contextual filters and setting the result of missing parameters to Display "Access denied" or Display contents of "No results found" it would be great if the REST view could return the according HTTP status code.

Currently, it always returns status code 200 despite access denied or no results found.

Steps to reproduce

See above

Proposed resolution

Return HTTP status code 404 if "No results found" and 403 if "Access denied".

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Please only use Merge requests for contributing to this issue. Using Gitlab Please do not use patches for contributing to this project.

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

anybody created an issue.