Canvas Api Assignments

Search account domains

GET /api/v1/accounts/search

Returns a list of up to 5 matching account domains

Partial match on name / domain are supported

Request Parameters:

ParameterTypeDescription
namestring

campus name

domainstring

no description

latitudenumber

no description

longitudenumber

no description

Example Request:

Example Response:

Show a global notification AccountNotificationsController#show

GET /api/v1/accounts/:account_id/account_notifications/:id

Returns a global notification for the current user A notification that has been closed by the user will not be returned

Example Request:

Returns a AccountNotification

Create a global notification AccountNotificationsController#create

POST /api/v1/accounts/:account_id/account_notifications

Create and return a new global notification for an account.

Request Parameters:

ParameterTypeDescription
account_notification[subject] Required string

The subject of the notification.

account_notification[message] Required string

The message body of the notification.

account_notification[start_at] Required DateTime

The start date and time of the notification in ISO8601 format. e.g. 2014-01-01T01:00Z

account_notification[end_at] Required DateTime

The end date and time of the notification in ISO8601 format. e.g. 2014-01-01T01:00Z

account_notification[icon]string

The icon to display with the notification. Note: Defaults to warning.

Allowed values:, , , ,

account_notification_roles[]string

The role(s) to send global notification to. Note: ommitting this field will send to everyone Example:

Example Request:

Example Response:

Update a global notification AccountNotificationsController#update

PUT /api/v1/accounts/:account_id/account_notifications/:id

Update global notification for an account.

Request Parameters:

ParameterTypeDescription
account_notification[subject]string

The subject of the notification.

account_notification[message]string

The message body of the notification.

account_notification[start_at]DateTime

The start date and time of the notification in ISO8601 format. e.g. 2014-01-01T01:00Z

account_notification[end_at]DateTime

The end date and time of the notification in ISO8601 format. e.g. 2014-01-01T01:00Z

account_notification[icon]string

The icon to display with the notification.

Allowed values:, , , ,

account_notification_roles[]string

The role(s) to send global notification to. Note: ommitting this field will send to everyone Example:

Example Request:

Example Response:

List Available Reports AccountReportsController#available_reports

GET /api/v1/accounts/:account_id/reports

Returns a paginated list of reports for the current context.

API response field:

  • name
  • parameters

    The parameters will vary for each report

Example Request:

Example Response:

Start a Report AccountReportsController#create

POST /api/v1/accounts/:account_id/reports/:report

Generates a report instance for the account. Note that “report” in the request must match one of the available report names. To fetch a list of available report names and parameters for each report (including whether or not those parameters are required), see List Available Reports.

Request Parameters:

ParameterTypeDescription
parametersstring

The parameters will vary for each report. To fetch a list of available parameters for each report, see List Available Reports. A few example parameters have been provided below. Note that the example parameters provided below may not be valid for every report.

parameters[course_id]integer

The id of the course to report on. Note: this parameter has been listed to serve as an example and may not be valid for every report.

parameters[users]boolean

If true, user data will be included. If false, user data will be omitted. Note: this parameter has been listed to serve as an example and may not be valid for every report.

Example Request:

Returns a Report

Index of Reports AccountReportsController#index

GET /api/v1/accounts/:account_id/reports/:report

Shows all reports that have been run for the account of a specific type.

Example Request:

Returns a list of Reports

Status of a Report AccountReportsController#show

GET /api/v1/accounts/:account_id/reports/:report/:id

Returns the status of a report.

Example Request:

Returns a Report

Delete a Report AccountReportsController#destroy

DELETE /api/v1/accounts/:account_id/reports/:report/:id

Deletes a generated report instance.

Example Request:

Returns a Report

List accounts AccountsController#index

GET /api/v1/accounts

A paginated list of accounts that the current user can view or manage. Typically, students and even teachers will get an empty list in response, only account admins can view the accounts that they are in.

Request Parameters:

ParameterTypeDescription
include[]string

Array of additional information to include.

“lti_guid”

the 'tool_consumer_instance_guid' that will be sent for this account on LTI launches

“registration_settings”

returns info about the privacy policy and terms of use

“services”

returns services and whether they are enabled (requires account management permissions)

Allowed values:, ,

Returns a list of Accounts

Get the sub-accounts of an account AccountsController#sub_accounts

GET /api/v1/accounts/:account_id/sub_accounts

List accounts that are sub-accounts of the given account.

Request Parameters:

