videosphere
    Preparing search index...

    Function fetchVimeoAccountDefaults

    • Reads upload defaults from the authenticated Vimeo user (GET /me).

      Parameters

      • accessToken: string

        OAuth access token with Vimeo read scope.

      • Optionalsignal: AbortSignal

        Optional abort signal.

      • OptionalcontentRatings: VimeoContentRatingOption[]

        Optional pre-fetched content rating rows to avoid duplicate /contentratings calls.

      Returns Promise<
          | { ok: true; defaults: VimeoAccountDefaults }
          | { ok: false; details: string },
      >

      Account defaults sourced from the Vimeo /me response.