Skip to content

Reminders

Reminders are user notifications reminding them to complete an action for a given realm. The API supports viewing realm-specific reminders that mirror the functionality of the reminder widget on the web. Supported reminder types include ungraded (a reminder for course section admins that lists assignments and corresponding revisions that have not yet been graded) and resubmitted (a reminder for course section admins that lists assignments and corresponding revisions that have not yet been viewed).

NOTE

Reminders exist in sections.

Fields

FieldNameDescriptionType
typeTypeType of reminder; one of the supported reminder types: ungraded, resubmitted.string
countCountThe number of reminders.integer
assignmentsAssignmentsList of assignment objects that have relevant revisions (see assignment fields below).array
idIDThe assignment ID.integer
titleTitleAssignment title.string
descriptionDescriptionAssignment description.string
dueDueAssignment due date/time (may be empty).string
grading_scaleGrading scaleID of grading scale.string
grading_periodGrading periodID of grading period.string
grading_categoryGrading categoryID of grading category.string
max_pointsMax pointsMaximum points for the assignment.string
factorFactorGrade factor.string
is_finalIs finalWhether the grade is final.string
show_commentsShow commentsWhether comments are shown.string
grade_statsGrade statsWhether grade stats are shown.string
allow_dropboxAllow dropboxWhether dropbox is allowed.string
allow_discussionAllow discussionWhether discussion is allowed.string
publishedPublishedWhether the assignment is published.integer
typeTypeThe content type (e.g., assignment).string
grade_item_idGrade item IDGrade item identifier.integer
availableAvailableWhether assignment is available.integer
completedCompletedWhether assignment is completed.integer
dropbox_lockedDropbox lockedWhether dropbox is locked.integer
grading_scale_typeGrading scale typeGrading scale type.integer
show_rubricShow rubricWhether rubric is shown.boolean
num_assigneesNum assigneesNumber of assignees.integer
assigneesAssigneesList of assignee objects (may be empty).array
section_idSection IDID of the section this assignment belongs to.string
revisionsRevisionsList of student revision objects related to the assignment (see revision fields below).array
revision_idRevision IDThe revision identifier.integer
uidUser IDID of the user who submitted the revision.integer
createdCreatedUnix timestamp when the revision was created.integer
num_itemsNum itemsNumber of items in the revision.integer
lateLateWhether the submission was late.integer
draftDraftWhether the revision is a draft.integer

* = Required

GET reminders/{type}

View a list of reminders across all realms for a specific type.

Parameters: with_attachments — retrieve attachments for this piece of content.

Return A list of reminders (see Fields)

