複数メディアのメタデータの取得¶
複数のメディアのメタデータを取得します。
GET /api/1/videos/info
Parameters¶
output_type
- Response 形式
- x : XML 形式で出力
 - 指定無し : JSON 形式で出力
 
 
- Response 形式
 media_ids [必須]
- 対象となるメディアID列をカンマ区切りで指定して下さい。対象メディアIDが一つの時でも対応しております。ID間に空白等をいれないで下さい。メディア指定フォーマットエラーとなります。
 
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/info?media_ids=386,387
Sample Curl Command¶
- Basic認証を使用した方法
 
curl --basic -u {your account}:{your password} \
"https://example.com/api/1/videos/info?media_ids=386,387" \
-X GET
- AccessToken認証を使用した方法
 
curl "https://example.com/api/1/videos/info?media_ids=386,387" \
-H "Authorization: Bearer {your access_token}" \
-X GET
Response Example - JSON¶
{
  "status":"success",
  "info":[
      {
        "id":"386",
        "caption":"test caption",
        "description":"test description",
        "tags":[
          "water",
          "travel",
          "no_person"
        ],
        "thumbnail_url":[
          "http:\/\/example.com\/r\/p\/images\/tt\/386_144_0.jpg",
          "http:\/\/example.com\/r\/p\/images\/tt\/386_288_0.jpg"
        ],
        "sound_url":[
          "http:\/\/example.com\/r\/p\/audios\/ta\/386_1.m4a"
        ],
        "tile_info":{
          "version":"3",
          "type":"hd144",
          "fps":30,
          "frames":600,
          "level":[
           1,
           2
          ],
          "tile_quality":[
           2
          ],
          "create_date":"2016-08-04 10:57:53",
          "update_date":"2016-08-04 10:58:04",
          "status":1
        },
        "create_date":"2016-08-04 10:57:48",
        "update_date":"2016-08-04 10:57:48",
        "status":"1"
      },
      {
        "id":"387",
        "caption":"test caption",
        "description":"test description",
        "tags":[
          "water",
          "travel",
          "no_person"
        ],
        "thumbnail_url":[
          "http:\/\/example.com\/r\/p\/images\/tt\/387_144_0.jpg",
          "http:\/\/example.com\/r\/p\/images\/tt\/387_288_0.jpg"
        ],
        "sound_url":[
          "http:\/\/example.com\/r\/p\/audios\/ta\/387_1.m4a"
        ],
        "tile_info":{
          "version":"3",
          "type":"hd144",
          "fps":30,
          "frames":600,
          "level":[
           1,
           2
          ],
          "tile_quality":[
           2
          ],
          "create_date":"2016-08-04 10:57:53",
          "update_date":"2016-08-04 10:58:04",
          "status":1
        },
        "create_date":"2016-08-04 10:57:48",
        "update_date":"2016-08-04 10:57:48",
        "status":"1"
      }
}
Response Example - XML¶
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>success</status>
<info>
    <entry>
        <id>387</id>
        <caption />
        <description />
        <tags>
            <entry>water</entry>
            <entry>travel</entry>
            <entry>no_person</entry>
        </tags>
        <thumbnail_url>
            <entry>http://example.com/r/p/images/tt/387_144_0.jpg</entry>
            <entry>http://example.com/r/p/images/tt/387_288_0.jpg</entry>
        </thumbnail_url>
        <sound_url />
        <tile_info>
            <version>3</version>
            <type>hd144</type>
            <fps>30</fps>
            <frames>270</frames>
            <level>
                <entry>1</entry>
                <entry>2</entry>
            </level>
            <tile_quality>
                <entry>2</entry>
            </tile_quality>
            <create_date>2016-08-04 10:57:53</create_date>
            <update_date>2016-08-04 10:58:04</update_date>
            <status>1</status>
        </tile_info>
        <create_date>2016-08-04 10:57:48</create_date>
        <update_date>2016-08-04 10:57:48</update_date>
        <status>0</status>
    </entry>
    <entry>
        <id>386</id>
        <caption />
        <description />
        <tags>
            <entry>water</entry>
            <entry>travel</entry>
            <entry>no_person</entry>
        </tags>
        <thumbnail_url>
            <entry>http://example.com/r/p/images/tt/386_144_0.jpg</entry>
            <entry>http://example.com/r/p/images/tt/386_288_0.jpg</entry>
        </thumbnail_url>
        <sound_url />
        <tile_info>
            <version>3</version>
            <type>hd144</type>
            <fps>30</fps>
            <frames>270</frames>
            <level>
                <entry>1</entry>
                <entry>2</entry>
            </level>
            <tile_quality>
                <entry>2</entry>
            </tile_quality>
            <create_date>2016-08-04 10:57:28</create_date>
            <update_date>2016-08-04 10:57:40</update_date>
            <status>1</status>
        </tile_info>
        <create_date>2016-08-04 10:57:24</create_date>
        <update_date>2016-08-04 10:57:24</update_date>
        <status>0</status>
    </entry>
</info>
</response>