google-drive

Mint a Google Picker token

A short-lived access token, scoped to drive.file, for the browser to render the Google Picker with, plus the app id and developer key the Picker needs. Mint one per open; never cache it.

post/google-drive/picker-token/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/google-drive/picker-token/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Response

Successful Response

access_tokenstring required

A short-lived token scoped to drive.file. Never store it.

app_idstring required

The GCP project number, for PickerBuilder.setAppId.

developer_keystring required

The public browser API key, for PickerBuilder.setDeveloperKey.

expires_atstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.