名称 | 描述 |
---|---|
error_code | 错误码 |
error_msg | 错误描述信息,帮助理解和解决发生的错误 |
{
"error_code": 500001,
"error_msg": "param invalid"
}
curl --location --request POST 'https://qianfan.baidubce.com/wenxinworkshop/dataset/create?access_token =' \
--header 'Content-Type;' \
--header 'x-bce-date;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "hello_dataset",
"dataType": 4,
"projectType": 20,
"templateType": 2000,
"storageType": "sysBos"
}'
{
"log_id": "string",
"result": {
"id": 0,
"groupId": 0,
"groupName": "string",
"displayName": "string",
"createFrom": 0,
"bmlDatasetId": "string",
"versionId": 0,
"userId": 0,
"dataType": 0,
"projectType": 0,
"templateType": 0,
"remark": "string",
"storageInfo": {
"storageId": "string",
"storagePath": "string",
"storageName": "string"
},
"importStatus": 0,
"importProgress": 0,
"exportStatus": 0,
"releaseStatus": 0,
"status": 0,
"isUnique": 0,
"errCode": null,
"createTime": "string",
"modifyTime": "string"
},
"status": 0,
"success": true
}