Skip to content

Redact Preview

POST
/ratchet/redact
curl --request POST \
--url http://localhost:8000/ratchet/redact \
--header 'Content-Type: application/json' \
--data '{}'

Show what the redactor would store for a piece of text. Nothing is logged or stored.

Media typeapplication/json
Body
object

Example generated

{}

Successful Response

Media typeapplication/json
Response Redact Preview Ratchet Redact Post
object

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}