Helium API Documentation
auth
token > create
Obtain an authentication token for the given user credentials. The "token" in the response should then be provided in all future calls that required authentication. This can be done by setting the `Authorization` header with a value of `Token <token>`.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | The username or email for the user. |
password required | The password for the user. |
user > update
Update the authenticated user instance. This endpoint only updates the fields given (i.e. no need to PATCH for partials data).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | A unique name used to login to the system. |
email required | A unique and valid email address. |
old_password | The current password for the user (required only when changing an existing password). |
password | A password to set for the user. |
user > forgot_password
Reset the password for the user instance associated with the given email.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | A unique name used to login to the system. |
email required | The email for the user. |
old_password | The current password for the user (required only when changing an existing password). |
password | A password to set for the user. |
user > register
Register a new user.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | A unique name used to login to the system. |
email required | A unique and valid email address. |
old_password | The current password for the user (required only when changing an existing password). |
password required | A password to set for the user. |
time_zone | A valid time zone choice. |
user > verify_email
Verify an email address for the user instance associated with the username and verification code.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
username required | The username for the user. |
code required | The email verification code for the user |
user > delete > delete
Delete the given user instance.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | The username for the user. |
email required | The email for the user. |
password required | The password for the user. |
user > profile > update
Update the authenticated user's profile. This endpoint only updates the fields given (i.e. no need to PATCH for partials data).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
phone | A valid phone number. |
phone_verification_code | The code sent to `phone` when registering or changing a phone number |
user > settings > update
Update the authenticated user's settings. This endpoint only updates the fields given (i.e. no need to PATCH for partials data). For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
time_zone | A valid time zone choice. |
default_view | A valid default calendar view choice. |
week_starts_on | A valid day on which the week should start choice. |
show_getting_started | Whether or not the "Getting Started" dialog should be shown. |
events_color | A valid hex color code choice to determine the color events will be shown on the calendar |
default_reminder_offset | The default offset when creating a new reminder. |
default_reminder_offset_type | A valid default type of time offset choice when creating a new reminder. |
default_reminder_type | A valid default type of reminder choice when creating a new reminder. |
receive_emails_from_admin | Whether or not the `email` on file should receive bulletin emails. |
feed
externalcalendars > list
Return a list of all external calendar instances for the authenticated user.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
shown_on_calendar |
externalcalendars > create
Create a new external calendar instance for the authenticated user. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
url required | A public-facing URL to a valid ICAL feed. |
color | A valid hex color code choice to determine the color items will be shown on the calendar |
shown_on_calendar | Whether or not items should be shown on the calendar. |
externalcalendars > read
Return the given external calendar instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this external calendar. |
externalcalendars > update
Update the given external calendar instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this external calendar. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
url required | A public-facing URL to a valid ICAL feed. |
color | A valid hex color code choice to determine the color items will be shown on the calendar |
shown_on_calendar | Whether or not items should be shown on the calendar. |
externalcalendars > delete
Delete the given external calendar instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this external calendar. |
externalcalendars > events > list
Return an external calendar's ICAL feed items as a list of event instances. The IDs given for each event are sequential, unique only amongst the results of this particular query, and not guaranteed to be consistent across calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this external calendar. |
private > enable
Enable the private feed URLs for the authenticated user. It is safe to make this request multiple times, and if private feeds are already enabled, the response will simply contain links to the feeds.
private > courseschedules.ics > list
:get Return a list of all course schedule instances for the authenticated user formatted for an ICAL stream. The response will contain a `Content-Disposition` of `attachment; filename=Helium_<username>_coursescheduleevents.ics`, so if the request is initiated from an HTML form, the response will be a downloadable file in a browser.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
slug required |
private > events.ics > list
:get Return a list of all event instances for the authenticated user formatted for an ICAL stream. The response will contain a `Content-Disposition` of `attachment; filename=Helium_<username>_events.ics`, so if the request is initiated from an HTML form, the response will be a downloadable file in a browser.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
slug required |
private > homework.ics > list
:get Return a list of all homework instances for the authenticated user formatted for an ICAL stream. The response will contain a `Content-Disposition` of `attachment; filename=Helium_<username>_homework.ics`, so if the request is initiated from an HTML form, the response will be a downloadable file in a browser.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
slug required |
importexport
export_data
Return an export of all non-sensitive data for the user. The response will contain a `Content-Disposition` of `attachment; filename=Helium_<username>.json`, so if the request is initiated from an HTML form, the response will be a downloadable file in a browser. The exported data for each model type will match that of the documented APIs.
import_data
Import the resources for the authenticated user from the the uploaded files. Multiple files can be imported at once passed in the `file[]` field. The maximum file size for each upload is 10M. Each model will be imported in a schema matching that of the documented APIs.
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
username required | A unique name used to login to the system. |
email required | A unique and valid email address. |
old_password | The current password for the user (required only when changing an existing password). |
password | A password to set for the user. |
planner
attachments > list
Return a list of all attachment instances for the authenticated user. To download the attachment, follow the link contained in the `attachment` field of an instance, which will direct you to attached media URL.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
course | |
event | |
homework |
attachments > create
Create new attachment instances and upload the associated files for the authenticated user. Multiple files can be passed in the `file[]` field, but note that even if only one file is created, the response will still contain a list. The `title` attribute is set dynamically by the `filename` field passed for each file to be uploaded. The maximum file size for each upload is 10M. At least one of `course`, `event`, or `homework` must be given. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
file[] | A multipart list of files to upload. |
course | The course with which to associate. |
event | The event with which to associate. |
homework | The homework with which to associate. |
attachments > read
Return the given attachment instance. To download the attachment, follow the link contained in the `attachment` field of an instance, which will direct you to attached media URL.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this attachment. |
attachments > delete
Delete the given attachment instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this attachment. |
coursegroups > list
Return a list of all course group instances for the authenticated user.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
shown_on_calendar | |
start_date | |
start_date__gte | |
end_date | |
end_date__lte |
coursegroups > create
Create a new course group instance for the authenticated user. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
start_date required | An ISO-8601 date. |
end_date required | An ISO-8601 date. |
shown_on_calendar | Whether or not items should be shown on the calendar. |
coursegroups > read
Return the given course group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this course group. |
coursegroups > update
Update the given course group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this course group. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
start_date required | An ISO-8601 date. |
end_date required | An ISO-8601 date. |
shown_on_calendar | Whether or not items should be shown on the calendar. |
coursegroups > delete
Delete the given course group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this course group. |
coursegroups > courses > list
Return a list of all course instances, including course schedule details, for the given course group.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
start_date | |
start_date__gte | |
end_date | |
end_date__lte |
coursegroups > courses > create
Create a new course instance for the given course group. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
room | An arbitrary string. |
credits required | A decimal corresponding to credit hours. |
color | A valid hex color code choice to determine the color events will be shown on the calendar |
website | A valid URL. |
is_online | Whether or not the course is online (and thus may have times associated with it) |
teacher_name | A display name for the teacher. |
teacher_email | A valid email address. |
start_date required | An ISO-8601 date. |
end_date required | An ISO-8601 date. |
coursegroups > courses > read
Return the given course instance, including course schedule details.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
id required | A unique integer value identifying this course. |
coursegroups > courses > update
Update the given course instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
id required | A unique integer value identifying this course. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
room | An arbitrary string. |
credits required | A decimal corresponding to credit hours. |
color | A valid hex color code choice to determine the color events will be shown on the calendar |
website | A valid URL. |
is_online | Whether or not the course is online (and thus may have times associated with it) |
teacher_name | A display name for the teacher. |
teacher_email | A valid email address. |
start_date required | An ISO-8601 date. |
end_date required | An ISO-8601 date. |
coursegroups > courses > delete
Delete the given course instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
id required | A unique integer value identifying this course. |
coursegroups > courses > categories > list
Return a list of all category instances for the given course.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
coursegroups > courses > categories > create
Create a new category instance for the given course. Note that all weights associated with a single course cannot exceed a value of 100. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
weight required | A decimal weight for this category's homework (note that all weights associated with a single course cannot exceed a value of 100). |
color | A valid hex color code choice to determine the color items will be shown on the calendar |
coursegroups > courses > categories > read
Return the given category instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this category. |
coursegroups > courses > categories > update
Update the given category instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this category. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
weight required | A decimal weight for this category's homework (note that all weights associated with a single course cannot exceed a value of 100). |
color | A valid hex color code choice to determine the color items will be shown on the calendar |
coursegroups > courses > categories > delete
Delete the given category instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this category. |
coursegroups > courses > courseschedules > list
Return a list of all course schedule instances for the given course.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
coursegroups > courses > courseschedules > create
Create a new course schedule instance for the given course.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
days_of_week | Seven booleans (0 or 1) indicating which days of the week the course is on (week starts on Sunday). |
sun_start_time | An ISO-8601 time. |
sun_end_time | An ISO-8601 time. |
mon_start_time | An ISO-8601 time. |
mon_end_time | An ISO-8601 time. |
tue_start_time | An ISO-8601 time. |
tue_end_time | An ISO-8601 time. |
wed_start_time | An ISO-8601 time. |
wed_end_time | An ISO-8601 time. |
thu_start_time | An ISO-8601 time. |
thu_end_time | An ISO-8601 time. |
fri_start_time | An ISO-8601 time. |
fri_end_time | An ISO-8601 time. |
sat_start_time | An ISO-8601 time. |
sat_end_time | An ISO-8601 time. |
coursegroups > courses > courseschedules > read
Return the given course schedule instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this course schedule. |
coursegroups > courses > courseschedules > update
Update the given course schedule instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this course schedule. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
days_of_week | Seven booleans (0 or 1) indicating which days of the week the course is on (week starts on Sunday). |
sun_start_time | An ISO-8601 time. |
sun_end_time | An ISO-8601 time. |
mon_start_time | An ISO-8601 time. |
mon_end_time | An ISO-8601 time. |
tue_start_time | An ISO-8601 time. |
tue_end_time | An ISO-8601 time. |
wed_start_time | An ISO-8601 time. |
wed_end_time | An ISO-8601 time. |
thu_start_time | An ISO-8601 time. |
thu_end_time | An ISO-8601 time. |
fri_start_time | An ISO-8601 time. |
fri_end_time | An ISO-8601 time. |
sat_start_time | An ISO-8601 time. |
sat_end_time | An ISO-8601 time. |
coursegroups > courses > courseschedules > delete
Delete the given course schedule instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this course schedule. |
coursegroups > courses > courseschedules > events > list
Return all course schedules as a list of event instances.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this course schedule. |
coursegroups > courses > homework > list
Return a list of all homework instances for the given course. For convenience, homework instances on a GET are serialized with representations of associated attachments and reminders to avoid the need for redundant API calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
start | |
start__gte | |
end | |
end__lt | |
completed | |
category |
coursegroups > courses > homework > create
Create a new homework instance for the given course. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start required | An ISO-8601 date. |
end required | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
current_grade required | The current grade in fraction form (ex. 25/30). |
completed | Whether or not the homework has been completed. |
category | The category with which to associate. |
materials | A list of materials with which to associate. |
coursegroups > courses > homework > read
Return the given homework instance. For convenience, homework instances on a GET are serialized with representations of associated attachments and reminders to avoid the need for redundant API calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this homework. |
coursegroups > courses > homework > update
Update the given homework instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this homework. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start required | An ISO-8601 date. |
end required | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
current_grade required | The current grade in fraction form (ex. 25/30). |
completed | Whether or not the homework has been completed. |
category | The category with which to associate. |
materials | A list of materials with which to associate. |
coursegroups > courses > homework > partial_update
Update only the given attributes of the given homework instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this homework. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start | An ISO-8601 date. |
end | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
current_grade | The current grade in fraction form (ex. 25/30). |
completed | Whether or not the homework has been completed. |
category | The category with which to associate. |
materials | A list of materials with which to associate. |
coursegroups > courses > homework > delete
Delete the given homework instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course_group required | The course group with which to associate. |
course required | The course with which to associate. |
id required | A unique integer value identifying this homework. |
courses > list
Return a list of all course instances for the authenticated user, including course schedule details.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
start_date | |
start_date__gte | |
end_date | |
end_date__lte |
events > list
Return a list of all event instances for the authenticated user. For convenience, event instances on a GET are serialized with representations of associated attachments and reminders to avoid the need for redundant API calls.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
start | |
start__gte | |
end | |
end__lt | |
search | A search term. |
ordering | Which field to use when ordering the results. |
events > create
Create a new event instance for the authenticated user. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start required | An ISO-8601 date. |
end required | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
owner_id | An arbitrary string identifying the owning resource. |
events > read
Return the given event instance. For convenience, event instances on a GET are serialized with representations of associated attachments and reminders to avoid the need for redundant API calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this event. |
events > update
Update the given event instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this event. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start required | An ISO-8601 date. |
end required | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
owner_id | An arbitrary string identifying the owning resource. |
events > partial_update
Update only the given attributes of the given event instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this event. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title | A display name. |
all_day | Whether or not it is an all day event. |
show_end_time | Whether or not the end time should be shown on the calendar. |
start | An ISO-8601 date. |
end | An ISO-8601 date. |
priority | A priority integer between 0 and 100. |
url | An optional URL that the calendar item references. |
comments | An arbitrary string (which may contain HTML formatting). |
owner_id | An arbitrary string identifying the owning resource. |
events > delete
Delete the given event instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this event. |
grades > list
Return the grades for the authenticated user. The result is a list of course groups. Each course group contains a nested list of courses. Each course contains a nested list of categories. Each entity contains three fields: `id`, `overall_grade`, and `grade_points`. `grade_points` represents a list of grades accumulating over time. This is a list made up of individual grade points, each a tuple containing two values of the format [time, grade_at_time].
homework > list
Return a list of all homework instances for the authenticated user. For convenience, homework instances on a GET are serialized with representations of associated attachments and reminders to avoid the need for redundant API calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
course required | The course with which to associate. |
course_group required | The course group with which to associate. |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
start | |
start__gte | |
end | |
end__lt | |
completed | |
category | |
search | A search term. |
ordering | Which field to use when ordering the results. |
materialgroups > create
Create a new material group instance for the authenticated user. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
shown_on_calendar | Whether or not items should be shown on the calendar. |
materialgroups > read
Return the given material group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this material group. |
materialgroups > update
Update the given material group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this material group. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
shown_on_calendar | Whether or not items should be shown on the calendar. |
materialgroups > delete
Delete the given material group instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this material group. |
materialgroups > materials > list
Return a list of all material instances for the given material group.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
material_group required | The material group with which to associate. |
materialgroups > materials > create
Create a new material instance for the given material group. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
material_group required | The material group with which to associate. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
status | A valid material status choice. |
condition | A valid material condition choice. |
website | A valid URL. |
price | A price string. |
details | An arbitrary string (which may contain HTML formatting). |
courses | A list of courses with which to associate. |
materialgroups > materials > read
Return the given material instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
material_group required | The material group with which to associate. |
id required | A unique integer value identifying this material. |
materialgroups > materials > update
Update the given material instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
material_group required | The material group with which to associate. |
id required | A unique integer value identifying this material. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
status | A valid material status choice. |
condition | A valid material condition choice. |
website | A valid URL. |
price | A price string. |
details | An arbitrary string (which may contain HTML formatting). |
courses | A list of courses with which to associate. |
materialgroups > materials > delete
Delete the given material instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
material_group required | The material group with which to associate. |
id required | A unique integer value identifying this material. |
reminders > list
Return a list of all reminder instances for the authenticated user. For convenience, reminder instances on a GET are serialized to a depth of two to avoid the need for redundant API calls.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
event | |
homework | |
type | |
sent | |
start_of_range__lte |
reminders > create
Create a new reminder instance for the authenticated user. For more details pertaining to choice field values, [see here](https://github.com/HeliumEdu/platform/wiki#choices).
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
message required | A string that will be used as the reminder message (may contain HTML formatting). |
offset | The number of units (in `offset_type`) from the offset. |
offset_type | A valid reminder offset type choice. |
type | A valid reminder type choice. |
sent | Whether or not the reminder has been sent. |
homework | The homework with which to associate. |
event | The event with which to associate. |
reminders > read
Return the given reminder instance. For convenience, reminder instances on a GET are serialized to a depth of two to avoid the need for redundant API calls.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this reminder. |
reminders > update
Update the given reminder instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this reminder. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title required | A display name. |
message required | A string that will be used as the reminder message (may contain HTML formatting). |
offset | The number of units (in `offset_type`) from the offset. |
offset_type | A valid reminder offset type choice. |
type | A valid reminder type choice. |
sent | Whether or not the reminder has been sent. |
homework | The homework with which to associate. |
event | The event with which to associate. |
reminders > partial_update
Update only the given attributes of the given reminder instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this reminder. |
Request Body
The request body should be a "application/json"
encoded object, containing the following items.
Parameter | Description |
---|---|
title | A display name. |
message | A string that will be used as the reminder message (may contain HTML formatting). |
offset | The number of units (in `offset_type`) from the offset. |
offset_type | A valid reminder offset type choice. |
type | A valid reminder type choice. |
sent | Whether or not the reminder has been sent. |
homework | The homework with which to associate. |
event | The event with which to associate. |
reminders > delete
Delete the given reminder instance.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this reminder. |