latestOpenAPI 3.1.02026-08-10466368560.6 KB
2b2bab8b9017
storage-providers
Google Drive Exchange Token
Exchange the OAuth authorization code for tokens and connect Google Drive.
Called by the frontend after receiving the code from the popup via postMessage. This endpoint is authenticated — the user's JWT is used to verify ownership.
post/storage-providers/google-drive/callback
Request body
Response
Successful Response
{"stackTrail":"paths:/storage-providers/google-drive/callback:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}