POST http://{{host}}/v1/dataset/{{dataset_id}}/data
POST http://{{host}}/v1/dataset/{{dataset_id}}/data
Content-Type: application/json
T-key: {{T-key}}
{
"offset":0,
"limit":100,
"meta":{"city":"beijing","weather":"sunny"},
"label":"car",
"sensor":"camera_0"
}
Response:
{
"code": "",
"msg": "",
"data": {
"total": "1",
"files": [
{
"fid": "fs_XDTNVZ216xGdnjzxIdSN",
"ref_id": "",
"name": "文件名",
"path": "/default1/path/a.jpg",
"url": "/default1/path/a.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=%2F20210421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210421T021600Z&X-Amz-SignedHeaders=&X-Amz-Expires=43200&X-Amz-Signature=372fd9dc078c1486ae26ae7af22c001a82e4911c9a6de9f47d663475ad8ea2d3",
"md5": "md5-value",
"size": 100,
"frame_id": "frame_0001",
"sensor": "camera_0",
"meta": {
"weather": "sunny"
},
"create_at": 1618820583,
"update_at": 1618820583
}
]
}
}
无查询结果Response:
{
"code": "",
"msg": "",
"data": {
"total": 0,
"files": []
}
}
GET http://{{host}}/v1/dataset/{{dataset_id}}/fidloc/{{fid}}
GET http://{{host}}/v1/dataset/{{datasetid}}/refloc/{{ref_id}}
GET http://{{host}}/v1/dataset/{{dataset_id}}/fidloc/{{fid}}
Content-Type: application/json
T-key: {{T-key}}
Response:
{
"code": "",
"msg": "",
"data": {
"file": {
"fid": "fs_XDTNVZ216xGdnjzxIdSN",
"ref_id": "",
"name": "文件名",
"path": "/default1/path/a.jpg",
"url": "/default1/path/a.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=%2F20210421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210421T021600Z&X-Amz-SignedHeaders=&X-Amz-Expires=43200&X-Amz-Signature=372fd9dc078c1486ae26ae7af22c001a82e4911c9a6de9f47d663475ad8ea2d3",
"md5": "md5-value",
"size": 100,
"frame_id": "frame_0001",
"sensor": "camera_0",
"meta": {
"weather": "sunny"
},
"create_at": 1618820583,
"update_at": 1618820583
},
"anotations": [
{
"ano_id": "ano_fr4LuSh9qCXFUYL1Jo9x",
"label": "car",
"instance": "instance-id",
"type": "box2d",
"attrs": {
"truncate": true
},
"index":0,
"data": {
"x": 21.31,
"y": 33.22,
"width": 210,
"height": 122
}
}
]
}
}
GET http://{{host}}/v1/dataset/{{dataset_id}}/fidloc/{{fid}}/fusion
GET http://{{host}}/v1/dataset/{{datasetid}}/refloc/{{ref_id}}/fusion
GET http://{{host}}/v1/dataset/{{dataset_id}}/fidloc/{{fid}}/fusion
Content-Type: application/json
T-key: {{T-key}}
Response:
{
"code": "",
"msg": "",
"data": {
"pointcloud": {
"file": {
"fid": "fs_XDTNVZ216xGdnjzxIdSN",
"ref_id": "",
"name": "文件名",
"path": "/default1/path/a.pcd",
"url": "/default1/path/a.pcd?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=%2F20210421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210421T021600Z&X-Amz-SignedHeaders=&X-Amz-Expires=43200&X-Amz-Signature=372fd9dc078c1486ae26ae7af22c001a82e4911c9a6de9f47d663475ad8ea2d3",
"md5": "md5-value",
"size": 100,
"frame_id": "frame_0002",
"sensor": "pointcloud",
"meta": {
"weather": "sunny"
},
"create_at": 1618831431,
"update_at": 1618831431
},
"anotations": [...省略...]
},
"camera_0": {
"file": {
"fid": 771,
"ref_id": "",
"name": "文件名",
"path": "/default1/path/a.jpg",
"url": "/default1/path/a.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=%2F20210421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210421T021600Z&X-Amz-SignedHeaders=&X-Amz-Expires=43200&X-Amz-Signature=372fd9dc078c1486ae26ae7af22c001a82e4911c9a6de9f47d663475ad8ea2d3",
"md5": "md5-value",
"size": 100,
"frame_id": "frame_0002",
"sensor": "camera_0",
"meta": {
"weather": "sunny"
},
"create_at": 1618831432,
"update_at": 1618831432
},
"anotations": [...省略...]
},
"camera_1": {
"file": {
"fid": 772,
"ref_id": "",
"name": "文件名",
"path": "/default1/path/b.jpg",
"url": "/default1/path/b.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=%2F20210421%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210421T021600Z&X-Amz-SignedHeaders=&X-Amz-Expires=43200&X-Amz-Signature=372fd9dc078c1486ae26ae7af22c001a82e4911c9a6de9f47d663475ad8ea2d3",
"md5": "md5-value",
"size": 100,
"frame_id": "frame_0002",
"sensor": "camera_1",
"meta": {
"weather": "sunny"
},
"create_at": 1618831432,
"update_at": 1618831432
},
"anotations": [...省略...]
}
}
}