REST Resource: courses.posts.addOnAttachments.studentSubmissions
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: AddOnAttachmentStudentSubmission
עומס נתונים (payload) לבקשות לעדכון ציונים.
ייצוג ב-JSON |
{
"pointsEarned": number,
"postSubmissionState": enum (SubmissionState ),
"userId": string
} |
שדות |
pointsEarned |
number
הציון של התלמיד/ה בקובץ המצורף. אם לא מגדירים את הפרמטר, לא הוגדר ציון.
|
postSubmissionState |
enum (SubmissionState )
סטטוס ההגשה של הפוסט ההורה של הקובץ המצורף (כלומר המטלה).
|
userId |
string
המזהה של התלמיד או התלמידה שבבעלותם ההגשה הזו. השדה הזה הוא חלק משינוי ניסיוני ב-API, והוא מאוכלס רק אם מוענקים היקפי גישה מספיקים.
|
Methods |
|
הפונקציה מחזירה את הגשת התלמיד/ה של קובץ מצורף של תוסף. |
|
עדכון הנתונים שמשויכים לשליחת קובץ מצורף של תוסף. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# REST Resource: courses.posts.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.posts.addOnAttachments.studentSubmissions/get) | Returns a student submission for an add-on attachment. |\n| ### [patch](/workspace/classroom/reference/rest/v1/courses.posts.addOnAttachments.studentSubmissions/patch) | Updates data associated with an add-on attachment submission. |"]]