名称 | 描述 |
---|---|
error_code | 错误码 |
error_msg | 错误描述信息,帮助理解和解决发生的错误 |
{
"error_code": 500001,
"error_msg": "param invalid"
}
curl --location --request POST 'https://qianfan.baidubce.com/wenxinworkshop/dataset/import?access_token =' \
--header 'Content-Type;' \
--header 'x-bce-date;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"annotated": false,
"importFrom": 1,
"files": ["bos:/aip-web/ f2ffdfcf-e3d2-4368-9ce6-084af9282f93/"],
"datasetId": 2315
}'
{
"log_id": "string",
"result": true,
"status": 0,
"success": true
}