{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/dca/class/:classId/collection/:collectionId/session/:sessionId/:collectionId/performance","auth":"required","method":"get","examples":{"codes":[{"language":"text","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"}]},"results":{"codes":[{"status":200,"language":"json","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","name":""}]},"settings":"","params":[{"name":"collectionType","type":"string","default":"","desc":"collection","required":true,"in":"path","ref":"","_id":"5d44124c9248a0002127f0fa"},{"name":"collectionId","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"5d44124c9248a0002127f0f9"},{"name":"sessionId","type":"string","default":"","desc":"","required":true,"in":"path","ref":"","_id":"5d44124c9248a0002127f0f8"},{"name":"userId","type":"string","default":"","desc":"","required":true,"in":"body","ref":"","_id":"5d44124c9248a0002127f0f7"}]},"next":{"description":"","pages":[]},"title":"Daily Class Activity: Get Collection Performance For Given Session","type":"endpoint","slug":"get-collection-performance-for-given-session","excerpt":"","body":"","updates":[],"order":29,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5d44124c9248a0002127f0f6","project":"56439dfe9eebf70d00490d54","version":{"version":"2","version_clean":"2.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"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","5d9a18b4afc33400126c4e6f","5dc4f96dbb5da3006c8f5660"],"_id":"5864d2df79ce642d00f0fec7","createdAt":"2016-12-29T09:09:51.074Z","project":"56439dfe9eebf70d00490d54","releaseDate":"2016-12-29T09:09:51.074Z","__v":18},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"New\tClass Performance APIs\tfor NILE","slug":"newclass-performance-apisfor-nile","order":35,"from_sync":false,"reference":false,"_id":"5d43e414cf4f03005944344c","project":"56439dfe9eebf70d00490d54","version":"5864d2df79ce642d00f0fec7","createdAt":"2019-08-02T07:19:48.122Z","__v":0},"user":"5d411a29005b9600113731fd","createdAt":"2019-08-02T10:37:00.072Z","__v":1,"parentDoc":null}

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 }}