Hello Greg,
Found a strange behavior with /list_folder/continue that you might be able to clarify. Here's how to reproduce:
- Using /list_folder/continue until you get the last cursor.
- Rename a shared folder (here "OldName" to "NewName")
- Calling /list_folder/continue with the last cursor gives me this:
{
"entries": [
{
".tag": "deleted",
"name": "oldname",
"path_lower": "/oldname",
"path_display": "/oldname"
},
{
".tag": "deleted",
"name": "newname",
"path_lower": "/newname",
"path_display": "/newname"
},
{
".tag": "deleted",
"name": "OldName",
"path_lower": "/oldname",
"path_display": "/OldName"
},
{
".tag": "folder",
"name": "NewName",
"path_lower": "/newname",
"path_display": "/NewName",
"id": "id:FolderId",
"shared_folder_id": "1479396978",
"sharing_info": {
"read_only": false,
"shared_folder_id": "sharedFolderId"
}
}
],
"cursor": "someCursor",
"has_more": true
}
Two things looks strange to me here. I get the OldName twice: with and without casing. This I can manage, but the Folder "NewName" being returned both as deleted and as a new folder is more of a problem. Is it an expected behavior?
Also, this is a behavior that I can reproduce using APIv1 /delta with a cursor. Renaming a simple (not shared) folder returns simply one entry for the deleted OldName and one for the NewName as I was expecting.
Thank you for your help.