filtering
Set user-defined filter rules
Changed onpost/filtering/set_rules
Request
- Base URL/control (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP basic
Request body
Example request
{
"rules": [
"||example.com^",
"# comment",
"@@||www.example.com^"
]
}Response
OK.
Changes
- breaking
removed the media type
text/plainfrom the request body - info
added the media type
application/jsonto the request body
- breaking
- breaking
removed the media type
application/jsonfrom the request body - info
added the media type
text/plainto the request body
- breaking