Google Classroom 外掛程式現已全面開放開發人員使用!詳情請參閱
外掛程式說明文件。
REST Resource: courses.courseWork.addOnAttachments.studentSubmissions
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:AddOnAttachmentStudentSubmission
JSON 表示法 |
{
"pointsEarned": number,
"postSubmissionState": enum (SubmissionState ),
"userId": string
} |
欄位 |
pointsEarned |
number
學生的這份作業成績。如果未設定,表示未設定等級。
|
postSubmissionState |
enum (SubmissionState )
外掛程式附件上層文章 (即作業) 的提交狀態。
|
userId |
string
繳交作業的學生 ID。 這個欄位是實驗性質的 API 變更內容,只有在授予足夠的範圍時才會填入。
|
方法 |
|
傳回學生提交的擴充功能附件。 |
|
更新與外掛程式附件提交內容相關聯的資料。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# REST Resource: courses.courseWork.addOnAttachments.studentSubmissions\n\n- [Resource: AddOnAttachmentStudentSubmission](#AddOnAttachmentStudentSubmission)\n - [JSON representation](#AddOnAttachmentStudentSubmission.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AddOnAttachmentStudentSubmission\n------------------------------------------\n\nPayload for grade update requests.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"pointsEarned\": number, \"postSubmissionState\": enum (/workspace/classroom/reference/rest/v1/SubmissionState), \"userId\": string } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pointsEarned` | `number` Student grade on this attachment. If unset, no grade was set. |\n| `postSubmissionState` | `enum (`[SubmissionState](/workspace/classroom/reference/rest/v1/SubmissionState)`)` Submission state of add-on attachment's parent post (i.e. assignment). |\n| `userId` | `string` Identifier for the student that owns this submission. This field is part of an experimental API change and is populated only if sufficient scopes are granted. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| ### [get](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments.studentSubmissions/get) | Returns a student submission for an add-on attachment. |\n| ### [patch](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments.studentSubmissions/patch) | Updates data associated with an add-on attachment submission. |"]]