The GDPR API is a simple REST API to enable the automated deletion of assets that depict a certain person. Prerequisite is that the asset is already known to be a picture of this person, though some sort of ID, e.g. an internal employee-ID.
To be configured in {home}/appserver/conf/custom.properties
type: String, required: yes, default: -
The license key for the plugin (product: gdprApi), provided by brix.
type: String, required: yes, default: -
The token that needs to be sent in the Authorization
header for the request to be processed. You can also send it as a GET parameter token
, but it's recommended that you use the header, e.g. Authorization: Bearer <your token>
type: long, required: no, default: -
The ID of the text information field that contains the person's ID. Currently only supports a single ID in the field.
type: long, required: no, default: -
Alternatively, the ID of the number information field that contains the person's ID.
type: long, required: no, default: -
In case the trashbin feature is enabled, this plugin will automatically detect it and immediately remove an asset that has been scheduled for deletion from the trashbin as well .
Searches all assets that contain the provided ID in either the text- or number-field configured above and returns it as a list.
{
"status": 200,
"count": 2,
"deleted": 0,
"assets":[
{id: 42, name: "some asset.jpg"},
{id: 1337, name: "some other asset.png"},
]
}
Deletes all assets that contain the provided ID in either the text- or number-field configured above and returns a count.
{
"status": 200,
"count": 2,
"deleted": 2,
"assets": null
}
Authorization
)GDPR API | CELUM (min. version) |
---|---|
1.0.0 | 6.8 (tested up to 6.12) |
Release: 2022-05-19
Initial release