ParameterTypeDescription
recursiveboolean

If true, the entire account tree underneath this account will be returned (though still paginated). If false, only direct sub-accounts of this account will be returned. Defaults to false.

Example Request:

Returns a list of Accounts

Returns the terms of service for that account AccountsController#terms_of_service

GET /api/v1/accounts/:account_id/terms_of_service

List active courses in an account AccountsController#courses_api

GET /api/v1/accounts/:account_id/courses

Retrieve a paginated list of courses in this account.

Request Parameters:

ParameterTypeDescription
with_enrollmentsboolean

If true, include only courses with at least one enrollment. If false, include only courses with no enrollments. If not present, do not filter on course enrollment status.

enrollment_type[]string

If set, only return courses that have at least one user enrolled in in the course with one of the specified enrollment types.

Allowed values:, , , ,

publishedboolean

If true, include only published courses. If false, exclude published courses. If not present, do not filter on published status.

completedboolean

If true, include only completed courses (these may be in state 'completed', or their enrollment term may have ended). If false, exclude completed courses. If not present, do not filter on completed status.

blueprintboolean

If true, include only blueprint courses. If false, exclude them. If not present, do not filter on this basis.

blueprint_associatedboolean

If true, include only courses that inherit content from a blueprint course. If false, exclude them. If not present, do not filter on this basis.

by_teachers[]integer

List of User IDs of teachers; if supplied, include only courses taught by one of the referenced users.

by_subaccounts[]integer

List of Account IDs; if supplied, include only courses associated with one of the referenced subaccounts.

hide_enrollmentless_coursesboolean

If present, only return courses that have at least one enrollment. Equivalent to 'with_enrollments=true'; retained for compatibility.

state[]string

If set, only return courses that are in the given state(s). By default, all states but “deleted” are returned.

Allowed values:, , , , ,

enrollment_term_idinteger

If set, only includes courses from the specified term.

search_termstring

The partial course name, code, or full ID to match and return in the results list. Must be at least 3 characters.

include[]string
  • All explanations can be seen in the Course API index documentation

  • “sections”, “needs_grading_count” and “total_scores” are not valid options at the account level

Allowed values:, , , , ,

sortstring

The column to sort results by.

Allowed values:, , ,

orderstring

The order to sort the given column by.

Allowed values:,

search_bystring

The filter to search by. “course” searches for course names, course codes, and SIS IDs. “teacher” searches for teacher names

Allowed values:,

Returns a list of Courses

Update an account AccountsController#update

PUT /api/v1/accounts/:id

Update an existing account.

Request Parameters:

ParameterTypeDescription
account[name]string

Updates the account name

account[sis_account_id]string

Updates the account sis_account_id Must have manage_sis permission and must not be a root_account.

account[default_time_zone]string

The default time zone of the account. Allowed time zones are IANA time zones or friendlier Ruby on Rails time zones.

account[default_storage_quota_mb]integer

The default course storage quota to be used, if not otherwise specified.

account[default_user_storage_quota_mb]integer

The default user storage quota to be used, if not otherwise specified.

account[default_group_storage_quota_mb]integer

The default group storage quota to be used, if not otherwise specified.

account[settings][restrict_student_past_view][value]boolean

Restrict students from viewing courses after end date

account[settings][restrict_student_past_view][locked]boolean

Lock this setting for sub-accounts and courses

account[settings][restrict_student_future_view][value]boolean

Restrict students from viewing courses before start date

account[settings][restrict_student_future_view][locked]boolean

Lock this setting for sub-accounts and courses

account[settings][lock_all_announcements][value]boolean

Disable comments on announcements

account[settings][lock_all_announcements][locked]boolean

Lock this setting for sub-accounts and courses

account[settings][restrict_student_future_listing][value]boolean

Restrict students from viewing future enrollments in course list

account[settings][restrict_student_future_listing][locked]boolean

Lock this setting for sub-accounts and courses

account[services]Hash

Give this a set of keys and boolean values to enable or disable services matching the keys

Example Request:

Returns a Account

Delete a user from the root account AccountsController#remove_user

DELETE /api/v1/accounts/:account_id/users/:user_id

Delete a user record from a Canvas root account. If a user is associated with multiple root accounts (in a multi-tenant instance of Canvas), this action will NOT remove them from the other accounts.

WARNING: This API will allow a user to remove themselves from the account. If they do this, they won't be able to make API calls or log into Canvas at that account.

