{"_id":"5d44124c9248a0002127f0f6","project":"56439dfe9eebf70d00490d54","version":{"_id":"5864d2df79ce642d00f0fec7","project":"56439dfe9eebf70d00490d54","__v":16,"createdAt":"2016-12-29T09:09:51.074Z","releaseDate":"2016-12-29T09:09:51.074Z","categories":["5864d2df79ce642d00f0fec8","5864d2df79ce642d00f0fec9","5864d2df79ce642d00f0feca","5864d2df79ce642d00f0fecb","5864d2df79ce642d00f0fecc","5864d2df79ce642d00f0fecd","5864d2df79ce642d00f0fece","5864d2df79ce642d00f0fecf","5864d2df79ce642d00f0fed0","5864d2df79ce642d00f0fed1","5864d2df79ce642d00f0fed2","5864d2df79ce642d00f0fed3","5864d2df79ce642d00f0fed4","5864d2df79ce642d00f0fed5","5864d2df79ce642d00f0fed6","5864d2df79ce642d00f0fed7","5864d2df79ce642d00f0fed8","5864d2df79ce642d00f0fed9","5864d2df79ce642d00f0feda","5864d2df79ce642d00f0fedb","5864d2df79ce642d00f0fedc","5864d2df79ce642d00f0fedd","5864d2df79ce642d00f0fede","598aa64f4b6e990019b7a2d2","599bc76bc03fa2000f83db2a","599bcc3c3c5bf7000f3434fc","5d427dc9fa56fa0011135058","5d429c616863d5003af785a7","5d429e0889418f00c5e95d3f","5d42b5f098b05e003acb08b4","5d43c16985775c00ebeede3b","5d43d15446d584003da91e6d","5d43d61a5bdac50011b6f234","5d43d7c2db365100640dbc58","5d43d954bffa8400ff7efa78","5d43e414cf4f03005944344c","5d43eb42db365100640dbe4a","5d43ee6c78121b0057bc1dbf"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"category":{"_id":"5d43e414cf4f03005944344c","project":"56439dfe9eebf70d00490d54","version":"5864d2df79ce642d00f0fec7","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2019-08-02T07:19:48.122Z","from_sync":false,"order":9999,"slug":"newclass-performance-apisfor-nile","title":"New\tClass Performance APIs\tfor NILE"},"user":"5d411a29005b9600113731fd","__v":1,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2019-08-02T10:37:00.072Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"get","examples":{"codes":[{"code":"curl\t\n'http://localhost:8082/api/nucleus-insights/v2/dca/class/af6c4b85-7d02-410e-b1ae-91e892ee3\n4c6/collection/469b7887-f58f-43f6-8c38-484063e82687/session/d70fd9cc-d2a6-4cc7-9721-dc\nc233a41e49/performance?userId=23ac438a-eb2b-483b-8deb-187437d553a0'\t-H\t\n'Authorization:\tToken\t\nMjoxNTM2NzM5Mzk1Mjk2OmRmOTU2ZDVmLWI3YjItNDNhZS05OGExLWM5MGExMmVhY\n2FmOTo6YmE5NTZhOTctYWUxNS0xMWU1LWEzMDItZjhhOTYzMDY1OTc2'\t-H\t\n'Accept-Encoding:\tgzip,\tdeflate'\t-H\t'Accept-Language:\ten-US,en;q=0.9'\t-H\t'Connection:\t\nkeep-alive'\t--compressed \t","language":"text"}]},"results":{"codes":[{"name":"","code":"{\n  \"content\"\t: [\n\t \t\n{\t\n\"collection\"\t\n: {\n\"collectionId\": \"369b7887-f58f-43f6-8c38-48403e82687\",\t\n\"views\": 1,\n\t \t\n\"reaction\": 5,\n\t \t\n\"timeSpent\": 34000,\t\n\"eventTime\": 1515637968709,\t\n\"collectionType\": \" collection\",\t\n\"score\": 100\t,\t\n\"maxScore\"\t: 1.0\t\n}\t,\t\n\"usageData\"\t: [\n\t \t\n{\t\n\"reaction\": 5,\n\t \t\n\"questionType\"\t: \"OE\",\t\n\"timeSpent\": 11000,\t\n\"resourceType\": \"question\",\t\n\"gooruOId\"\t: \"88e3a2b3-1f06-4312-8eac-e2e9457dddae\"\t,\t\n\"views\": 1,\n\t \t\n\"answerObject\"\t: [\n\t \t\n],\t\n\"answerStatus\": \"attempted\",\t\n\"rawScore\": 0,\n\t \t\n\"maxScore\": 0.0,\t\n\"score\": \"NA\",\t\n\"isGraded\": false\t\n},\t\n{\t\n\"reaction\": 0,\n\t \t\n\"questionType\": \"NA\",\t\n\"timeSpent\": 230794,\t\n\"resourceType\": \"resource\",\t\n\"gooruOId\": \"f8fe1e49-72fb-41e0-acdc-23305f2f4f06\",\t\n\"views\": 1,\n\t \t\n\"answerObject\"\t: [\n\t \t\n],\t\n\"isGraded\": \"NA\",\t\n\"sessionId\": \"NA\"\t\n}\t\n\t\n]\t\n,\t\n\"userUid\"\t: \"23ac438a-eb2b-483b-8deb-187437d553a9\"\t\n}\t\n]\t\n} \t\n\t \t","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"5d44124c9248a0002127f0fa","ref":"","in":"path","required":true,"desc":"collection","default":"","type":"string","name":"collectionType"},{"_id":"5d44124c9248a0002127f0f9","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"collectionId"},{"_id":"5d44124c9248a0002127f0f8","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"sessionId"},{"_id":"5d44124c9248a0002127f0f7","ref":"","in":"body","required":true,"desc":"","default":"","type":"string","name":"userId"}],"url":"/dca/class/:classId/collection/:collectionId/session/:sessionId/:collectionId/performance"},"isReference":false,"order":999,"body":"","excerpt":"","slug":"get-collection-performance-for-given-session","type":"endpoint","title":"Daily Class Activity: Get Collection Performance For Given Session"}

getDaily Class Activity: Get Collection Performance For Given Session


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

collectionType:
required
string
collection
collectionId:
required
string
sessionId:
required
string

Body Params

userId:
required
string

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}