From 4afc389813967f8480dbc348938451bf006459ca Mon Sep 17 00:00:00 2001 From: Dave Harris Date: Mon, 25 Jun 2018 15:05:41 -0500 Subject: [PATCH] Add awards rels and classes --- d2l-hm-constants-behavior.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/d2l-hm-constants-behavior.html b/d2l-hm-constants-behavior.html index 7faec27..5a90bbf 100644 --- a/d2l-hm-constants-behavior.html +++ b/d2l-hm-constants-behavior.html @@ -21,6 +21,7 @@ myEnrollments: 'https://api.brightspace.com/rels/my-enrollments', myNotifications: 'https://notifications.api.brightspace.com/rels/my-notifications', myOrganizationGrades: 'https://api.brightspace.com/rels/my-organization-grades', + myOrganizationAwards: 'https://api.brightspace.com/rels/my-organization-awards', userEnrollment: 'https://api.brightspace.com/rels/user-enrollment', organization: 'https://api.brightspace.com/rels/organization', organizationHomepage: 'https://api.brightspace.com/rels/organization-homepage', @@ -53,6 +54,14 @@ instructions: 'https://assignments.api.brightspace.com/rels/instructions', attachments: 'https://assignments.api.brightspace.com/rels/attachments' }, + // Awards + Awards: { + courseUserAvailableAwards: 'https://awards.api.brightspace.com/rels/course-user-available-awards', + courseUserAwardedAwards: 'https://awards.api.brightspace.com/rels/course-user-awarded-awards', + releaseConditions: 'https://awards.api.brightspace.com/rels/release-conditions', + userAward: 'https://awards.api.brightspace.com/rels/user-award', + userAwards: 'https://awards.api.brightspace.com/rels/user-awards' + }, // Parents API sub-domain rels Parents: { allChildren: 'https://parents.api.brightspace.com/rels/all-my-children' @@ -126,6 +135,17 @@ submissionDate: 'submission-date', submissionList: 'assignment-submission-list' }, + awards: { + available: 'available', + awarded: 'awarded', + awardImage: 'award-image', + badge: 'badge', + certificate: 'certificate', + releaseCondition: 'release-condition', + releaseConditions: 'release-conditions', + userAward: 'user-award', + userAwards: 'user-awards' + }, courseImage: { courseImage: 'course-image', banner: 'banner',