Search Teams

GET/api/teams/search/{keyword}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
keyword String Search keywords, matched against the team title
curl -X GET "https://yoursite.com/api/teams/search/acme" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
[
  { "id": "1", "title": "Design", "members": "3,7,12" }
]

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }
MethodGET
Path/api/teams/search/{keyword}
GroupTeam
Sincev1.0.0
Defined inRestApi/Controllers/TeamController.php