Google Drive MD5 checksum for files

前端 未结 4 1344
感动是毒
感动是毒 2021-01-30 01:09

I\'m not a programmer, just a regular user of Google Drive. I want to see if the files are uploaded correctly. I go through a whole process in the OAuth 2.0 Playground that list

4条回答
  •  既然无缘
    2021-01-30 01:43

    edit: NB these instructions have changed slightly for the v3 API

    I've figured out a quick way to get the MD5 checksums of the files uploaded and decided to share it here, too. Log into your Google Drive account, then:

    Visit: https://developers.google.com/drive/v3/reference/files/list

    Scroll down to the Try it! section.

    Change "Authorize requests using OAuth 2.0" from OFF to ON by clicking on it, then select:

    https://www.googleapis.com/auth/drive.metadata.readonly

    and click Authorize.

    Choose your account then click Accept.

    Fill in the fields field with:

    for v2 API:

    items(md5Checksum,originalFilename)

    for v3 API:

    open "Show standard parameters" in GUI to see fields than

    files(md5Checksum,originalFilename)

    to only get a list of filenames and MD5 checksums.

    Click Execute and you'll open a list with all the files uploaded to Google Drive and their MD5 checksums.

提交回复
热议问题