Insert a Child Tracker Item
Using the PATCH /v3/items/{itemId}/children endpoint we can insert a new child into a specified position.
Request:
/v3/items/54218/children?mode=INSERT
{
"itemReference": {
"id": 54217,
"name": "Night Mode Test",
"type": "TrackerItemReference"
},
"index": 0
}
Response:
{
"itemReference": {
"id": 54217,
"name": "Night Mode Test",
"type": "TrackerItemReference"
},
"index": 0
}
The new item is inserted into the first place of the child list.