79163672

Date: 2024-11-06 17:36:29
Score: 1
Natty:
Report link

After carefull investigation of the API documentation, I've arrived to the conclusion that there is no parameter that we can add to the changes.list endpoint to get the name or path for removed files.

Therefore, As I'm developing an app tha synces changes to a google drive account with the local file system, to be able to process the removal of files, I've ended up maintaining a dictionary with the fileId as the key, and the full path of each file as value. That way, each time a I get notified about a removed operation I know which phisical file it refers to and I'm able to delete it.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Enric