Dropbox 2/files/list_folder/continue api give response that indicate old folder and it's all sub-folder deleted and folder with new name and all old sub-folder with new path created.
For example: 1. Have folder name 'contract test sub category 1' that have sub-folder named 'contract test sub category 1' and sub folder have 'test.png' 2. Rename the folder with 'contract test sub category 0'. Get the response that display below.
Response :{"entries": [{ ".tag":"deleted", "name":"contract test category 0", "id":"id:zN8VXp5DPoAAAAAAAAABJw", "path_lower":"/contract/contract test category 0", "path_display":"/contract/contract test category 0" }, { ".tag":"deleted", "name":"test.png", "path_lower":"/contract/contract test category 1/contract test sub category 1/test.png", "path_display":"/contract/contract test category 1/contract test sub category 1/test.png" }, { ".tag":"deleted", "name":"contract test sub category 1", "path_lower":"/contract/contract test category 1/contract test sub category 1", "path_display":"/contract/contract test category 1/contract test sub category 1" }, { ".tag":"deleted", "name":"contract test category 1", "path_lower":"/contract/contract test category 1", "path_display":"/contract/contract test category 1" }, { ".tag":"folder", "name":"contract test sub category 1", "id":"id:zN8VXp5DPoAAAAAAAAABKg", "path_lower":"/contract/contract test category 0/contract test sub category 1", "path_display":"/contract/contract test category 0/contract test sub category 1" }, { ".tag":"file", "name":"test.png", "id":"id:zN8VXp5DPoAAAAAAAAABLQ", "client_modified":"2019-01-25T12:30:58Z","server_modified":"2019-01-29T06:39:51Z", "rev":"0123a000000011c24d890", "size":181599, "path_lower":"/contract/contract test category 0/contract test sub category 1/test.png", "path_display":"/contract/contract test category 0/contract test sub category 1/test.png", }], "cursor":"AAGsW7C_w_KUDSqracbrCsltYQBEjFAgIzkiFAc-wW7q_MkvC-bsa2v9PKI9trqUlfwfvhTS-F0aqMQiZyvOMI8RkRVapojCscMh6hda97n4bk1_oC31hz6mAeuvHWaI23w7UnXHWsi9ynVh-__INwtwwOvIdNqIG1cEWZtBtvZrUsRTKgqFkypN7217AtRGOaIeTkeOK01Cc-F50eZbmg9c", "has_more":false }
I have thousand of sub-folder in folder that i want to rename and run code according to renamed folder.
I want something that indicate 'contract test sub category 1' folder to renamed to 'contract test sub category 0'.
Is there any way to detect particular folder is renamed ? Or any dropbox-api that give my expected results.