{
"levelId": 0,
"gradeId": 0,
"backImg": "string",
"lang": [
"string"
],
"title": "string",
"tips": "string",
"coverImg": "string",
"words": [
"string"
],
"version": "NO",
"video": 0,
"examples": "string",
"duration": "string",
"status": "FAILED",
"remark": "string",
"studyWords": [
{
"id": 0,
"wordId": 0,
"chTitle": "string",
"introduce": 0,
"introduces": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"explainedType": "NO",
"explained": 0,
"grammarImage": "string",
"grammarContent": "string",
"explains": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"partTypes": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"remark": "string",
"lang": "string",
"status": "FAILED",
"wsort": 0,
"partType": 0,
"splitWord": [
{
"type": "DEF",
"word": "string",
"spell": "string",
"audio": "string",
"sort": 0,
"splices": [
{}
]
}
],
"types": [
"string"
],
"mode": "NO",
"type": "DEF",
"wordVo": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"category": "NO",
"writeSwitch": "NO",
"followSwitch": "NO",
"assemble": [
{
"key": [
"string"
]
}
]
}
]
}
curl --location --request POST 'http://test-apisix.taolihanyu.net/roadmap/chapter/add' \
--header 'payload: {'\''mid'\'':{{mid}},'\''username'\'':{{username}}}' \
--header 'Authorization: bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"levelId": 0,
"gradeId": 0,
"backImg": "string",
"lang": [
"string"
],
"title": "string",
"tips": "string",
"coverImg": "string",
"words": [
"string"
],
"version": "NO",
"video": 0,
"examples": "string",
"duration": "string",
"status": "FAILED",
"remark": "string",
"studyWords": [
{
"id": 0,
"wordId": 0,
"chTitle": "string",
"introduce": 0,
"introduces": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"explainedType": "NO",
"explained": 0,
"grammarImage": "string",
"grammarContent": "string",
"explains": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"partTypes": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"remark": "string",
"lang": "string",
"status": "FAILED",
"wsort": 0,
"partType": 0,
"splitWord": [
{
"type": "DEF",
"word": "string",
"spell": "string",
"audio": "string",
"sort": 0,
"splices": [
{}
]
}
],
"types": [
"string"
],
"mode": "NO",
"type": "DEF",
"wordVo": [
{
"dictValue": "string",
"dictLabel": "string",
"listClass": "default",
"tonePinyin": "string",
"numberPinyin": "string",
"other": "string",
"params": "string",
"category": "NO",
"type": 0
}
],
"category": "NO",
"writeSwitch": "NO",
"followSwitch": "NO",
"assemble": [
{
"key": [
"string"
]
}
]
}
]
}'
{
"code": "",
"data": 0,
"msg": "",
"total": 0
}