topic
Get all public topics
Get all public topics
get/api/topics
Query parameters
includestring
if return objects should include vote, event fields
offsetinteger
Offset index of results for paggination purposes
limitinteger
number of results to return
statusesinteger
Offset index of results for paggination purposes
categoriesstring[]
Array of categories that topics are included in
sourcePartnerIdstring
return only topics created by source partner
titlestring
can be used for search
Response
Return all user related topics
Example response
{
"status": {
"code": 20000
},
"data": {
"count": 1,
"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"
}
]
}
}