Contextual Categories

/api/contextual-categories


Methods

GET, POST, PUT, DELETE


ParameterDescription
idIdentifier, required for PUT/DELETE
nameName of the category
passive1/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


ParametersDescription
idIdentifier, required for PUT/DELETE
category_idThe identifier of the Contextual Category
urlValid 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"
		}, { ... }]
	}
}