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

  • Base URL
    https://studio-api.meganova.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://studio-api.meganova.ai/storage-providers/google-drive/callback
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Request body

codestring required
space_idstring uuid required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.