Acquisition of media metadata¶
This API returns a media information
GET /api/1/videos/{media_id}/info
Parameters¶
- output_type
- Response type
- x: Output in XML format
- blank: Output in JSON format
- Response type
Response¶
status
- Result of processsuccess: successother: failure
info
media information
id
- media id
caption
- caption
description
- description
tags
- tag
thumbnail_url
- fv thumbnail URL
sound_url
- fv sound file URL
tile_info
- tile information
- version
- version of fv encoder
- type
- tile type
- fps
- fps
- frames
- total frame of tile
- level
- tile level
- tile_quality
- tile quality
- create_date
- creation date of tile
- update_date
- updated date of tile
- status
- tile status
- version
- tile information
create_date
- creation date of media
update_date
- updated date of media
status
- media status0: invalid1: valid
Request Example¶
GET
https://example.com/api/1/videos/22/info
Response Example - JSON¶
{
"status":"success",
"info":{
"id":"22",
"caption":"test caption",
"description":"test description",
"tags":[
"a"
],
"thumbnail_url":[
"http:\/\/example.com\/r\/p\/images\/tt\/22_144_0.jpg"
],
"sound_url":[
"http:\/\/example.com\/r\/p\/audios\/ta\/22_1.m4a"
],
"tile_info":{
"version":"3",
"type":"hd144",
"fps":30,
"frames":600,
"level":[
1
],
"tile_quality":[
1
],
"create_date":"2013-01-21 13:51:35",
"update_date":"2013-01-21 13:51:50",
"status":1
},
"create_date":"2013-01-21 13:51:10",
"update_date":"2013-02-01 14:15:08",
"status":"1"
}
}
Response Example - XML¶
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>success</status>
<info>
<id>22</id>
<caption>test caption</caption>
<description>test description</description>
<tags>
<entry>a</entry>
</tags>
<thumbnail_url>
<entry>http://example.com/r/p/images/tt/22_144_0.jpg</entry>
</thumbnail_url>
<sound_url>
<entry>http://example.com/r/p/audios/ta/22_1.m4a</entry>
</sound_url>
<tile_info>
<version>3</version>
<type>hd144</type>
<fps>30</fps>
<frames>600</frames>
<level>
<entry>1</entry>
</level>
<tile_quality>
<entry>1</entry>
</tile_quality>
<create_date>2013-01-21 13:51:35</create_date>
<update_date>2013-01-21 13:51:50</update_date>
<status>1</status>
</tile_info>
<create_date>2013-01-21 13:51:10</create_date>
<update_date>2013-02-01 14:15:08</update_date>
<status>1</status>
</info>
</response>