Contextual Categories
/api/contextual-categories
Methods
GET, POST, PUT, DELETE
Parameter | Description |
---|---|
id | Identifier, required for PUT/DELETE |
name | Name of the category |
passive | 1/0 optional. Passive tags are not used for the classification engine |
Example response
{ "response": { "status": "OK", "contextual_categories": [{ "id": "1", "customer": null, "name": "News", "passive": "0", "deleted": "0", "modified": "2017-02-22 13:57:57", "created": "2017-02-22 13:57:57" }, { ... }] } }
/api/contextual-categories-urls
Methods
GET, POST, PUT, DELETE
Parameters | Description |
---|---|
id | Identifier, required for PUT/DELETE |
category_id | The identifier of the Contextual Category |
url | Valid URL |
Example Response
{ "response": { "status": "OK", "contextual_categories_urls": [{ "id": "1", "customer": null, "category_id": "1", "url": "http:\/\/www.telegraph.co.uk\/", "deleted": "0", "modified": "2017-02-22 14:20:21", "created": "2017-02-22 14:20:21" }, { ... }] } }