/search/feed/{channel_id}
/search/feed?channel_id=abc1234
Info | ||
---|---|---|
Returns a list of documents that should just be nsight-events for a given channel_id or the posted data (cannot be both)
|
Possible Methods
GET, POST
...
channel_id: (optional) id of the channel you want to return a feed for, used in the GET request or when passed as a query param in the POST request, will update score for that channel based on keyword searches
Json Object
Code Block |
---|
SearchFeedApiPojo { List<String> search_terms = new ArrayList<String>(); List<ChannelLocationApiPojo> locations = new ArrayList<ChannelLocationApiPojo>(); } ChannelLocationApiPojo { String location_id; Double latitude; Double longitude; Double radius; Date timestamp; } |
...
Info | ||
---|---|---|
curl -b cookies.txt -X GET "http://localhost:8185/search/feed/531f3e50b8e0a93944925594" > response.txt
|