Google drive api: copy error with scopes “drive.file” and “drive.readonly”

后端 未结 1 1643
说谎
说谎 2021-01-22 21:39

My question is if it is not possible to copy a file from one folder in drive to another folder in drive with the google drive api if you only have the scopes \"drive.file\" and

1条回答
  •  伪装坚强ぢ
    2021-01-22 22:22

    Figured I ask and put the answer up since it's hard to find info about the google drive api.

    It is possible but you also need the "drive.metadata" scope for it to work. You can ofc use the "drive" scope but that provides more access than needed.

    0 讨论(0)
提交回复
热议问题