Example Request:

Returns a User

Create a new sub-account SubAccountsController#create

POST /api/v1/accounts/:account_id/sub_accounts

Add a new sub-account to a given account.

Request Parameters:

ParameterTypeDescription
account[name] Required string

The name of the new sub-account.

account[sis_account_id]string

The account's identifier in the Student Information System.

account[default_storage_quota_mb]integer

The default course storage quota to be used, if not otherwise specified.

account[default_user_storage_quota_mb]integer

The default user storage quota to be used, if not otherwise specified.

account[default_group_storage_quota_mb]integer

The default group storage quota to be used, if not otherwise specified.

Returns a Account

Make an account admin AdminsController#create

POST /api/v1/accounts/:account_id/admins

Flag an existing user as an admin within the account.

Request Parameters:

ParameterTypeDescription
user_id Required integer

The id of the user to promote.

rolestring
DEPRECATED

The user's admin relationship with the account will be

created with the given role. Defaults to 'AccountAdmin'.

role_idinteger

The user's admin relationship with the account will be created with the given role. Defaults to the built-in role for 'AccountAdmin'.

send_confirmationboolean

Send a notification email to the new admin if true. Default is true.

Returns a Admin

Remove account admin AdminsController#destroy

DELETE /api/v1/accounts/:account_id/admins/:user_id

Remove the rights associated with an account admin role from a user.

Request Parameters:

ParameterTypeDescription
rolestring
DEPRECATED

Account role to remove from the user. Defaults to

'AccountAdmin'. Any other account role must be specified explicitly.

role_idinteger

The user's admin relationship with the account will be created with the given role. Defaults to the built-in role for 'AccountAdmin'.

Returns a Admin

List account admins AdminsController#index

GET /api/v1/accounts/:account_id/admins

A paginated list of the admins in the account

Request Parameters:

ParameterTypeDescription
user_id[][Integer]

Scope the results to those with user IDs equal to any of the IDs specified here.

Returns a list of Admins

Get department-level participation data

GET /api/v1/accounts/:account_id/analytics/terms/:term_id/activity

GET /api/v1/accounts/:account_id/analytics/current/activity

GET /api/v1/accounts/:account_id/analytics/completed/activity

Returns page view hits summed across all courses in the department. Two groupings of these counts are returned; one by day (), the other by category (). The possible categories are announcements, assignments, collaborations, conferences, discussions, files, general, grades, groups, modules, other, pages, and quizzes.

This and the other department-level endpoints have three variations which all return the same style of data but for different subsets of courses. All share the prefix /api/v1/accounts/<account_id>/analytics. The possible suffixes are:

Courses not yet offered or which have been deleted are never included.

/current and /completed are intended for use when the account has only one term. /terms/<term_id> is intended for use when the account has multiple terms.

The action follows the suffix.

Example Request:

Example Response:

Get department-level grade data

GET /api/v1/accounts/:account_id/analytics/terms/:term_id/grades

GET /api/v1/accounts/:account_id/analytics/current/grades

GET /api/v1/accounts/:account_id/analytics/completed/grades

Returns the distribution of grades for students in courses in the department. Each data point is one student's current grade in one course; if a student is in multiple courses, he contributes one value per course, but if he's enrolled multiple times in the same course (e.g. a lecture section and a lab section), he only constributes on value for that course.

Grades are binned to the nearest integer score; anomalous grades outside the 0 to 100 range are ignored. The raw counts are returned, not yet normalized by the total count.

Shares the same variations on endpoint as the participation data.

Example Request:

Example Response:

Get department-level statistics

GET /api/v1/accounts/:account_id/analytics/terms/:term_id/statistics

GET /api/v1/accounts/:account_id/analytics/current/statistics

GET /api/v1/accounts/:account_id/analytics/completed/statistics

Returns numeric statistics about the department and term (or filter).

Shares the same variations on endpoint as the participation data.

Example Request:

Example Response:

Get course-level participation data

GET /api/v1/courses/:course_id/analytics/activity

Returns page view hits and participation numbers grouped by day through the entire history of the course. Page views is returned as a hash, where the hash keys are dates in the format “YYYY-MM-DD”. The page_views result set includes page views broken out by access category. Participations is returned as an array of dates in the format “YYYY-MM-DD”.

Example Request:

Example Response:

Get course-level assignment data

GET /api/v1/courses/:course_id/analytics/assignments

