media

GET /v1/media/{mediaId}

Method for media download. Download is supported on the URI /v1/media/{+name}?alt=media.

Request

  • Base URL
    https://youtubereporting.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/yt-analytics-monetary.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/yt-analytics-monetary.readonly
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/yt-analytics.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/yt-analytics.readonly

Path parameters

mediaIdstring required

Response

Successful response

algorithmstring

gdata

bigstoreObjectRefstring byte

gdata

blobRefstring byte

gdata

contentTypestring

gdata

cosmoBinaryReferencestring byte

gdata

crc32cHashinteger

gdata

filenamestring

gdata

hashstring

gdata

hashVerifiedboolean

gdata

inlinestring byte

gdata

isPotentialRetryboolean

gdata

lengthstring int64

gdata

md5Hashstring byte

gdata

mediaIdstring byte

gdata

pathstring

gdata

referenceType'PATH' | 'BLOB_REF' | 'INLINE' | 'GET_MEDIA' | 'COMPOSITE_MEDIA' | 'BIGSTORE_REF' | 'DIFF_VERSION_RESPONSE' | 'DIFF_CHECKSUMS_RESPONSE' | 'DIFF_DOWNLOAD_RESPONSE' | 'DIFF_UPLOAD_REQUEST' | 'DIFF_UPLOAD_RESPONSE' | 'COSMO_BINARY_REFERENCE' | 'ARBITRARY_BYTES'

gdata

sha1Hashstring byte

gdata

sha256Hashstring byte

gdata

sha512Hashstring byte

gdata

timestampstring uint64

gdata

tokenstring

gdata

Changes

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