getVideoById
From ThirdPresence Wiki
Description
Gets related video metadata of a single video file based on its id
Request parameters
| Name | Description | Required |
| videoId | Thirdpresence id for VideoItem. Required if providerId is null. | no if providerId defined |
| providerId | Customer own id for video. (Max. 255 length String). Required if videoId is null. | no if videoId defined |
Response Elements
VideoItem as JSON String.
Examples
Example requests
http://api.thirdpresence.com/10-09/video/?Action=getVideoById& authToken=ewqdcasd34kd09u&version=10-09& videoId=77882
Example Response
{
"id":10,
"name":"This is a video file",
"synopsis":"",
"thumbnail":"http://server.com/thumbnail.jpg",
"position":0,
"created":"15.01.2010 13:36:32 +0200",
"releasetime":"15.01.2010 13:36:32 +0200",
"expiretime":"0",
"status":"ACTIVE",
"description":"",
"directurl":"http://streamingserver.thirdpresence.com/watch.jsp?iid\u003d10",
"metadata":{}
}
This page was last modified on 2 February 2010, at 12:25.