1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt
T
Vitaly the Alpaca (bot) 6473088320 Main build (Jenkins)
2024-11-05 13:10:27 +03:00

7 lines
414 B
Plaintext

Token = "ya29.a0AeDClZCyyq2tOx0JRD_XVIaMyzhn2uw2tXz5q_8IavFpdrB2btMzTnCCZO3k0K-cq5rv7dXqrg2-ddLdFJqrq0HqLeTkWJkeFqI6iaoCX...";
NewName = "UpdatedFile.jpg";
Identifier = "1g5oQGNJXwcA4L3f6ug0vuw95AKhI7ZJQ";
File = "https://api.athenaeum.digital/test_data/picture2.jpg"; // URL, Binary Data or Path to file
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);