GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=published_course_work&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} published course work '{course_work_title}' in {course_title}
已為繳交項目評分
使用者為提交內容設定成績的事件。
活動詳細資料
事件名稱
set_grade
參數
course_id
string
課程的 ID。
course_title
string
課程名稱。
course_work_title
string
課程作業的名稱。
impacted_users
string
一或多位使用者的電子郵件地址。
post_id
string
課程作業的 ID。
要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=set_grade&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} graded submission(s) for course work '{course_work_title}' in {course_title}. New state: {submission_state}
已變更繳交狀態
使用者變更提交內容狀態的事件。
活動詳細資料
事件名稱
changed_submission_state
參數
course_id
string
課程的 ID。
course_title
string
課程名稱。
course_work_title
string
課程作業的名稱。
has_grade
boolean
指出學生繳交的作業是否有成績。
impacted_users
string
一或多位使用者的電子郵件地址。
is_late
boolean
指出作業是否遲交。
post_id
string
課程作業的 ID。
submission_state
string
提交內容的狀態。
可能的值:
reclaimed_by_student :表示學生已取消繳交作業。
returned 表示繳交狀態已變更為「已退還」。
student_edited_after_turn_in 表示學生在繳交作業後編輯了提交內容。
turned_in 表示繳交狀態已變更為「已繳交」。
要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=changed_submission_state&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} changed the state of submission(s) for course work '{course_work_title}' in {course_title}. New state: {submission_state}
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=user_joined_course&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} joined {course_title} in role: {course_role}
已將使用者從課程中移除
使用者將其他使用者從課程中移除的事件。
活動詳細資料
事件名稱
user_removed_from_course
參數
course_id
string
課程的 ID。
course_role
string
使用者在課程中扮演的角色。
可能的值:
student 表示使用者是學生。
teacher 表示使用者為老師。
course_title
string
課程名稱。
impacted_users
string
一或多位使用者的電子郵件地址。
要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=user_removed_from_course&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} removed user(s) from {course_title} (previous role: {course_role})
課程最新資訊
事件類型,包括課程本身的變更。
這類事件會以 type=course_update 傳回。
已建立課程
使用者建立課程的事件。
活動詳細資料
事件名稱
created_course
參數
course_id
string
課程的 ID。
course_title
string
課程名稱。
要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=created_course&maxResults=10&access_token=YOUR_ACCESS_TOKEN
管理控制台訊息格式
{actor} created {course_title}
已刪除課程
使用者刪除課程的事件。
活動詳細資料
事件名稱
deleted_course
參數
course_id
string
課程的 ID。
course_title
string
課程名稱。
要求範例
GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/assignments?eventName=deleted_course&maxResults=10&access_token=YOUR_ACCESS_TOKEN