json
{
  "reminders": [
    {
      "type": "ungraded",
      "count": 3,
      "assignments": [
        {
          "id": 5818701,
          "title": "Assignment 1",
          "description": "Please use the attached document to complete the assignment",
          "due": "",
          "grading_scale": "0",
          "grading_period": "25097",
          "grading_category": "4445",
          "max_points": "100",
          "factor": "1",
          "is_final": "0",
          "show_comments": "0",
          "grade_stats": "0",
          "allow_dropbox": "1",
          "allow_discussion": "1",
          "published": 1,
          "type": "assignment",
          "grade_item_id": 5818701,
          "available": 1,
          "completed": 0,
          "dropbox_locked": 0,
          "grading_scale_type": 0,
          "show_rubric": false,
          "num_assignees": 0,
          "assignees": [],
          "section_id": "5818697",
          "revisions": [
            {
              "revision_id": 8,
              "uid": 248071,
              "created": 1409094487,
              "num_items": 1,
              "late": 1,
              "draft": 0
            }
          ]
        },
        {
          "id": 9274619,
          "title": "Health Choices",
          "description": "",
          "due": "",
          "grading_scale": "0",
          "grading_period": "31217",
          "grading_category": "7813",
          "max_points": "100",
          "factor": "1",
          "is_final": "0",
          "show_comments": "0",
          "grade_stats": "0",
          "allow_dropbox": "1",
          "allow_discussion": "1",
          "published": 1,
          "type": "assignment",
          "grade_item_id": 9274619,
          "available": 1,
          "completed": 0,
          "dropbox_locked": 0,
          "grading_scale_type": 0,
          "show_rubric": false,
          "num_assignees": 0,
          "assignees": [],
          "section_id": "8495243",
          "revisions": [
            {
              "revision_id": 15,
              "uid": 81562,
              "created": 1411075065,
              "num_items": 1,
              "late": 0,
              "draft": 0
            },
            {
              "revision_id": 6,
              "uid": 2441585,
              "created": 1410805384,
              "num_items": 1,
              "late": 0,
              "draft": 0
            }
          ]
        }
      ]
    }
  ]
}
xml
<?xml version="1.0" encoding="utf-8" ?>
<result>
	<reminders>
		<type>ungraded</type>
		<count>3</count>
		<assignments>
			<id>5818701</id>
			<title>Assignment 1</title>
			<description>Please use the attached document to complete the assignment</description>
			<due />
			<grading_scale>0</grading_scale>
			<grading_period>25097</grading_period>
			<grading_category>4445</grading_category>
			<max_points>100</max_points>
			<factor>1</factor>
			<is_final>0</is_final>
			<show_comments>0</show_comments>
			<grade_stats>0</grade_stats>
			<allow_dropbox>1</allow_dropbox>
			<allow_discussion>1</allow_discussion>
			<published>1</published>
			<type>assignment</type>
			<grade_item_id>5818701</grade_item_id>
			<available>1</available>
			<completed>0</completed>
			<dropbox_locked>0</dropbox_locked>
			<grading_scale_type>0</grading_scale_type>
			<show_rubric></show_rubric>
			<num_assignees>0</num_assignees>
			<assignees />
			<section_id>5818697</section_id>
			<revisions>
				<revision_id>8</revision_id>
				<uid>248071</uid>
				<created>1409094487</created>
				<num_items>1</num_items>
				<late>1</late>
				<draft>0</draft>
			</revisions>
		</assignments>
		<assignments>
			<id>9274619</id>
			<title>Health Choices</title>
			<description />
			<due />
			<grading_scale>0</grading_scale>
			<grading_period>31217</grading_period>
			<grading_category>7813</grading_category>
			<max_points>100</max_points>
			<factor>1</factor>
			<is_final>0</is_final>
			<show_comments>0</show_comments>
			<grade_stats>0</grade_stats>
			<allow_dropbox>1</allow_dropbox>
			<allow_discussion>1</allow_discussion>
			<published>1</published>
			<type>assignment</type>
			<grade_item_id>9274619</grade_item_id>
			<available>1</available>
			<completed>0</completed>
			<dropbox_locked>0</dropbox_locked>
			<grading_scale_type>0</grading_scale_type>
			<show_rubric></show_rubric>
			<num_assignees>0</num_assignees>
			<assignees />
			<section_id>8495243</section_id>
			<revisions>
				<revision_id>15</revision_id>
				<uid>81562</uid>
				<created>1411075065</created>
				<num_items>1</num_items>
				<late>0</late>
				<draft>0</draft>
			</revisions>
			<revisions>
				<revision_id>6</revision_id>
				<uid>2441585</uid>
				<created>1410805384</created>
				<num_items>1</num_items>
				<late>0</late>
				<draft>0</draft>
			</revisions>
		</assignments>
	</reminders>
</result>

GET {realm}/reminders/{type}

View a list of reminders for a specific realm for a specific type.

Parameters: with_attachments — retrieve attachments for this piece of content.

Return A list of reminders (see Fields)

json
{
  "reminders": [
    {
      "type": "resubmitted",
      "count": 1,
      "assignments": [
        {
          "id": 9274619,
          "title": "Assignment 3",
          "description": "",
          "due": "",
          "grading_scale": "0",
          "grading_period": "31217",
          "grading_category": "7813",
          "max_points": "100",
          "factor": "1",
          "is_final": "0",
          "show_comments": "0",
          "grade_stats": "0",
          "allow_dropbox": "1",
          "allow_discussion": "1",
          "published": 1,
          "type": "assignment",
          "grade_item_id": 9274619,
          "available": 1,
          "completed": 0,
          "dropbox_locked": 0,
          "grading_scale_type": 0,
          "show_rubric": false,
          "num_assignees": 0,
          "assignees": [],
          "section_id": "8495243",
          "revisions": [
            {
              "revision_id": 15,
              "uid": 81562,
              "created": 1411075065,
              "num_items": 1,
              "late": 0,
              "draft": 0
            }
          ]
        }
      ]
    }
  ]
}
xml
<?xml version="1.0" encoding="utf-8" ?>
<result>
	<reminders>
		<type>resubmitted</type>
		<count>1</count>
		<assignments>
			<id>9274619</id>
			<title>Assignment 3</title>
			<description />
			<due />
			<grading_scale>0</grading_scale>
			<grading_period>31217</grading_period>
			<grading_category>7813</grading_category>
			<max_points>100</max_points>
			<factor>1</factor>
			<is_final>0</is_final>
			<show_comments>0</show_comments>
			<grade_stats>0</grade_stats>
			<allow_dropbox>1</allow_dropbox>
			<allow_discussion>1</allow_discussion>
			<published>1</published>
			<type>assignment</type>
			<grade_item_id>9274619</grade_item_id>
			<available>1</available>
			<completed>0</completed>
			<dropbox_locked>0</dropbox_locked>
			<grading_scale_type>0</grading_scale_type>
			<show_rubric></show_rubric>
			<num_assignees>0</num_assignees>
			<assignees />
			<section_id>8495243</section_id>
			<revisions>
				<revision_id>15</revision_id>
				<uid>81562</uid>
				<created>1411075065</created>
				<num_items>1</num_items>
				<late>0</late>
				<draft>0</draft>
			</revisions>
		</assignments>
	</reminders>
</result>