This commit is contained in:
parent
43d0938f8f
commit
c5c458b301
@ -6,7 +6,8 @@ The backend API for TextPurify, responsible for the filtering and moderation of
|
|||||||
### POST `/content/process`
|
### POST `/content/process`
|
||||||
This endpoint is used to filter text content. The request body should be an encoded form with the following fields:
|
This endpoint is used to filter text content. The request body should be an encoded form with the following fields:
|
||||||
|
|
||||||
| Field | Description | Required |
|
| Field | Description | Required |
|
||||||
|---------------|--------------------------------------------------------|----------|
|
|---------------|---------------------------------------------------------------------------|----------|
|
||||||
| `content` | The text content to be filtered. | Yes |
|
| `content` | The text content to be filtered. | Yes |
|
||||||
| `replaceChar` | The character to use for filtered content replacement. | No |
|
| `replaceChar` | The character to use for filtered content replacement. | No |
|
||||||
|
| `ignoredTags` | The tags to ignore during filtering (E.g: `VULGARITY`, or `ADVERTISING`). | No |
|
Loading…
x
Reference in New Issue
Block a user