v1

latestOpenAPI 3.0.0Apache 2.02026-07-179012215.4 KB
topic

Update topic

Update a topic

put/api/users/:userId/topics/:topicId

Path parameters

userIdstring required

logged in users id

topicIdstring required

requested topics id

Request body

status'inProgress' | 'voting' | 'followUp' | 'closed'
visibility'public' | 'private'
categoriesstring[]
hashtagstring nullable
endsAtstring timestamp nullable
sourcePartnerObjectIdstring

related object id on partner

Example request

{
  "hashtag": "banana",
  "endsAt": "2018-08-06T04:11:41.568Z"
}

Response

Topic updated successfully

Example response

{
  "status": {
    "code": 20000
  }
}