Image library の target image リスト | GET /targets/infos
image library 内の target image リストを取得します。pageNum と pageSize パラメータを使って、対応するページ内容へジャンプできます。
Action
GET /targets/infos
認証
Http Header
Content-Type=application/json
HTTP Header: Authorization、API Key Token 認証を使用する場合
Request パラメータ
| Field | Type | Required | Description |
|---|---|---|---|
| pageNum | int | No | ページ番号。デフォルト 1 |
| pageSize | int | No | ページサイズ。デフォルト 5、最大 100 |
Response フィールド
| Field | Description |
|---|---|
| statusCode | ステータスコード。0 は認証が正しいことを示します。詳細は ステータスコード を参照 |
| result | 複数の target image 構造の配列 |
| timestamp | response 返却時のサーバー側時刻。Unix timestamp 形式を使用し、単位はミリ秒 |
エラーコード
ステータスコードおよびエラーコード一覧を参照してください
Request 例
GET /targets/infos?pageNum=2×tamp=xxx&appKey=xxx&signature=xxx
HTTP/1.1
Host:
Date: Mon, 1 Jan 2018 00:00:00 GMT
Response 例
HTTP/1.1 200 OK
Content-Type: application/json
{
"statusCode": 0,
"result": {
"targets":
[
{
"targetId":"e61db301-e80f-4025-b822-9a00eb48d8d2",
"name": "easyar",
"size": "5",
"meta": "496fbbabc2b38ecs3460a...",
"type": "ImageTarget",
"appKey":"xxxxx",
"active":"1",
"modified": 1498108419905
}
]
},
"timestamp": 1514736000000,
}