1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UpdateFile.txt
Vitaly the Alpaca (bot) cf9ba6cec5 Main build (Jenkins)
2025-05-01 12:55:47 +03:00

7 lines
411 B
Plaintext
Vendored

Token = "ya29.a0AZYkNZiCaf3vW8I05cl_i6pLKCRWSjff1YhC7Yi0SgLO50zysjwrX_9QPi1WejmqgGdFjcbaOJKsPO3tvT7gB712mg1gxgxiL1pCUVthx...";
NewName = "UpdatedFile.jpg";
Identifier = "1CK_FNwlq0eNfmse2YyeXaNStG80Lu2wI";
File = "https://api.athenaeum.digital/test_data/picture2.jpg"; // URL, Binary Data or File path
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);