API

The BlurIt OP API offers several functionalities. It allows you to obtain the current license by using the GET method on the /api/license endpoint. Additionally, you can add a new license by using the POST method on the same endpoint. If a license already exists, it will be replaced by the new license.

Furthermore, the API provides the capability to add a blur task to the queue by using the POST method on the /api/blur_it endpoint. You can also add a blur task for a directory by using the POST method on the /api/blur_it/directory endpoint.

Moreover, the API allows you to retrieve the status of a task by using the GET method on the /api/task/{task_id} endpoint, where "task_id" is the task identifier.

The API documentation can be found at http://<HOST>:<API_PORT>/docs, where HOST is the IP address of the machine, and API_PORT is the value configured in the Configuration section (default value is 8080).