Skip to content

Instantly share code, notes, and snippets.

View przeor's full-sized avatar
🎯
Focusing

Kamil Przeorski przeor

🎯
Focusing
View GitHub Profile
http://app.junctioned.com/server/classmates/course/67890/student/12345
{classMates: [{userid: “34567”, firstname: “Tao”, lastname: “Yu”},
{userid: “98765”, firstname: “Jan”, lastname: “Paradowski”}
]
}
http://app.junctioned.com/server/unread/course/67890/student/12345
{unread: [{“userid”:“34567”, ”count”:3},
{“userid”:”98765”, “count”:2},
{“userid”:”45735”, “count”:5}]
}
userids with count 0 should not be included
{
"_id" : ObjectId("52a21078fa67c9dd6c1e1a4d"),
"description" : "<ol><li>Identify the basic structure of the U.S. government through the Constitution and Bill of Rights.</li><li>Identify democratic and undemocratic aspects of the Constitution.</li><li>Analyze the basic rights as described in the Bill of Rights.</li></ol>",
"feedback" : "52a6f80d71f290782c2c714d",
"mediaData" : "52a6f89271f290782c2c7152",
"otherMetadata" : null,
"pages" : [
"52a6f0ef71f290782c2c712d",
"52a6f0f671f290782c2c712e",
"52a6f0fd71f290782c2c712f",
{
"_id" : ObjectId("52f0f2eb3e04284b957cd93c"),
"lessons" : [
"52a21078fa67c9dd6c1e1a4d",
"52a21089fa67c9dd6c1e1a4e"
],
"feedback" : "52a6f80d71f290782c2c714d",
"prefessorsPictureUrl" : "http://54.201.122.206/admin/static/media/63690dfb-0e98-485b-9eb5-b4f8b2ce5bcd.skypelogo.png",
"collegeLogoUrl" : "http://localhost:6543/admin/static/media/e90a0e1d-8343-4ddf-bb88-27b9bac0ca84.test.jpg",
"template" : "course",
{
"_id" : ObjectId("52e25351e02208603ea681a0"),
"collection" : "mediadata",
"templateHtml" : "template/media.html",
"templateName" : "media",
"fields" : [
{
"label" : "Title",
"field" : "title",
"type" : "text",
{
"_id" : ObjectId("52de6f60e02208603ea67dea"),
"collection" : "components",
"fields" : [
{
"label" : "Title",
"field" : "title",
"type" : "text",
"required" : true
},