获取用于列出未来更改的起始 pageToken。
HTTP 请求
GET https://www.googleapis.com/drive/v2/changes/startPageToken
网址采用 gRPC 转码语法。
查询参数
| 参数 | |
|---|---|
driveId | 
                
                   
 共享云端硬盘的 ID。系统会为该共享云端硬盘返回用于列出该共享云端硬盘中未来更改的起始页面令牌。  | 
              
supportsAllDrives | 
                
                   
 请求访问权限的应用是否同时支持“我的云端硬盘”和共享云端硬盘。  | 
              
supportsTeamDrives | 
                
                   
 已弃用:请改用   | 
              
teamDriveId | 
                
                   
 已弃用:请改用   | 
              
请求正文
请求正文必须为空。
响应正文
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 | 
|---|
{ "startPageToken": string, "kind": string }  | 
                  
| 字段 | |
|---|---|
startPageToken | 
                    
                       
 用于列表更改的起始页令牌。  | 
                  
kind | 
                    
                       
 表明这是哪类资源。值:固定字符串   | 
                  
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/docshttps://www.googleapis.com/auth/drivehttps://www.googleapis.com/auth/drive.appdatahttps://www.googleapis.com/auth/drive.apps.readonlyhttps://www.googleapis.com/auth/drive.filehttps://www.googleapis.com/auth/drive.meet.readonlyhttps://www.googleapis.com/auth/drive.metadatahttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/drive.photos.readonlyhttps://www.googleapis.com/auth/drive.readonly
某些镜重受限,您的应用需要接受安全评估才能使用它们。如需了解详情,请参阅授权指南。