/channel/{channel_id}/keywords
Info |
---|
Add or remove a list of keywords to modify the scoring of a channel (typically used to seed a new channel). All given keywords will try to find any entities matching using search suggest and update their scores accordingly e.g. given the keyword "obama" this call might update entity scores for [barack obama/person, michelle obama/person, obama administration/other, etc]. POST - will add any new keywords (and associated entities) |
Possible Methods
POST PUT DELETE
Arguments
channel_id (required)
Channel id to modify
...
Code Block |
---|
curl -b cookies.txt -X POST -d '{"keywords":"["obama","hillary"]}' "http://localhost:8185/channel/531733e8b8e08e9d2197b0b0/keywords" > response.txt
curl -b cookies.txt -X PUT -d '{"keywords":"["obama","hillary"]}' "http://localhost:8185/channel/531733e8b8e08e9d2197b0b0/keywords" > response.txt
curl -b cookies.txt -X DELETE -d '{"keywords":"["obama","hillary"]}' "http://localhost:8185/channel/531733e8b8e08e9d2197b0b0/keywords" > response.txt |
...