1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-01 13:17:58 +02:00
OpenIntegrations/docs/en/examples/Dropbox/CancelFolderPublication.txt
Vitaly the Alpaca (bot) ce6e0b1ee1 Main build (Jenkins)
2024-09-17 11:55:02 +03:00

13 lines
498 B
Plaintext

Token = "sl.B9HHnFxl9-J3oLueLt54-qjl0GSSVNyh2I9wzwE3710eelU9a0HoNCFC-kPTP5LvOi2f0f1gli...";
Folder = "11385952065";
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);
CurrentStatus = "in_progress";
JobID = Result["async_job_id"];
WHile CurrentStatus = "in_progress" Do
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);
CurrentStatus = Result[".tag"];
OPI_Tools.Pause(3);
EndDo;