ส่วนเสริมของ Google Classroom พร้อมให้บริการแก่นักพัฒนาซอฟต์แวร์แล้ว โปรดดูข้อมูลเพิ่มเติมใน
เอกสารส่วนเสริม
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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],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. |"]]