Oauth Youtube Dest Start Fast

Fast-path YouTube destination connect: reuse an existing active YoutubeConnection's tokens (refresh if near expiry) instead of a fresh Google round-trip, and commit the Destination change directly.

POST-only. This path writes to the DB on the caller's say-so alone (no Google round-trip to re-confirm consent), so it must not be reachable by a plain GET: SameSite=Lax still attaches the session cookie to a top-level cross-site GET navigation, so a GET version of this fast path could be triggered by a bare link. POST closes that, matching the app's mutations-aren't-GETs rule. Returns 204 when there's no active connection to reuse; the caller falls back to the full-OAuth GET sibling below.

post/api/oauth/youtube-dest/start

Request

  • Base URL: https://sleipnir.tv (the document declares no server; this is the origin it was published from)
  • URL: https://sleipnir.tv/api/oauth/youtube-dest/start
  • Auth: none declared

Cookies

relay_sessionstring nullable

Response

Successful Response

unknown required

Changes

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