files
GET /files/generateCseToken
Changed onGenerates a CSE token which can be used to create or update CSE files.
Request
- Base URLhttps://www.googleapis.com/drive/v3
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/driveAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive
Query parameters
fileIdstring
The ID of the file for which the JWT should be generated. If not provided, an id will be generated.
parentstring
The ID of the expected parent of the file. Used when generating a JWT for a new CSE file. If specified, the parent will be fetched, and if the parent is a shared drive item, the shared drive's policy will be used to determine the KACLS that should be used. It is invalid to specify both file_id and parent in a single request.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status
- breaking