Google 课堂插件现已面向开发者正式推出!如需了解详情,请参阅
插件文档。
REST Resource: courses.courseWork.addOnAttachments.studentSubmissions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:AddOnAttachmentStudentSubmission
JSON 表示法 |
{
"pointsEarned": number,
"postSubmissionState": enum (SubmissionState ),
"userId": string
} |
字段 |
pointsEarned |
number
此附件中的学生成绩。如果未设置,则表示未设置任何成绩。
|
postSubmissionState |
enum (SubmissionState )
插件附件的父级帖子(即作业)的提交状态。
|
userId |
string
拥有此提交内容的学生的标识符。 此字段属于实验性 API 更改的一部分,只有在授予足够的范围后,系统才会填充此字段。
|
方法 |
|
返回插件附件的学生提交内容。 |
|
更新与插件附件提交相关的数据。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]