9005: Public content search
Endpoint ID: | 9005 | ||||||||||||||||||||||||||||||||||||||||
Method: | |||||||||||||||||||||||||||||||||||||||||
URL: | /content/tagged/search | ||||||||||||||||||||||||||||||||||||||||
Request body: | A JSON object describing the search parameters.
Example { "tags": [ "tag1", "tag2" ], "fromDate": "2014-01-01T01:00Z", "limit": 2, "offset": 10, "data": [ { "key": "a", "compare": ">", "compareValue": 5.1 }, { "key": "width", "compare": "!=", "compareValue": "250px" } ], "priorities": [ { "key": "b", "compare": ">", "compareValue": 10 }, { "key": "a", "compare": "desc" } ] } | ||||||||||||||||||||||||||||||||||||||||
Response body: | JSON data with an array of content. The result will also contain a Example { "content": [ { "tags": [ "tag1", "tag2" ], "content": "PGh0bWw+PGJvZHk+TW9yZSBIVE1MIGNvbnRlbnQ8L2JvZHk+PC9odG1sPg==", "contentType": "text/html", "data": { "width": "300px", "height": "50px", "a": 5.5, "b": 15 }, "created": "2014-02-10T12:53:42Z", "activeFrom": "2014-03-01T12:00:00Z", "activeTo": "2014-03-08T12:00:00Z" }, { "tags": [ "tag1", "tag2", "tag3" ], "content": "PGh0bWw+PGJvZHk+SFRNTCBjb250ZW50PC9ib2R5PjwvaHRtbD4=", "contentType": "text/html", "data": { "a": 5.9, "width": "200px" }, "created": "2014-02-08T09:00:34Z" } ], "paging": { "offset": 10, "count": 2, "more": true } } | ||||||||||||||||||||||||||||||||||||||||
Status codes: | 200 | OK | |||||||||||||||||||||||||||||||||||||||
 | 404.4 | Content not found |