Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Endpoint

/api/contextual-categories

 

Methods

GET, POST, PUT, DELETE

...

Code Block
{
	"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 

Code Block
languagetext
{
	"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"
		}, { ... }]
	}
}