/channels/videos/show¶
Show information for a video from the channel.
Parameters¶
- channel_key : string
Key of the channel to which the video belongs.
- video_key (optional) : string
Key of the video which information to show.
- position (optional) : unsigned integer
Position in the channel for which video information to show.
Warning
One of the parameters video_key or position MUST be provided, not both.
Example response¶
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>ok</status>
<video key="yYul4DRz">
<author>Bits on the Run</author>
<custom>
<param1>value 1</param1>
<param2>value 2</param2>
</custom>
<date>1225962900</date>
<description>New video</description>
<duration>12.0</duration>
<link>http://www.bitsontherun.com</link>
<md5>b2d7312bd39cc60e9facc8ed3cbb6418</md5>
<mediatype>video</mediatype>
<tags>new, video</tags>
<title>New test video</title>
<views>123</views>
</video>
</response>
Response parameters¶
- /response/status : string
Call execution status. Set to ok if call executed successfully.
- //video/@key : string
Video key.
- //video/author : string
Author of the video.
- //video/custom/param1 : string
User defined parameter.
- //video/date : signed integer
UTC date and time the video was published in Unix timestamp format.
- //video/description : string
Description of the video.
- //video/duration : float
Duration of the video in seconds.
- //video/link : string
The URL of the web page where this video is published.
- //video/md5 : string
MD5 hash of the original file.
- //video/mediatype : string
Content media type:
- audio
Media type is audio.
- video
Media type is video.
- //video/tags : string
Tags of the video.
- //video/title : string
Title of the video.
- //video/views : unsigned integer
Total video views since video has been created.