The following url GET https://x.x.x.x:9000/api/rest/categories/query/domain.tld
allow to check a category against a designed website.
It return a json with the attribute category as the category id number and categoryname as the category name.
If the domain is not categorized the category number 0 is returned
The following url GET https://x.x.x.x:9000/api/rest/category/list
return a json of all available categories.
the attribute categories return an array with the ID of the category ( id number ) associated to the NAME and DESCRIPTION
The following url POST https://x.x.x.x:9000/api/rest/category/create
Create a category with the following fields:
The following url GET https://x.x.x.x:9000/api/rest/category/[ID]/[sitename]
add the Website [sitename] inside the category id [ID].
If the web site is already categorized, it will be not added to the requested category.
The following url GET https://x.x.x.x:9000/api/rest/category/ID/[sitename]/force
add the Website [sitename] inside the category id [ID].
If the web site is already categorized, it will be forced (available with Artica 4.30.000000 patch 97) to be added to the requested category.
The following url GET https://x.x.x.x:9000/api/rest/category/[ID]/[sitename]/[NEXTID]
remove the website [sitename] from category id [ID] and force to add it into the category id [NEXTID].
(available with Artica 4.30.000000 patch 97)
The following url GET https://x.x.x.x:9000/api/rest/category/[ID]/[sitename]/remove
Remove the website [sitename] from category id [ID].