Returns a list of assignments for the course sorted by due date. For each assignment returns basic assignment information, the grade breakdown, and a breakdown of on-time/late status of homework submissions.

Request Parameters:

ParameterTypeDescription
asyncboolean

If async is true, then the course_assignments call can happen asynch- ronously and MAY return a response containing a progress_url key instead of an assignments array. If it does, then it is the caller's responsibility to poll the API again to see if the progress is complete. If the data is ready (possibly even on the first async call) then it will be passed back normally, as documented in the example response.

Example Request:

Example Response:

Get course-level student summary data

GET /api/v1/courses/:course_id/analytics/student_summaries

Returns a summary of per-user access information for all students in a course. This includes total page views, total participations, and a breakdown of on-time/late status for all homework submissions in the course.

Each student's summary also includes the maximum number of page views and participations by any student in the course, which may be useful for some visualizations (since determining maximums client side can be tricky with pagination).

Request Parameters:

ParameterTypeDescription
sort_columnstring

The order results in which results are returned. Defaults to “name”.

Allowed values:, , , , , , ,

student_idstring

If set, returns only the specified student.

Example Request:

Example Response:

Get user-in-a-course-level participation data

GET /api/v1/courses/:course_id/analytics/users/:student_id/activity

Returns page view hits grouped by hour, and participation details through the entire history of the course.

`page_views` are returned as a hash, where the keys are iso8601 dates, bucketed by the hour. `participations` are returned as an array of hashes, sorted oldest to newest.

Example Request:

Example Response:

Get user-in-a-course-level assignment data

GET /api/v1/courses/:course_id/analytics/users/:student_id/assignments

Returns a list of assignments for the course sorted by due date. For each assignment returns basic assignment information, the grade breakdown (including the student's actual grade), and the basic submission information for the student's submission if it exists.

Example Request:

Example Response:

Get user-in-a-course-level messaging data

GET /api/v1/courses/:course_id/analytics/users/:student_id/communication

Returns messaging “hits” grouped by day through the entire history of the course. Returns a hash containing the number of instructor-to-student messages, and student-to-instructor messages, where the hash keys are dates in the format “YYYY-MM-DD”. Message hits include Conversation messages and comments on homework submissions.

Example Request:

Example Response:

List external feeds ExternalFeedsController#index

GET /api/v1/courses/:course_id/external_feeds

GET /api/v1/groups/:group_id/external_feeds

Returns the paginated list of External Feeds this course or group.

Example Request:

Returns a list of ExternalFeeds

Create an external feed ExternalFeedsController#create

POST /api/v1/courses/:course_id/external_feeds

POST /api/v1/groups/:group_id/external_feeds

Create a new external feed for the course or group.

Request Parameters:

ParameterTypeDescription
url Required string

The url to the external rss or atom feed

header_matchboolean

If given, only feed entries that contain this string in their title will be imported

verbositystring

Defaults to “full”

Allowed values:, ,

Example Request:

Returns a ExternalFeed

Delete an external feed ExternalFeedsController#destroy

DELETE /api/v1/courses/:course_id/external_feeds/:external_feed_id

DELETE /api/v1/groups/:group_id/external_feeds/:external_feed_id

Deletes the external feed.

Example Request:

Returns a ExternalFeed

List announcements AnnouncementsApiController#index

GET /api/v1/announcements

Returns the paginated list of announcements for the given courses and date range. Note that a field is added to the responses so you can tell which course each announcement belongs to.

Request Parameters:

ParameterTypeDescription
context_codes[] Required string

List of context_codes to retrieve announcements for (for example, ). Only courses are presently supported. The call will fail unless the caller has View Announcements permission in all listed courses.

start_dateDate

Only return announcements posted since the start_date (inclusive). Defaults to 14 days ago. The value should be formatted as: yyyy-mm-dd or ISO 8601 YYYY-MM-DDTHH:MM:SSZ.

end_dateDate

Only return announcements posted before the end_date (inclusive). Defaults to 28 days from start_date. The value should be formatted as: yyyy-mm-dd or ISO 8601 YYYY-MM-DDTHH:MM:SSZ. Announcements scheduled for future posting will only be returned to course administrators.

active_onlyboolean

Only return active announcements that have been published. Applies only to requesting users that have permission to view unpublished items. Defaults to false for users with access to view unpublished items, otherwise true and unmodifiable.

includearray

Optional list of resources to include with the response. May include a string of the name of the resource. Possible values are: “sections”, “sections_user_count” if “sections” is passed, includes the course sections that are associated with the topic, if the topic is specific to sertain sections of the course. If “sections_user_count” is passed, then:

Example Request:

Example Response:

Returns a list of DiscussionTopics

List appointment groups AppointmentGroupsController#index

GET /api/v1/appointment_groups

Retrieve the paginated list of appointment groups that can be reserved or managed by the current user.

Request Parameters:

ParameterTypeDescription
scopestring

Defaults to “reservable”

Allowed values:,

context_codes[]string

Array of context codes used to limit returned results.

include_past_appointmentsboolean

Defaults to false. If true, includes past appointment groups

include[]string

Array of additional information to include.

“appointments”

calendar event time slots for this appointment group

“child_events”

reservations of those time slots

“participant_count”

number of reservations

“reserved_times”

the event id, start time and end time of reservations the current user has made)

