Skip to content

Commit

Permalink
Merge pull request #51 from Brightspace/CodeBaboon-patch-1
Browse files Browse the repository at this point in the history
Add awards rels and classes
  • Loading branch information
CodeBaboon authored Jun 26, 2018
2 parents 603424f + 4afc389 commit dd28891
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions d2l-hm-constants-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit dd28891

Please sign in to comment.