List targets in space | GET /targets/¶
Get the list of targets in the Cloud Database, desc by time. Pagenation is supported by pageNum and pageSize.
Action¶
GET /targets/infos/
Authentication¶
Yes
Request parameters¶
Field |
Type |
Required |
Description |
---|---|---|---|
pageNum |
int |
No |
pagination of targets. go to this number’s page. Default is 1, max 100 |
pageSize |
int |
No |
page size. Default 5. |
Response fields¶
Array of target images, each of which is same as POST /targets/
Example¶
Request
GET /targets/infos?pageNum=2&date=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,
}
Source Code of Samples¶
EasyAR also provides Target Management Samples for developers by following languages: