写真の表示
サムネイルやオリジナルの写真の表示は,
- https://
apis. live. net/ v5. 0/PHOTO_ ID /picture?type=thumbnail&access_token=ACCESS_ TOKEN
PHOTO_
写真のアップロード
アップロード方法は,
APIでは,
ビデオ情報の取得
次はビデオファイルです。ビデオファイルは,
{
"data": [
{
"id": "file.xxxxx",
"from": {
"name": "梓 中野",
"id": "xxxxx"
},
"name": "azusa.mp4",
"description": null,
"parent_id": "folder.XXXXX",
"size": 5819660,
"comments_count": 0,
"comments_enabled": false,
"tags_count": 0,
"tags_enabled": true,
"picture": "http://storage.live.com/...",
"source": "http://storage.live.com/...",
"link": "https://skydrive.live.com/redir.aspx?cid...",
"height": 360,
"width": 640,
"duration": 106138,
"bitrate": 310190,
"type": "video",
"created_time": "2012-02-09T15:11:00+0000",
"updated_time": "2012-02-09T15:12:00+0000"
}
]
}
ビデオを表すVideoオブジェクトの内容は次の通りです。Fileオブジェクトにはない項目は太字にしています。
プロパティ | 型 | 説明 |
---|---|---|
data | array | Videoオブジェクトを含む配列 |
id | string | VideoオブジェクトのID |
from | object | 作成者の情報 |
name |
string | 作成者の名前 |
id |
string | 作成者のユーザーID |
name | string | ビデオのファイル名 |
description | string | 説明 |
parent_ |
string | このビデオ上位階層のリソースID |
size | number | ビデオのサイズ |
comments_ |
number | ビデオに付けられたコメント数 |
comments_ |
true/ |
ビデオにコメント可能かどうか |
tags_ |
number | ビデオに付けられたタグ数 |
tags_ |
true/ |
ビデオにタグ埋め込み可能かどうか |
picture | ビデオを表す画像 |
|
source | string | ビデオのダウンロード用のURL |
link | string | SkyDrive上でのビデオのURL |
upload_ |
string | アプリからビデオをアップロードするためのURL Scope |
duration | number | ビデオの再生時間 |
bitrate | number | ビットレート |
type | string | オブジェクトの種類 ビデオの場合は, |
created_ |
string | ビデオの作成日時 |
updated_ |
string | ビデオの最終更新日時 |
shared_ |
object | ビデオの共有情報 |
access |
string | ビデオの共有情報 次の値のいずれか
|
Photoオブジェクトと同じく,