Storing negative keywords list
POST Method
curl -u username:password -X POST \
--data '{"keywords":["test123","test23423"]}' \
-c cf.log -b cf.log \
https://platform.oddbytes.com/api/v1/123/negativeKeywords
JSON Response
{
"success": true,
"messages": [{
"message": "Successfully updated negative keywords list.",
"scope": "API",
"level": "success"
}
]
}
Fetch negative keywords list
GET Method
curl -u username:password -c cf.log -b cf.log \
https://platform.oddbytes.com/api/v1/123/negativeKeywords
JSON Response
{
"success": true,
"data": ["test123", "test23423"],
"total": 2
}
Deleting negative keywords list
DELETE Method
curl -u username:password -X DELETE \
--data '{"keywords":["test999","test123"]}' \
-c cf.log -b cf.log \
https://platform.oddbytes.com/api/v1/123/negativeKeywords
JSON Response
{
"success": true,
"messages": [{
"message": "Successfully updated negative keywords list.",
"scope": "API",
"level": "success"
}
]
}