“all_context_codes”

all context codes associated with this appointment group

Allowed values:, , , ,

Create an appointment group AppointmentGroupsController#create

POST /api/v1/appointment_groups

Create and return a new appointment group. If new_appointments are specified, the response will return a new_appointments array (same format as appointments array, see “List appointment groups” action)

Request Parameters:

ParameterTypeDescription
appointment_group[context_codes][] Required string

Array of context codes (courses, e.g. course_1) this group should be linked to (1 or more). Users in the course(s) with appropriate permissions will be able to sign up for this appointment group.

appointment_group[sub_context_codes][]string

Array of sub context codes (course sections or a single group category) this group should be linked to. Used to limit the appointment group to particular sections. If a group category is specified, students will sign up in groups and the participant_type will be “Group” instead of “User”.

appointment_group[title] Required string

Short title for the appointment group.

appointment_group[description]string

Longer text description of the appointment group.

appointment_group[location_name]string

Location name of the appointment group.

appointment_group[location_address]string

Location address.

appointment_group[publish]boolean

Indicates whether this appointment group should be published (i.e. made available for signup). Once published, an appointment group cannot be unpublished. Defaults to false.

appointment_group[participants_per_appointment]integer

Maximum number of participants that may register for each time slot. Defaults to null (no limit).

appointment_group[min_appointments_per_participant]integer

Minimum number of time slots a user must register for. If not set, users do not need to sign up for any time slots.

appointment_group[max_appointments_per_participant]integer

Maximum number of time slots a user may register for.

appointment_group[new_appointments][X][]string

Nested array of start time/end time pairs indicating time slots for this appointment group. Refer to the example request.

appointment_group[participant_visibility]string
“private”

participants cannot see who has signed up for a particular time slot

“protected”

participants can see who has signed up. Defaults to “private”.

Allowed values:,

Example Request:

Get a single appointment group AppointmentGroupsController#show

GET /api/v1/appointment_groups/:id

Returns information for a single appointment group

Request Parameters:

ParameterTypeDescription
include[]string

Array of additional information to include. See include[] argument of “List appointment groups” action.

“child_events”

reservations of time slots time slots

List enrollments EnrollmentsApiController#index

GET /api/v1/courses/:course_id/enrollments

GET /api/v1/sections/:section_id/enrollments

GET /api/v1/users/:user_id/enrollments

Depending on the URL given, return a paginated list of either (1) all of the enrollments in a course, (2) all of the enrollments in a section or (3) all of a user's enrollments. This includes student, teacher, TA, and observer enrollments.

If a user has multiple enrollments in a context (e.g. as a teacher and a student or in multiple course sections), each enrollment will be listed separately.

note: Currently, only a root level admin user can return other users' enrollments. A user can, however, return his/her own enrollments.

Request Parameters:

ParameterTypeDescription
type[]string

A list of enrollment types to return. Accepted values are 'StudentEnrollment', 'TeacherEnrollment', 'TaEnrollment', 'DesignerEnrollment', and 'ObserverEnrollment.' If omitted, all enrollment types are returned. This argument is ignored if `role` is given.

role[]string

A list of enrollment roles to return. Accepted values include course-level roles created by the Add Role API as well as the base enrollment types accepted by the `type` argument above.

state[]string

Filter by enrollment state. If omitted, 'active' and 'invited' enrollments are returned. When querying a user's enrollments (either via user_id argument or via user enrollments endpoint), the following additional synthetic states are supported: “current_and_invited”|“current_and_future”|“current_and_concluded”

Allowed values:, , , , , ,

