You need to sign in or sign up before continuing.
y阶段数.md 1.62 KB

阶段数

1. 首页查询阶段数信息

api-online.test.boxfish.cn/event/statistic/stage/info?access_token=admin
GET
返回:
{ "stage_level": 1, "stage": 1, "progress": "0.00", "record_score": 0, "listening_duration": 8, "multiword_count": 0 }

2. 阶段数对学习量预测接口

api-online.test.boxfish.cn/stage/multiword/info?access_token=admin
GET
返回:
{ "increment": { "multi_word_increase": 748, "word_increase": 706, "reading_amount_increase": 569, "listening_time_increase": 8238, "record_time_increase": 9968, "phrase_increase": 501 }, "weeks": "预计1周完成", "level": 1, "stage": 1 }

3. 首页学习情况显示总量接口

api-online.test.boxfish.cn/event/statistic/learning/today/progress?access_token=admin
GET
返回:
{ "wordCount": 0, "readWordCount": 0, "recordScore": 0, "listeningDuration": 8, "multiwordNum": 0, "progressTodayStart": "1.719", "progressTodayNow": "1.719", "todayScore": 0, "stageLevel": 1, "stage": 1 }

4. 设置学习偏好

api-online.test.boxfish.cn/preference/setting?access_token=admin
POST
x-www-form-urlencoded参数:
grade="六年级"
publication=“PEP版六年级上”
level=1
plan=ONE_HOUR
备注:plan约定(HALF_HOUR , ONE_HOUR , TWO_HOUR)
返回:
{ "goal": { "id": 1, "current_step": 3218, "goal_step": 55000 } }

5. 设置课程学习计划

api-online.test.boxfish.cn/preference/purchase/setting?purchase=OPEN_4P&access_token=admin
POST
参数约定: purchase=OPEN或OPEN_4P或OPEN_1P; 返回:
{ "msg": "success" }