...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
METHOD: POST URI: /course/v1/assessment/state/update // End point REQUEST: { "id": "api.course.assessment.state.update", "ver": "1.0", "ets": 1566884714550, //Time stamp in ms "datarequest": [{ "batchId":"", // ? already exists at event level in `cdata` "courseId":"" // ? already exists at event level in `cdata` "userId":"" // ? already exists at event level in `cdata` "attemptId":"" // Question attempt identifier "worksheetIdcontentId": "" // ? already exists at event level in `cdata` "events": [{}] //ONLY ASSESS Events }, ...], } |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{"id":"api.course.assessment.state.update","ver":"1.0","ets":1566974765224,"params":{err:err},"responseCode":"SUCCESS"} |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CREATE TABLE assessment_profileaggregator ( batch_id text, user_id text, course_id text, worksheetcontent_id text, worksheetattempt_nameid text, attemptupdated_idon texttimestamp, updatedcreated_on timestamp, createdlast_attempted_on timestamp, last_attempted_on longtotal_score text, max_score text, question list<frozen<question>>, PRIMARY KEY (worksheet_id, attempt_id, user_id, course_id, batch_id ) ) CREATE TYPE question( id text, max_score int, score int, type text, title text, pass textresvalues: list<text>, params: list<text>, description text, duration:text ); |
...