メディアのメタデータの取得¶
メディアのメタデータを取得します。
GET /api/1/videos/{media_id}/info
Parameters¶
- output_type
- Response 形式
- x : XML 形式で出力
- 指定無し : JSON 形式で出力
- Response 形式
Response¶
status
- 処理結果success : 成功それ以外 : 失敗
info
メディア情報
id
- メディアID
caption
- キャプション
description
- ディスクリプション
tags
- タグ
thumbnail_url
- サムネイルのURL
sound_url
- 音声データへのURL
tile_info
- タイル情報
- version
- fvエンコーダのバージョン
- type
- タイル種別
- fps
- fps
- frames
- 総フレーム数
- level
- タイルレベル
- tile_quality
- タイル品質
- create_date
- 作成日時
- update_date
- 更新日時
- status
- タイルのステータス
- version
- タイル情報
create_date
- 作成日時
update_date
- 更新日時
status
- メディアのステータス0 : 無効1 : 有効
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>