[关闭]
@JackieQu 2018-02-06T13:57:20.000000Z 字数 1044 阅读 269

上课实录与获奖记录

儿童编程


上课实录列表

Method and Url Structure

Method Resource URL
GET /userinfo/videos/

cURL Example

  1. curl -X GET
  2. http://localhost:8000/program_face2face/userinfo/videos/

JSON Response

  1. {
  2. "count": 3,
  3. "next": null,
  4. "previous": null,
  5. "results": [
  6. {
  7. "pk": 2,
  8. "username": "654321",
  9. "student_name": "美年达",
  10. "content": "茄子土豆大辣椒",
  11. "video": "http://www.test.com",
  12. "week": "星期一"
  13. },
  14. {
  15. "pk": 3,
  16. "username": "333333",
  17. "student_name": "白开水",
  18. "content": "蓝脸的窦尔敦盗御马啊",
  19. "video": "http://www.test.com",
  20. "week": "星期四"
  21. },
  22. {
  23. "pk": 1,
  24. "username": "123456",
  25. "student_name": "健力宝",
  26. "content": "哇哈哈加多宝大力丸",
  27. "video": "http://www.test.com",
  28. "week": "星期五"
  29. }
  30. ]
  31. }

获奖记录

Method and Url Structure

Method Resource URL
GET /userinfo/award_records/

cURL Example

  1. curl -X GET
  2. http://localhost:8000/program_face2face/userinfo/award_records/

JSON Response

  1. {
  2. "count": 3,
  3. "next": null,
  4. "previous": null,
  5. "results": [
  6. {
  7. "pk": 2,
  8. "username": "654321",
  9. "student_name": "木兰诗",
  10. "content": "唧唧复唧唧,木兰开飞机",
  11. "images": "image2"
  12. },
  13. {
  14. "pk": 3,
  15. "username": "3333333",
  16. "student_name": "嘎嘎嘎",
  17. "content": "八百标兵奔北坡",
  18. "images": "image3"
  19. },
  20. {
  21. "pk": 1,
  22. "username": "123456",
  23. "student_name": "鹅鹅鹅",
  24. "content": "松仁玉米地三鲜",
  25. "images": "image1"
  26. }
  27. ]
  28. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注