bearcat 1.0.0 → 1.5.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bearcat.gemspec +15 -5
- data/lib/badgrcat/api_array.rb +25 -0
- data/lib/badgrcat/client/methods.rb +54 -0
- data/lib/badgrcat/client.rb +53 -0
- data/lib/badgrcat/version.rb +3 -0
- data/lib/bearcat/api_array.rb +132 -65
- data/lib/bearcat/client/account_reports.rb +6 -14
- data/lib/bearcat/client/accounts.rb +18 -6
- data/lib/bearcat/client/analytics.rb +12 -0
- data/lib/bearcat/client/assignment_groups.rb +15 -0
- data/lib/bearcat/client/assignments.rb +17 -9
- data/lib/bearcat/client/blueprint_courses.rb +25 -0
- data/lib/bearcat/client/calendar_events.rb +9 -17
- data/lib/bearcat/client/canvas_files.rb +0 -2
- data/lib/bearcat/client/conferences.rb +3 -8
- data/lib/bearcat/client/content_exports.rb +39 -0
- data/lib/bearcat/client/content_migrations.rb +54 -0
- data/lib/bearcat/client/conversations.rb +3 -8
- data/lib/bearcat/client/courses.rb +25 -14
- data/lib/bearcat/client/custom_gradebook_columns.rb +21 -0
- data/lib/bearcat/client/discussions.rb +10 -4
- data/lib/bearcat/client/enrollments.rb +9 -25
- data/lib/bearcat/client/external_tools.rb +18 -0
- data/lib/bearcat/client/file_helper.rb +36 -30
- data/lib/bearcat/client/files.rb +9 -0
- data/lib/bearcat/client/folders.rb +24 -0
- data/lib/bearcat/client/graph_ql.rb +17 -0
- data/lib/bearcat/client/group_categories.rb +18 -0
- data/lib/bearcat/client/group_memberships.rb +14 -0
- data/lib/bearcat/client/groups.rb +10 -2
- data/lib/bearcat/client/learning_outcomes.rb +17 -0
- data/lib/bearcat/client/logins.rb +20 -0
- data/lib/bearcat/client/module_items.rb +18 -0
- data/lib/bearcat/client/modules.rb +12 -7
- data/lib/bearcat/client/o_auth2.rb +18 -9
- data/lib/bearcat/client/outcome_groups.rb +2 -4
- data/lib/bearcat/client/outcome_imports.rb +48 -0
- data/lib/bearcat/client/outcomes.rb +4 -7
- data/lib/bearcat/client/pages.rb +15 -0
- data/lib/bearcat/client/progresses.rb +9 -0
- data/lib/bearcat/client/quizzes.rb +13 -9
- data/lib/bearcat/client/reports.rb +37 -17
- data/lib/bearcat/client/roles.rb +15 -0
- data/lib/bearcat/client/rubric.rb +17 -0
- data/lib/bearcat/client/rubric_assessment.rb +13 -0
- data/lib/bearcat/client/rubric_association.rb +13 -0
- data/lib/bearcat/client/search.rb +9 -0
- data/lib/bearcat/client/sections.rb +10 -17
- data/lib/bearcat/client/sis_imports.rb +6 -12
- data/lib/bearcat/client/submissions.rb +53 -21
- data/lib/bearcat/client/tabs.rb +12 -0
- data/lib/bearcat/client/users.rb +32 -13
- data/lib/bearcat/client.rb +111 -45
- data/lib/bearcat/client_module.rb +103 -0
- data/lib/bearcat/rate_limiting/increment_bucket.lua +33 -0
- data/lib/bearcat/rate_limiting/redis_script.rb +164 -0
- data/lib/bearcat/rate_limiting.rb +69 -0
- data/lib/bearcat/redis_connection.rb +106 -0
- data/lib/bearcat/spec_helpers.rb +125 -0
- data/lib/bearcat/version.rb +1 -1
- data/lib/bearcat.rb +49 -0
- data/lib/catalogcat/api_array.rb +22 -0
- data/lib/catalogcat/client/catalogs.rb +21 -0
- data/lib/catalogcat/client/certificates.rb +17 -0
- data/lib/catalogcat/client/courses.rb +25 -0
- data/lib/catalogcat/client/email_domain_sets.rb +17 -0
- data/lib/catalogcat/client/enrollments.rb +25 -0
- data/lib/catalogcat/client/orders.rb +13 -0
- data/lib/catalogcat/client/user_registrations.rb +9 -0
- data/lib/catalogcat/client.rb +26 -0
- data/lib/catalogcat/version.rb +3 -0
- data/lib/catalogcat.rb +14 -0
- data/spec/bearcat/api_array_spec.rb +112 -0
- data/spec/bearcat/client/accounts_spec.rb +71 -1
- data/spec/bearcat/client/analytics_spec.rb +22 -0
- data/spec/bearcat/client/assignment_groups_spec.rb +47 -0
- data/spec/bearcat/client/assignments_spec.rb +43 -0
- data/spec/bearcat/client/blueprint_courses_spec.rb +43 -0
- data/spec/bearcat/client/canvas_files_spec.rb +1 -2
- data/spec/bearcat/client/content_exports_spec.rb +68 -0
- data/spec/bearcat/client/content_migrations_spec.rb +94 -0
- data/spec/bearcat/client/courses_spec.rb +81 -2
- data/spec/bearcat/client/custom_gradebook_columns_spec.rb +66 -0
- data/spec/bearcat/client/discussions_spec.rb +73 -0
- data/spec/bearcat/client/enrollments_spec.rb +10 -0
- data/spec/bearcat/client/external_tools_spec.rb +106 -0
- data/spec/bearcat/client/files_spec.rb +15 -0
- data/spec/bearcat/client/folders_spec.rb +18 -0
- data/spec/bearcat/client/graph_ql_spec.rb +35 -0
- data/spec/bearcat/client/group_categories_spec.rb +45 -0
- data/spec/bearcat/client/group_membership_spec.rb +14 -0
- data/spec/bearcat/client/group_memberships_spec.rb +36 -0
- data/spec/bearcat/client/groups_spec.rb +46 -0
- data/spec/bearcat/client/learning_outcomes_spec.rb +25 -0
- data/spec/bearcat/client/module_items_spec.rb +60 -0
- data/spec/bearcat/client/modules_spec.rb +38 -1
- data/spec/bearcat/client/o_auth2_spec.rb +3 -3
- data/spec/bearcat/client/pages_spec.rb +17 -0
- data/spec/bearcat/client/quizzes_spec.rb +41 -4
- data/spec/bearcat/client/reports_spec.rb +40 -1
- data/spec/bearcat/client/roles_spec.rb +24 -0
- data/spec/bearcat/client/rubric_assessment_spec.rb +47 -0
- data/spec/bearcat/client/rubric_association_spec.rb +39 -0
- data/spec/bearcat/client/rubric_spec.rb +45 -0
- data/spec/bearcat/client/search_spec.rb +16 -0
- data/spec/bearcat/client/sections_spec.rb +12 -0
- data/spec/bearcat/client/submissions_spec.rb +47 -2
- data/spec/bearcat/client/users_spec.rb +43 -0
- data/spec/bearcat/client_spec.rb +1 -4
- data/spec/bearcat/rate_limiting_spec.rb +62 -0
- data/spec/bearcat/stub_bearcat_spec.rb +15 -0
- data/spec/fixtures/access_token.json +3 -0
- data/spec/fixtures/account_admin_create.json +14 -0
- data/spec/fixtures/account_admin_delete.json +15 -0
- data/spec/fixtures/account_admins.json +54 -0
- data/spec/fixtures/account_courses.json +48 -0
- data/spec/fixtures/account_grading_standards.json +20 -0
- data/spec/fixtures/account_groups.json +42 -0
- data/spec/fixtures/account_role.json +34 -0
- data/spec/fixtures/account_roles.json +35 -0
- data/spec/fixtures/account_sis_imports.json +39 -0
- data/spec/fixtures/account_sub_accounts.json +17 -0
- data/spec/fixtures/accounts.json +13 -0
- data/spec/fixtures/assignment.json +32 -0
- data/spec/fixtures/assignment_group.json +7 -0
- data/spec/fixtures/assignment_groups.json +16 -0
- data/spec/fixtures/blueprint_migration.json +12 -0
- data/spec/fixtures/blueprint_subscriptions.json +5 -0
- data/spec/fixtures/blueprint_template.json +7 -0
- data/spec/fixtures/blueprint_update_assocations_success.json +3 -0
- data/spec/fixtures/communication_channels.json +10 -0
- data/spec/fixtures/content_export.json +9 -0
- data/spec/fixtures/content_migration_files/content_migration.json +13 -0
- data/spec/fixtures/course_copy.json +18 -0
- data/spec/fixtures/course_files.json +38 -0
- data/spec/fixtures/course_folder.json +21 -0
- data/spec/fixtures/course_folders.json +44 -0
- data/spec/fixtures/course_grading_standards.json +20 -0
- data/spec/fixtures/course_settings.json +33 -0
- data/spec/fixtures/create_course_discussion.json +44 -0
- data/spec/fixtures/created_group.json +37 -0
- data/spec/fixtures/created_group_category.json +15 -0
- data/spec/fixtures/created_group_membership.json +8 -0
- data/spec/fixtures/created_module.json +13 -0
- data/spec/fixtures/custom_gradebook_columns/column_data.json +4 -0
- data/spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json +7 -0
- data/spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json +16 -0
- data/spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json +14 -0
- data/spec/fixtures/dashboard.json +6 -0
- data/spec/fixtures/delete_course.json +3 -0
- data/spec/fixtures/delete_group_category.json +3 -0
- data/spec/fixtures/deleted_group.json +37 -0
- data/spec/fixtures/department_level_participation.json +73 -0
- data/spec/fixtures/department_level_statistics.json +10 -0
- data/spec/fixtures/discussion_entries.json +21 -0
- data/spec/fixtures/discussion_entry_replies.json +21 -0
- data/spec/fixtures/discussion_topic.json +49 -0
- data/spec/fixtures/discussion_topics.json +51 -0
- data/spec/fixtures/edited_group.json +129 -0
- data/spec/fixtures/edited_group_category.json +15 -0
- data/spec/fixtures/enrollment_terms.json +1 -1
- data/spec/fixtures/external_tool.json +55 -0
- data/spec/fixtures/external_tools.json +57 -0
- data/spec/fixtures/file.csv +5 -0
- data/spec/fixtures/gradebook_history.json +52 -0
- data/spec/fixtures/graph_ql_scores.json +33 -0
- data/spec/fixtures/group.json +15 -0
- data/spec/fixtures/group_categories.json +28 -0
- data/spec/fixtures/group_category.json +13 -0
- data/spec/fixtures/group_category_groups.json +20 -0
- data/spec/fixtures/group_membership.json +7 -0
- data/spec/fixtures/learning_outcome.json +32 -0
- data/spec/fixtures/merge_user.json +8 -0
- data/spec/fixtures/module.json +15 -0
- data/spec/fixtures/module_item.json +15 -0
- data/spec/fixtures/module_items.json +47 -0
- data/spec/fixtures/ok.json +3 -0
- data/spec/fixtures/outcome_result.json +13 -0
- data/spec/fixtures/pages.json +40 -0
- data/spec/fixtures/progress.json +13 -0
- data/spec/fixtures/quizzes/course_quiz_questions.json +59 -0
- data/spec/fixtures/quizzes/quiz_assignment_override.json +31 -0
- data/spec/fixtures/reactivate_enrollment.json +20 -0
- data/spec/fixtures/rubric.json +13 -0
- data/spec/fixtures/rubric_assessment.json +32 -0
- data/spec/fixtures/rubric_association.json +13 -0
- data/spec/fixtures/search_find_recipients.json +10 -0
- data/spec/fixtures/update_section.json +1 -1
- data/spec/fixtures/user_details.json +16 -0
- data/spec/fixtures/user_logins.json +9 -0
- data/spec/helper.rb +2 -0
- metadata +336 -43
@@ -0,0 +1,38 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 109,
|
4
|
+
"folder_id": 22,
|
5
|
+
"content-type": "application/pdf",
|
6
|
+
"display_name": "HBS Doctoral MVP SRD.pdf",
|
7
|
+
"filename": "1432764737_14__HBS%252BDoctoral%252BMVP%252BSRD.pdf",
|
8
|
+
"url": "http://localhost:3000/files/109/download?download_frd=1&verifier=FBoa2CGPYKxLYgKu49oSl3b6qnfvsmLgGeBxaUrW",
|
9
|
+
"size": 177660,
|
10
|
+
"created_at": "2015-05-27T22:12:16Z",
|
11
|
+
"updated_at": "2015-05-27T22:12:17Z",
|
12
|
+
"unlock_at": null,
|
13
|
+
"locked": false,
|
14
|
+
"hidden": false,
|
15
|
+
"lock_at": null,
|
16
|
+
"hidden_for_user": false,
|
17
|
+
"thumbnail_url": null,
|
18
|
+
"locked_for_user": false
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"id": 110,
|
22
|
+
"folder_id": 22,
|
23
|
+
"content-type": "application/x-ruby",
|
24
|
+
"display_name": "magic_eight.rb",
|
25
|
+
"filename": "1432764737_152__magic_eight.rb",
|
26
|
+
"url": "http://localhost:3000/files/110/download?download_frd=1&verifier=cFogneKgMZGvmTV9ausxxP8QJPTIzDjr81SyeGMB",
|
27
|
+
"size": 2218,
|
28
|
+
"created_at": "2015-05-27T22:12:17Z",
|
29
|
+
"updated_at": "2015-05-27T22:12:17Z",
|
30
|
+
"unlock_at": null,
|
31
|
+
"locked": false,
|
32
|
+
"hidden": false,
|
33
|
+
"lock_at": null,
|
34
|
+
"hidden_for_user": false,
|
35
|
+
"thumbnail_url": null,
|
36
|
+
"locked_for_user": false
|
37
|
+
}
|
38
|
+
]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"context_id": 1,
|
3
|
+
"context_type": "Course",
|
4
|
+
"created_at": "2015-04-28T19:14:58Z",
|
5
|
+
"full_name": "new folder",
|
6
|
+
"id": 3,
|
7
|
+
"lock_at": null,
|
8
|
+
"name": "new folder",
|
9
|
+
"parent_folder_id": null,
|
10
|
+
"position": null,
|
11
|
+
"unlock_at": null,
|
12
|
+
"updated_at": "2015-04-28T19:14:58Z",
|
13
|
+
"locked": false,
|
14
|
+
"folders_url": "http://localhost:3000/api/v1/folders/1/folders",
|
15
|
+
"files_url": "http://localhost:3000/api/v1/folders/1/files",
|
16
|
+
"files_count": 2,
|
17
|
+
"folders_count": 1,
|
18
|
+
"hidden": null,
|
19
|
+
"locked_for_user": false,
|
20
|
+
"hidden_for_user": false
|
21
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"context_id": 1,
|
4
|
+
"context_type": "Course",
|
5
|
+
"created_at": "2015-04-28T19:14:58Z",
|
6
|
+
"full_name": "course files",
|
7
|
+
"id": 1,
|
8
|
+
"lock_at": null,
|
9
|
+
"name": "course files",
|
10
|
+
"parent_folder_id": null,
|
11
|
+
"position": null,
|
12
|
+
"unlock_at": null,
|
13
|
+
"updated_at": "2015-04-28T19:14:58Z",
|
14
|
+
"locked": false,
|
15
|
+
"folders_url": "http://localhost:3000/api/v1/folders/1/folders",
|
16
|
+
"files_url": "http://localhost:3000/api/v1/folders/1/files",
|
17
|
+
"files_count": 2,
|
18
|
+
"folders_count": 1,
|
19
|
+
"hidden": null,
|
20
|
+
"locked_for_user": false,
|
21
|
+
"hidden_for_user": false
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"context_id": 1,
|
25
|
+
"context_type": "Course",
|
26
|
+
"created_at": "2015-08-10T13:30:50Z",
|
27
|
+
"full_name": "course files/folder1",
|
28
|
+
"id": 593,
|
29
|
+
"lock_at": null,
|
30
|
+
"name": "folder1",
|
31
|
+
"parent_folder_id": 1,
|
32
|
+
"position": 1,
|
33
|
+
"unlock_at": null,
|
34
|
+
"updated_at": "2015-08-10T13:30:50Z",
|
35
|
+
"locked": false,
|
36
|
+
"folders_url": "http://localhost:3000/api/v1/folders/593/folders",
|
37
|
+
"files_url": "http://localhost:3000/api/v1/folders/593/files",
|
38
|
+
"files_count": 1,
|
39
|
+
"folders_count": 0,
|
40
|
+
"hidden": null,
|
41
|
+
"locked_for_user": false,
|
42
|
+
"hidden_for_user": false
|
43
|
+
}
|
44
|
+
]
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"id":2,
|
3
|
+
"title":"custom grading scheme",
|
4
|
+
"context_id":69,
|
5
|
+
"context_type":"Course",
|
6
|
+
"grading_scheme":[
|
7
|
+
{"name":"A","value":0.94},
|
8
|
+
{"name":"A-","value":0.9},
|
9
|
+
{"name":"B+","value":0.87},
|
10
|
+
{"name":"B","value":0.84},
|
11
|
+
{"name":"B-","value":0.8},
|
12
|
+
{"name":"C+","value":0.77},
|
13
|
+
{"name":"C","value":0.74},
|
14
|
+
{"name":"C-","value":0.7},
|
15
|
+
{"name":"D+","value":0.67},
|
16
|
+
{"name":"D","value":0.64},
|
17
|
+
{"name":"D-","value":0.61},
|
18
|
+
{"name":"F","value":0.0}
|
19
|
+
]
|
20
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"allow_student_discussion_topics": false,
|
3
|
+
"allow_student_discussion_editing": true,
|
4
|
+
"allow_student_discussion_reporting": false,
|
5
|
+
"allow_student_anonymous_discussion_topics": false,
|
6
|
+
"filter_speed_grader_by_student_group": false,
|
7
|
+
"grading_standard_enabled": false,
|
8
|
+
"grading_standard_id": null,
|
9
|
+
"grade_passback_setting": null,
|
10
|
+
"allow_student_organized_groups": true,
|
11
|
+
"hide_final_grades": true,
|
12
|
+
"hide_distribution_graphs": true,
|
13
|
+
"hide_sections_on_course_users_page": false,
|
14
|
+
"lock_all_announcements": true,
|
15
|
+
"usage_rights_required": false,
|
16
|
+
"restrict_student_past_view": false,
|
17
|
+
"restrict_student_future_view": false,
|
18
|
+
"restrict_quantitative_data": false,
|
19
|
+
"show_announcements_on_home_page": false,
|
20
|
+
"home_page_announcement_limit": 3,
|
21
|
+
"syllabus_course_summary": true,
|
22
|
+
"homeroom_course": false,
|
23
|
+
"image_url": null,
|
24
|
+
"image_id": null,
|
25
|
+
"image": null,
|
26
|
+
"banner_image_url": null,
|
27
|
+
"banner_image_id": null,
|
28
|
+
"banner_image": null,
|
29
|
+
"course_color": null,
|
30
|
+
"friendly_name": null,
|
31
|
+
"default_due_time": "23:59:59",
|
32
|
+
"conditional_release": true
|
33
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"assignment_id": null,
|
3
|
+
"delayed_post_at": null,
|
4
|
+
"discussion_type": "side_comment",
|
5
|
+
"id": 43,
|
6
|
+
"last_reply_at": "2014-07-31T22:30:41Z",
|
7
|
+
"lock_at": null,
|
8
|
+
"podcast_has_student_posts": null,
|
9
|
+
"position": null,
|
10
|
+
"posted_at": "2014-07-31T22:30:41Z",
|
11
|
+
"root_topic_id": null,
|
12
|
+
"title": "This is a course discussion",
|
13
|
+
"user_name": "test user",
|
14
|
+
"discussion_subentry_count": 0,
|
15
|
+
"permissions": {
|
16
|
+
"attach": false,
|
17
|
+
"update": true,
|
18
|
+
"delete": true
|
19
|
+
},
|
20
|
+
"message": null,
|
21
|
+
"require_initial_post": null,
|
22
|
+
"user_can_see_posts": true,
|
23
|
+
"podcast_url": null,
|
24
|
+
"read_state": "read",
|
25
|
+
"unread_count": 0,
|
26
|
+
"subscribed": true,
|
27
|
+
"topic_children": [],
|
28
|
+
"attachments": [],
|
29
|
+
"published": false,
|
30
|
+
"can_unpublish": true,
|
31
|
+
"locked": false,
|
32
|
+
"author": {
|
33
|
+
"id": 1,
|
34
|
+
"display_name": "test_user",
|
35
|
+
"avatar_image_url": "https://secure.gravatar.com/avatar/avatar-50.png",
|
36
|
+
"html_url": "http://localhost:3000/groups/2/users/1"
|
37
|
+
},
|
38
|
+
"html_url": "http://localhost:3000/groups/2/discussion_topics/43",
|
39
|
+
"url": "http://localhost:3000/groups/2/discussion_topics/43",
|
40
|
+
"pinned": false,
|
41
|
+
"group_category_id": null,
|
42
|
+
"can_group": true,
|
43
|
+
"locked_for_user": false
|
44
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"id": 7,
|
3
|
+
"name": "created group 1",
|
4
|
+
"max_membership": null,
|
5
|
+
"is_public": false,
|
6
|
+
"join_level": "invitation_only",
|
7
|
+
"group_category_id": 2,
|
8
|
+
"description": null,
|
9
|
+
"members_count": 0,
|
10
|
+
"storage_quota_mb": 50,
|
11
|
+
"permissions": {
|
12
|
+
"create_discussion_topic": true,
|
13
|
+
"join": false,
|
14
|
+
"create_announcement": true
|
15
|
+
},
|
16
|
+
"context_type": "Course",
|
17
|
+
"course_id": 14,
|
18
|
+
"avatar_url": null,
|
19
|
+
"role": null,
|
20
|
+
"leader": null,
|
21
|
+
"users": [],
|
22
|
+
"group_category": {
|
23
|
+
"id": 2,
|
24
|
+
"name": "Group Category!!!!!",
|
25
|
+
"role": null,
|
26
|
+
"self_signup": null,
|
27
|
+
"group_limit": null,
|
28
|
+
"auto_leader": null,
|
29
|
+
"context_type": "Course",
|
30
|
+
"course_id": 14,
|
31
|
+
"protected": false,
|
32
|
+
"allows_multiple_memberships": false,
|
33
|
+
"is_member": false
|
34
|
+
},
|
35
|
+
"has_submission": false,
|
36
|
+
"concluded": false
|
37
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"id": 1,
|
3
|
+
"name": "new group category",
|
4
|
+
"role": null,
|
5
|
+
"self_signup": null,
|
6
|
+
"group_limit": null,
|
7
|
+
"auto_leader": null,
|
8
|
+
"context_type": "Course",
|
9
|
+
"course_id": 14,
|
10
|
+
"groups_count": 0,
|
11
|
+
"unassigned_users_count": 13,
|
12
|
+
"protected": false,
|
13
|
+
"allows_multiple_memberships": false,
|
14
|
+
"is_member": false
|
15
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"id": 1,
|
3
|
+
"name": "new module",
|
4
|
+
"position": 1,
|
5
|
+
"unlock_at": null,
|
6
|
+
"require_sequential_progress": true,
|
7
|
+
"publish_final_grade": false,
|
8
|
+
"prerequisite_module_ids": [],
|
9
|
+
"state": "active",
|
10
|
+
"completed_at": "2014-04-18T19:38:01Z",
|
11
|
+
"items_count": 0,
|
12
|
+
"items_url": "http://localhost:3000/api/v1/courses/1384/modules/1/items"
|
13
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"id": 1,
|
3
|
+
"context_id": 1,
|
4
|
+
"context_type": "Course",
|
5
|
+
"user_id": 123,
|
6
|
+
"tag": "custom_columns_submissions_update",
|
7
|
+
"completion": 100,
|
8
|
+
"workflow_state": "completed",
|
9
|
+
"created_at": "2013-01-15T15:00:00Z",
|
10
|
+
"updated_at": "2013-01-15T15:04:00Z",
|
11
|
+
"message": "",
|
12
|
+
"results": {},
|
13
|
+
"url": "https://canvas.example.edu/api/v1/progress/1"
|
14
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
{
|
2
|
+
"id": 7,
|
3
|
+
"name": "created group 1",
|
4
|
+
"max_membership": null,
|
5
|
+
"is_public": false,
|
6
|
+
"join_level": "invitation_only",
|
7
|
+
"group_category_id": 2,
|
8
|
+
"description": null,
|
9
|
+
"members_count": 0,
|
10
|
+
"storage_quota_mb": 50,
|
11
|
+
"permissions": {
|
12
|
+
"create_discussion_topic": true,
|
13
|
+
"join": false,
|
14
|
+
"create_announcement": true
|
15
|
+
},
|
16
|
+
"context_type": "Course",
|
17
|
+
"course_id": 14,
|
18
|
+
"avatar_url": null,
|
19
|
+
"role": null,
|
20
|
+
"leader": null,
|
21
|
+
"users": [],
|
22
|
+
"group_category": {
|
23
|
+
"id": 2,
|
24
|
+
"name": "Group Category!!!!!",
|
25
|
+
"role": null,
|
26
|
+
"self_signup": null,
|
27
|
+
"group_limit": null,
|
28
|
+
"auto_leader": null,
|
29
|
+
"context_type": "Course",
|
30
|
+
"course_id": 14,
|
31
|
+
"protected": false,
|
32
|
+
"allows_multiple_memberships": false,
|
33
|
+
"is_member": false
|
34
|
+
},
|
35
|
+
"has_submission": false,
|
36
|
+
"concluded": false
|
37
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
{
|
2
|
+
"by_date": [
|
3
|
+
{
|
4
|
+
"date": "2015-09-14",
|
5
|
+
"participations": 0,
|
6
|
+
"views": 10
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"date": "2015-06-02",
|
10
|
+
"participations": 0,
|
11
|
+
"views": 7
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"date": "2015-02-02",
|
15
|
+
"participations": 0,
|
16
|
+
"views": 38
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"by_category": [
|
20
|
+
{
|
21
|
+
"category": "announcements",
|
22
|
+
"views": 3
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"category": "assignments",
|
26
|
+
"views": 112
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"category": "collaborations",
|
30
|
+
"views": 2
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"category": "conferences",
|
34
|
+
"views": 1
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"category": "discussions",
|
38
|
+
"views": 56
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"category": "files",
|
42
|
+
"views": 26
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"category": "general",
|
46
|
+
"views": 328
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"category": "grades",
|
50
|
+
"views": 57
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"category": "groups",
|
54
|
+
"views": 1
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"category": "modules",
|
58
|
+
"views": 100
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"category": "other",
|
62
|
+
"views": 197
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"category": "pages",
|
66
|
+
"views": 21
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"category": "quizzes",
|
70
|
+
"views": 43
|
71
|
+
}
|
72
|
+
]
|
73
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1,
|
4
|
+
"user_id": 170000004597713,
|
5
|
+
"parent_id": null,
|
6
|
+
"created_at": "2016-08-22T18:41:53Z",
|
7
|
+
"updated_at": "2016-08-22T18:41:53Z",
|
8
|
+
"rating_count": null,
|
9
|
+
"rating_sum": null,
|
10
|
+
"user_name": "Mark Valentine",
|
11
|
+
"message": "<p><a id=\"\" class=\"\" title=\"\" href=\"http://ola.aacc.edu/policies/IntegrityPolicy.pdf\" target=\"\">what about this policy?</a></p>",
|
12
|
+
"user": {
|
13
|
+
"id": 170000004597713,
|
14
|
+
"display_name": "Mark Valentine",
|
15
|
+
"avatar_image_url": "https://secure.gravatar.com/avatar/ef7cb412b0b68576d39a7014919e6e92?s=50&d=https%3A%2F%2Fmvalentine.instructure.com%2Fimages%2Fmessages%2Favatar-50.png",
|
16
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/users/17~4597713"
|
17
|
+
},
|
18
|
+
"read_state": "read",
|
19
|
+
"forced_read_state": false
|
20
|
+
}
|
21
|
+
]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 3,
|
4
|
+
"user_id": 170000004597713,
|
5
|
+
"parent_id": 1,
|
6
|
+
"created_at": "2016-08-25T16:46:59Z",
|
7
|
+
"updated_at": "2016-08-25T16:46:59Z",
|
8
|
+
"rating_count": null,
|
9
|
+
"rating_sum": null,
|
10
|
+
"user_name": "Mark Valentine",
|
11
|
+
"message": "<p>i am not in favor of that.</p>",
|
12
|
+
"user": {
|
13
|
+
"id": 170000004597713,
|
14
|
+
"display_name": "Mark Valentine",
|
15
|
+
"avatar_image_url": "https://secure.gravatar.com/avatar/ef7cb412b0b68576d39a7014919e6e92?s=50&d=https%3A%2F%2Fmvalentine.instructure.com%2Fimages%2Fmessages%2Favatar-50.png",
|
16
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/users/17~4597713"
|
17
|
+
},
|
18
|
+
"read_state": "read",
|
19
|
+
"forced_read_state": false
|
20
|
+
}
|
21
|
+
]
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"id": 1,
|
3
|
+
"title": "Lets talk about the integrity policy",
|
4
|
+
"last_reply_at": "2016-08-22T18:41:53Z",
|
5
|
+
"delayed_post_at": null,
|
6
|
+
"posted_at": "2016-08-22T18:26:42Z",
|
7
|
+
"assignment_id": null,
|
8
|
+
"root_topic_id": null,
|
9
|
+
"position": null,
|
10
|
+
"podcast_has_student_posts": false,
|
11
|
+
"discussion_type": "side_comment",
|
12
|
+
"lock_at": null,
|
13
|
+
"allow_rating": false,
|
14
|
+
"only_graders_can_rate": false,
|
15
|
+
"sort_by_rating": false,
|
16
|
+
"user_name": "Mark Valentine",
|
17
|
+
"discussion_subentry_count": 1,
|
18
|
+
"permissions": {
|
19
|
+
"attach": true,
|
20
|
+
"update": true,
|
21
|
+
"reply": true,
|
22
|
+
"delete": true
|
23
|
+
},
|
24
|
+
"require_initial_post": null,
|
25
|
+
"user_can_see_posts": true,
|
26
|
+
"podcast_url": null,
|
27
|
+
"read_state": "read",
|
28
|
+
"unread_count": 0,
|
29
|
+
"subscribed": true,
|
30
|
+
"topic_children": [],
|
31
|
+
"attachments": [],
|
32
|
+
"published": true,
|
33
|
+
"can_unpublish": true,
|
34
|
+
"locked": false,
|
35
|
+
"can_lock": true,
|
36
|
+
"author": {
|
37
|
+
"id": 170000004597713,
|
38
|
+
"display_name": "Mark Valentine",
|
39
|
+
"avatar_image_url": "https://secure.gravatar.com/avatar/ef7cb412b0b68576d39a7014919e6e92?s=50&d=https%3A%2F%2Fmvalentine.instructure.com%2Fimages%2Fmessages%2Favatar-50.png",
|
40
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/users/17~4597713"
|
41
|
+
},
|
42
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/discussion_topics/1",
|
43
|
+
"url": "https://mvalentine.instructure.com/courses/1/discussion_topics/1",
|
44
|
+
"pinned": false,
|
45
|
+
"group_category_id": null,
|
46
|
+
"can_group": true,
|
47
|
+
"locked_for_user": false,
|
48
|
+
"message": "<p>I have this policy.</p>\r\n<p><a class=\"\" title=\"http://ola.aacc.edu/policies/IntegrityPolicy.pdf\" href=\"https://mvalentine.instructure.com/courses/1/files/3/download?verifier=gAUYA5q4jdW9k7R3A4Tw2TQ0KKmP5g4ubOelhFOU&wrap=1\" target=\"\" data-api-endpoint=\"https://mvalentine.instructure.com/api/v1/courses/1/files/3\" data-api-returntype=\"File\">http://ola.aacc.edu/policies/IntegrityPolicy.pdf</a></p>\r\n<p> </p>"
|
49
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1,
|
4
|
+
"title": "Lets talk about the integrity policy",
|
5
|
+
"last_reply_at": "2016-08-22T18:41:53Z",
|
6
|
+
"delayed_post_at": null,
|
7
|
+
"posted_at": "2016-08-22T18:26:42Z",
|
8
|
+
"assignment_id": null,
|
9
|
+
"root_topic_id": null,
|
10
|
+
"position": null,
|
11
|
+
"podcast_has_student_posts": false,
|
12
|
+
"discussion_type": "side_comment",
|
13
|
+
"lock_at": null,
|
14
|
+
"allow_rating": false,
|
15
|
+
"only_graders_can_rate": false,
|
16
|
+
"sort_by_rating": false,
|
17
|
+
"user_name": "Mark Valentine",
|
18
|
+
"discussion_subentry_count": 1,
|
19
|
+
"permissions": {
|
20
|
+
"attach": true,
|
21
|
+
"update": true,
|
22
|
+
"reply": true,
|
23
|
+
"delete": true
|
24
|
+
},
|
25
|
+
"require_initial_post": null,
|
26
|
+
"user_can_see_posts": true,
|
27
|
+
"podcast_url": null,
|
28
|
+
"read_state": "read",
|
29
|
+
"unread_count": 0,
|
30
|
+
"subscribed": true,
|
31
|
+
"topic_children": [],
|
32
|
+
"attachments": [],
|
33
|
+
"published": true,
|
34
|
+
"can_unpublish": true,
|
35
|
+
"locked": false,
|
36
|
+
"can_lock": true,
|
37
|
+
"author": {
|
38
|
+
"id": 170000004597713,
|
39
|
+
"display_name": "Mark Valentine",
|
40
|
+
"avatar_image_url": "https://secure.gravatar.com/avatar/ef7cb412b0b68576d39a7014919e6e92?s=50&d=https%3A%2F%2Fmvalentine.instructure.com%2Fimages%2Fmessages%2Favatar-50.png",
|
41
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/users/17~4597713"
|
42
|
+
},
|
43
|
+
"html_url": "https://mvalentine.instructure.com/courses/1/discussion_topics/1",
|
44
|
+
"url": "https://mvalentine.instructure.com/courses/1/discussion_topics/1",
|
45
|
+
"pinned": false,
|
46
|
+
"group_category_id": null,
|
47
|
+
"can_group": true,
|
48
|
+
"locked_for_user": false,
|
49
|
+
"message": "<p>I have this policy.</p>\r\n<p><a class=\"\" title=\"http://ola.aacc.edu/policies/IntegrityPolicy.pdf\" href=\"https://mvalentine.instructure.com/courses/1/files/3/download?verifier=gAUYA5q4jdW9k7R3A4Tw2TQ0KKmP5g4ubOelhFOU&wrap=1\" target=\"\" data-api-endpoint=\"https://mvalentine.instructure.com/api/v1/courses/1/files/3\" data-api-returntype=\"File\">http://ola.aacc.edu/policies/IntegrityPolicy.pdf</a></p>\r\n<p> </p>"
|
50
|
+
}
|
51
|
+
]
|