API Reference

Documentation for the MyHomeworkSpace Public API

Welcome to the MyHomeworkSpace Interactive API Reference! This page shows all endpoints available to your application, as well as how to use them and what responses you can expect from them. To learn more about the MyHomeworkSpace Public API, see Getting Started with the MyHomeworkSpace Public API.


GET admin/getAllFeedback

Suggest changes to this endpoint's documentation with GitHub

Gets all the feedback that was submitted. Note: Accessing this endpoint requires a user.level >= 1.

Sample Response

{
	"status": "ok",
	"feedbacks": [
		{
			"id": 1,
			"userid": 1,
			"type": "smile",
			"text": "I like MyHomeworkSpace",
			"timestamp": "2019-02-07 23:14:10",
			"userName": "Joe Schmo",
			"userEmail": "[email protected]",
			"hasScreenshot": false
		},
		{
			"id": 2,
			"userid": 1,
			"type": "idea",
			"text": "You should have better API documentation",
			"timestamp": "2019-02-07 23:14:46",
			"userName": "Joe Schmo",
			"userEmail": "[email protected]",
			"hasScreenshot": false
		},
	]
}

Body

This request does not accept a body

Try it out

GET admin/getFeedbackScreenshot/:id

Suggest changes to this endpoint's documentation with GitHub

Gets a the screenshot submitted with a particular feedback. Responds with a PNG image.

Body

This request does not accept a body

Try it out

GET admin/getUserCount

Suggest changes to this endpoint's documentation with GitHub

Gets the number of registered users.

Sample Response

{
	"status": "ok",
	"count": 42
}

Body

This request does not accept a body

Try it out

POST auth/clearMigrateFlag

Suggest changes to this endpoint's documentation with GitHub

Disables the migration dialog for the active user.

Sample Response

{
	"status": "ok"
}

Body

This request does not accept a body

Try it out

GET auth/me

Suggest changes to this endpoint's documentation with GitHub

Returns the logged in user’s profile information.

Sample Response

{
	"status": "ok",
	"user": {
		"id": 1,
		"name": "Joe Schmo",
		"username": "c99js",
		"email": "[email protected]",
		"type": "student",
		"features": "[]",
		"level": 0,
		"showMigrateMessage": 0
	},
	"grade": 11,
	"tabs": [],
	"id": 1,
	"name": "Joe Schmo",
	"username": "c99js",
	"email": "[email protected]",
	"type": "student",
	"features": "[]",
	"level": 0,
	"showMigrateMessage": 0
}

Body

This request does not accept a body

Try it out

POST calendar/events/add

Suggest changes to this endpoint's documentation with GitHub

