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
Parameters | Description |
---|---|
id | Identifier, required for PUT/DELETE |
category_id | The identifier of the Contextual Category |
url | Valid URL |
Example Response
Code Block | ||
---|---|---|
| ||
{
"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"
}, { ... }]
}
} |