需要以表格形式提供完整的错误码信息,表格中必须包含 HTTP 状态码、错误码、描述 和 排查建议 4 项。 描述在代码中是英文,这里建议换行补充对应的中文描述,方便开发者理解。
| HTTP 状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 200 | 28001003 | access_token无效 | 排查token是否还在有效期内 |
| 200 | 28005001 | 请求参数错误 | 检查请求参数是否正常 |
| 200 | 28005002 | 系统异常 | 内部错误 |
curl --location --request POST 'http://dev-cn.your-api-server.com/api/apps/v1/convert_video_id/open_item_id_to_encrypt_id/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"video_ids":[
"xxxxxxx"
],
"access_key":"ttxxxx"
}'{
"err_no": 0,
"err_msg": "",
"data": {
"convert_result": {
"video1": "result1",
"video2": "result2"
}
}
}