Learning Object Dates
API for accessing date-related attributes on assignments, quizzes, modules, discussions, pages, and files. Note that support for files is not yet available.
A LearningObjectDates object looks like:
LearningObjectDatesController#show
GET /api/v1/courses/:course_id/modules/:context_module_id/date_details
GET /api/v1/courses/:course_id/modules/:context_module_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/modules/:context_module_id/date_details
GET /api/v1/courses/:course_id/assignments/:assignment_id/date_details
GET /api/v1/courses/:course_id/assignments/:assignment_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/date_details
GET /api/v1/courses/:course_id/quizzes/:quiz_id/date_details
GET /api/v1/courses/:course_id/quizzes/:quiz_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/quizzes/:quiz_id/date_details
GET /api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
GET /api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
GET /api/v1/courses/:course_id/pages/:url_or_id/date_details
GET /api/v1/courses/:course_id/pages/:url_or_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/pages/:url_or_id/date_details
GET /api/v1/courses/:course_id/files/:attachment_id/date_details
GET /api/v1/courses/:course_id/files/:attachment_id/date_details
Scope: url:GET|/api/v1/courses/:course_id/files/:attachment_id/date_details
Get a learning object’s date-related information, including due date, availability dates, override status, and a paginated list of all assignment overrides for the item.
Returns a LearningObjectDates object.
LearningObjectDatesController#update
PUT /api/v1/courses/:course_id/assignments/:assignment_id/date_details
PUT /api/v1/courses/:course_id/assignments/:assignment_id/date_details
Scope: url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/date_details
PUT /api/v1/courses/:course_id/quizzes/:quiz_id/date_details
PUT /api/v1/courses/:course_id/quizzes/:quiz_id/date_details
Scope: url:PUT|/api/v1/courses/:course_id/quizzes/:quiz_id/date_details
PUT /api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
PUT /api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
Scope: url:PUT|/api/v1/courses/:course_id/discussion_topics/:discussion_topic_id/date_details
PUT /api/v1/courses/:course_id/pages/:url_or_id/date_details
PUT /api/v1/courses/:course_id/pages/:url_or_id/date_details
Scope: url:PUT|/api/v1/courses/:course_id/pages/:url_or_id/date_details
PUT /api/v1/courses/:course_id/files/:attachment_id/date_details
PUT /api/v1/courses/:course_id/files/:attachment_id/date_details
Scope: url:PUT|/api/v1/courses/:course_id/files/:attachment_id/date_details
Updates date-related information for learning objects, including due date, availability dates, override status, and assignment overrides.
Returns 204 No Content response code if successful.
Request Parameters:
Example Request:
© Instructure, Inc. Generated on Wed Nov 6 14:20:07 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated