latestOpenAPI 3.0.02026-08-1033283.6 MB

b0608768680f

Others

Custom topics

This function is used to set custom topics

put/custom_topics/

Request body

topicstring

Example request

[
  "eddy",
  "troy"
]

Response

set list custom topic successfuly

{"stackTrail":"components:schemas:CustomTopic:properties:created_at","oasType":"schema","type":"unknown"}
idstring

Non null and unique

mobile_user_idstring

Non null and unique

topicstring

Non null

{"stackTrail":"components:schemas:CustomTopic:properties:updated_at","oasType":"schema","type":"unknown"}

Example response

[
  {
    "created_at": "2019-04-25T08:01:41.299Z",
    "id": 3,
    "mobile_user_id": 2,
    "topic": "eddy",
    "updated_at": "2019-04-25T08:01:41.299Z"
  },
  {
    "created_at": "2019-04-25T08:01:41.299Z",
    "id": 4,
    "mobile_user_id": 2,
    "topic": "troy",
    "updated_at": "2019-04-25T08:01:41.299Z"
  }
]