v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-136454227.5 KB
files

Generates a CSE token which can be used to create or update CSE files.

get/files/generateCseToken

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