v1

latestOpenAPI 3.1.02026-07-242623413.3 KB
Open API/Dataset

Add data to dataset

Add data to a dataset.

post/dataset/addData/{datasetId}

Path parameters

datasetIdinteger required

Dataset ID

Headers

Authorizationstring

Request body

parentIdinteger nullable

Parent ID, Batch ID or Scene ID, default to null

namestring required

Name

tempFileIdsstring[] required

Temp file IDs, obtained by calling the pre-signed upload URL

Response

Success

codestring required

Error code, OK indicates success, while others indicate failure

messagestring required

Error message

{"stackTrail":"paths:/dataset/addData/{datasetId}:post:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown","description":"Response data; will be null if it is empty"}