GET/projects/api/v3/reporting/oauth/google/status.json

Get the Google OAuth status for the current user.

Returns whether the current user has a valid stored Google OAuth token that can be used to publish scheduled reports to Google Sheets / Drive.

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    OAuthStatus is the OAuth status response.
  • Code
    403
    Type
    object
    Schema
    Description
    403 Forbidden
    ErrorResponse defines how []Error should be marshaled to JSON.

Examples

200 OK

OAuthStatus
{
  "hasValidToken": true
}