Click or drag to resize
GET /media
Print this page
Description

This service retrieves all media information for the current user.

Request

No request body is used for this service.

Response

On success, the response body contains an a JSON object containing MediaInfo:

Member Type Purpose
version string The version of the media information.
channels MediaChannel[] The list of channels
The media info also contains an array of MediaChannel:
Member Type Purpose
id string The ID of the video channel.
name string The name of the channel.
description string The description of the channel.
videos MediaVideo[] The list of videos for this channel.
Each media channel contains an array of MediaVideo:
Member Type Purpose
id string The ID of the video.
name string The name of the video file. If the file extension is not specified, browser clients derive it from the content type.
description string The description of the video file.
originalUrl string The default URL to the video file.
thumbnailUrl string The URL to the thumbnail image of the video file (optional).
duration int The duration of the video file in seconds.
lastUpdateTime string The time the video file was last edited.
contentType string (read-only) The MIME Content-Type (file format) of the video.

If the request fails, an Error Response is generated.