lms-graphql-api 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lms_graphql/mutations/canvas/create_assignment.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_accounts.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_blackout_date_courses.rb +31 -0
- data/lib/lms_graphql/mutations/canvas/create_calendar_event.rb +10 -6
- data/lib/lms_graphql/mutations/canvas/create_content_migration_accounts.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_courses.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_groups.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_content_migration_users.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/create_course_section.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_enrollment_term.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_folder_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_folders.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_folder_users.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_jwt.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/create_line_item.rb +5 -3
- data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_module_item.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_discussion_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_quiz.rb +5 -5
- data/lib/lms_graphql/mutations/canvas/create_score.rb +15 -3
- data/lib/lms_graphql/mutations/canvas/cross_list_section.rb +5 -2
- data/lib/lms_graphql/mutations/canvas/de_cross_list_section.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_accounts.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_blackout_date_courses.rb +26 -0
- data/lib/lms_graphql/mutations/canvas/delete_calendar_event.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/delete_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/delete_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/duplicate_page.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +7 -5
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/edit_section.rb +6 -4
- data/lib/lms_graphql/mutations/canvas/edit_user.rb +6 -2
- data/lib/lms_graphql/mutations/canvas/edit_user_BACKUP_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_BASE_72590.rb +47 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_LOCAL_72590.rb +53 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_REMOTE_72590.rb +49 -0
- data/lib/lms_graphql/mutations/canvas/edit_user_login.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/enroll_user_sections.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +5 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +5 -1
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_courses_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_assessments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mark_rubric_assessments_as_read_sections_rubric_comments.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/mutations.rb +15 -2
- data/lib/lms_graphql/mutations/canvas/remove_quiz_migration_alert.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/revert_to_revision_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/save_enabled_account_calendars.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/self_register_user.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/start_report.rb +3 -1
- data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_account.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_accounts.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_blackout_date_courses.rb +33 -0
- data/lib/lms_graphql/mutations/canvas/update_calendar_event.rb +12 -6
- data/lib/lms_graphql/mutations/canvas/update_calendar_s_visibility.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_course.rb +9 -5
- data/lib/lms_graphql/mutations/canvas/update_course_settings.rb +8 -2
- data/lib/lms_graphql/mutations/canvas/update_create_page_courses.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_create_page_groups.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_enrollment_term.rb +8 -6
- data/lib/lms_graphql/mutations/canvas/update_file.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_folder.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_line_item.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/update_list_of_blackout_dates.rb +27 -0
- data/lib/lms_graphql/mutations/canvas/update_many_calendars_visibility.rb +24 -0
- data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/update_planner_note.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_plannernote.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_topic_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas_base_mutation.rb +0 -1
- data/lib/lms_graphql/resolvers/canvas/advanced_query.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/count_of_all_visible_account_calendars.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/course_audit_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_bulk_user_progress.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +6 -2
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_ids_of_outcome_groups_created_after_successful_import_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_courses_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_assessments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_rubric_assessments_read_state_sections_rubric_comments.rb +26 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_account_calendar.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_accounts.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_single_blackout_date_courses.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/grade_change_log_query_by_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_all_account_calendars.rb +27 -0
- data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_account_calendars.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_accounts.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_blackout_dates_courses.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +8 -4
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +8 -4
- data/lib/lms_graphql/resolvers/canvas/list_line_items.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_of_commmessages_for_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_revisions_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_revisions_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_user_page_views.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_accounts.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/new_blackout_date_courses.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/query_by_account.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_assignment.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_grader.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_login.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_student.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/query_by_user.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_accounts.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignments_enabled_for_grade_export_to_sis_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/show_line_item.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_outcome.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/show_page_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_page_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_courses_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_latest.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/show_revision_groups_revision_id.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/translate_file_reference.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas_base_resolver.rb +0 -1
- data/lib/lms_graphql/types/canvas/account_calendar.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_calendar_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/account_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/account_notification.rb +2 -2
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/admin_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/anonymous_user_display.rb +1 -0
- data/lib/lms_graphql/types/canvas/anonymous_user_display_input.rb +3 -2
- data/lib/lms_graphql/types/canvas/answer_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/appointment.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment_group.rb +4 -4
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +25 -25
- data/lib/lms_graphql/types/canvas/appointment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assessment_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment.rb +10 -6
- data/lib/lms_graphql/types/canvas/assignment_date.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_date_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/assignment_extension_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/assignment_group_attribute_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/assignment_input.rb +74 -70
- data/lib/lms_graphql/types/canvas/assignment_override.rb +4 -4
- data/lib/lms_graphql/types/canvas/assignment_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/authentication_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/authentication_event_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +20 -20
- data/lib/lms_graphql/types/canvas/avatar_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/blackout_date.rb +19 -0
- data/lib/lms_graphql/types/canvas/blackout_date_input.rb +19 -0
- data/lib/lms_graphql/types/canvas/blueprint_migration.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_migration_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/blueprint_restriction_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/blueprint_template.rb +1 -1
- data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/bookmark_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/calendar_event.rb +10 -6
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +37 -33
- data/lib/lms_graphql/types/canvas/calendar_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/change_record_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/collaboration.rb +2 -2
- data/lib/lms_graphql/types/canvas/collaboration_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/collaborator_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/column_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/comm_message_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/communication_channel_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/completion_requirement_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/conference.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/conference_recording.rb +2 -2
- data/lib/lms_graphql/types/canvas/conference_recording_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/content_detail.rb +3 -3
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/content_export_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/content_migration.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_migration_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/content_share.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_share_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/conversation.rb +1 -1
- data/lib/lms_graphql/types/canvas/conversation_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/conversation_participant_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course.rb +5 -4
- data/lib/lms_graphql/types/canvas/course_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_event_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_event_link_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/course_input.rb +51 -50
- data/lib/lms_graphql/types/canvas/course_nickname_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/course_progress.rb +1 -1
- data/lib/lms_graphql/types/canvas/course_progress_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/course_quiz_extension_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/created_event_datum.rb +2 -2
- data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/custom_column_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/day.rb +1 -1
- data/lib/lms_graphql/types/canvas/day_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key.rb +2 -2
- data/lib/lms_graphql/types/canvas/developer_key_input.rb +21 -21
- data/lib/lms_graphql/types/canvas/discussion_topic.rb +4 -4
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +34 -34
- data/lib/lms_graphql/types/canvas/e_portfolio.rb +3 -3
- data/lib/lms_graphql/types/canvas/e_portfolio_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/e_portfolio_page.rb +2 -2
- data/lib/lms_graphql/types/canvas/e_portfolio_page_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/enrollment.rb +6 -6
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +44 -44
- data/lib/lms_graphql/types/canvas/enrollment_term.rb +3 -2
- data/lib/lms_graphql/types/canvas/enrollment_term_input.rb +9 -8
- data/lib/lms_graphql/types/canvas/enrollment_terms_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export.rb +1 -1
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/error_report_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/exception_record_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/external_feed.rb +1 -1
- data/lib/lms_graphql/types/canvas/external_feed_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/external_tool_tag_attribute_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/favorite_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/feature.rb +1 -3
- data/lib/lms_graphql/types/canvas/feature_flag_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/feature_input.rb +8 -10
- data/lib/lms_graphql/types/canvas/federated_attribute_config_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/federated_attributes_config_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/file.rb +2 -2
- data/lib/lms_graphql/types/canvas/file_attachment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/file_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/folder.rb +4 -4
- data/lib/lms_graphql/types/canvas/folder_input.rb +20 -20
- data/lib/lms_graphql/types/canvas/grade_change_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grade_change_event_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/grade_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/grader_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_period_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/grading_rule_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/grading_scheme_entry_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_standard_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/group_category_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/group_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/group_membership_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/help_link_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/history_entry.rb +1 -1
- data/lib/lms_graphql/types/canvas/history_entry_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/inst_access_token_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/jsonapi_pagination_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/jwt_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/late_policy.rb +2 -2
- data/lib/lms_graphql/types/canvas/late_policy_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/license_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/line_item.rb +2 -1
- data/lib/lms_graphql/types/canvas/line_item_input.rb +8 -7
- data/lib/lms_graphql/types/canvas/lock_info.rb +2 -2
- data/lib/lms_graphql/types/canvas/lock_info_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/lti_assignment.rb +1 -1
- data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/media_comment_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/media_object_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/media_track_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/migration_issue.rb +2 -2
- data/lib/lms_graphql/types/canvas/migration_issue_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/migrator_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/module_item_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/names_and_role_context_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_membership_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/names_and_role_message.rb +2 -2
- data/lib/lms_graphql/types/canvas/names_and_role_message_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/needs_grading_count_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/notification_preference_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/originality_report.rb +1 -1
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/outcome.rb +1 -0
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/outcome_import.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/outcome_input.rb +18 -17
- data/lib/lms_graphql/types/canvas/outcome_link_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_path_part_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_result_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/page.rb +3 -2
- data/lib/lms_graphql/types/canvas/page_input.rb +14 -13
- data/lib/lms_graphql/types/canvas/page_revision.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/page_view.rb +1 -1
- data/lib/lms_graphql/types/canvas/page_view_input.rb +17 -17
- data/lib/lms_graphql/types/canvas/page_view_link_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/pairing_code_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/peer_review_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/planner_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/planner_override_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/poll_choice_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/poll_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/poll_session_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/poll_submission_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/proficiency_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/profile_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/progress.rb +2 -2
- data/lib/lms_graphql/types/canvas/progress_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/provisional_grade.rb +1 -1
- data/lib/lms_graphql/types/canvas/provisional_grade_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/query_type.rb +69 -9
- data/lib/lms_graphql/types/canvas/quiz.rb +5 -5
- data/lib/lms_graphql/types/canvas/quiz_assignment_override.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_extension_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_group_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_input.rb +39 -39
- data/lib/lms_graphql/types/canvas/quiz_ip_filter_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/quiz_question_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/quiz_report.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_report_input.rb +13 -13
- data/lib/lms_graphql/types/canvas/quiz_statistic.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_point_biserial_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_answer_statistic_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistics_link_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_statistics_submission_statistic_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/quiz_submission_event.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_event_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/quiz_submission_input.rb +19 -19
- data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_user_list_metum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/report.rb +3 -3
- data/lib/lms_graphql/types/canvas/report_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/report_parameter.rb +2 -2
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +18 -18
- data/lib/lms_graphql/types/canvas/result_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/result_link_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/role_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/role_permission_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +11 -11
- data/lib/lms_graphql/types/canvas/rubric_association_input.rb +10 -10
- data/lib/lms_graphql/types/canvas/rubric_criterion_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +9 -9
- data/lib/lms_graphql/types/canvas/rubric_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/rubric_rating_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/scope_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/score_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/score_statistic.rb +3 -0
- data/lib/lms_graphql/types/canvas/score_statistic_input.rb +6 -3
- data/lib/lms_graphql/types/canvas/section.rb +2 -2
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/section_assignment_override_attribute_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/section_attribute_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/section_input.rb +12 -12
- data/lib/lms_graphql/types/canvas/shared_brand_config.rb +2 -2
- data/lib/lms_graphql/types/canvas/shared_brand_config_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_assignment.rb +4 -4
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +15 -15
- data/lib/lms_graphql/types/canvas/sis_import.rb +5 -3
- data/lib/lms_graphql/types/canvas/sis_import_count_input.rb +16 -16
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/sis_import_error_input.rb +5 -5
- data/lib/lms_graphql/types/canvas/sis_import_input.rb +24 -22
- data/lib/lms_graphql/types/canvas/sis_import_statistic_input.rb +14 -14
- data/lib/lms_graphql/types/canvas/sso_setting_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/student_attribute_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission.rb +5 -4
- data/lib/lms_graphql/types/canvas/submission_comment.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_comment_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_input.rb +31 -30
- data/lib/lms_graphql/types/canvas/submission_version.rb +4 -4
- data/lib/lms_graphql/types/canvas/submission_version_input.rb +23 -23
- data/lib/lms_graphql/types/canvas/tab_input.rb +7 -7
- data/lib/lms_graphql/types/canvas/term.rb +2 -2
- data/lib/lms_graphql/types/canvas/term_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/tool_setting_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/turnitin_setting_input.rb +8 -8
- data/lib/lms_graphql/types/canvas/updated_event_datum.rb +2 -2
- data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/usage_right_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user.rb +1 -0
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute.rb +3 -3
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/user_display_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/user_input.rb +18 -17
- data/lib/lms_graphql/types/canvas_base_type.rb +0 -1
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_progress.rb +15 -0
- data/lib/lms_graphql/types/canvas_bespoke/canvas_module_user.rb +20 -0
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +4 -0
- data/lib/lms_graphql/version.rb +1 -1
- metadata +47 -6
- data/lib/lms_graphql/types/date_time_type.rb +0 -22
@@ -14,7 +14,7 @@ module LMSGraphQL
|
|
14
14
|
field :context_id, ID, "The id of the context, if applicable.Example: 123", null: true
|
15
15
|
field :context_name, String, "The name of the context.Example: Something 101", null: true
|
16
16
|
field :visited_url, String, "The URL of the item.Example: https://canvas.example.com/courses/123/assignments/456", null: true
|
17
|
-
field :visited_at,
|
17
|
+
field :visited_at, GraphQL::Types::ISO8601DateTime, "When the page was visited.Example: 2019-08-01T19:49:47Z", null: true
|
18
18
|
field :interaction_seconds, Int, "The estimated time spent on the page in seconds.Example: 400", null: true
|
19
19
|
|
20
20
|
end
|
@@ -6,16 +6,16 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasHistoryEntryInput < BaseInputObject
|
8
8
|
description "History. API Docs: https://canvas.instructure.com/doc/api/history.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
9
|
+
argument :asset_code, String, "The asset string for the item viewed.Example: assignment_123", required: false
|
10
|
+
argument :asset_name, String, "The name of the item.Example: Test Assignment", required: false
|
11
|
+
argument :asset_icon, String, "The icon type shown for the item. One of 'icon-announcement', 'icon-assignment', 'icon-calendar-month', 'icon-discussion', 'icon-document', 'icon-download', 'icon-gradebook', 'icon-home', 'icon-message', 'icon-module', 'icon-outcomes', 'icon-quiz', 'icon-user', 'icon-syllabus'.Example: icon-assignment", required: false
|
12
|
+
argument :asset_readable_category, String, "The associated category describing the asset_icon.Example: Assignment", required: false
|
13
|
+
argument :context_type, String, "The type of context of the item visited. One of 'Course', 'Group', 'User', or 'Account'.Example: Course", required: false
|
14
|
+
argument :context_id, ID, "The id of the context, if applicable.Example: 123", required: false
|
15
|
+
argument :context_name, String, "The name of the context.Example: Something 101", required: false
|
16
|
+
argument :visited_url, String, "The URL of the item.Example: https://canvas.example.com/courses/123/assignments/456", required: false
|
17
|
+
argument :visited_at, GraphQL::Types::ISO8601DateTime, "When the page was visited.Example: 2019-08-01T19:49:47Z", required: false
|
18
|
+
argument :interaction_seconds, Int, "The estimated time spent on the page in seconds.Example: 400", required: false
|
19
19
|
|
20
20
|
end
|
21
21
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasInstAccessTokenInput < BaseInputObject
|
8
8
|
description "InstAccess tokens. API Docs: https://canvas.instructure.com/doc/api/inst_access_tokens.html"
|
9
|
-
|
9
|
+
argument :token, String, "The InstAccess token itself -- a signed, encrypted JWT.Example: eyJhbGciOiJSU0ExXzUiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0.EstatUwzltksvZn4wbjHYiwleM986vzryrv4R9jqvYDGEY4rt6KPG4Q6lJ3oI0piYbH7h17i8vIWv35cqrgRbb7fzmGQ0Ptj74OEjx-1gGBMZCbZTE4W206XxPHRm9TS4qOAvIq0hsvJroE4xZsVWJFiUIKl_Wd2udbvqwF8bvnMKPAx_ooa-9mWaG1N9kd4EWC3Oxu9wi7j8ZG_TbkLSXAg1KxLaO2zXBcU5_HWrKFRxOjHmWpaOMKWkjUInt-DA6fLRszBZp9BFGoop8S9KDs6f1JebLgyM5gGrP-Gz7kSEAPO9eVXtjpd6N29wMClNI0X-Ppp_40Fp4Z3vocTKQ.c_tcevWI68RuZ0s04fDSEQ.wV8KIPHGfYwxm19MWt3K7VVGm4qqZJruPwAZ8rdUANTzJoqwafqOnYZLCyky8lV7J-m64SMVUmR-BOha_CmJEKVVw7T5x70MTP6-nv4RMVPpcViHsNgE2f1GE9HUauVePw7CrnV0PyVaNq2EZasDgdHdye4iG_-hXXQZRnGYzxl8UceTLBVkpEYHlXKdD7DyQ0IT2BYOcZSpXyW7kEIvAHpNaNbvTPCR2t0SeGbuNf8PpYVjohKDpXhNgQ-Pyl9pxs05TrdjTq1fIctzTLqIN58nfqzoqQld6rSkjcAZZXgr8bOsg8EDFMov5gTv2_Uf-YOm52yD1SbL0lJ-VdpKgXu7XtQ4UmEOj40W4uXF-KmLTjEwQmdbmtKrruhakIeth7EZa3w0Xg6RRyHLqKUheAdTgxAIer8MST8tamZlqW1b9wjMw371zSSjeksF_UjTS9p9i7eTtRPuAbf9geDhKb5e-y29MJaL1eKkhTMiEOPY3O4XGGuqRdRMrbjkNmla_RxiQhFJ3T8Dem-yDRan8gqaJLfRRrvGViz-lty96bQT-Z0hVer1uJhAtkM6RT_DgrnAUP_66LfaupZr6bLCKwnYocF1ICcAzkcYw7l5jHa4DTc2ZLgLi-yfbv2wGXpybAvLfZcO424TxHOuQykCSvbfPPuf06kkjPbYmMg6_GdM3JcQ_50VUXQFZkjH45BH5zX7y-2u0ReM8zxt65RpJAvlivrc8j2_E-u0LhlzCwEgsnd61lG4baaI86IVl4wNXkMDui4CgGvAUAf4AXW7Imw_cF0zI69z0SLfahjaYkdREGIYKStBtPAR04sfsR7o.LHBODYub4W4Vq-SXfdbk1Q", required: false
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasJWTInput < BaseInputObject
|
8
8
|
description "JWTs. API Docs: https://canvas.instructure.com/doc/api/jw_ts.html"
|
9
|
-
|
9
|
+
argument :token, String, "The signed, encrypted, base64 encoded JWT.Example: ZXlKaGJHY2lPaUprYVhJaUxDSmxibU1pT2lKQk1qVTJSME5OSW4wLi5QbnAzS1QzLUJkZ3lQZHgtLm5JT0pOV01iZmdtQ0g3WWtybjhLeHlMbW13cl9yZExXTXF3Y0IwbXkzZDd3V1NDd0JYQkV0UTRtTVNJSVRrX0FJcG0zSU1DeThMcW5NdzA0ckdHVTkweDB3MmNJbjdHeWxOUXdveU5ZZ3UwOEN4TkZteUpCeW5FVktrdU05QlRyZXZ3Y1ZTN2hvaC1WZHRqM19PR3duRm5yUVgwSFhFVFc4R28tUGxoQVUtUnhKT0pNakx1OUxYd2NDUzZsaW9ZMno5NVU3T0hLSGNpaDBmSGVjN2FzekVJT3g4NExUeHlReGxYU3BtbFZ5LVNuYWdfbVJUeU5yNHNsMmlDWFcwSzZCNDhpWHJ1clJVVm1LUkVlVTl4ZVVJcTJPaWNpSHpfemJ0X3FrMjhkdzRyajZXRnBHSlZPNWcwTlUzVHlSWk5qdHg1S2NrTjVSQjZ1X2FzWTBScjhTY2VhNFk3Y2JFX01wcm54cFZTNDFIekVVSVRNdzVMTk1GLVpQZy52LVVDTkVJYk8zQ09EVEhPRnFXLUFR", required: false
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -15,8 +15,8 @@ module LMSGraphQL
|
|
15
15
|
field :late_submission_interval, String, "time interval for late submission deduction.Example: hour", null: true
|
16
16
|
field :late_submission_minimum_percent_enabled, Boolean, "whether to enable late submission minimum percent.Example: true", null: true
|
17
17
|
field :late_submission_minimum_percent, Float, "the minimum score a submission can receive in percentage points.Example: 12.34", null: true
|
18
|
-
field :created_at,
|
19
|
-
field :updated_at,
|
18
|
+
field :created_at, GraphQL::Types::ISO8601DateTime, "the time at which this late policy was originally created.Example: 2012-07-01T23:59:00-06:00", null: true
|
19
|
+
field :updated_at, GraphQL::Types::ISO8601DateTime, "the time at which this late policy was last modified in any way.Example: 2012-07-01T23:59:00-06:00", null: true
|
20
20
|
|
21
21
|
end
|
22
22
|
end
|
@@ -6,17 +6,17 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasLatePolicyInput < BaseInputObject
|
8
8
|
description "Late Policy. API Docs: https://canvas.instructure.com/doc/api/late_policy.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
9
|
+
argument :id, ID, "the unique identifier for the late policy.Example: 123", required: false
|
10
|
+
argument :course_id, ID, "the unique identifier for the course.Example: 123", required: false
|
11
|
+
argument :missing_submission_deduction_enabled, Boolean, "whether to enable missing submission deductions.Example: true", required: false
|
12
|
+
argument :missing_submission_deduction, Float, "amount of percentage points to deduct.Example: 12.34", required: false
|
13
|
+
argument :late_submission_deduction_enabled, Boolean, "whether to enable late submission deductions.Example: true", required: false
|
14
|
+
argument :late_submission_deduction, Float, "amount of percentage points to deduct per late_submission_interval.Example: 12.34", required: false
|
15
|
+
argument :late_submission_interval, String, "time interval for late submission deduction.Example: hour", required: false
|
16
|
+
argument :late_submission_minimum_percent_enabled, Boolean, "whether to enable late submission minimum percent.Example: true", required: false
|
17
|
+
argument :late_submission_minimum_percent, Float, "the minimum score a submission can receive in percentage points.Example: 12.34", required: false
|
18
|
+
argument :created_at, GraphQL::Types::ISO8601DateTime, "the time at which this late policy was originally created.Example: 2012-07-01T23:59:00-06:00", required: false
|
19
|
+
argument :updated_at, GraphQL::Types::ISO8601DateTime, "the time at which this late policy was last modified in any way.Example: 2012-07-01T23:59:00-06:00", required: false
|
20
20
|
|
21
21
|
end
|
22
22
|
end
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasLicenseInput < BaseInputObject
|
8
8
|
description "Files. API Docs: https://canvas.instructure.com/doc/api/files.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
argument :id, ID, "a short string identifying the license.Example: cc_by_sa", required: false
|
10
|
+
argument :name, String, "the name of the license.Example: CC Attribution ShareAlike", required: false
|
11
|
+
argument :url, String, "a link to the license text.Example: http://creativecommons.org/licenses/by-sa/4.0", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -12,7 +12,8 @@ module LMSGraphQL
|
|
12
12
|
field :tag, String, "Tag used to qualify a line Item beyond its ids.Example: 50", null: true
|
13
13
|
field :resource_id, String, "A Tool Provider specified id for the Line Item. Multiple line items can share the same resourceId within a given context.Example: 50", null: true
|
14
14
|
field :resource_link_id, String, "The resource link id the Line Item is attached to.Example: 50", null: true
|
15
|
-
field :
|
15
|
+
field :lti_submission_type, String, "The extension that defines the submission_type of the line_item. Only returns if set through the line_item create endpoint..Example: { 'type':'external_tool', 'external_tool_url':'https://my.launch.url', }", null: true
|
16
|
+
field :lti_launch_url, String, "The launch url of the Line Item. Only returned if `include=launch_url` query parameter is passed, and only for Show and List actions..Example: https://my.tool.url/launch", null: true
|
16
17
|
|
17
18
|
end
|
18
19
|
end
|
@@ -6,13 +6,14 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasLineItemInput < BaseInputObject
|
8
8
|
description "Line Items. API Docs: https://canvas.instructure.com/doc/api/line_items.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
argument :id, ID, "The fully qualified URL for showing, updating, and deleting the Line Item.Example: http://institution.canvas.com/api/lti/courses/5/line_items/2", required: false
|
10
|
+
argument :score_maximum, Float, "The maximum score of the Line Item.Example: 50", required: false
|
11
|
+
argument :label, String, "The label of the Line Item..Example: 50", required: false
|
12
|
+
argument :tag, String, "Tag used to qualify a line Item beyond its ids.Example: 50", required: false
|
13
|
+
argument :resource_id, String, "A Tool Provider specified id for the Line Item. Multiple line items can share the same resourceId within a given context.Example: 50", required: false
|
14
|
+
argument :resource_link_id, String, "The resource link id the Line Item is attached to.Example: 50", required: false
|
15
|
+
argument :lti_submission_type, String, "The extension that defines the submission_type of the line_item. Only returns if set through the line_item create endpoint..Example: { 'type':'external_tool', 'external_tool_url':'https://my.launch.url', }", required: false
|
16
|
+
argument :lti_launch_url, String, "The launch url of the Line Item. Only returned if `include=launch_url` query parameter is passed, and only for Show and List actions..Example: https://my.tool.url/launch", required: false
|
16
17
|
|
17
18
|
end
|
18
19
|
end
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
class CanvasLockInfo < BaseType
|
8
8
|
description "Assignments. API Docs: https://canvas.instructure.com/doc/api/assignments.html"
|
9
9
|
field :asset_string, String, "Asset string for the object causing the lock.Example: assignment_4", null: true
|
10
|
-
field :unlock_at,
|
11
|
-
field :lock_at,
|
10
|
+
field :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be unlocked. Must be before the due date..Example: 2013-01-01T00:00:00-06:00", null: true
|
11
|
+
field :lock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be locked. Must be after the due date..Example: 2013-02-01T00:00:00-06:00", null: true
|
12
12
|
field :context_module, String, "(Optional) Context module causing the lock..Example: {}", null: true
|
13
13
|
field :manually_locked, Boolean, "Example: true", null: true
|
14
14
|
|
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasLockInfoInput < BaseInputObject
|
8
8
|
description "Assignments. API Docs: https://canvas.instructure.com/doc/api/assignments.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
argument :asset_string, String, "Asset string for the object causing the lock.Example: assignment_4", required: false
|
10
|
+
argument :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be unlocked. Must be before the due date..Example: 2013-01-01T00:00:00-06:00", required: false
|
11
|
+
argument :lock_at, GraphQL::Types::ISO8601DateTime, "(Optional) Time at which this was/will be locked. Must be after the due date..Example: 2013-02-01T00:00:00-06:00", required: false
|
12
|
+
argument :context_module, String, "(Optional) Context module causing the lock..Example: {}", required: false
|
13
|
+
argument :manually_locked, Boolean, "Example: true", required: false
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
field :name, String, "Example: Midterm Review", null: true
|
11
11
|
field :description, String, "Example: <p>Do the following:</p>.", null: true
|
12
12
|
field :points_possible, Int, "Example: 10", null: true
|
13
|
-
field :due_at,
|
13
|
+
field :due_at, GraphQL::Types::ISO8601DateTime, "The due date for the assignment. If a user id is supplied and an assignment override is in place this field will reflect the due date as it applies to the user..Example: 2012-07-01T23:59:00-06:00", null: true
|
14
14
|
field :lti_id, ID, "Example: 86157096483e6b3a50bfedc6bac902c0b20a824f", null: true
|
15
15
|
field :course_id, ID, "Example: 10000000000060", null: true
|
16
16
|
field :lti_course_id, ID, "Example: 66157096483e6b3a50bfedc6bac902c0b20a8241", null: true
|
@@ -6,14 +6,14 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasLtiAssignmentInput < BaseInputObject
|
8
8
|
description "Plagiarism Detection Platform Assignments. API Docs: https://canvas.instructure.com/doc/api/plagiarism_detection_platform_assignments.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
argument :id, ID, "Example: 4", required: false
|
10
|
+
argument :name, String, "Example: Midterm Review", required: false
|
11
|
+
argument :description, String, "Example: <p>Do the following:</p>.", required: false
|
12
|
+
argument :points_possible, Int, "Example: 10", required: false
|
13
|
+
argument :due_at, GraphQL::Types::ISO8601DateTime, "The due date for the assignment. If a user id is supplied and an assignment override is in place this field will reflect the due date as it applies to the user..Example: 2012-07-01T23:59:00-06:00", required: false
|
14
|
+
argument :lti_id, ID, "Example: 86157096483e6b3a50bfedc6bac902c0b20a824f", required: false
|
15
|
+
argument :course_id, ID, "Example: 10000000000060", required: false
|
16
|
+
argument :lti_course_id, ID, "Example: 66157096483e6b3a50bfedc6bac902c0b20a8241", required: false
|
17
17
|
|
18
18
|
end
|
19
19
|
end
|
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasMediaCommentInput < BaseInputObject
|
8
8
|
description "Submissions. API Docs: https://canvas.instructure.com/doc/api/submissions.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
argument :content_type, String, "Example: audio/mp4", required: false
|
10
|
+
argument :display_name, String, "Example: something", required: false
|
11
|
+
argument :media_id, ID, "Example: 3232", required: false
|
12
|
+
argument :media_type, String, "Example: audio", required: false
|
13
|
+
argument :url, String, "Example: http://example.com/media_url", required: false
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|
@@ -6,13 +6,13 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasMediaObjectInput < BaseInputObject
|
8
8
|
description "Media Objects. API Docs: https://canvas.instructure.com/doc/api/media_objects.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
argument :can_add_captions, Boolean, "", required: false
|
10
|
+
argument :user_entered_title, String, "", required: false
|
11
|
+
argument :title, String, "", required: false
|
12
|
+
argument :media_id, ID, "", required: false
|
13
|
+
argument :media_type, String, "", required: false
|
14
|
+
argument :media_tracks, String, "", required: false
|
15
|
+
argument :media_sources, String, "", required: false
|
16
16
|
|
17
17
|
end
|
18
18
|
end
|
@@ -6,15 +6,15 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasMediaTrackInput < BaseInputObject
|
8
8
|
description "Media Objects. API Docs: https://canvas.instructure.com/doc/api/media_objects.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
argument :id, ID, "", required: false
|
10
|
+
argument :user_id, ID, "", required: false
|
11
|
+
argument :media_object_id, ID, "", required: false
|
12
|
+
argument :kind, String, "", required: false
|
13
|
+
argument :locale, String, "", required: false
|
14
|
+
argument :content, String, "", required: false
|
15
|
+
argument :created_at, String, "", required: false
|
16
|
+
argument :updated_at, String, "", required: false
|
17
|
+
argument :webvtt_content, String, "", required: false
|
18
18
|
|
19
19
|
end
|
20
20
|
end
|
@@ -24,8 +24,8 @@ module LMSGraphQL
|
|
24
24
|
field :issue_type, MigrationIssueIssueTypeEnum, "Severity of the issue: todo, warning, error.Example: warning", null: true
|
25
25
|
field :error_report_html_url, String, "Link to a Canvas error report if present (If the requesting user has permissions).Example: https://example.com/error_reports/3", null: true
|
26
26
|
field :error_message, String, "Site administrator error message (If the requesting user has permissions).Example: admin only message", null: true
|
27
|
-
field :created_at,
|
28
|
-
field :updated_at,
|
27
|
+
field :created_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", null: true
|
28
|
+
field :updated_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", null: true
|
29
29
|
|
30
30
|
end
|
31
31
|
end
|
@@ -16,16 +16,16 @@ module LMSGraphQL
|
|
16
16
|
value "error"
|
17
17
|
end
|
18
18
|
description "Content Migrations. API Docs: https://canvas.instructure.com/doc/api/content_migrations.html"
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
19
|
+
argument :id, ID, "the unique identifier for the issue.Example: 370663", required: false
|
20
|
+
argument :content_migration_url, String, "API url to the content migration.Example: https://example.com/api/v1/courses/1/content_migrations/1", required: false
|
21
|
+
argument :description, String, "Description of the issue for the end-user.Example: Questions in this quiz couldn't be converted", required: false
|
22
|
+
argument :workflow_state, MigrationIssueInputWorkflowStateEnum, "Current state of the issue: active, resolved.Example: active", required: false
|
23
|
+
argument :fix_issue_html_url, String, "HTML Url to the Canvas page to investigate the issue.Example: https://example.com/courses/1/quizzes/2", required: false
|
24
|
+
argument :issue_type, MigrationIssueInputIssueTypeEnum, "Severity of the issue: todo, warning, error.Example: warning", required: false
|
25
|
+
argument :error_report_html_url, String, "Link to a Canvas error report if present (If the requesting user has permissions).Example: https://example.com/error_reports/3", required: false
|
26
|
+
argument :error_message, String, "Site administrator error message (If the requesting user has permissions).Example: admin only message", required: false
|
27
|
+
argument :created_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
|
28
|
+
argument :updated_at, GraphQL::Types::ISO8601DateTime, "timestamp.Example: 2012-06-01T00:00:00-06:00", required: false
|
29
29
|
|
30
30
|
end
|
31
31
|
end
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasMigratorInput < BaseInputObject
|
8
8
|
description "Content Migrations. API Docs: https://canvas.instructure.com/doc/api/content_migrations.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
argument :type, String, "The value to pass to the create endpoint.Example: common_cartridge_importer", required: false
|
10
|
+
argument :requires_file_upload, Boolean, "Whether this endpoint requires a file upload.Example: true", required: false
|
11
|
+
argument :name, String, "Description of the package type expected.Example: Common Cartridge 1.0/1.1/1.2 Package", required: false
|
12
|
+
argument :required_settings, [String], "A list of fields this system requires.Example: source_course_id", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -21,14 +21,14 @@ module LMSGraphQL
|
|
21
21
|
field :workflow_state, ModuleWorkflowStateEnum, "the state of the module: 'active', 'deleted'.Example: active", null: true
|
22
22
|
field :position, Int, "the position of this module in the course (1-based).Example: 2", null: true
|
23
23
|
field :name, String, "the name of this module.Example: Imaginary Numbers and You", null: true
|
24
|
-
field :unlock_at,
|
24
|
+
field :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) the date this module will unlock.Example: 2012-12-31T06:00:00-06:00", null: true
|
25
25
|
field :require_sequential_progress, Boolean, "Whether module items must be unlocked in order.Example: true", null: true
|
26
26
|
field :prerequisite_module_ids, [ID], "IDs of Modules that must be completed before this one is unlocked.Example: 121, 122", null: true
|
27
27
|
field :items_count, Int, "The number of items in the module.Example: 10", null: true
|
28
28
|
field :items_url, String, "The API URL to retrive this module's items.Example: https://canvas.example.com/api/v1/modules/123/items", null: true
|
29
29
|
field :items, [LMSGraphQL::Types::Canvas::CanvasModuleItem], "The contents of this module, as an array of Module Items. (Present only if requested via include[]=items AND the module is not deemed too large by Canvas.).", null: true
|
30
30
|
field :state, ModuleStateEnum, "The state of this Module for the calling user one of 'locked', 'unlocked', 'started', 'completed' (Optional; present only if the caller is a student or if the optional parameter 'student_id' is included).Example: started", null: true
|
31
|
-
field :completed_at,
|
31
|
+
field :completed_at, GraphQL::Types::ISO8601DateTime, "the date the calling user completed the module (Optional; present only if the caller is a student or if the optional parameter 'student_id' is included).", null: true
|
32
32
|
field :publish_final_grade, Boolean, "if the student's final grade for the course should be published to the SIS upon completion of this module.", null: true
|
33
33
|
field :published, Boolean, "(Optional) Whether this module is published. This field is present only if the caller has permission to view unpublished modules..Example: true", null: true
|
34
34
|
|
@@ -17,20 +17,20 @@ module LMSGraphQL
|
|
17
17
|
value "completed"
|
18
18
|
end
|
19
19
|
description "Modules. API Docs: https://canvas.instructure.com/doc/api/modules.html"
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
20
|
+
argument :id, ID, "the unique identifier for the module.Example: 123", required: false
|
21
|
+
argument :workflow_state, ModuleInputWorkflowStateEnum, "the state of the module: 'active', 'deleted'.Example: active", required: false
|
22
|
+
argument :position, Int, "the position of this module in the course (1-based).Example: 2", required: false
|
23
|
+
argument :name, String, "the name of this module.Example: Imaginary Numbers and You", required: false
|
24
|
+
argument :unlock_at, GraphQL::Types::ISO8601DateTime, "(Optional) the date this module will unlock.Example: 2012-12-31T06:00:00-06:00", required: false
|
25
|
+
argument :require_sequential_progress, Boolean, "Whether module items must be unlocked in order.Example: true", required: false
|
26
|
+
argument :prerequisite_module_ids, [ID], "IDs of Modules that must be completed before this one is unlocked.Example: 121, 122", required: false
|
27
|
+
argument :items_count, Int, "The number of items in the module.Example: 10", required: false
|
28
|
+
argument :items_url, String, "The API URL to retrive this module's items.Example: https://canvas.example.com/api/v1/modules/123/items", required: false
|
29
|
+
argument :items, [LMSGraphQL::Types::Canvas::CanvasModuleItemInput], "The contents of this module, as an array of Module Items. (Present only if requested via include[]=items AND the module is not deemed too large by Canvas.).", required: false
|
30
|
+
argument :state, ModuleInputStateEnum, "The state of this Module for the calling user one of 'locked', 'unlocked', 'started', 'completed' (Optional; present only if the caller is a student or if the optional parameter 'student_id' is included).Example: started", required: false
|
31
|
+
argument :completed_at, GraphQL::Types::ISO8601DateTime, "the date the calling user completed the module (Optional; present only if the caller is a student or if the optional parameter 'student_id' is included).", required: false
|
32
|
+
argument :publish_final_grade, Boolean, "if the student's final grade for the course should be published to the SIS upon completion of this module.", required: false
|
33
|
+
argument :published, Boolean, "(Optional) Whether this module is published. This field is present only if the caller has permission to view unpublished modules..Example: true", required: false
|
34
34
|
|
35
35
|
end
|
36
36
|
end
|
@@ -17,21 +17,21 @@ module LMSGraphQL
|
|
17
17
|
value "ExternalTool"
|
18
18
|
end
|
19
19
|
description "Modules. API Docs: https://canvas.instructure.com/doc/api/modules.html"
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
20
|
+
argument :id, ID, "the unique identifier for the module item.Example: 768", required: false
|
21
|
+
argument :module_id, ID, "the id of the Module this item appears in.Example: 123", required: false
|
22
|
+
argument :position, Int, "the position of this item in the module (1-based).Example: 1", required: false
|
23
|
+
argument :title, String, "the title of this item.Example: Square Roots: Irrational numbers or boxy vegetables?", required: false
|
24
|
+
argument :indent, Int, "0-based indent level; module items may be indented to show a hierarchy.Example: 0", required: false
|
25
|
+
argument :type, ModuleItemInputTypeEnum, "the type of object referred to one of 'File', 'Page', 'Discussion', 'Assignment', 'Quiz', 'SubHeader', 'ExternalUrl', 'ExternalTool'.Example: Assignment", required: false
|
26
|
+
argument :content_id, ID, "the id of the object referred to applies to 'File', 'Discussion', 'Assignment', 'Quiz', 'ExternalTool' types.Example: 1337", required: false
|
27
|
+
argument :html_url, String, "link to the item in Canvas.Example: https://canvas.example.edu/courses/222/modules/items/768", required: false
|
28
|
+
argument :url, String, "(Optional) link to the Canvas API object, if applicable.Example: https://canvas.example.edu/api/v1/courses/222/assignments/987", required: false
|
29
|
+
argument :page_url, String, "(only for 'Page' type) unique locator for the linked wiki page.Example: my-page-title", required: false
|
30
|
+
argument :external_url, String, "(only for 'ExternalUrl' and 'ExternalTool' types) external url that the item points to.Example: https://www.example.com/externalurl", required: false
|
31
|
+
argument :new_tab, Boolean, "(only for 'ExternalTool' type) whether the external tool opens in a new tab.", required: false
|
32
|
+
argument :completion_requirement, LMSGraphQL::Types::Canvas::CanvasCompletionRequirementInput, "Completion requirement for this module item.Example: min_score, 10, true", required: false
|
33
|
+
argument :content_details, LMSGraphQL::Types::Canvas::CanvasContentDetailInput, "(Present only if requested through include[]=content_details) If applicable, returns additional details specific to the associated object.Example: 20, 2012-12-31T06:00:00-06:00, 2012-12-31T06:00:00-06:00, 2012-12-31T06:00:00-06:00", required: false
|
34
|
+
argument :published, Boolean, "(Optional) Whether this module item is published. This field is present only if the caller has permission to view unpublished items..Example: true", required: false
|
35
35
|
|
36
36
|
end
|
37
37
|
end
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasModuleItemSequenceInput < BaseInputObject
|
9
9
|
description "Modules. API Docs: https://canvas.instructure.com/doc/api/modules.html"
|
10
|
-
|
11
|
-
|
10
|
+
argument :items, [LMSGraphQL::Types::Canvas::CanvasModuleItemSequenceNodeInput], "an array containing one ModuleItemSequenceNode for each appearence of the asset in the module sequence (up to 10 total).Example: {'prev'=>nil, 'current'=>{'id'=>768, 'module_id'=>123, 'title'=>'A lonely page', 'type'=>'Page'}, 'next'=>{'id'=>769, 'module_id'=>127, 'title'=>'Project 1', 'type'=>'Assignment'}, 'mastery_path'=>{'locked'=>true, 'assignment_sets'=>[], 'selected_set_id'=>nil, 'awaiting_choice'=>false, 'still_processing'=>false, 'modules_url'=>'/courses/11/modules', 'choose_url'=>'/courses/11/modules/items/9/choose', 'modules_tab_disabled'=>false}}", required: false
|
11
|
+
argument :modules, [LMSGraphQL::Types::Canvas::CanvasModuleInput], "an array containing each Module referenced above.Example: {'id'=>123, 'name'=>'Overview'}, {'id'=>127, 'name'=>'Imaginary Numbers'}", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -8,10 +8,10 @@ module LMSGraphQL
|
|
8
8
|
module Canvas
|
9
9
|
class CanvasModuleItemSequenceNodeInput < BaseInputObject
|
10
10
|
description "Modules. API Docs: https://canvas.instructure.com/doc/api/modules.html"
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
argument :prev, LMSGraphQL::Types::Canvas::CanvasModuleItemInput, "The previous ModuleItem in the sequence.", required: false
|
12
|
+
argument :current, LMSGraphQL::Types::Canvas::CanvasModuleItemInput, "The ModuleItem being queried.Example: 768, 123, A lonely page, Page", required: false
|
13
|
+
argument :next, LMSGraphQL::Types::Canvas::CanvasModuleItemInput, "The next ModuleItem in the sequence.Example: 769, 127, Project 1, Assignment", required: false
|
14
|
+
argument :mastery_path, String, "The conditional release rule for the module item, if applicable.Example: true, , , false, false, /courses/11/modules, /courses/11/modules/items/9/choose, false", required: false
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasNamesAndRoleContextInput < BaseInputObject
|
8
8
|
description "Names and Role. API Docs: https://canvas.instructure.com/doc/api/names_and_role.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
argument :id, ID, "LTI Context unique identifier.Example: 4dde05e8ca1973bcca9bffc13e1548820eee93a3", required: false
|
10
|
+
argument :label, String, "LTI Context short name or code.Example: CS-101", required: false
|
11
|
+
argument :title, String, "LTI Context full name.Example: Computer Science 101", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -7,9 +7,9 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasNamesAndRoleMembershipInput < BaseInputObject
|
9
9
|
description "Names and Role. API Docs: https://canvas.instructure.com/doc/api/names_and_role.html"
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
argument :id, ID, "Invocation URL.Example: https://example.instructure.com/api/lti/courses/1/names_and_roles?tlid=f91ca4d8-fa84-4a9b-b08e-47d5527416b0", required: false
|
11
|
+
argument :context, LMSGraphQL::Types::Canvas::CanvasNamesAndRoleContextInput, "The LTI Context containing the memberships.Example: 4dde05e8ca1973bcca9bffc13e1548820eee93a3, CS-101, Computer Science 101", required: false
|
12
|
+
argument :members, [LMSGraphQL::Types::Canvas::CanvasNamesAndRoleMembershipInput], "A list of NamesAndRoleMembership.Example: {'status'=>'Active', 'name'=>'Sienna Howell', 'picture'=>'https://example.instructure.com/images/messages/avatar-50.png', 'given_name'=>'Sienna', 'family_name'=>'Howell', 'email'=>'showell@school.edu', 'lis_person_sourcedid'=>'1238.8763.00', 'user_id'=>'535fa085f22b4655f48cd5a36a9215f64c062838', 'roles'=>['http://purl.imsglobal.org/vocab/lis/v2/membership#Instructor', 'http://purl.imsglobal.org/vocab/lis/v2/membership#ContentDeveloper'], 'message'=>[{'https://purl.imsglobal.org/spec/lti/claim/message_type'=>'LtiResourceLinkRequest', 'locale'=>'en', 'https://www.instructure.com/canvas_user_id'=>1, 'https://www.instructure.com/canvas_user_login_id'=>'showell@school.edu', 'https://purl.imsglobal.org/spec/lti/claim/custom'=>{'message_locale'=>'en', 'person_address_timezone'=>'America/Denver'}}]}, {'status'=>'Active', 'name'=>'Terrence Walls', 'picture'=>'https://example.instructure.com/images/messages/avatar-51.png', 'given_name'=>'Terrence', 'family_name'=>'Walls', 'email'=>'twalls@school.edu', 'lis_person_sourcedid'=>'5790.3390.11', 'user_id'=>'86157096483e6b3a50bfedc6bac902c0b20a824f', 'roles'=>['http://purl.imsglobal.org/vocab/lis/v2/membership#Learner'], 'message'=>[{'https://purl.imsglobal.org/spec/lti/claim/message_type'=>'LtiResourceLinkRequest', 'locale'=>'de', 'https://www.instructure.com/canvas_user_id'=>2, 'https://www.instructure.com/canvas_user_login_id'=>'twalls@school.edu', 'https://purl.imsglobal.org/spec/lti/claim/custom'=>{'message_locale'=>'en', 'person_address_timezone'=>'Europe/Berlin'}}]}", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasNamesAndRoleMessage < BaseType
|
8
8
|
description "Names and Role. API Docs: https://canvas.instructure.com/doc/api/names_and_role.html"
|
9
|
-
field :
|
9
|
+
field :lti_claim_message_type, String, "The type of LTI message being described. Always set to 'LtiResourceLinkRequest'.Example: LtiResourceLinkRequest", null: true
|
10
10
|
field :locale, String, "The member's preferred locale.Example: en", null: true
|
11
11
|
field :canvas_user_id, ID, "The member's API ID.Example: 1", null: true
|
12
12
|
field :canvas_user_login_id, ID, "The member's primary login username.Example: showell@school.edu", null: true
|
13
|
-
field :
|
13
|
+
field :lti_claim_custom, String, "Expanded LTI custom parameters that pertain to the member (as opposed to the Context).Example: en, America/Denver", null: true
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|