Todo.ly REST API Method: GET /Items/Id/RootItem
Returns the root parent item for the given item Id. Use it in case you have an item that has parents and you want to load the whole tree till the root parent of this item.
URL:
https://Todo.ly/API/Items/[id]/RootItem.format
Formats:
xml, json
HTTP Method(s):
GET
Requires Authentication:
true
Parameters:
None
Usage examples:
https://Todo.ly/API/Items/1033/RootItem.xml
Response:
The response contain the details of the root item with the children collection conaining all the children items.