GET http://{{host}}/v1/dataset/{{dataset_id}}/slices-list
GET http://{{host}}/v1/dataset/{{dataset_id}}/slices-list
Content-Type: application/json
T-key: {{T-key}}
Response:
{
"code": "",
"msg": "",
"data": {
"items": [
{
"ds_id": "ds_gsjzgjndgpayunpnyee3",
"slc_id": "slc_e-okvcmdqrd_-iar",
"slice_name": "一个23",
"data_num": 3,
"created_at": 1623752223
}
]
}
}
POST http://{{host}}/v1/dataset/{{dataset_id}}/slices
POST http://{{host}}/v1/dataset/{{dataset_id}}/slices
Content-Type: application/json
T-key: {{T-key}}
{
"slice_name": "slice_name",
"fid": ["fid1", "fid2"]
}
Response:
{
"code": "",
"msg": "",
"data": {
"slc_id": "slc_8filvuzd4ejcr9iz",
"succ_num": 1
}
}
POST http://{{host}}/v1/dataset/{{dataset_id}}/slices
POST http://{{host}}/v1/dataset/{{dataset_id}}/slices
Content-Type: application/json
T-key: {{T-key}}
{
"slc_id": "slice_id",
"fid": ["fid1", "fid2"]
}
Response:
{
"code": "",
"msg": "",
"data": {
"slc_id": "slc_8filvuzd4ejcr9iz",
"succ_num": 1
}
}
GET http://{{host}}/v1/dataset/{{dataset_id}}/slices-info/{{slc_id}}
GET http://{{host}}/v1/dataset/{{dataset_id}}/slices-info/{{slc_id}}
Content-Type: application/json
T-key: {{T-key}}
Response:
{
"code": "",
"msg": "",
"data": {
"ds_id": "ds_gsjzgjndgpayunpnyee3",
"dataset_name": "高清图",
"slc_id": "slc_e-okvcmdqrd_-iar",
"slice_name": "一个23",
"data_num": 3,
"created_at": 1623752223
}
}