Adds an event to the calendar.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • name - string (Name of the new event) - Required
  • start - datetime (ISO8601) (Start date and time of event) - Required
  • end - datetime (ISO8601) (End date and time of event) - Required
  • desc - textarea (Description of event)
  • recur - boolean (Set whether the event recurs or not)
  • recurFrequency - integer (Sets the frequency of the event's recurrence (0 = daily, 1 = weekly, 2 = monthly, 3 = yearly))
  • recurInterval - integer (Sets the interval between two occurences of the same event)
  • recurUntil - date (ISO8601) (Sets when the recurring event stops its recurrence)

Try it out

POST calendar/events/delete

Suggest changes to this endpoint's documentation with GitHub

Deletes an event on the calendar.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (ID number of the event to delete) - Required

Try it out

POST calendar/events/edit

Suggest changes to this endpoint's documentation with GitHub

Edits an event on the calendar.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (ID number of the event to edit) - Required
  • name - string (Updated name of event) - Required
  • start - datetime (ISO8601) (Updated start date and time of event) - Required
  • end - datetime (ISO8601) (Updated end date and time of event) - Required
  • desc - textarea (Updated description of event)
  • recur - boolean (Set whether the event recurs or not)
  • recurFrequency - integer (Sets the frequency of the event's recurrence (0 = daily, 1 = weekly, 2 = monthly, 3 = yearly))
  • recurInterval - integer (Sets the interval between two occurences of the same event)
  • recurUntil - date (ISO8601) (Sets when the recurring event stops its recurrence)

Try it out

GET calendar/events/getWeek/:monday

Suggest changes to this endpoint's documentation with GitHub

Gets a calendar view for the specified week. :monday is a URL parameter for the ISO8601 date of the monday of the week.

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...
{
	"status": "ok",
	"announcements": [],
	"currentTerm": {
		"id": 6,
		"termId": 97372,
		"name": "2nd Semester",
		"userId": 1
	},
	"friday": {
		"id": -1,
		"date": "",
		"index": -1
	},
	"events": [],
	"hwEvents": [],
	"scheduleEvents": [
		[
			{
				"id": 200,
				"termId": -1,
				"classId": 108778111,
				"name": "HS House - Neiers/Phillips",
				"ownerId": -1,
				"ownerName": "John Neiers",
				"dayNumber": 1,
				"block": "S",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "301",
				"start": 35400,
				"end": 36300,
				"userId": 1
			},
			{
				"id": 272,
				"termId": 97372,
				"classId": 108471529,
				"name": "Environmental Science: Resources - 3335-01 (B)",
				"ownerId": 2615842,
				"ownerName": "Evie Harrison",
				"dayNumber": 1,
				"block": "B",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "1204",
				"start": 29400,
				"end": 32100,
				"userId": 1
			},
			{
				"id": 273,
				"termId": 97372,
				"classId": 108472098,
				"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
				"ownerId": 3456065,
				"ownerName": "Parul Kalbag",
				"dayNumber": 1,
				"block": "F",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "311",
				"start": 39600,
				"end": 42300,
				"userId": 1
			},
			{
				"id": 274,
				"termId": 97372,
				"classId": 108640992,
				"name": "Physical Education - 3903-05 (I)",
				"ownerId": 4791666,
				"ownerName": "Amber Atlas",
				"dayNumber": 1,
				"block": "I",
				"buildingName": "Physical Education Center",
				"roomNumber": "X87",
				"start": 42600,
				"end": 45300,
				"userId": 1
			},
			{
				"id": 275,
				"termId": 97372,
				"classId": 108471759,
				"name": "Precalculus 1 'A' - 3024-02 (H)",
				"ownerId": 5334315,
				"ownerName": "Tao Wang",
				"dayNumber": 1,
				"block": "H",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "503",
				"start": 49200,
				"end": 51900,
				"userId": 1
			},
			{
				"id": 276,
				"termId": 97372,
				"classId": 108697376,
				"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
				"ownerId": 4841198,
				"ownerName": "Thomas Armstrong",
				"dayNumber": 1,
				"block": "G",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "504",
				"start": 52200,
				"end": 54900,
				"userId": 1
			}
		],
		[
			{
				"id": 234,
				"termId": -1,
				"classId": 108778111,
				"name": "HS House - Neiers/Phillips",
				"ownerId": -1,
				"ownerName": "John Neiers",
				"dayNumber": 2,
				"block": "S",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "301",
				"start": 35400,
				"end": 36300,
				"userId": 1
			},
			{
				"id": 265,
				"termId": 97372,
				"classId": 108471856,
				"name": "Mandarin Chinese 3 - 3122-01 (C)",
				"ownerId": 5327271,
				"ownerName": "Tzuchih Chien",
				"dayNumber": 2,
				"block": "C",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "252",
				"start": 29400,
				"end": 32100,
				"userId": 1
			},
			{
				"id": 266,
				"termId": 97372,
				"classId": 108471731,
				"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
				"ownerId": 586333,
				"ownerName": "Andrew Glassman",
				"dayNumber": 2,
				"block": "D",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "203",
				"start": 32400,
				"end": 35100,
				"userId": 1
			},
			{
				"id": 267,
				"termId": 97372,
				"classId": 108471759,
				"name": "Precalculus 1 'A' - 3024-02 (H)",
				"ownerId": 5334315,
				"ownerName": "Tao Wang",
				"dayNumber": 2,
				"block": "H",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "503",
				"start": 36600,
				"end": 39300,
				"userId": 1
			},
			{
				"id": 268,
				"termId": 97372,
				"classId": 108697376,
				"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
				"ownerId": 4841198,
				"ownerName": "Thomas Armstrong",
				"dayNumber": 2,
				"block": "G",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "504",
				"start": 39600,
				"end": 42300,
				"userId": 1
			},
			{
				"id": 269,
				"termId": 97372,
				"classId": 108471565,
				"name": "College Group Meeting 11 - 3652-07 (K)",
				"ownerId": 4742430,
				"ownerName": "Elise Rodriguez",
				"dayNumber": 2,
				"block": "K",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "301",
				"start": 45600,
				"end": 48900,
				"userId": 1
			},
			{
				"id": 270,
				"termId": 97372,
				"classId": 108471529,
				"name": "Environmental Science: Resources - 3335-01 (B)",
				"ownerId": 2615842,
				"ownerName": "Evie Harrison",
				"dayNumber": 2,
				"block": "B",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "1204",
				"start": 49200,
				"end": 51900,
				"userId": 1
			},
			{
				"id": 271,
				"termId": 97372,
				"classId": 108472052,
				"name": "Robotics - 3410-04 (A)",
				"ownerId": 3313989,
				"ownerName": "Sloan Warren",
				"dayNumber": 2,
				"block": "A",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "502",
				"start": 52200,
				"end": 54900,
				"userId": 1
			}
		],
		[
			{
				"id": 240,
				"termId": -1,
				"classId": 108778111,
				"name": "HS House - Neiers/Phillips",
				"ownerId": -1,
				"ownerName": "John Neiers",
				"dayNumber": 3,
				"block": "S",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "301",
				"start": 35400,
				"end": 36300,
				"userId": 1
			},
			{
				"id": 253,
				"termId": 97372,
				"classId": 108472098,
				"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
				"ownerId": 3456065,
				"ownerName": "Parul Kalbag",
				"dayNumber": 3,
				"block": "F",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "311",
				"start": 32400,
				"end": 35100,
				"userId": 1
			},
			{
				"id": 254,
				"termId": 97372,
				"classId": 108471759,
				"name": "Precalculus 1 'A' - 3024-02 (H)",
				"ownerId": 5334315,
				"ownerName": "Tao Wang",
				"dayNumber": 3,
				"block": "H",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "503",
				"start": 36600,
				"end": 39300,
				"userId": 1
			},
			{
				"id": 255,
				"termId": 97372,
				"classId": 108697376,
				"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
				"ownerId": 4841198,
				"ownerName": "Thomas Armstrong",
				"dayNumber": 3,
				"block": "G",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "504",
				"start": 39600,
				"end": 42300,
				"userId": 1
			},
			{
				"id": 256,
				"termId": 97372,
				"classId": 109224926,
				"name": "Web Engineering - 3434-06 (I)",
				"ownerId": 2517567,
				"ownerName": "Charles Forster Stewert",
				"dayNumber": 3,
				"block": "I",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "504",
				"start": 42600,
				"end": 45300,
				"userId": 1
			},
			{
				"id": 257,
				"termId": 97372,
				"classId": 108471731,
				"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
				"ownerId": 586333,
				"ownerName": "Andrew Glassman",
				"dayNumber": 3,
				"block": "D",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "203",
				"start": 47100,
				"end": 49800,
				"userId": 1
			},
			{
				"id": 258,
				"termId": 97372,
				"classId": 108471856,
				"name": "Mandarin Chinese 3 - 3122-01 (C)",
				"ownerId": 5327271,
				"ownerName": "Tzuchih Chien",
				"dayNumber": 3,
				"block": "C",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "252",
				"start": 50100,
				"end": 52800,
				"userId": 1
			},
			{
				"id": 259,
				"termId": 97372,
				"classId": 108641002,
				"name": "Physical Education - 3903-10 (Z)",
				"ownerId": 4791666,
				"ownerName": "Amber Atlas",
				"dayNumber": 3,
				"block": "Z",
				"buildingName": "Physical Education Center",
				"roomNumber": "X87",
				"start": 55800,
				"end": 63000,
				"userId": 1
			}
		],
		[
			{
				"id": 207,
				"termId": -1,
				"classId": 108778111,
				"name": "HS House - Neiers/Phillips",
				"ownerId": -1,
				"ownerName": "John Neiers",
				"dayNumber": 4,
				"block": "S",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "301",
				"start": 35400,
				"end": 36300,
				"userId": 1
			},
			{
				"id": 210,
				"termId": -1,
				"classId": 108778111,
				"name": "Assembly",
				"ownerId": -1,
				"ownerName": "John Neiers",
				"dayNumber": 4,
				"block": "S",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "Theater",
				"start": 42600,
				"end": 46200,
				"userId": 1
			},
			{
				"id": 260,
				"termId": 97372,
				"classId": 108471529,
				"name": "Environmental Science: Resources - 3335-01 (B)",
				"ownerId": 2615842,
				"ownerName": "Evie Harrison",
				"dayNumber": 4,
				"block": "B",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "1204",
				"start": 29400,
				"end": 32100,
				"userId": 1
			},
			{
				"id": 261,
				"termId": 97372,
				"classId": 108472052,
				"name": "Robotics - 3410-04 (A)",
				"ownerId": 3313989,
				"ownerName": "Sloan Warren",
				"dayNumber": 4,
				"block": "A",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "502",
				"start": 32400,
				"end": 35100,
				"userId": 1
			},
			{
				"id": 262,
				"termId": 97372,
				"classId": 108471731,
				"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
				"ownerId": 586333,
				"ownerName": "Andrew Glassman",
				"dayNumber": 4,
				"block": "D",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "203",
				"start": 36600,
				"end": 39300,
				"userId": 1
			},
			{
				"id": 263,
				"termId": 97372,
				"classId": 108471856,
				"name": "Mandarin Chinese 3 - 3122-01 (C)",
				"ownerId": 5327271,
				"ownerName": "Tzuchih Chien",
				"dayNumber": 4,
				"block": "C",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "252",
				"start": 39600,
				"end": 42300,
				"userId": 1
			},
			{
				"id": 264,
				"termId": 97372,
				"classId": 108472098,
				"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
				"ownerId": 3456065,
				"ownerName": "Parul Kalbag",
				"dayNumber": 4,
				"block": "F",
				"buildingName": "108 E. 89th St.",
				"roomNumber": "311",
				"start": 52200,
				"end": 54900,
				"userId": 1
			}
		],
		null
	]
}

Body

This request does not accept a body

Try it out

GET calendar/getClasses

Suggest changes to this endpoint's documentation with GitHub

Gets the user’s classes.

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...

{
    "status": "ok",
    "classes": [{
        "id": 8353,
        "termId": 97371,
        "ownerId": 4841198,
        "sectionId": 108697375,
        "name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
        "ownerName": "Jake Peralta",
        "userId": 6
    }, {
        "id": 8354,
        "termId": 97371,
        "ownerId": 586333,
        "sectionId": 108471730,
        "name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
        "ownerName": "Amy Santiago",
        "userId": 6
    }, {
        "id": 8351,
        "termId": 97372,
        "ownerId": 4742430,
        "sectionId": 108471565,
        "name": "College Group Meeting 11 - 3652-07 (K)",
        "ownerName": "Charles Boyle",
        "userId": 6
    }, {
        "id": 8347,
        "termId": 97371,
        "ownerId": 2615842,
        "sectionId": 108576047,
        "name": "Environmental Science: Biodiversity - 3334-01 (B)",
        "ownerName": "Rosa Diaz",
        "userId": 6
    }, {
        "id": 8341,
        "termId": 97372,
        "ownerId": 2615842,
        "sectionId": 108471529,
        "name": "Environmental Science: Resources - 3335-01 (B)",
        "ownerName": "Rosa Diaz",
        "userId": 6
    }, {
        "id": 8359,
        "termId": -1,
        "ownerId": -1,
        "sectionId": 108778111,
        "name": "HS House - Neiers/Phillips",
        "ownerName": "Raymond Holt",
        "userId": 6
    }, {
        "id": 8360,
        "termId": 97371,
        "ownerId": 5327271,
        "sectionId": 108471855,
        "name": "Mandarin Chinese 3 - 3122-01 (C)",
        "ownerName": "Terrence Jeffords",
        "userId": 6
    }, {
        "id": 8343,
        "termId": 97371,
        "ownerId": 4791666,
        "sectionId": 109411918,
        "name": "Physical Education - 3900F-01",
        "ownerName": "Madeline Wunch",
        "userId": 6
    }, {
        "id": 8344,
        "termId": 97371,
        "ownerId": 4791666,
        "sectionId": 108640991,
        "name": "Physical Education - 3903-05 (I)",
        "ownerName": "Madeline Wunch",
        "userId": 6
    }, {
        "id": 8345,
        "termId": 97371,
        "ownerId": 4791666,
        "sectionId": 108641001,
        "name": "Physical Education - 3903-10 (Z)",
        "ownerName": "Madeline Wunch",
        "userId": 6
    }, {
        "id": 8352,
        "termId": 97372,
        "ownerId": 5334315,
        "sectionId": 108471759,
        "name": "Precalculus 1 'A' - 3024-02 (H)",
        "ownerName": "Gina Linetti",
        "userId": 6
    }, {
        "id": 8348,
        "termId": 97371,
        "ownerId": 3313989,
        "sectionId": 108472051,
        "name": "Robotics - 3410-04 (A)",
        "ownerName": "Meredith Gray",
        "userId": 6
    }, {
        "id": 8342,
        "termId": 97372,
        "ownerId": 3456065,
        "sectionId": 108472098,
        "name": "Topics in World History III: The 20th Century - 3520-03 (F)",
        "ownerName": "Christina Yang",
        "userId": 6
    }, {
        "id": 8346,
        "termId": 97371,
        "ownerId": 2517567,
        "sectionId": 109224925,
        "name": "Web Engineering - 3434-06 (I)",
        "ownerName": "Miranda Bailey",
        "userId": 6
    }]
}
</pre>
</details>

Body

This request does not accept a body

Try it out

GET calendar/getSchedule

Suggest changes to this endpoint's documentation with GitHub

Gets a user’s schedule. This does not include their calendar events.

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...

{
	"status": "ok",
	"terms": [
		{
			"id": 1,
			"termId": 97371,
			"name": "1st Semester",
			"userId": 1
		},
		{
			"id": 2,
			"termId": 97372,
			"name": "2nd Semester",
			"userId": 1
		}
	],
	"items": [
		{
			"id": 79,
			"termId": 97372,
			"classId": 108641002,
			"name": "Physical Education - 3903-10 (Z)",
			"ownerId": 4791666,
			"ownerName": "Joe Schmo",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 55800,
			"end": 63000,
			"userId": 1
		},
		{
			"id": 4,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 11,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 25,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 29,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 43,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 49,
			"termId": 97371,
			"classId": 108471758,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 9,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 19,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 20,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 32,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 34,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 47,
			"termId": 97371,
			"classId": 108472097,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 55,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 61,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 66,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 78,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 50100,
			"end": 52800,
			"userId": 1
		},
		{
			"id": 83,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 93,
			"termId": 97372,
			"classId": 108471856,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 57,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 63,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 68,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 74,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 88,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 99,
			"termId": 97372,
			"classId": 108471759,
			"name": "Precalculus 1 'A' - 3024-02 (H)",
			"ownerId": 5334315,
			"ownerName": "Johnny Appleseed",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 72,
			"termId": 97372,
			"classId": 108472052,
			"name": "Robotics - 3410-04 (A)",
			"ownerId": 3313989,
			"ownerName": "Rosa Diaz",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 91,
			"termId": 97372,
			"classId": 108472052,
			"name": "Robotics - 3410-04 (A)",
			"ownerId": 3313989,
			"ownerName": "Rosa Diaz",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 59,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 73,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 80,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 86,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 94,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 95,
			"termId": 97372,
			"classId": 108472098,
			"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
			"ownerId": 3456065,
			"ownerName": "Jane Doe",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 6,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 7,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 13,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 23,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 37,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 45,
			"termId": 97371,
			"classId": 108576047,
			"name": "Environmental Science: Biodiversity - 3334-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 21,
			"termId": 97371,
			"classId": 109224925,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 33,
			"termId": 97371,
			"classId": 109224925,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 35,
			"termId": 97371,
			"classId": 109224925,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 51,
			"termId": 97371,
			"classId": 109224925,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 45300,
			"userId": 1
		},
		{
			"id": 58,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 64,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 69,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 75,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 89,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 98,
			"termId": 97372,
			"classId": 108697376,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 60,
			"termId": 97372,
			"classId": 109224926,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 76,
			"termId": 97372,
			"classId": 109224926,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 45300,
			"userId": 1
		},
		{
			"id": 81,
			"termId": 97372,
			"classId": 109224926,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 96,
			"termId": 97372,
			"classId": 109224926,
			"name": "Web Engineering - 3434-06 (I)",
			"ownerId": 2517567,
			"ownerName": "Jake Peralta",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 56,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 62,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 67,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 77,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 47100,
			"end": 49800,
			"userId": 1
		},
		{
			"id": 84,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 92,
			"termId": 97372,
			"classId": 108471731,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 65,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 71,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 82,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 85,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 90,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 97,
			"termId": 97372,
			"classId": 108471529,
			"name": "Environmental Science: Resources - 3335-01 (B)",
			"ownerId": 2615842,
			"ownerName": "Amy Santiago",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 10,
			"termId": 97371,
			"classId": 108640991,
			"name": "Physical Education - 3903-05 (I)",
			"ownerId": 4791666,
			"ownerName": "Joe Schmo",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 45300,
			"userId": 1
		},
		{
			"id": 54,
			"termId": 97371,
			"classId": 108641001,
			"name": "Physical Education - 3903-10 (Z)",
			"ownerId": 4791666,
			"ownerName": "Joe Schmo",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 55800,
			"end": 63000,
			"userId": 1
		},
		{
			"id": 14,
			"termId": 97371,
			"classId": 108472051,
			"name": "Robotics - 3410-04 (A)",
			"ownerId": 3313989,
			"ownerName": "Rosa Diaz",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 46,
			"termId": 97371,
			"classId": 108472051,
			"name": "Robotics - 3410-04 (A)",
			"ownerId": 3313989,
			"ownerName": "Rosa Diaz",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 70,
			"termId": 97372,
			"classId": 108471565,
			"name": "College Group Meeting 11 - 3652-07 (K)",
			"ownerId": 4742430,
			"ownerName": "Elise Rodriguez",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 45600,
			"end": 48900,
			"userId": 1
		},
		{
			"id": 87,
			"termId": 97372,
			"classId": 108640992,
			"name": "Physical Education - 3903-05 (I)",
			"ownerId": 4791666,
			"ownerName": "Joe Schmo",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 45300,
			"userId": 1
		},
		{
			"id": 5,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 12,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 24,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 30,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 44,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 50,
			"termId": 97371,
			"classId": 108697375,
			"name": "Adv. Data Structures and Algorithms 'A' - 3432-03 (G)",
			"ownerId": 4841198,
			"ownerName": "Raymond Holt",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 2,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 16,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 36600,
			"end": 39300,
			"userId": 1
		},
		{
			"id": 27,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 39,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 52200,
			"end": 54900,
			"userId": 1
		},
		{
			"id": 41,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 32400,
			"end": 35100,
			"userId": 1
		},
		{
			"id": 52,
			"termId": 97371,
			"classId": 108471730,
			"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
			"ownerId": 586333,
			"ownerName": "Terrence Jeffords",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 47100,
			"end": 49800,
			"userId": 1
		},
		{
			"id": 1,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 17,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 39600,
			"end": 42300,
			"userId": 1
		},
		{
			"id": 26,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 38,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 49200,
			"end": 51900,
			"userId": 1
		},
		{
			"id": 40,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 29400,
			"end": 32100,
			"userId": 1
		},
		{
			"id": 53,
			"termId": 97371,
			"classId": 108471855,
			"name": "Mandarin Chinese 3 - 3122-01 (C)",
			"ownerId": 5327271,
			"ownerName": "Jane Smith",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 50100,
			"end": 52800,
			"userId": 1
		},
		{
			"id": 3,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 8,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 8,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 1,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 15,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 18,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 4,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 46200,
			"userId": 1
		},
		{
			"id": 22,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 5,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 28,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 31,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 6,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 42600,
			"end": 46200,
			"userId": 1
		},
		{
			"id": 36,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 7,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 42,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 2,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		},
		{
			"id": 48,
			"termId": -1,
			"classId": 108778111,
			"name": "HS House - Neiers/Phillips",
			"ownerId": -1,
			"ownerName": "Madeline Wunch",
			"dayNumber": 3,
			"block": "",
			"buildingName": "",
			"roomNumber": "",
			"start": 35400,
			"end": 36300,
			"userId": 1
		}
	]
}
</pre>
</details>

Body

This request does not accept a body

Try it out

GET calendar/getStatus

Suggest changes to this endpoint's documentation with GitHub

Checks to see if the user has enabled the calendar. Returns a statusNum.

  • statusNum == 0 - Calendar is not imported.
  • statusNum == 1 - Calendar requires re-importing.
  • statusNum == 2 - Calendar is setup and ready to go.

Sample Response

{
	"status": "ok",
	"statusNum": 1
}

Body

This request does not accept a body

Try it out

GET calendar/getView

Suggest changes to this endpoint's documentation with GitHub

Gets a range of dates from the calendar

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...

{
	"status": "ok",
	"view": {
		"days": [
			{
				"day": "2019-02-14",
				"shiftingIndex": -1,
				"currentTerm": {
					"id": 2,
					"termId": 97372,
					"name": "2nd Semester",
					"userId": 1
				},
				"announcements": [],
				"events": [
					{
						"id": 15,
						"name": "HS House - Neiers/Phillips",
						"start": 1550155800,
						"end": 1550156700,
						"type": 2,
						"data": {
							"termId": -1,
							"classId": 108778111,
							"ownerId": -1,
							"ownerName": "Jake Peralta",
							"dayNumber": 4,
							"block": "S",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "301"
						},
						"userId": 1
					},
					{
						"id": 18,
						"name": "Assembly",
						"start": 1550163000,
						"end": 1550166600,
						"type": 2,
						"data": {
							"termId": -1,
							"classId": 108778111,
							"ownerId": -1,
							"ownerName": "Jake Peralta",
							"dayNumber": 4,
							"block": "S",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "Theater"
						},
						"userId": 1
					},
					{
						"id": 90,
						"name": "Environmental Science: Resources - 3335-01 (B)",
						"start": 1550149800,
						"end": 1550152500,
						"type": 2,
						"data": {
							"termId": 97372,
							"classId": 108471529,
							"ownerId": 2615842,
							"ownerName": "Amy Santiago",
							"dayNumber": 4,
							"block": "B",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "1204"
						},
						"userId": 1
					},
					{
						"id": 91,
						"name": "Robotics - 3410-04 (A)",
						"start": 1550152800,
						"end": 1550155500,
						"type": 2,
						"data": {
							"termId": 97372,
							"classId": 108472052,
							"ownerId": 3313989,
							"ownerName": "Rosa Diaz",
							"dayNumber": 4,
							"block": "A",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "502"
						},
						"userId": 1
					},
					{
						"id": 92,
						"name": "AMLIT: Self, Society and Cosmos - 3232-01 (D)",
						"start": 1550157000,
						"end": 1550159700,
						"type": 2,
						"data": {
							"termId": 97372,
							"classId": 108471731,
							"ownerId": 586333,
							"ownerName": "Charles Boyle",
							"dayNumber": 4,
							"block": "D",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "203"
						},
						"userId": 1
					},
					{
						"id": 93,
						"name": "Mandarin Chinese 3 - 3122-01 (C)",
						"start": 1550160000,
						"end": 1550162700,
						"type": 2,
						"data": {
							"termId": 97372,
							"classId": 108471856,
							"ownerId": 5327271,
							"ownerName": "Terrence Jeffords",
							"dayNumber": 4,
							"block": "C",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "252"
						},
						"userId": 1
					},
					{
						"id": 94,
						"name": "Topics in World History III: The 20th Century - 3520-03 (F)",
						"start": 1550172600,
						"end": 1550175300,
						"type": 2,
						"data": {
							"termId": 97372,
							"classId": 108472098,
							"ownerId": 3456065,
							"ownerName": "Raymond Holt",
							"dayNumber": 4,
							"block": "F",
							"buildingName": "108 E. 89th St.",
							"roomNumber": "311"
						},
						"userId": 1
					}
				]
			}
		]
	}
}
</pre></details>

Body

Body Type: application/x-www-form-urlencoded
  • start - date (ISO8601) (Inclusive start date of calendar view) - Required
  • end - date (ISO8601) (Exclusive end date of calendar view) - Required

Try it out

POST calendar/hwEvents/add

Suggest changes to this endpoint's documentation with GitHub

Adds an event to the calendar from homework.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • homeworkId - integer (ID number of the homework assignment that the calendar event is being made for) - Required
  • start - datetime (ISO8601) (Start date and time of event) - Required
  • end - datetime (ISO8601) (End date and time of event) - Required

Try it out

POST calendar/hwEvents/delete

Suggest changes to this endpoint's documentation with GitHub

Edits a homework event on the calendar.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (ID number calendar event to delete) - Required

Try it out

POST calendar/hwEvents/edit

Suggest changes to this endpoint's documentation with GitHub

Edits a homework event on the calendar.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (ID number calendar event to edit) - Required
  • homeworkId - integer (Updated ID number of homework cooresponding to event) - Required
  • start - datetime (ISO8601) (Updated start date and time of event) - Required
  • end - datetime (ISO8601) (Updated end date and time of event) - Required

Try it out

POST calendar/import

Suggest changes to this endpoint's documentation with GitHub

Imports a user’s schedule into MyHomeworkSpace

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • password - string (User's Dalton Password. Note that this is sensative data and is not stored by MyHomeworkSpace. If you choose to store this data, it should be stored securely.) - Required

Try it out

POST calendar/resetSchedule

Suggest changes to this endpoint's documentation with GitHub

Removes a user’s schedule from MyHomeworkSpace. Though this disables Calendar view, it does not remove events manually added to the calendar by the user. To view those events, the user’s schedule needs to be reimported.

Sample Response

{
	"status": "ok"
}

Body

This request does not accept a body

Try it out

POST classes/delete

Suggest changes to this endpoint's documentation with GitHub

Deletes a class.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (Unique id of the class to delete) - Required

Try it out

POST classes/edit

Suggest changes to this endpoint's documentation with GitHub

Updates a class.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (Unique id of the class to update) - Required
  • name - string (Updated name of the class) - Required
  • color - hexadecimal color (without \#) (Updated color of the class) - Required
  • teacher - string (Updated name of the teacher of the class)

Try it out

GET classes/get/:id

Suggest changes to this endpoint's documentation with GitHub

Gets information about a particular class. :id is a URL parameter for the unique id of that class.

Sample Response

{
	"status": "ok",
	"class": {
		"id": 1,
		"name": "Science",
		"teacher": "",
		"color": "ffa540",
		"userId": -1
	}
}

Body

This request does not accept a body

Try it out

GET classes/get

Suggest changes to this endpoint's documentation with GitHub

Gets a list of classes.

Sample Response

{
	"status": "ok",
	"classes": [
		{
			"id": 1,
			"name": "Science",
			"teacher": "",
			"color": "ffa540",
			"userId": -1
		},
		{
			"id": 2,
			"name": "History",
			"teacher": "",
			"color": "40ff73",
			"userId": -1
		},
		{
			"id": 3,
			"name": "English",
			"teacher": "",
			"color": "4071ff",
			"userId": -1
		}
	]
}

Body

This request does not accept a body

Try it out

GET classes/hwInfo/:id

Suggest changes to this endpoint's documentation with GitHub

Returns the number of homework assignments in a particular class (this includes completed assignments and assignments whose due dates have passed). :id is a url parameter for the ID of the class.

Sample Response

{
	"status": "ok",
	"hwItems": 2
}

Body

This request does not accept a body

Try it out

POST classes/swap

Suggest changes to this endpoint's documentation with GitHub

Swaps two classes positions in the planner.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id1 - integer (Unique id of the first class) - Required
  • id2 - integer (Unique id of the second class) - Required

Try it out

POST classes/add

Suggest changes to this endpoint's documentation with GitHub

Creates a new class.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • name - string (Name of the new class) - Required
  • color - hexadecimal color (without \#) (Color of the new class) - Required
  • teacher - string (Name of the teacher of the new class)

Try it out

POST feedback/add

Suggest changes to this endpoint's documentation with GitHub

Adds feedback for administrators to view.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • type - string (\"smile", "frown", or "idea") - Required
  • text - text (0 or 1) - Required
  • screenshot - base64 png data url (screenshot of issue)

Try it out

POST homework/add

Suggest changes to this endpoint's documentation with GitHub

Creates a new homework assignment

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • name - string (Name of the homework) - Required
  • due - date (ISO8601) (Due date of the homework) - Required
  • complete - 1 or 0 (1 if the homework is completed, 0 if the homework is not completed) - Required
  • classId - integer (Unique id of the class that the homework is in) - Required
  • desc - text (Description of the homework)

Try it out

POST homework/delete

Suggest changes to this endpoint's documentation with GitHub

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (Unique id of the homework to delete) - Required

Try it out

POST homework/edit

Suggest changes to this endpoint's documentation with GitHub

Edits a homework assignment

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (Unique id of the homework to edit) - Required
  • name - string (Updated name of the homework) - Required
  • due - date (ISO8601) (Updated due date of the homework) - Required
  • complete - 1 or 0 (1 if the homework is completed, 0 if the homework is not completed) - Required
  • classId - integer (Updated unique id of the class that the homework is in) - Required
  • desc - text (Updated description of the homework)

Try it out

GET homework/get/:id

Suggest changes to this endpoint's documentation with GitHub

Gets a homework assignment with a specific id. Note that :id is a URL parameter for the id of the homework to get.

Sample Response

{
	"status": "ok",
	"homework": {
		"id": 1,
		"name": "HW 1",
		"due": "2019-02-14",
		"desc": "",
		"complete": 0,
		"classId": 1,
		"userId": 1
	}
}

Body

This request does not accept a body

Try it out

GET homework/get

Suggest changes to this endpoint's documentation with GitHub

Gets all homework for an account

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 3,
			"name": "HW ",
			"due": "2019-02-06",
			"desc": "",
			"complete": 1,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 1,
			"name": "HW 1",
			"due": "2019-02-14",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

GET homework/getForClass/:id

Suggest changes to this endpoint's documentation with GitHub

Gets all homework for a particular class. Note that :id is a URL parameter for the class to get the homework for.

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 3,
			"name": "HW ",
			"due": "2019-02-06",
			"desc": "",
			"complete": 1,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 1,
			"name": "HW 1",
			"due": "2019-02-14",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

GET homework/getHWView

Suggest changes to this endpoint's documentation with GitHub

Gets the user’s active homework

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 1,
			"name": "HW 1",
			"due": "2019-02-14",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

GET homework/getHWViewSorted

Suggest changes to this endpoint's documentation with GitHub

Gets a sorted version of Homework

Sample Response

{
	"status": "ok",
	"tomorrowName": "Tomorrow",
	"showToday": false,
	"overdue": [
		{
			"id": 1,
			"name": "HW 1",
			"due": "2019-02-14",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	],
	"today": [],
	"tomorrow": [
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	],
	"soon": [],
	"longterm": []
}

Body

This request does not accept a body

Try it out

GET homework/getPickerSuggestions

Suggest changes to this endpoint's documentation with GitHub

Gets a few suggestions for homework assignments to add to calendar.

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

GET homework/getWeek/:monday

Suggest changes to this endpoint's documentation with GitHub

Gets all homework for a particular week. Note that :monday is a URL parameter for the ISO8601 date of the Monday of the week to get.

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 1,
			"name": "HW 1",
			"due": "2019-02-14",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		},
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

POST homework/markOverdueDone

Suggest changes to this endpoint's documentation with GitHub

Marks all overdue assignments as done.

Sample Response

{
	"status": "ok"
}

Body

This request does not accept a body

Try it out

Suggest changes to this endpoint's documentation with GitHub

Searches for a homework assignment.

Sample Response

{
	"status": "ok",
	"homework": [
		{
			"id": 2,
			"name": "Essay Nuclear Energy",
			"due": "2019-02-15",
			"desc": "",
			"complete": 0,
			"classId": 1,
			"userId": 1
		}
	]
}

Body

This request does not accept a body

Try it out

POST notifications/add

Suggest changes to this endpoint's documentation with GitHub

Adds a notification to MyHomeworkSpace. Note that this call requires a user.level >= 1.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • content - string (Content of the notification) - Required
  • expiry - Date (ISO8601) (Date that the notification expires.) - Required

Try it out

POST notifications/add

Suggest changes to this endpoint's documentation with GitHub

Deletes a notification from MyHomeworkSpace. Note that this call requires a user.level >= 1.

Sample Response

{
	"status": "ok"
}

Body

This request does not accept a body

Try it out

GET notifications/get

Suggest changes to this endpoint's documentation with GitHub

Gets active notifications.

Sample Response

{
	"status": "ok",
	"notifications": [
		{
			"id": 1,
			"content": "Happy winter!",
			"expiry": "2019-02-15"
		},
		{
			"id": 2,
			"content": "Hi!",
			"expiry": "2019-03-01"
		}
	]
}

Body

This request does not accept a body

Try it out

GET planner/announcements/getWeek/:date

Suggest changes to this endpoint's documentation with GitHub

Gets the planner announcements for a week. :date is a URL parameter for a date during the week being queried.

Sample Response

{
	"status": "ok",
	"announcements": [
		{
			"id": 1,
			"date": "2019-02-15",
			"text": "Super important day",
			"grade": 0,
			"type": 0
		}
	]
}

Body

This request does not accept a body

Try it out

GET planner/fridays/get/:date

Suggest changes to this endpoint's documentation with GitHub

Gets the number of a particular Friday. :date is a URL parameter for the Friday being queried.

Sample Response

{
	"status": "ok",
	"friday": {
		"id": 1,
		"date": "2019-02-15",
		"index": 3
	}
}

Body

This request does not accept a body

Try it out

GET planner/getWeekInfo/:date

Suggest changes to this endpoint's documentation with GitHub

Gets the planner announcements and the Friday for a given week. :date is a URL parameter for a date during the week being queried.

Sample Response

{
    "status": "ok",
    "announcements": [{
        "id": 1,
        "date": "2019-02-15",
        "text": "Super important day",
        "grade": 0,
        "type": 0
    }],
    "friday": {
        "id": 1,
        "date": "2019-02-15",
        "index": 3
    }
}

Body

This request does not accept a body

Try it out

POST prefixes/add

Suggest changes to this endpoint's documentation with GitHub

Creates a tag.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • color - hexadecimal color (without /#) (Text color in tag) - Required
  • background - hexadecimal color (without /#) (Background color in tag) - Required
  • words - string (Words that can be used in tag (seperate multiple with spaces)) - Required
  • isTimedEvent - 1 or 0 (1 if the event is timed (like a quiz, test, or lab) or 0 if the event is not timed (like a homework or take home test)) - Required

Try it out

POST prefixes/delete

Suggest changes to this endpoint's documentation with GitHub

Deletes a tag.

Sample Response

{
	"status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • id - integer (Unique id of the tag to delete) - Required

Try it out

GET prefixes/getList

Suggest changes to this endpoint's documentation with GitHub

Gets the logged in user’s list of tags.

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...

{
	"status": "ok",
	"prefixes": [
		{
			"id": -1,
			"background": "4C6C9B",
			"color": "FFFFFF",
			"words": [
				"HW",
				"Read",
				"Reading"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "9ACD32",
			"color": "FFFFFF",
			"words": [
				"Project"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "C3A528",
			"color": "FFFFFF",
			"words": [
				"Report",
				"Essay",
				"Paper",
				"Write"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "FFA500",
			"color": "FFFFFF",
			"words": [
				"Quiz",
				"PopQuiz",
				"GradedHW",
				"GradedHomework"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "DC143C",
			"color": "FFFFFF",
			"words": [
				"Test",
				"Final",
				"Exam",
				"Midterm",
				"Ahh"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "2AC0F1",
			"color": "FFFFFF",
			"words": [
				"ICA",
				"FieldTrip",
				"Thingy"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "2AF15E",
			"color": "FFFFFF",
			"words": [
				"Lab",
				"BookALab",
				"BookLab",
				"Study",
				"Memorize"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "003DAD",
			"color": "FFFFFF",
			"words": [
				"DocID"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "000000",
			"color": "00FF00",
			"words": [
				"Trojun",
				"Hex"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "5000BC",
			"color": "FFFFFF",
			"words": [
				"OptionalHW",
				"Challenge"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "000099",
			"color": "FFFFFF",
			"words": [
				"Presentation",
				"Prez"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "123456",
			"color": "FFFFFF",
			"words": [
				"BuildSession",
				"Build"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "5A1B87",
			"color": "FFFFFF",
			"words": [
				"Meeting",
				"Meet"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "01B501",
			"color": "FFFFFF",
			"words": [
				"Begin",
				"Start",
				"Do"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "E34000",
			"color": "FFFFFF",
			"words": [
				"Apply",
				"Application",
				"Deadline"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": 1,
			"background": "FF4086",
			"color": "FFFFFF",
			"words": [
				"SATPrep"
			],
			"timedEvent": false,
			"default": false
		},
		{
			"id": 2,
			"background": "4d4d4d",
			"color": "000000",
			"words": [
				"Hospital"
			],
			"timedEvent": false,
			"default": false
		}
	],
	"fallbackBackground": "FFD3BD",
	"fallbac

Body

This request does not accept a body

Try it out

GET prefixes/getDefaultList

Suggest changes to this endpoint's documentation with GitHub

Gets all the default tags for new MyHomeworkSpace accounts.

Sample Response

Due to the length of this snippet, it has been collapsed. Click “Expand code” to expand it.

Expand code...

{
	"status": "ok",
	"prefixes": [
		{
			"id": -1,
			"background": "4C6C9B",
			"color": "FFFFFF",
			"words": [
				"HW",
				"Read",
				"Reading"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "9ACD32",
			"color": "FFFFFF",
			"words": [
				"Project"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "C3A528",
			"color": "FFFFFF",
			"words": [
				"Report",
				"Essay",
				"Paper",
				"Write"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "FFA500",
			"color": "FFFFFF",
			"words": [
				"Quiz",
				"PopQuiz",
				"GradedHW",
				"GradedHomework"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "DC143C",
			"color": "FFFFFF",
			"words": [
				"Test",
				"Final",
				"Exam",
				"Midterm",
				"Ahh"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "2AC0F1",
			"color": "FFFFFF",
			"words": [
				"ICA",
				"FieldTrip",
				"Thingy"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "2AF15E",
			"color": "FFFFFF",
			"words": [
				"Lab",
				"BookALab",
				"BookLab",
				"Study",
				"Memorize"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "003DAD",
			"color": "FFFFFF",
			"words": [
				"DocID"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "000000",
			"color": "00FF00",
			"words": [
				"Trojun",
				"Hex"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "5000BC",
			"color": "FFFFFF",
			"words": [
				"OptionalHW",
				"Challenge"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "000099",
			"color": "FFFFFF",
			"words": [
				"Presentation",
				"Prez"
			],
			"timedEvent": false,
			"default": true
		},
		{
			"id": -1,
			"background": "123456",
			"color": "FFFFFF",
			"words": [
				"BuildSession",
				"Build"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "5A1B87",
			"color": "FFFFFF",
			"words": [
				"Meeting",
				"Meet"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "01B501",
			"color": "FFFFFF",
			"words": [
				"Begin",
				"Start",
				"Do"
			],
			"timedEvent": true,
			"default": true
		},
		{
			"id": -1,
			"background": "E34000",
			"color": "FFFFFF",
			"words": [
				"Apply",
				"Application",
				"Deadline"
			],
			"timedEvent": false,
			"default": true
		}
	],
	"fallbackBackground": "FFD3BD",
	"fallbackColor": "000000"
}

Body

This request does not accept a body

Try it out

GET prefs/get/:key

Suggest changes to this endpoint's documentation with GitHub

Get a preference.

Sample Response

{
    "status": "ok",
    "pref": {
        "id": 1,
        "key": "disableQuickAdd",
        "value": "true"
    }
}

Body

This request does not accept a body

Try it out

POST prefs/set

Suggest changes to this endpoint's documentation with GitHub

Set a preference.

Sample Response

{
    "status": "ok"
}

Body

Body Type: application/x-www-form-urlencoded
  • key - string (key for preference) - Required
  • value - value for preference (0 or 1) - Required

Try it out

GET status

Suggest changes to this endpoint's documentation with GitHub

Gets the status of the API

Caution! This API call shows the status of the API, and does not return JSON. If the API is alive, it simply returns "Alive"

Sample Response

Alive

Body

This request does not accept a body

Try it out