From c5c458b3018fb3e18fa199dc3c25b89f758bf74f Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Fri, 21 Jun 2024 00:22:13 -0400 Subject: [PATCH] Update route docs --- API/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/API/README.md b/API/README.md index 558df91..a4c58ac 100644 --- a/API/README.md +++ b/API/README.md @@ -6,7 +6,8 @@ The backend API for TextPurify, responsible for the filtering and moderation of ### POST `/content/process` This endpoint is used to filter text content. The request body should be an encoded form with the following fields: -| Field | Description | Required | -|---------------|--------------------------------------------------------|----------| -| `content` | The text content to be filtered. | Yes | -| `replaceChar` | The character to use for filtered content replacement. | No | \ No newline at end of file +| Field | Description | Required | +|---------------|---------------------------------------------------------------------------|----------| +| `content` | The text content to be filtered. | Yes | +| `replaceChar` | The character to use for filtered content replacement. | No | +| `ignoredTags` | The tags to ignore during filtering (E.g: `VULGARITY`, or `ADVERTISING`). | No | \ No newline at end of file