Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All |
Delegated (personal Microsoft account) | Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All |
Application | Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All |
Name | Value | Description |
---|---|---|
if-none-match | String | If this request header is included and the eTag (or cTag) provided matches the current tag on the file, an HTTP 304 Not Modified response is returned. |
302 Found
response redirecting to a pre-authenticated download URL for the file.This is the same URL available through the @microsoft.graph.downloadUrl
property on the DriveItem.Location
header in the response.Many HTTP client libraries will automatically follow the 302 redirection and start downloading the file immediately.Authorization
header to download.Range
header as specified in RFC 2616.Note that you must append the Range
header to the actual @microsoft.graph.downloadUrl
URL and not to the request for /content
.HTTP 206 Partial Content
response with the request range of bytes from the file.If the range cannot be generated the Range header may be ignored and an HTTP 200
response would be returned with the full contents of the file.GDRIVE
that link to a file with such structure