MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=cspreport
(main | cspreport)
- This module is internal or unstable, and you should not use it. Its operation may change without notice.
- This module only accepts POST requests.
- Source: MediaWiki
- License: GPL-2.0-or-later
Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.
Specific parameters:
Other general parameters are available.
- reportonly
Mark as being a report from a monitoring policy, not an enforced policy
- Type: boolean (details)
- source
What generated the CSP header that triggered this report
- Default: internal