https://all-dream.com/ 奥梦编程 1 对 1 的 Share big wall API 收集
都是 JSON RESTFul API
+ 分享作品计数
GET/POST https://all-dream.com/rest/share/queryCount
GET/POST https://all-dream.com/rest/share/list
可选参数
+ 根据 UID 查询用户详细数据
POST https://all-dream.com/rest/shareUserInfo/queryByUserId
+ 查询用户简略数据
POST https://all-dream.com/rest/student/find
POST https://all-dream.com/rest/share/queryById
表单参数 id 作品 ID
都是 JSON RESTFul API
+ 分享作品计数
GET/POST https://all-dream.com/rest/share/queryCount
{
"homeworkCount": 0,
"shareCount": 4405,
"achievementCount": 0,
"total": 4405, // 全部分享数
"mindMappingCount": 500, // 思维导图数
"SB2Count": 2784, // Scratch 数
"JSCount": 1106, // JS Turtle 数
"promote": 21// 钦定的项目数目
}
+ 分享作品列表GET/POST https://all-dream.com/rest/share/list
可选参数
表单数据.
bigType 1 // 大类,如果为 3 就意味着返回全部项目
isMyShare 0 // 是我的项目吗?
page 1 // 分页,也可以是 pageSize
rows 12 // 每页几条项目?
shareType 1 // 分享类型,1 是 SB2、2 是 Turtle、0 是 MindMap
visit 0 // 访问数?
pageNum 1
pageSize 10
size 10
startRow 1
endRow 10
total 11477
pages 1148
list […] // 就是下面那个 JSON 对象的列表
firstPage 1
prePage 0
nextPage 2
lastPage 8
isFirstPage true
isLastPage false
hasPreviousPage false
hasNextPage true
navigatePages 8
navigatepageNums […]
+ 根据 UID 查询用户详细数据
POST https://all-dream.com/rest/shareUserInfo/queryByUserId
它从 Cookie 中获取数据
返回数据省略+ 查询用户简略数据
POST https://all-dream.com/rest/student/find
表单数据 studentId+ 查询作品数据
学生 ID
POST https://all-dream.com/rest/share/queryById
表单参数 id 作品 ID
id 1e3814ef57704e7298568dd3384f5e4dps: 他们这搞得怕不是有问题,怎么不是 list 获取 getById 的引用而是 list 直接返回一切呢?这根本有问题...
userId a246afda6d49462181db714b502c6009
userType student
shareType 1
coverUrl exercise/edfd04b0603a4ade96e11714dddbb845.jpg
fileUrl exercise/fbaaacd76ea5458384735d8f8b0a49de.sb2
shareTitle 旋转小雨滴
visit 1642
star 1406
shareContent 利用等差数列画出小椎体
note null
state 0
bigType 1
createTime 1520588651000
updateTime 1520588651000
name 穆言早
phone 13820826641
sex 1
type student
score null
inventory {"profile":[1,5],"level":5}
setting null
gold null
promote null
sort 0
liked false
postUrl rest/page/html/bigwall?id=1e3814ef57704e7298568dd3384f5e4d
grade 二年级
area null
stuId a246afda6d49462181db714b502c6009
courseTypeName 创意数学艺术编程一(上)
courseHourId null
totalDay 175
totalCount 0