search
Search topics and groups
Search topics and groups
get/api/v2/search
Query parameters
strstring required
user id
includestring required
items to include in results
offsetinteger
offset where to start returning results
limitinteger
number of results to return
pageinteger
page of results to return
Response
Users Groups activities list
Example response
{
"data": {
"results": {
"my": {
"topics": {
"rows": [
{
"id": "c2eb6752-7d88-4153-93ae-fe47aee26573",
"title": "My topic title",
"description": "<html><head></head><body><h1>My topic title</h1></body></html>",
"creator": {
"name": "John Smith"
},
"endsAt": "2018-08-06T04:11:41.568Z",
"hashtag": "banana",
"createdAt": "2018-08-06T04:11:41.568Z",
"updatedAt": "2018-08-06T04:11:41.568Z"
}
]
},
"groups": {
"rows": [
{
"id": "c2eb6752-7d88-4153-93ae-fe47aee26573",
"name": "CitizenOS members",
"creator": {
"id": "c2eb6752-7d88-4153-93ae-fe47aee26573"
}
}
]
}
},
"public": {
"topics": {
"rows": [
{
"id": "c2eb6752-7d88-4153-93ae-fe47aee26573",
"title": "My topic title",
"description": "<html><head></head><body><h1>My topic title</h1></body></html>",
"creator": {
"name": "John Smith"
},
"endsAt": "2018-08-06T04:11:41.568Z",
"hashtag": "banana",
"createdAt": "2018-08-06T04:11:41.568Z",
"updatedAt": "2018-08-06T04:11:41.568Z"
}
]
}
}
}
}
}