Message

Handle update topic relations

This endpoint is used to handle topic relations when update

put/messages/topics/relation

Request

Request body

child_idunknown
parent_idunknown

Example request

[
  {
    "child_id": 59,
    "parent_id": 58
  },
  {
    "child_id": 60,
    "parent_id": 58
  },
  {
    "child_id": 61,
    "parent_id": 58
  },
  {
    "child_id": 70,
    "parent_id": 59
  },
  {
    "child_id": 31,
    "parent_id": 59
  }
]

Response

Handle update topic relations successfuly

child_idunknown
created_atunknown
idunknown
parent_idunknown
updated_atunknown

Example response

[
  {
    "child_id": 59,
    "created_at": "2019-04-25T09:15:20.557Z",
    "id": 1,
    "parent_id": 58,
    "updated_at": "2019-04-25T09:15:20.557Z"
  },
  {
    "child_id": 60,
    "created_at": "2019-04-25T09:15:20.557Z",
    "id": 2,
    "parent_id": 58,
    "updated_at": "2019-04-25T09:15:20.557Z"
  },
  {
    "child_id": 61,
    "created_at": "2019-04-25T09:15:20.557Z",
    "id": 3,
    "parent_id": 58,
    "updated_at": "2019-04-25T09:15:20.557Z"
  },
  {
    "child_id": 70,
    "created_at": "2019-04-25T09:15:20.557Z",
    "id": 4,
    "parent_id": 59,
    "updated_at": "2019-04-25T09:15:20.557Z"
  },
  {
    "child_id": 31,
    "created_at": "2019-04-25T09:15:20.557Z",
    "id": 5,
    "parent_id": 59,
    "updated_at": "2019-04-25T09:15:20.557Z"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.