include[]string

Array of additional information to include on the enrollment or user records. “avatar_url” and “group_ids” will be returned on the user record.

Allowed values:, , , ,

user_idstring

Filter by user_id (only valid for course or section enrollment queries). If set to the current user's id, this is a way to determine if the user has any enrollments in the course or section, independent of whether the user has permission to view other people on the roster.

grading_period_idinteger

Return grades for the given grading_period. If this parameter is not specified, the returned grades will be for the whole course.

sis_account_id[]string

Returns only enrollments for the specified SIS account ID(s). Does not look into subaccounts. May pass in array or string.

sis_course_id[]string

Returns only enrollments matching the specified SIS course ID(s). May pass in array or string.

sis_section_id[]string

Returns only section enrollments matching the specified SIS section ID(s). May pass in array or string.

sis_user_id[]string

Returns only enrollments for the specified SIS user ID(s). May pass in array or string.

Returns a list of Enrollments

Enroll a user EnrollmentsApiController#create

POST /api/v1/courses/:course_id/enrollments

POST /api/v1/sections/:section_id/enrollments

Create a new user enrollment for a course or section.

Request Parameters:

ParameterTypeDescription
enrollment[user_id] Required string

The ID of the user to be enrolled in the course.

enrollment[type] Required string

Enroll the user as a student, teacher, TA, observer, or designer. If no value is given, the type will be inferred by enrollment if supplied, otherwise 'StudentEnrollment' will be used.

Allowed values:, , , ,

enrollment[role]Deprecated

Assigns a custom course-level role to the user.

enrollment[role_id]integer

Assigns a custom course-level role to the user.

enrollment[enrollment_state]string

If set to 'active,' student will be immediately enrolled in the course. Otherwise they will be required to accept a course invitation. Default is 'invited.'.

If set to 'inactive', student will be listed in the course roster for teachers, but will not be able to participate in the course until their enrollment is activated.

Allowed values:, ,

enrollment[course_section_id]integer

The ID of the course section to enroll the student in. If the section-specific URL is used, this argument is redundant and will be ignored.

enrollment[limit_privileges_to_course_section]boolean

If set, the enrollment will only allow the user to see and interact with users enrolled in the section given by course_section_id.

  • For teachers and TAs, this includes grading privileges.

  • Section-limited students will not see any users (including teachers and TAs) not enrolled in their sections.

  • Users may have other enrollments that grant privileges to multiple sections in the same course.

enrollment[notify]boolean

If true, a notification will be sent to the enrolled user. Notifications are not sent by default.

enrollment[self_enrollment_code]string

If the current user is not allowed to manage enrollments in this course, but the course allows self-enrollment, the user can self- enroll as a student in the default section by passing in a valid code. When self-enrolling, the user_id must be 'self'. The enrollment_state will be set to 'active' and all other arguments will be ignored.

enrollment[self_enrolled]boolean

If true, marks the enrollment as a self-enrollment, which gives students the ability to drop the course if desired. Defaults to false.

enrollment[associated_user_id]integer

For an observer enrollment, the ID of a student to observe. The caller must have permission in the course. This is a one-off operation; to automatically observe all a student's enrollments (for example, as a parent), please use the User Observees API.

Example Request:

Returns a Enrollment

Conclude, deactivate, or delete an enrollment EnrollmentsApiController#destroy

DELETE /api/v1/courses/:course_id/enrollments/:id

Conclude, deactivate, or delete an enrollment. If the argument isn't given, the enrollment will be concluded.

Request Parameters:

ParameterTypeDescription
taskstring

The action to take on the enrollment. When inactive, a user will still appear in the course roster to admins, but be unable to participate. (“inactivate” and “deactivate” are equivalent tasks)

Allowed values:, , ,

Example Request:

Returns a Enrollment

Accept Course Invitation EnrollmentsApiController#accept

POST /api/v1/courses/:course_id/enrollments/:id/accept

accepts a pending course invitation for the current user

Example Request:

Reject Course Invitation EnrollmentsApiController#reject

POST /api/v1/courses/:course_id/enrollments/:id/reject

rejects a pending course invitation for the current user

Example Request:

Adds last attended date to student enrollment in course EnrollmentsApiController#last_attended

PUT /api/v1/courses/:course_id/users/:user_id/last_attended

0 thoughts on “Canvas Api Assignments”

    -->

Leave a Comment

Your email address will not be published. Required fields are marked *