##Overview For all the api interfaces, the server will return json format data by default. However, if you specify a "jsonp" parameter in the request, the server will return a jsonp format data.
Get
/api/client/getcontent
platform: A string indicate which platform you are requesting.
pathname: A string indicate the relative file path.
version: A integer indicate the version number specified file.
This interface will return the content of the file.
Get
/api/client/queryversion
platform: A string indicate which platform you are requesting.
pathname: A string indicate the relative file path. If this parameter is missing, the server will return the client update info.
Return a integer, which represents the latest version of that file. Or return the latest version number of the client as well as the download url.
Get
/api/v/{channel_id}
offset: Speficy the offset for the video list. Default value 0.
limit: Specify how many videos returned at most. Default value 16. Maxvalue 64.
Return the channel infomation, inclues its videos.
Get
/api/v/{channel_id}/{video_id}
None
Return the video information.
to like a video.
post
/api/video/like
channel_id: the channel_id.
video_id: the video_id.
return the video information.
to dislike a video.
post
/api/video/dislike
channel_id: the channel_id.
video_id: the video_id.
return the video information.
The Admin home page
/page/admin
GET