lms-graphql-api 0.5.3 → 0.7.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/add_observee_with_credentials.rb +3 -1
- data/lib/lms_graphql/mutations/canvas/bulk_select_provisional_grades.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/bulk_update_column_data.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_single_rubric.rb +40 -0
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/get_pandata_events_jwt_token_and_its_expiration_date.rb +20 -0
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_accounts.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_courses.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/import_outcome_group_global.rb +4 -2
- data/lib/lms_graphql/mutations/canvas/mutations.rb +7 -1
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +13 -13
- data/lib/lms_graphql/mutations/canvas/restore_workflow_states_of_sis_imported_items.rb +28 -0
- data/lib/lms_graphql/mutations/canvas/update_single_rubric.rb +42 -0
- data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +7 -7
- data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_aligned_assignments_for_outcome_in_course_for_particular_student.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/get_current_importing_sis_import.rb +20 -0
- data/lib/lms_graphql/resolvers/canvas/get_help_links.rb +20 -0
- data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +12 -2
- data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/get_proficiency_ratings.rb +20 -0
- data/lib/lms_graphql/resolvers/canvas/get_terms_of_service.rb +20 -0
- data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +36 -0
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +34 -0
- data/lib/lms_graphql/resolvers/canvas/list_blueprint_subscriptions.rb +20 -0
- data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_planner_items.rb +3 -1
- data/lib/lms_graphql/resolvers/canvas/moderated_grading_show_provisional_grade_status_for_student.rb +24 -0
- data/lib/lms_graphql/resolvers/canvas/permissions.rb +3 -3
- data/lib/lms_graphql/types/canvas/admin_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/assignment_input.rb +18 -18
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/blueprint_subscription.rb +16 -0
- data/lib/lms_graphql/types/canvas/blueprint_subscription_input.rb +16 -0
- data/lib/lms_graphql/types/canvas/blueprint_template_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/conference_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_detail_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/content_export_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/conversation_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/course.rb +1 -0
- data/lib/lms_graphql/types/canvas/course_epub_export_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/course_event_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/course_input.rb +9 -8
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/enrollment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/epub_export_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/feature_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grade_change_event_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/grading_standard_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/group_category_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/help_link.rb +18 -0
- data/lib/lms_graphql/types/canvas/help_link_input.rb +18 -0
- data/lib/lms_graphql/types/canvas/lti_assignment.rb +2 -0
- data/lib/lms_graphql/types/canvas/lti_assignment_input.rb +2 -0
- data/lib/lms_graphql/types/canvas/module_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/module_item_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module_item_sequence_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/module_item_sequence_node_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/originality_report_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome.rb +1 -1
- data/lib/lms_graphql/types/canvas/outcome_alignment.rb +6 -4
- data/lib/lms_graphql/types/canvas/outcome_alignment_input.rb +6 -4
- data/lib/lms_graphql/types/canvas/outcome_group_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_import_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/outcome_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/outcome_link_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/outcome_path_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/outcome_rollup_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/outcome_rollup_score_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/page_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/page_revision_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/page_view_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/planner_note.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_note_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/planner_override.rb +2 -1
- data/lib/lms_graphql/types/canvas/planner_override_input.rb +2 -1
- data/lib/lms_graphql/types/canvas/poll_session_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/proficiency.rb +14 -0
- data/lib/lms_graphql/types/canvas/proficiency_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/proficiency_rating.rb +17 -0
- data/lib/lms_graphql/types/canvas/proficiency_rating_input.rb +17 -0
- data/lib/lms_graphql/types/canvas/profile_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/query_type.rb +51 -19
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_container_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_assignment_override_set_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_question_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/quiz_report_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/quiz_statistic_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/quiz_statistics_question_statistic_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/report_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/result_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/role_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/rubric_criterium.rb +1 -0
- data/lib/lms_graphql/types/canvas/rubric_criterium_input.rb +3 -2
- data/lib/lms_graphql/types/canvas/rubric_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/scope.rb +4 -1
- data/lib/lms_graphql/types/canvas/scope_input.rb +4 -1
- data/lib/lms_graphql/types/canvas/section_attribute_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_assignment_input.rb +6 -6
- data/lib/lms_graphql/types/canvas/sis_import.rb +1 -0
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/sis_import_input.rb +7 -6
- data/lib/lms_graphql/types/canvas/submission_comment_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_history_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/submission_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/terms_of_service.rb +18 -0
- data/lib/lms_graphql/types/canvas/terms_of_service_input.rb +18 -0
- data/lib/lms_graphql/types/canvas/user_assignment_override_attribute_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/user_input.rb +2 -2
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +5 -0
- data/lib/lms_graphql/version.rb +1 -1
- metadata +30 -2
@@ -1,16 +1,16 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
3
|
-
require_relative "
|
4
|
-
require_relative "
|
2
|
+
require_relative "module_item"
|
3
|
+
require_relative "module_item"
|
4
|
+
require_relative "module_item"
|
5
5
|
|
6
6
|
module LMSGraphQL
|
7
7
|
module Types
|
8
8
|
module Canvas
|
9
9
|
class CanvasModuleItemSequenceNodeInput < BaseInputObject
|
10
10
|
description "Modules. API Docs: https://canvas.instructure.com/doc/api/modules.html"
|
11
|
-
argument :prev, LMSGraphQL::Types::Canvas::
|
12
|
-
argument :current, LMSGraphQL::Types::Canvas::
|
13
|
-
argument :next, LMSGraphQL::Types::Canvas::
|
11
|
+
argument :prev, LMSGraphQL::Types::Canvas::CanvasModuleItem, "The previous ModuleItem in the sequence.", required: false
|
12
|
+
argument :current, LMSGraphQL::Types::Canvas::CanvasModuleItem, "The ModuleItem being queried.Example: 768, 123, A lonely page, Page", required: false
|
13
|
+
argument :next, LMSGraphQL::Types::Canvas::CanvasModuleItem, "The next ModuleItem in the sequence.Example: 769, 127, Project 1, Assignment", required: false
|
14
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
|
@@ -23,7 +23,7 @@ module LMSGraphQL
|
|
23
23
|
field :points_possible, Int, "maximum points possible. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..Example: 5", null: true
|
24
24
|
field :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", null: true
|
25
25
|
field :calculation_method, OutcomeCalculationMethodEnum, "the method used to calculate a students score.Example: decaying_average", null: true
|
26
|
-
field :calculation_int, Int, "this defines the variable value used by the calculation_method. included only if calculation_method uses it.Example:
|
26
|
+
field :calculation_int, Int, "this defines the variable value used by the calculation_method. included only if calculation_method uses it.Example: 65", null: true
|
27
27
|
field :ratings, [LMSGraphQL::Types::Canvas::CanvasRubricRating], "possible ratings for this outcome. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..", null: true
|
28
28
|
field :can_edit, Boolean, "whether the current user can update the outcome.Example: true", null: true
|
29
29
|
field :can_unlink, Boolean, "whether the outcome can be unlinked.Example: true", null: true
|
@@ -5,10 +5,12 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeAlignment < BaseType
|
8
|
-
description "
|
9
|
-
field :id, ID, "
|
10
|
-
field :
|
11
|
-
field :
|
8
|
+
description "Outcomes. API Docs: https://canvas.instructure.com/doc/api/outcomes.html"
|
9
|
+
field :id, ID, "the id of the aligned learning outcome..Example: 1", null: true
|
10
|
+
field :assignment_id, ID, "the id of the aligned assignment..Example: 2", null: true
|
11
|
+
field :submission_types, String, "a string representing the different submission types of an aligned assignment..Example: online_text_entry,online_url", null: true
|
12
|
+
field :url, String, "the URL for the aligned assignment..Example: /courses/1/assignments/5", null: true
|
13
|
+
field :title, String, "the title of the aligned assignment..Example: Unit 1 test", null: true
|
12
14
|
|
13
15
|
end
|
14
16
|
end
|
@@ -5,10 +5,12 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasOutcomeAlignmentInput < BaseInputObject
|
8
|
-
description "
|
9
|
-
argument :id, ID, "
|
10
|
-
argument :
|
11
|
-
argument :
|
8
|
+
description "Outcomes. API Docs: https://canvas.instructure.com/doc/api/outcomes.html"
|
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..Example: 2", required: false
|
11
|
+
argument :submission_types, String, "a string representing the different submission types of an aligned assignment..Example: online_text_entry,online_url", required: false
|
12
|
+
argument :url, String, "the URL for the aligned assignment..Example: /courses/1/assignments/5", required: false
|
13
|
+
argument :title, String, "the title of the aligned assignment..Example: Unit 1 test", required: false
|
12
14
|
|
13
15
|
end
|
14
16
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "outcome_group"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -8,7 +8,7 @@ module LMSGraphQL
|
|
8
8
|
description "Outcome Groups. API Docs: https://canvas.instructure.com/doc/api/outcome_groups.html"
|
9
9
|
argument :id, ID, "the ID of the outcome group.Example: 1", required: false
|
10
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::
|
11
|
+
argument :parent_outcome_group, LMSGraphQL::Types::Canvas::CanvasOutcomeGroup, "an abbreviated OutcomeGroup object representing the parent group of this outcome group, if any. omitted in the abbreviated form..", required: false
|
12
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
13
|
argument :context_type, String, "Example: Account", required: false
|
14
14
|
argument :title, String, "title of the outcome group.Example: Outcome group title", required: false
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
3
|
-
require_relative "
|
2
|
+
require_relative "outcome_import_datum"
|
3
|
+
require_relative "user"
|
4
4
|
|
5
5
|
module LMSGraphQL
|
6
6
|
module Types
|
@@ -22,9 +22,9 @@ module LMSGraphQL
|
|
22
22
|
- 'importing': The outcome import is currently processing.
|
23
23
|
- 'succeeded': The outcome import has completed successfully.
|
24
24
|
- 'failed': The outcome import failed..Example: imported", required: false
|
25
|
-
argument :data, LMSGraphQL::Types::Canvas::
|
25
|
+
argument :data, LMSGraphQL::Types::Canvas::CanvasOutcomeImportDatum, "See the OutcomeImportData specification above..", required: false
|
26
26
|
argument :progress, String, "The progress of the outcome import..Example: 100", required: false
|
27
|
-
argument :user, LMSGraphQL::Types::Canvas::
|
27
|
+
argument :user, LMSGraphQL::Types::Canvas::CanvasUser, "The user that initiated the outcome_import. See the Users API for details..", required: false
|
28
28
|
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
|
29
29
|
|
30
30
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "rubric_rating"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -23,8 +23,8 @@ module LMSGraphQL
|
|
23
23
|
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
|
24
24
|
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
|
25
25
|
argument :calculation_method, OutcomeCalculationMethodEnum, "the method used to calculate a students score.Example: decaying_average", required: false
|
26
|
-
argument :calculation_int, Int, "this defines the variable value used by the calculation_method. included only if calculation_method uses it.Example:
|
27
|
-
argument :ratings, [LMSGraphQL::Types::Canvas::
|
26
|
+
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
|
27
|
+
argument :ratings, [LMSGraphQL::Types::Canvas::CanvasRubricRating], "possible ratings for this outcome. included only if the outcome embeds a rubric criterion. omitted in the abbreviated form..", required: false
|
28
28
|
argument :can_edit, Boolean, "whether the current user can update the outcome.Example: true", required: false
|
29
29
|
argument :can_unlink, Boolean, "whether the outcome can be unlinked.Example: true", required: false
|
30
30
|
argument :assessed, Boolean, "whether this outcome has been used to assess a student.Example: true", required: false
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
3
|
-
require_relative "
|
2
|
+
require_relative "outcome_group"
|
3
|
+
require_relative "outcome"
|
4
4
|
|
5
5
|
module LMSGraphQL
|
6
6
|
module Types
|
@@ -10,8 +10,8 @@ module LMSGraphQL
|
|
10
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
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
12
|
argument :context_type, String, "Example: Account", required: false
|
13
|
-
argument :outcome_group, LMSGraphQL::Types::Canvas::
|
14
|
-
argument :outcome, LMSGraphQL::Types::Canvas::
|
13
|
+
argument :outcome_group, LMSGraphQL::Types::Canvas::CanvasOutcomeGroup, "an abbreviated OutcomeGroup object representing the group containing the outcome link..", required: false
|
14
|
+
argument :outcome, LMSGraphQL::Types::Canvas::CanvasOutcome, "an abbreviated Outcome object representing the outcome linked into the containing outcome group..", required: false
|
15
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
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
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "outcome_path_part"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -7,7 +7,7 @@ module LMSGraphQL
|
|
7
7
|
class CanvasOutcomePathInput < BaseInputObject
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
9
|
argument :id, ID, "A unique identifier for this outcome.Example: 42", required: false
|
10
|
-
argument :parts, LMSGraphQL::Types::Canvas::
|
10
|
+
argument :parts, LMSGraphQL::Types::Canvas::CanvasOutcomePathPart, "an array of OutcomePathPart objects.", required: false
|
11
11
|
|
12
12
|
end
|
13
13
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
3
|
-
require_relative "
|
2
|
+
require_relative "outcome_rollup_score"
|
3
|
+
require_relative "outcome_rollup_link"
|
4
4
|
|
5
5
|
module LMSGraphQL
|
6
6
|
module Types
|
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
|
-
argument :scores, LMSGraphQL::Types::Canvas::
|
10
|
+
argument :scores, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupScore, "an array of OutcomeRollupScore objects.", required: false
|
11
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::
|
12
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupLink, "Example: 42, 42, 57", required: false
|
13
13
|
|
14
14
|
end
|
15
15
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "outcome_rollup_score_link"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -8,7 +8,7 @@ module LMSGraphQL
|
|
8
8
|
description "Outcome Results. API Docs: https://canvas.instructure.com/doc/api/outcome_results.html"
|
9
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
10
|
argument :count, Int, "The number of alignment scores included in this rollup..Example: 6", required: false
|
11
|
-
argument :links, LMSGraphQL::Types::Canvas::
|
11
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasOutcomeRollupScoreLink, "Example: 42", required: false
|
12
12
|
|
13
13
|
end
|
14
14
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
3
|
-
require_relative "
|
2
|
+
require_relative "user"
|
3
|
+
require_relative "lock_info"
|
4
4
|
|
5
5
|
module LMSGraphQL
|
6
6
|
module Types
|
@@ -13,12 +13,12 @@ module LMSGraphQL
|
|
13
13
|
argument :updated_at, LMSGraphQL::Types::DateTimeType, "the date the page was last updated.Example: 2012-08-08T14:25:20-06:00", required: false
|
14
14
|
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
|
15
15
|
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
|
16
|
-
argument :last_edited_by, LMSGraphQL::Types::Canvas::
|
16
|
+
argument :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).", required: false
|
17
17
|
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
|
18
18
|
argument :published, Boolean, "whether the page is published (true) or draft state (false)..Example: true", required: false
|
19
19
|
argument :front_page, Boolean, "whether this page is the front page for the wiki.", required: false
|
20
20
|
argument :locked_for_user, Boolean, "Whether or not this is locked for the user..", required: false
|
21
|
-
argument :lock_info, LMSGraphQL::Types::Canvas::
|
21
|
+
argument :lock_info, LMSGraphQL::Types::Canvas::CanvasLockInfo, "(Optional) Information for the user about the lock. Present when locked_for_user is true..", required: false
|
22
22
|
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
23
|
|
24
24
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "user"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -9,7 +9,7 @@ module LMSGraphQL
|
|
9
9
|
argument :revision_id, ID, "an identifier for this revision of the page.Example: 7", required: false
|
10
10
|
argument :updated_at, LMSGraphQL::Types::DateTimeType, "the time when this revision was saved.Example: 2012-08-07T11:23:58-06:00", required: false
|
11
11
|
argument :latest, Boolean, "whether this is the latest revision or not.Example: true", required: false
|
12
|
-
argument :edited_by, LMSGraphQL::Types::Canvas::
|
12
|
+
argument :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).", required: false
|
13
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
14
|
argument :title, String, "the historic page title.Example: Old Page Title", required: false
|
15
15
|
argument :body, String, "the historic page contents.Example: <p>Old Page Content</p>", required: false
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "page_view_link"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -22,7 +22,7 @@ module LMSGraphQL
|
|
22
22
|
argument :participated, Boolean, "True if the request counted as participating, such as submitting homework.Example: false", required: false
|
23
23
|
argument :http_method, String, "The HTTP method such as GET or POST.Example: GET", required: false
|
24
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::
|
25
|
+
argument :links, LMSGraphQL::Types::Canvas::CanvasPageViewLink, "The page view links to define the relationships.Example: 1234, 1234", required: false
|
26
26
|
|
27
27
|
end
|
28
28
|
end
|
@@ -5,7 +5,7 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasPlannerNote < BaseType
|
8
|
-
description "Planner
|
8
|
+
description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
|
9
9
|
field :id, ID, "The ID of the planner note.Example: 234", null: true
|
10
10
|
field :title, String, "The title for a planner note.Example: Bring books tomorrow", null: true
|
11
11
|
field :description, String, "The description of the planner note.Example: I need to bring books tomorrow for my course on biology", null: true
|
@@ -5,7 +5,7 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasPlannerNoteInput < BaseInputObject
|
8
|
-
description "Planner
|
8
|
+
description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
|
9
9
|
argument :id, ID, "The ID of the planner note.Example: 234", required: false
|
10
10
|
argument :title, String, "The title for a planner note.Example: Bring books tomorrow", required: false
|
11
11
|
argument :description, String, "The description of the planner note.Example: I need to bring books tomorrow for my course on biology", required: false
|
@@ -5,11 +5,12 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasPlannerOverride < BaseType
|
8
|
-
description "Planner
|
8
|
+
description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
|
9
9
|
field :id, ID, "The ID of the planner override.Example: 234", null: true
|
10
10
|
field :plannable_type, String, "The type of the associated object for the planner override.Example: Assignment", null: true
|
11
11
|
field :plannable_id, ID, "The id of the associated object for the planner override.Example: 1578941", null: true
|
12
12
|
field :user_id, ID, "The id of the associated user for the planner override.Example: 1578941", null: true
|
13
|
+
field :assignment_id, ID, "The id of the plannable's associated assignment, if it has one.Example: 1578941", null: true
|
13
14
|
field :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", null: true
|
14
15
|
field :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", null: true
|
15
16
|
field :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", null: true
|
@@ -5,11 +5,12 @@ module LMSGraphQL
|
|
5
5
|
module Types
|
6
6
|
module Canvas
|
7
7
|
class CanvasPlannerOverrideInput < BaseInputObject
|
8
|
-
description "Planner
|
8
|
+
description "Planner. API Docs: https://canvas.instructure.com/doc/api/planner.html"
|
9
9
|
argument :id, ID, "The ID of the planner override.Example: 234", required: false
|
10
10
|
argument :plannable_type, String, "The type of the associated object for the planner override.Example: Assignment", required: false
|
11
11
|
argument :plannable_id, ID, "The id of the associated object for the planner override.Example: 1578941", required: false
|
12
12
|
argument :user_id, ID, "The id of the associated user for the planner override.Example: 1578941", required: false
|
13
|
+
argument :assignment_id, ID, "The id of the plannable's associated assignment, if it has one.Example: 1578941", required: false
|
13
14
|
argument :workflow_state, String, "The current published state of the item, synced with the associated object.Example: published", required: false
|
14
15
|
argument :marked_complete, Boolean, "Controls whether or not the associated plannable item is marked complete on the planner.", required: false
|
15
16
|
argument :dismissed, Boolean, "Controls whether or not the associated plannable item shows up in the opportunities list.", required: false
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "poll_submission"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -14,7 +14,7 @@ module LMSGraphQL
|
|
14
14
|
argument :has_public_results, Boolean, "Specifies whether the results are viewable by students..Example: true", required: false
|
15
15
|
argument :created_at, String, "The time at which the poll session was created..Example: 2014-01-07T15:16:18Z", required: false
|
16
16
|
argument :results, String, "The results of the submissions of the poll. Each key is the poll choice id, and the value is the count of submissions..Example: 10, 3, 27, 8", required: false
|
17
|
-
argument :poll_submissions, LMSGraphQL::Types::Canvas::
|
17
|
+
argument :poll_submissions, LMSGraphQL::Types::Canvas::CanvasPollSubmission, "If the poll session has public results, this will return an array of all submissions, viewable by both students and teachers. If the results are not public, for students it will return their submission only..", required: false
|
18
18
|
|
19
19
|
end
|
20
20
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require_relative "../canvas_base_type"
|
2
|
+
|
3
|
+
|
4
|
+
module LMSGraphQL
|
5
|
+
module Types
|
6
|
+
module Canvas
|
7
|
+
class CanvasProficiency < BaseType
|
8
|
+
description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
|
9
|
+
field :ratings, String, "An array of proficiency ratings. See the ProficiencyRating specification above..", null: true
|
10
|
+
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require_relative "../canvas_base_input_type"
|
2
|
+
|
3
|
+
|
4
|
+
module LMSGraphQL
|
5
|
+
module Types
|
6
|
+
module Canvas
|
7
|
+
class CanvasProficiencyInput < BaseInputObject
|
8
|
+
description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
|
9
|
+
argument :ratings, String, "An array of proficiency ratings. See the ProficiencyRating specification above..", required: false
|
10
|
+
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require_relative "../canvas_base_type"
|
2
|
+
|
3
|
+
|
4
|
+
module LMSGraphQL
|
5
|
+
module Types
|
6
|
+
module Canvas
|
7
|
+
class CanvasProficiencyRating < BaseType
|
8
|
+
description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
|
9
|
+
field :description, String, "The description of the rating.Example: Exceeds Mastery", null: true
|
10
|
+
field :points, Float, "A non-negative number of points for the rating.Example: 4", null: true
|
11
|
+
field :mastery, Boolean, "Indicates the rating where mastery is first achieved.", null: true
|
12
|
+
field :color, String, "The hex color code of the rating.Example: 127A1B", null: true
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require_relative "../canvas_base_input_type"
|
2
|
+
|
3
|
+
|
4
|
+
module LMSGraphQL
|
5
|
+
module Types
|
6
|
+
module Canvas
|
7
|
+
class CanvasProficiencyRatingInput < BaseInputObject
|
8
|
+
description "Proficiency Ratings. API Docs: https://canvas.instructure.com/doc/api/proficiency_ratings.html"
|
9
|
+
argument :description, String, "The description of the rating.Example: Exceeds Mastery", required: false
|
10
|
+
argument :points, Float, "A non-negative number of points for the rating.Example: 4", required: false
|
11
|
+
argument :mastery, Boolean, "Indicates the rating where mastery is first achieved.", required: false
|
12
|
+
argument :color, String, "The hex color code of the rating.Example: 127A1B", required: false
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require_relative "../canvas_base_input_type"
|
2
|
-
require_relative "
|
2
|
+
require_relative "calendar_link"
|
3
3
|
|
4
4
|
module LMSGraphQL
|
5
5
|
module Types
|
@@ -17,7 +17,7 @@ module LMSGraphQL
|
|
17
17
|
argument :sis_user_id, ID, "sis1.Example: sis1", required: false
|
18
18
|
argument :lti_user_id, ID, "", required: false
|
19
19
|
argument :avatar_url, String, "The avatar_url can change over time, so we recommend not caching it for more than a few hours.Example: url", required: false
|
20
|
-
argument :calendar, LMSGraphQL::Types::Canvas::
|
20
|
+
argument :calendar, LMSGraphQL::Types::Canvas::CanvasCalendarLink, "", required: false
|
21
21
|
argument :time_zone, String, "Optional: This field is only returned in certain API calls, and will return the IANA time zone name of the user's preferred timezone..Example: America/Denver", required: false
|
22
22
|
argument :locale, String, "The users locale..", required: false
|
23
23
|
|
@@ -7,6 +7,10 @@ module LMSGraphQL
|
|
7
7
|
module Canvas
|
8
8
|
class QueryType < BaseType
|
9
9
|
description "The root query of Canvas schema"
|
10
|
+
field :list_scopes,
|
11
|
+
resolver: LMSGraphQL::Resolvers::Canvas::ListScope,
|
12
|
+
description: "List scopes. A list of scopes that can be applied to developer keys and access tokens."
|
13
|
+
|
10
14
|
field :search_account_domains,
|
11
15
|
resolver: LMSGraphQL::Resolvers::Canvas::SearchAccountDomain,
|
12
16
|
description: "Search account domains. Returns a list of up to 5 matching account domains Partial match on name / domain are supported"
|
@@ -45,15 +49,19 @@ module LMSGraphQL
|
|
45
49
|
|
46
50
|
field :permissions,
|
47
51
|
resolver: LMSGraphQL::Resolvers::Canvas::Permission,
|
48
|
-
description: "Permissions. Returns permission information for the calling user and the given account. You may use `self` as the account id to check permissions against the domain root account. The caller must have an account role or admin (teacher/TA/designer) enrollment in a course in the account.
|
52
|
+
description: "Permissions. Returns permission information for the calling user and the given account. You may use `self` as the account id to check permissions against the domain root account. The caller must have an account role or admin (teacher/TA/designer) enrollment in a course in the account. See also the {api:CoursesController#permissions Course} and {api:GroupsController#permissions Group} counterparts."
|
49
53
|
|
50
54
|
field :get_sub_accounts_of_account,
|
51
55
|
resolver: LMSGraphQL::Resolvers::Canvas::GetSubAccountsOfAccount,
|
52
56
|
description: "Get the sub-accounts of an account. List accounts that are sub-accounts of the given account."
|
53
57
|
|
54
|
-
field :
|
55
|
-
resolver: LMSGraphQL::Resolvers::Canvas::
|
56
|
-
description: "Returns the terms of service for that account
|
58
|
+
field :get_terms_of_service,
|
59
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GetTermsOfService,
|
60
|
+
description: "Get the Terms of Service. Returns the terms of service for that account"
|
61
|
+
|
62
|
+
field :get_help_links,
|
63
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GetHelpLink,
|
64
|
+
description: "Get help links. Returns the help links for that account"
|
57
65
|
|
58
66
|
field :list_active_courses_in_account,
|
59
67
|
resolver: LMSGraphQL::Resolvers::Canvas::ListActiveCoursesInAccount,
|
@@ -163,9 +171,13 @@ module LMSGraphQL
|
|
163
171
|
resolver: LMSGraphQL::Resolvers::Canvas::GetAssignmentGroup,
|
164
172
|
description: "Get an Assignment Group. Returns the assignment group with the given id."
|
165
173
|
|
166
|
-
field :
|
167
|
-
resolver: LMSGraphQL::Resolvers::Canvas::
|
168
|
-
description: "List assignments. Returns the paginated list of assignments for the current
|
174
|
+
field :list_assignments_assignments,
|
175
|
+
resolver: LMSGraphQL::Resolvers::Canvas::ListAssignmentsAssignment,
|
176
|
+
description: "List assignments. Returns the paginated list of assignments for the current course or assignment group."
|
177
|
+
|
178
|
+
field :list_assignments_assignment_groups,
|
179
|
+
resolver: LMSGraphQL::Resolvers::Canvas::ListAssignmentsAssignmentGroup,
|
180
|
+
description: "List assignments. Returns the paginated list of assignments for the current course or assignment group."
|
169
181
|
|
170
182
|
field :list_assignments_for_user,
|
171
183
|
resolver: LMSGraphQL::Resolvers::Canvas::ListAssignmentsForUser,
|
@@ -173,7 +185,7 @@ module LMSGraphQL
|
|
173
185
|
|
174
186
|
field :get_single_assignment,
|
175
187
|
resolver: LMSGraphQL::Resolvers::Canvas::GetSingleAssignment,
|
176
|
-
description: "Get a single assignment. Returns the assignment with the given id.
|
188
|
+
description: "Get a single assignment. Returns the assignment with the given id."
|
177
189
|
|
178
190
|
field :list_assignment_overrides,
|
179
191
|
resolver: LMSGraphQL::Resolvers::Canvas::ListAssignmentOverride,
|
@@ -243,6 +255,10 @@ module LMSGraphQL
|
|
243
255
|
resolver: LMSGraphQL::Resolvers::Canvas::GetMigrationDetail,
|
244
256
|
description: "Get migration details. Show the changes that were propagated in a blueprint migration. This endpoint can be called on a blueprint course. See also {api:MasterCourses::MasterTemplatesController#import_details the associated course side}."
|
245
257
|
|
258
|
+
field :list_blueprint_subscriptions,
|
259
|
+
resolver: LMSGraphQL::Resolvers::Canvas::ListBlueprintSubscription,
|
260
|
+
description: "List blueprint subscriptions. Returns a list of blueprint subscriptions for the given course. (Currently a course may have no more than one.)"
|
261
|
+
|
246
262
|
field :list_blueprint_imports,
|
247
263
|
resolver: LMSGraphQL::Resolvers::Canvas::ListBlueprintImport,
|
248
264
|
description: "List blueprint imports. Shows a paginated list of migrations imported into a course associated with a blueprint, starting with the most recent. See also {api:MasterCourses::MasterTemplatesController#migrations_index the blueprint course side}. Use 'default' as the subscription_id to use the currently active blueprint subscription."
|
@@ -503,9 +519,9 @@ module LMSGraphQL
|
|
503
519
|
resolver: LMSGraphQL::Resolvers::Canvas::GetEffectiveDueDate,
|
504
520
|
description: "Get effective due dates. For each assignment in the course, returns each assigned student's ID and their corresponding due date along with some grading period data. Returns a collection with keys representing assignment IDs and values as a collection containing keys representing student IDs and values representing the student's effective due_at, the grading_period_id of which the due_at falls in, and whether or not the grading period is closed (in_closed_grading_period) The list of assignment IDs for which effective student due dates are requested. If not provided, all assignments in the course will be used."
|
505
521
|
|
506
|
-
field :
|
507
|
-
resolver: LMSGraphQL::Resolvers::Canvas::
|
508
|
-
description: "Permissions. Returns permission information for the calling user in the given course. See also {api:AccountsController#permissions
|
522
|
+
field :courses_permissions,
|
523
|
+
resolver: LMSGraphQL::Resolvers::Canvas::CoursesPermission,
|
524
|
+
description: "Permissions. Returns permission information for the calling user in the given course. See also the {api:AccountsController#permissions Account} and {api:GroupsController#permissions Group} counterparts."
|
509
525
|
|
510
526
|
field :get_course_copy_status,
|
511
527
|
resolver: LMSGraphQL::Resolvers::Canvas::GetCourseCopyStatus,
|
@@ -883,6 +899,10 @@ module LMSGraphQL
|
|
883
899
|
resolver: LMSGraphQL::Resolvers::Canvas::GroupActivityStreamSummary,
|
884
900
|
description: "Group activity stream summary. Returns a summary of the current user's group-specific activity stream. For full documentation, see the API documentation for the user activity stream summary, in the user api."
|
885
901
|
|
902
|
+
field :groups_permissions,
|
903
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GroupsPermission,
|
904
|
+
description: "Permissions. Returns permission information for the calling user in the given group. See also the {api:AccountsController#permissions Account} and {api:CoursesController#permissions Course} counterparts."
|
905
|
+
|
886
906
|
field :list_group_memberships,
|
887
907
|
resolver: LMSGraphQL::Resolvers::Canvas::ListGroupMembership,
|
888
908
|
description: "List group memberships. A paginated list of the members of a group."
|
@@ -923,6 +943,10 @@ module LMSGraphQL
|
|
923
943
|
resolver: LMSGraphQL::Resolvers::Canvas::ShowProvisionalGradeStatusForStudent,
|
924
944
|
description: "Show provisional grade status for a student. Tell whether the student's submission needs one or more provisional grades."
|
925
945
|
|
946
|
+
field :moderated_grading_show_provisional_grade_status_for_student,
|
947
|
+
resolver: LMSGraphQL::Resolvers::Canvas::ModeratedGradingShowProvisionalGradeStatusForStudent,
|
948
|
+
description: "Show provisional grade status for a student. Determine whether or not the student's submission needs one or more provisional grades."
|
949
|
+
|
926
950
|
field :list_modules,
|
927
951
|
resolver: LMSGraphQL::Resolvers::Canvas::ListModule,
|
928
952
|
description: "List modules. A paginated list of the modules in a course"
|
@@ -1055,6 +1079,10 @@ module LMSGraphQL
|
|
1055
1079
|
resolver: LMSGraphQL::Resolvers::Canvas::ShowOutcome,
|
1056
1080
|
description: "Show an outcome. Returns the details of the outcome with the given id."
|
1057
1081
|
|
1082
|
+
field :get_aligned_assignments_for_outcome_in_course_for_particular_student,
|
1083
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GetAlignedAssignmentsForOutcomeInCourseForParticularStudent,
|
1084
|
+
description: "Get aligned assignments for an outcome in a course for a particular student. "
|
1085
|
+
|
1058
1086
|
field :show_front_page_courses,
|
1059
1087
|
resolver: LMSGraphQL::Resolvers::Canvas::ShowFrontPageCourse,
|
1060
1088
|
description: "Show front page. Retrieve the content of the front page"
|
@@ -1203,6 +1231,10 @@ module LMSGraphQL
|
|
1203
1231
|
resolver: LMSGraphQL::Resolvers::Canvas::GetSinglePoll,
|
1204
1232
|
description: "Get a single poll. Returns the poll with the given id"
|
1205
1233
|
|
1234
|
+
field :get_proficiency_ratings,
|
1235
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GetProficiencyRating,
|
1236
|
+
description: "Get proficiency ratings. Get account-level proficiency ratings. If not defined for this account, it will return proficiency ratings for the nearest super-account with ratings defined. Will return 404 if none found. Examples: curl https: <canvas>/api/v1/accounts/<account_id>/outcome_proficiency \ -H 'Authorization: Bearer <token>'"
|
1237
|
+
|
1206
1238
|
field :query_progress,
|
1207
1239
|
resolver: LMSGraphQL::Resolvers::Canvas::QueryProgress,
|
1208
1240
|
description: "Query progress. Return completion and status information about an asynchronous job"
|
@@ -1305,11 +1337,15 @@ module LMSGraphQL
|
|
1305
1337
|
|
1306
1338
|
field :get_sis_import_list,
|
1307
1339
|
resolver: LMSGraphQL::Resolvers::Canvas::GetSisImportList,
|
1308
|
-
description: "Get SIS import list. Returns the list of SIS imports for an account Example: curl
|
1340
|
+
description: "Get SIS import list. Returns the list of SIS imports for an account Example: curl https: <canvas>/api/v1/accounts/<account_id>/sis_imports \ -H 'Authorization: Bearer <token>'"
|
1341
|
+
|
1342
|
+
field :get_current_importing_sis_import,
|
1343
|
+
resolver: LMSGraphQL::Resolvers::Canvas::GetCurrentImportingSisImport,
|
1344
|
+
description: "Get the current importing SIS import. Returns the SIS imports that are currently processing for an account. If no imports are running, will return an empty array. Example: curl https: <canvas>/api/v1/accounts/<account_id>/sis_imports/importing \ -H 'Authorization: Bearer <token>'"
|
1309
1345
|
|
1310
1346
|
field :get_sis_import_status,
|
1311
1347
|
resolver: LMSGraphQL::Resolvers::Canvas::GetSisImportStatus,
|
1312
|
-
description: "Get SIS import status. Get the status of an already created SIS import. Examples: curl
|
1348
|
+
description: "Get SIS import status. Get the status of an already created SIS import. Examples: curl https: <canvas>/api/v1/accounts/<account_id>/sis_imports/<sis_import_id> \ -H 'Authorization: Bearer <token>'"
|
1313
1349
|
|
1314
1350
|
field :retrieve_assignments_enabled_for_grade_export_to_sis_accounts,
|
1315
1351
|
resolver: LMSGraphQL::Resolvers::Canvas::RetrieveAssignmentsEnabledForGradeExportToSisAccount,
|
@@ -1319,10 +1355,6 @@ module LMSGraphQL
|
|
1319
1355
|
resolver: LMSGraphQL::Resolvers::Canvas::RetrieveAssignmentsEnabledForGradeExportToSisCourse,
|
1320
1356
|
description: "Retrieve assignments enabled for grade export to SIS. Retrieve a list of published assignments flagged as 'post_to_sis'. See the Assignments API for more details on assignments. Assignment group and section information are included for convenience. Each section includes course information for the origin course and the cross-listed course, if applicable. The `origin_course` is the course to which the section belongs or the course from which the section was cross-listed. Generally, the `origin_course` should be preferred when performing integration work. The `xlist_course` is provided for consistency and is only present when the section has been cross-listed. See Sections API and Courses Api for me details. The `override` is only provided if the Differentiated Assignments course feature is turned on and the assignment has an override for that section. When there is an override for the assignment the override object's keys/values can be merged with the top level assignment object to create a view of the assignment object specific to that section. See Assignments api for more information on assignment overrides. restricts to courses that start before this date (if they have a start date) restricts to courses that end after this date (if they have an end date) information to include. 'student_overrides':: returns individual student override information"
|
1321
1357
|
|
1322
|
-
field :list_scopes,
|
1323
|
-
resolver: LMSGraphQL::Resolvers::Canvas::ListScope,
|
1324
|
-
description: "List scopes. A list of scopes that can be applied to developer keys and access tokens."
|
1325
|
-
|
1326
1358
|
field :find_recipients_conversations,
|
1327
1359
|
resolver: LMSGraphQL::Resolvers::Canvas::FindRecipientsConversation,
|
1328
1360
|
description: "Find recipients. Find valid recipients (users, courses and groups) that the current user can send messages to. The /api/v1/search/recipients path is the preferred endpoint, /api/v1/conversations/find_recipients is deprecated. Pagination is supported."
|
@@ -1433,11 +1465,11 @@ module LMSGraphQL
|
|
1433
1465
|
|
1434
1466
|
field :list_upcoming_assignments_calendar_events,
|
1435
1467
|
resolver: LMSGraphQL::Resolvers::Canvas::ListUpcomingAssignmentsCalendarEvent,
|
1436
|
-
description: "List upcoming assignments, calendar events. A paginated list of the current user's upcoming events
|
1468
|
+
description: "List upcoming assignments, calendar events. A paginated list of the current user's upcoming events."
|
1437
1469
|
|
1438
1470
|
field :list_missing_submissions,
|
1439
1471
|
resolver: LMSGraphQL::Resolvers::Canvas::ListMissingSubmission,
|
1440
|
-
description: "List Missing Submissions. A paginated list of past-due assignments for which the student does not have a submission. The user sending the request must either be an admin or a parent observer using the parent app"
|
1472
|
+
description: "List Missing Submissions. A paginated list of past-due assignments for which the student does not have a submission. The user sending the request must either be the student, an admin or a parent observer using the parent app"
|
1441
1473
|
|
1442
1474
|
field :show_user_details,
|
1443
1475
|
resolver: LMSGraphQL::Resolvers::Canvas::ShowUserDetail,
|