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
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasNamesAndRoleMessageInput < BaseInputObject
|
8
8
|
description "Names and Role. API Docs: https://canvas.instructure.com/doc/api/names_and_role.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
argument :lti_claim_message_type, String, "The type of LTI message being described. Always set to 'LtiResourceLinkRequest'.Example: LtiResourceLinkRequest", required: false
|
10
|
+
argument :locale, String, "The member's preferred locale.Example: en", required: false
|
11
|
+
argument :canvas_user_id, ID, "The member's API ID.Example: 1", required: false
|
12
|
+
argument :canvas_user_login_id, ID, "The member's primary login username.Example: showell@school.edu", required: false
|
13
|
+
argument :lti_claim_custom, String, "Expanded LTI custom parameters that pertain to the member (as opposed to the Context).Example: en, America/Denver", required: false
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasNeedsGradingCountInput < BaseInputObject
|
8
8
|
description "Assignments. API Docs: https://canvas.instructure.com/doc/api/assignments.html"
|
9
|
-
|
10
|
-
|
9
|
+
argument :section_id, ID, "The section ID.Example: 123456", required: false
|
10
|
+
argument :needs_grading_count, Int, "Number of submissions that need grading.Example: 5", required: false
|
11
11
|
|
12
12
|
end
|
13
13
|
end
|
@@ -12,10 +12,10 @@ module LMSGraphQL
|
|
12
12
|
value "never"
|
13
13
|
end
|
14
14
|
description "Notification Preferences. API Docs: https://canvas.instructure.com/doc/api/notification_preferences.html"
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
argument :href, String, "Example: https://canvas.instructure.com/users/1/communication_channels/email/student@example.edu/notification_preferences/new_announcement", required: false
|
16
|
+
argument :notification, String, "The notification this preference belongs to.Example: new_announcement", required: false
|
17
|
+
argument :category, String, "The category of that notification.Example: announcement", required: false
|
18
|
+
argument :frequency, NotificationPreferenceInputFrequencyEnum, "How often to send notifications to this communication channel for the given notification. Possible values are 'immediately', 'daily', 'weekly', and 'never'.Example: daily", required: false
|
19
19
|
|
20
20
|
end
|
21
21
|
end
|
@@ -13,7 +13,7 @@ module LMSGraphQL
|
|
13
13
|
field :originality_report_url, String, "A non-LTI launch URL where the originality score of the file may be found..Example: http://www.example.com/report", null: true
|
14
14
|
field :tool_setting, LMSGraphQL::Types::Canvas::CanvasToolSetting, "A ToolSetting object containing optional 'resource_type_code' and 'resource_url'.", null: true
|
15
15
|
field :error_report, String, "A message describing the error. If set, the workflow_state will become 'error.'.", null: true
|
16
|
-
field :submission_time,
|
16
|
+
field :submission_time, GraphQL::Types::ISO8601DateTime, "The submitted_at date time of the submission..", null: true
|
17
17
|
field :root_account_id, ID, "The id of the root Account associated with the OriginalityReport.Example: 1", null: true
|
18
18
|
|
19
19
|
end
|
@@ -6,15 +6,15 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOriginalityReportInput < BaseInputObject
|
8
8
|
description "Originality Reports. API Docs: https://canvas.instructure.com/doc/api/originality_reports.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
argument :id, ID, "The id of the OriginalityReport.Example: 4", required: false
|
10
|
+
argument :file_id, ID, "The id of the file receiving the originality score.Example: 8", required: false
|
11
|
+
argument :originality_score, Float, "A number between 0 and 100 representing the originality score.Example: 0.16", required: false
|
12
|
+
argument :originality_report_file_id, ID, "The ID of the file within Canvas containing the originality report document (if provided).Example: 23", required: false
|
13
|
+
argument :originality_report_url, String, "A non-LTI launch URL where the originality score of the file may be found..Example: http://www.example.com/report", required: false
|
14
|
+
argument :tool_setting, LMSGraphQL::Types::Canvas::CanvasToolSettingInput, "A ToolSetting object containing optional 'resource_type_code' and 'resource_url'.", required: false
|
15
|
+
argument :error_report, String, "A message describing the error. If set, the workflow_state will become 'error.'.", required: false
|
16
|
+
argument :submission_time, GraphQL::Types::ISO8601DateTime, "The submitted_at date time of the submission..", required: false
|
17
|
+
argument :root_account_id, ID, "The id of the root Account associated with the OriginalityReport.Example: 1", required: false
|
18
18
|
|
19
19
|
end
|
20
20
|
end
|
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeAlignmentInput < BaseInputObject
|
8
8
|
description "Outcomes. API Docs: https://canvas.instructure.com/doc/api/outcomes.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
argument :id, ID, "the id of the aligned learning outcome..Example: 1", required: false
|
10
|
+
argument :assignment_id, ID, "the id of the aligned assignment (null for live assessments)..Example: 2", required: false
|
11
|
+
argument :assessment_id, ID, "the id of the aligned live assessment (null for assignments)..Example: 3", required: false
|
12
|
+
argument :submission_types, String, "a string representing the different submission types of an aligned assignment..Example: online_text_entry,online_url", required: false
|
13
|
+
argument :url, String, "the URL for the aligned assignment..Example: /courses/1/assignments/5", required: false
|
14
|
+
argument :title, String, "the title of the aligned assignment..Example: Unit 1 test", required: false
|
15
15
|
|
16
16
|
end
|
17
17
|
end
|
@@ -6,18 +6,18 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeGroupInput < BaseInputObject
|
8
8
|
description "Outcome Groups. API Docs: https://canvas.instructure.com/doc/api/outcome_groups.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
9
|
+
argument :id, ID, "the ID of the outcome group.Example: 1", required: false
|
10
|
+
argument :url, String, "the URL for fetching/updating the outcome group. should be treated as opaque.Example: /api/v1/accounts/1/outcome_groups/1", required: false
|
11
|
+
argument :parent_outcome_group, LMSGraphQL::Types::Canvas::CanvasOutcomeGroupInput, "an abbreviated OutcomeGroup object representing the parent group of this outcome group, if any. omitted in the abbreviated form..", required: false
|
12
|
+
argument :context_id, ID, "the context owning the outcome group. may be null for global outcome groups. omitted in the abbreviated form..Example: 1", required: false
|
13
|
+
argument :context_type, String, "Example: Account", required: false
|
14
|
+
argument :title, String, "title of the outcome group.Example: Outcome group title", required: false
|
15
|
+
argument :description, String, "description of the outcome group. omitted in the abbreviated form..Example: Outcome group description", required: false
|
16
|
+
argument :vendor_guid, String, "A custom GUID for the learning standard..Example: customid9000", required: false
|
17
|
+
argument :subgroups_url, String, "the URL for listing/creating subgroups under the outcome group. should be treated as opaque.Example: /api/v1/accounts/1/outcome_groups/1/subgroups", required: false
|
18
|
+
argument :outcomes_url, String, "the URL for listing/creating outcome links under the outcome group. should be treated as opaque.Example: /api/v1/accounts/1/outcome_groups/1/outcomes", required: false
|
19
|
+
argument :import_url, String, "the URL for importing another group into this outcome group. should be treated as opaque. omitted in the abbreviated form..Example: /api/v1/accounts/1/outcome_groups/1/import", required: false
|
20
|
+
argument :can_edit, Boolean, "whether the current user can update the outcome group.Example: true", required: false
|
21
21
|
|
22
22
|
end
|
23
23
|
end
|
@@ -15,9 +15,9 @@ module LMSGraphQL
|
|
15
15
|
description "Outcome Imports. API Docs: https://canvas.instructure.com/doc/api/outcome_imports.html"
|
16
16
|
field :id, ID, "The unique identifier for the outcome import..Example: 1", null: true
|
17
17
|
field :learning_outcome_group_id, ID, "The unique identifier for the group into which the outcomes will be imported to, or NULL..Example: 1", null: true
|
18
|
-
field :created_at,
|
19
|
-
field :ended_at,
|
20
|
-
field :updated_at,
|
18
|
+
field :created_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import was created..Example: 2013-12-01T23:59:00-06:00", null: true
|
19
|
+
field :ended_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import finished. Returns null if not finished..Example: 2013-12-02T00:03:21-06:00", null: true
|
20
|
+
field :updated_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import was last updated..Example: 2013-12-02T00:03:21-06:00", null: true
|
21
21
|
field :workflow_state, OutcomeImportWorkflowStateEnum, "The current state of the outcome import.
|
22
22
|
- 'created': The outcome import has been created.
|
23
23
|
- 'importing': The outcome import is currently processing.
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeImportDatumInput < BaseInputObject
|
8
8
|
description "Outcome Imports. API Docs: https://canvas.instructure.com/doc/api/outcome_imports.html"
|
9
|
-
|
9
|
+
argument :import_type, String, "The type of outcome import.Example: instructure_csv", required: false
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -13,20 +13,20 @@ module LMSGraphQL
|
|
13
13
|
value "failed"
|
14
14
|
end
|
15
15
|
description "Outcome Imports. API Docs: https://canvas.instructure.com/doc/api/outcome_imports.html"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
argument :id, ID, "The unique identifier for the outcome import..Example: 1", required: false
|
17
|
+
argument :learning_outcome_group_id, ID, "The unique identifier for the group into which the outcomes will be imported to, or NULL..Example: 1", required: false
|
18
|
+
argument :created_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import was created..Example: 2013-12-01T23:59:00-06:00", required: false
|
19
|
+
argument :ended_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import finished. Returns null if not finished..Example: 2013-12-02T00:03:21-06:00", required: false
|
20
|
+
argument :updated_at, GraphQL::Types::ISO8601DateTime, "The date the outcome import was last updated..Example: 2013-12-02T00:03:21-06:00", required: false
|
21
|
+
argument :workflow_state, OutcomeImportInputWorkflowStateEnum, "The current state of the outcome import.
|
22
22
|
- 'created': The outcome import has been created.
|
23
23
|
- 'importing': The outcome import is currently processing.
|
24
24
|
- 'succeeded': The outcome import has completed successfully.
|
25
25
|
- 'failed': The outcome import failed..Example: imported", required: false
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
argument :data, LMSGraphQL::Types::Canvas::CanvasOutcomeImportDatumInput, "See the OutcomeImportData specification above..", required: false
|
27
|
+
argument :progress, String, "The progress of the outcome import..Example: 100", required: false
|
28
|
+
argument :user, LMSGraphQL::Types::Canvas::CanvasUserInput, "The user that initiated the outcome_import. See the Users API for details..", required: false
|
29
|
+
argument :processing_errors, [String], "An array of row number / error message pairs. Returns the first 25 errors..Example: 1, Missing required fields: title", required: false
|
30
30
|
|
31
31
|
end
|
32
32
|
end
|
@@ -10,25 +10,26 @@ module LMSGraphQL
|
|
10
10
|
value "n_mastery"
|
11
11
|
value "latest"
|
12
12
|
value "highest"
|
13
|
+
value "average"
|
13
14
|
end
|
14
15
|
description "Outcomes. API Docs: https://canvas.instructure.com/doc/api/outcomes.html"
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
16
|
+
argument :id, ID, "the ID of the outcome.Example: 1", required: false
|
17
|
+
argument :url, String, "the URL for fetching/updating the outcome. should be treated as opaque.Example: /api/v1/outcomes/1", required: false
|
18
|
+
argument :context_id, ID, "the context owning the outcome. may be null for global outcomes.Example: 1", required: false
|
19
|
+
argument :context_type, String, "Example: Account", required: false
|
20
|
+
argument :title, String, "title of the outcome.Example: Outcome title", required: false
|
21
|
+
argument :display_name, String, "Optional friendly name for reporting.Example: My Favorite Outcome", required: false
|
22
|
+
argument :description, String, "description of the outcome. omitted in the abbreviated form..Example: Outcome description", required: false
|
23
|
+
argument :vendor_guid, String, "A custom GUID for the learning standard..Example: customid9000", required: false
|
24
|
+
argument :points_possible, Int, "maximum points possible. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..Example: 5", required: false
|
25
|
+
argument :mastery_points, Int, "points necessary to demonstrate mastery outcomes. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..Example: 3", required: false
|
26
|
+
argument :calculation_method, OutcomeInputCalculationMethodEnum, "the method used to calculate a students score.Example: decaying_average", required: false
|
27
|
+
argument :calculation_int, Int, "this defines the variable value used by the calculation_method. included only if calculation_method uses it.Example: 65", required: false
|
28
|
+
argument :ratings, [LMSGraphQL::Types::Canvas::CanvasRubricRatingInput], "possible ratings for this outcome. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..", required: false
|
29
|
+
argument :can_edit, Boolean, "whether the current user can update the outcome.Example: true", required: false
|
30
|
+
argument :can_unlink, Boolean, "whether the outcome can be unlinked.Example: true", required: false
|
31
|
+
argument :assessed, Boolean, "whether this outcome has been used to assess a student.Example: true", required: false
|
32
|
+
argument :has_updateable_rubrics, Boolean, "whether updates to this outcome will propagate to unassessed rubrics that have imported it.Example: true", required: false
|
32
33
|
|
33
34
|
end
|
34
35
|
end
|
@@ -7,13 +7,13 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasOutcomeLinkInput < BaseInputObject
|
9
9
|
description "Outcome Groups. API Docs: https://canvas.instructure.com/doc/api/outcome_groups.html"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
argument :url, String, "the URL for fetching/updating the outcome link. should be treated as opaque.Example: /api/v1/accounts/1/outcome_groups/1/outcomes/1", required: false
|
11
|
+
argument :context_id, ID, "the context owning the outcome link. will match the context owning the outcome group containing the outcome link; included for convenience. may be null for links in global outcome groups..Example: 1", required: false
|
12
|
+
argument :context_type, String, "Example: Account", required: false
|
13
|
+
argument :outcome_group, LMSGraphQL::Types::Canvas::CanvasOutcomeGroupInput, "an abbreviated OutcomeGroup object representing the group containing the outcome link..", required: false
|
14
|
+
argument :outcome, LMSGraphQL::Types::Canvas::CanvasOutcomeInput, "an abbreviated Outcome object representing the outcome linked into the containing outcome group..", required: false
|
15
|
+
argument :assessed, Boolean, "whether this outcome has been used to assess a student in the context of this outcome link. In other words, this will be set to true if the context is a course, and a student has been assessed with this outcome in that course..Example: true", required: false
|
16
|
+
argument :can_unlink, Boolean, "whether this outcome link is manageable and is not the last link to an aligned outcome.", required: false
|
17
17
|
|
18
18
|
end
|
19
19
|
end
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomePathInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
10
|
-
|
9
|
+
argument :id, ID, "A unique identifier for this outcome.Example: 42", required: false
|
10
|
+
argument :parts, LMSGraphQL::Types::Canvas::CanvasOutcomePathPartInput, "an array of OutcomePathPart objects.", required: false
|
11
11
|
|
12
12
|
end
|
13
13
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomePathPartInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
9
|
+
argument :name, String, "The title of the outcome or outcome group.Example: Spelling out numbers", required: false
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -8,7 +8,7 @@ module LMSGraphQL
|
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
9
|
field :id, ID, "A unique identifier for this result.Example: 42", null: true
|
10
10
|
field :score, Int, "The student's score.Example: 6", null: true
|
11
|
-
field :submitted_or_assessed_at,
|
11
|
+
field :submitted_or_assessed_at, GraphQL::Types::ISO8601DateTime, "The datetime the resulting OutcomeResult was submitted at, or absent that, when it was assessed..Example: 2013-02-01T00:00:00-06:00", null: true
|
12
12
|
field :links, String, "Unique identifiers of objects associated with this result.Example: 3, 97, 53", null: true
|
13
13
|
field :percent, Float, "score's percent of maximum points possible for outcome, scaled to reflect any custom mastery levels that differ from the learning outcome.Example: 0.65", null: true
|
14
14
|
|
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeResultInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
argument :id, ID, "A unique identifier for this result.Example: 42", required: false
|
10
|
+
argument :score, Int, "The student's score.Example: 6", required: false
|
11
|
+
argument :submitted_or_assessed_at, GraphQL::Types::ISO8601DateTime, "The datetime the resulting OutcomeResult was submitted at, or absent that, when it was assessed..Example: 2013-02-01T00:00:00-06:00", required: false
|
12
|
+
argument :links, String, "Unique identifiers of objects associated with this result.Example: 3, 97, 53", required: false
|
13
|
+
argument :percent, Float, "score's percent of maximum points possible for outcome, scaled to reflect any custom mastery levels that differ from the learning outcome.Example: 0.65", required: false
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|
@@ -7,9 +7,9 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasOutcomeRollupInput < BaseInputObject
|
9
9
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
argument :scores, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupScoreInput, "an array of OutcomeRollupScore objects.", required: false
|
11
|
+
argument :name, String, "The name of the resource for this rollup. For example, the user name..Example: John Doe", required: false
|
12
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupLinkInput, "Example: 42, 42, 57", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeRollupLinkInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
argument :course, Int, "If an aggregate result was requested, the course field will be present. Otherwise, the user and section field will be present (Optional) The id of the course that this rollup applies to.Example: 42", required: false
|
10
|
+
argument :user, Int, "(Optional) The id of the user that this rollup applies to.Example: 42", required: false
|
11
|
+
argument :section, Int, "(Optional) The id of the section the user is in.Example: 57", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeRollupScoreInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
argument :score, Int, "The rollup score for the outcome, based on the student alignment scores related to the outcome. This could be null if the student has no related scores..Example: 3", required: false
|
10
|
+
argument :count, Int, "The number of alignment scores included in this rollup..Example: 6", required: false
|
11
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupScoreLinkInput, "Example: 42", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeRollupScoreLinkInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
|
-
|
9
|
+
argument :outcome, Int, "The id of the related outcome.Example: 42", required: false
|
10
10
|
|
11
11
|
end
|
12
12
|
end
|
@@ -7,10 +7,11 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasPage < BaseType
|
9
9
|
description "Pages. API Docs: https://canvas.instructure.com/doc/api/pages.html"
|
10
|
+
field :page_id, ID, "the ID of the page.Example: 1", null: true
|
10
11
|
field :url, String, "the unique locator for the page.Example: my-page-title", null: true
|
11
12
|
field :title, String, "the title of the page.Example: My Page Title", null: true
|
12
|
-
field :created_at,
|
13
|
-
field :updated_at,
|
13
|
+
field :created_at, GraphQL::Types::ISO8601DateTime, "the creation date for the page.Example: 2012-08-06T16:46:33-06:00", null: true
|
14
|
+
field :updated_at, GraphQL::Types::ISO8601DateTime, "the date the page was last updated.Example: 2012-08-08T14:25:20-06:00", null: true
|
14
15
|
field :hide_from_students, Boolean, "(DEPRECATED) whether this page is hidden from students (note: this is always reflected as the inverse of the published value).", null: true
|
15
16
|
field :editing_roles, String, "roles allowed to edit the page; comma-separated list comprising a combination of 'teachers', 'students', 'members', and/or 'public' if not supplied, course defaults are used.Example: teachers,students", null: true
|
16
17
|
field :last_edited_by, LMSGraphQL::Types::Canvas::CanvasUser, "the User who last edited the page (this may not be present if the page was imported from another system).", null: true
|
@@ -7,19 +7,20 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class CanvasPageInput < BaseInputObject
|
9
9
|
description "Pages. API Docs: https://canvas.instructure.com/doc/api/pages.html"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
10
|
+
argument :page_id, ID, "the ID of the page.Example: 1", required: false
|
11
|
+
argument :url, String, "the unique locator for the page.Example: my-page-title", required: false
|
12
|
+
argument :title, String, "the title of the page.Example: My Page Title", required: false
|
13
|
+
argument :created_at, GraphQL::Types::ISO8601DateTime, "the creation date for the page.Example: 2012-08-06T16:46:33-06:00", required: false
|
14
|
+
argument :updated_at, GraphQL::Types::ISO8601DateTime, "the date the page was last updated.Example: 2012-08-08T14:25:20-06:00", required: false
|
15
|
+
argument :hide_from_students, Boolean, "(DEPRECATED) whether this page is hidden from students (note: this is always reflected as the inverse of the published value).", required: false
|
16
|
+
argument :editing_roles, String, "roles allowed to edit the page; comma-separated list comprising a combination of 'teachers', 'students', 'members', and/or 'public' if not supplied, course defaults are used.Example: teachers,students", required: false
|
17
|
+
argument :last_edited_by, LMSGraphQL::Types::Canvas::CanvasUserInput, "the User who last edited the page (this may not be present if the page was imported from another system).", required: false
|
18
|
+
argument :body, String, "the page content, in HTML (present when requesting a single page; omitted when listing pages).Example: <p>Page Content</p>", required: false
|
19
|
+
argument :published, Boolean, "whether the page is published (true) or draft state (false)..Example: true", required: false
|
20
|
+
argument :front_page, Boolean, "whether this page is the front page for the wiki.", required: false
|
21
|
+
argument :locked_for_user, Boolean, "Whether or not this is locked for the user..", required: false
|
22
|
+
argument :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfoInput, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", required: false
|
23
|
+
argument :lock_explanation, String, "(Optional) An explanation of why this is locked for the user. Present when locked_for_user is true..Example: This page is locked until September 1 at 12:00am", required: false
|
23
24
|
|
24
25
|
end
|
25
26
|
end
|
@@ -7,7 +7,7 @@ module LMSGraphQL
|
|
7
7
|
class CanvasPageRevision < BaseType
|
8
8
|
description "Pages. API Docs: https://canvas.instructure.com/doc/api/pages.html"
|
9
9
|
field :revision_id, ID, "an identifier for this revision of the page.Example: 7", null: true
|
10
|
-
field :updated_at,
|
10
|
+
field :updated_at, GraphQL::Types::ISO8601DateTime, "the time when this revision was saved.Example: 2012-08-07T11:23:58-06:00", null: true
|
11
11
|
field :latest, Boolean, "whether this is the latest revision or not.Example: true", null: true
|
12
12
|
field :edited_by, LMSGraphQL::Types::Canvas::CanvasUser, "the User who saved this revision, if applicable (this may not be present if the page was imported from another system).", null: true
|
13
13
|
field :url, String, "the following fields are not included in the index action and may be omitted from the show action via summary=1 the historic url of the page.Example: old-page-title", null: true
|
@@ -6,13 +6,13 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasPageRevisionInput < BaseInputObject
|
8
8
|
description "Pages. API Docs: https://canvas.instructure.com/doc/api/pages.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
9
|
+
argument :revision_id, ID, "an identifier for this revision of the page.Example: 7", required: false
|
10
|
+
argument :updated_at, GraphQL::Types::ISO8601DateTime, "the time when this revision was saved.Example: 2012-08-07T11:23:58-06:00", required: false
|
11
|
+
argument :latest, Boolean, "whether this is the latest revision or not.Example: true", required: false
|
12
|
+
argument :edited_by, LMSGraphQL::Types::Canvas::CanvasUserInput, "the User who saved this revision, if applicable (this may not be present if the page was imported from another system).", required: false
|
13
|
+
argument :url, String, "the following fields are not included in the index action and may be omitted from the show action via summary=1 the historic url of the page.Example: old-page-title", required: false
|
14
|
+
argument :title, String, "the historic page title.Example: Old Page Title", required: false
|
15
|
+
argument :body, String, "the historic page contents.Example: <p>Old Page Content</p>", required: false
|
16
16
|
|
17
17
|
end
|
18
18
|
end
|
@@ -15,7 +15,7 @@ module LMSGraphQL
|
|
15
15
|
field :action, String, "The rails action that handled the request.Example: index", null: true
|
16
16
|
field :contributed, Boolean, "This field is deprecated, and will always be false.Example: false", null: true
|
17
17
|
field :interaction_seconds, Float, "An approximation of how long the user spent on the page, in seconds.Example: 7.21", null: true
|
18
|
-
field :created_at,
|
18
|
+
field :created_at, GraphQL::Types::ISO8601DateTime, "When the request was made.Example: 2013-10-01T19:49:47Z", null: true
|
19
19
|
field :user_request, Boolean, "A flag indicating whether the request was user-initiated, or automatic (such as an AJAX call).Example: true", null: true
|
20
20
|
field :render_time, Float, "How long the response took to render, in seconds.Example: 0.369", null: true
|
21
21
|
field :user_agent, String, "The user-agent of the browser or program that made the request.Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1", null: true
|
@@ -6,23 +6,23 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasPageViewInput < BaseInputObject
|
8
8
|
description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
9
|
+
argument :id, ID, "A UUID representing the page view. This is also the unique request id.Example: 3e246700-e305-0130-51de-02e33aa501ef", required: false
|
10
|
+
argument :app_name, String, "If the request is from an API request, the app that generated the access token.Example: Canvas for iOS", required: false
|
11
|
+
argument :url, String, "The URL requested.Example: https://canvas.instructure.com/conversations", required: false
|
12
|
+
argument :context_type, String, "The type of context for the request.Example: Course", required: false
|
13
|
+
argument :asset_type, String, "The type of asset in the context for the request, if any.Example: Discussion", required: false
|
14
|
+
argument :controller, String, "The rails controller that handled the request.Example: discussions", required: false
|
15
|
+
argument :action, String, "The rails action that handled the request.Example: index", required: false
|
16
|
+
argument :contributed, Boolean, "This field is deprecated, and will always be false.Example: false", required: false
|
17
|
+
argument :interaction_seconds, Float, "An approximation of how long the user spent on the page, in seconds.Example: 7.21", required: false
|
18
|
+
argument :created_at, GraphQL::Types::ISO8601DateTime, "When the request was made.Example: 2013-10-01T19:49:47Z", required: false
|
19
|
+
argument :user_request, Boolean, "A flag indicating whether the request was user-initiated, or automatic (such as an AJAX call).Example: true", required: false
|
20
|
+
argument :render_time, Float, "How long the response took to render, in seconds.Example: 0.369", required: false
|
21
|
+
argument :user_agent, String, "The user-agent of the browser or program that made the request.Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1", required: false
|
22
|
+
argument :participated, Boolean, "True if the request counted as participating, such as submitting homework.Example: false", required: false
|
23
|
+
argument :http_method, String, "The HTTP method such as GET or POST.Example: GET", required: false
|
24
|
+
argument :remote_ip, String, "The origin IP address of the request.Example: 173.194.46.71", required: false
|
25
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasPageViewLinkInput, "The page view links to define the relationships.Example: 1234, 1234", required: false
|
26
26
|
|
27
27
|
end
|
28
28
|
end
|
@@ -6,11 +6,11 @@ module LMSGraphQL
|
|
6
6
|
module Canvas
|
7
7
|
class CanvasPageViewLinkInput < BaseInputObject
|
8
8
|
description "Users. API Docs: https://canvas.instructure.com/doc/api/users.html"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
argument :user, Int, "The ID of the user for this page view.Example: 1234", required: false
|
10
|
+
argument :context, Int, "The ID of the context for the request (course id if context_type is Course, etc).Example: 1234", required: false
|
11
|
+
argument :asset, Int, "The ID of the asset for the request, if any.Example: 1234", required: false
|
12
|
+
argument :real_user, Int, "The ID of the actual user who made this request, if the request was made by a user who was masquerading.Example: 1234", required: false
|
13
|
+
argument :account, Int, "The ID of the account context for this page view.Example: 1234", required: false
|
14
14
|
|
15
15
|
end
|
16
16
|
end
|