latestOpenAPI 3.0.02026-08-1033283.6 MB
b0608768680f
Message
Handle update topic relations
This endpoint is used to handle topic relations when update
put/messages/topics/relation
Request body
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
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"
}
]