TextPurify/API
Rainnny7 c5c458b301
Some checks failed
Deploy / docker (17, 3.8.5) (push) Failing after 47s
Update route docs
2024-06-21 00:22:13 -04:00
..
src/main CORS 2024-06-20 11:35:35 -04:00
.gitignore API Proj 2024-06-06 12:54:20 -04:00
Dockerfile Update Dockerfile 2024-06-20 23:54:50 -04:00
pom.xml Version bump 2024-06-20 23:14:08 -04:00
README.md Update route docs 2024-06-21 00:22:13 -04:00

API

The backend API for TextPurify, responsible for the filtering and moderation of text content. The API is built using Springboot, a modern Java web framework. The API can be accessed here.

Endpoints

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
ignoredTags The tags to ignore during filtering (E.g: VULGARITY, or ADVERTISING). No