Search Proposal Comments
GET/api/proposal-comments/search/{keyword}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| keyword | String | Search keywords, matched against the comment text |
curl -X GET "https://yoursite.com/api/proposal-comments/search/acme" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
[
{
"id": "1",
"description": "Comment text"
}
] Error-Response:
HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }