Google Classroom ऐड-ऑन अब आम तौर पर डेवलपर के लिए उपलब्ध हैं! ज़्यादा जानकारी के लिए, कृपया
ऐड-ऑन दस्तावेज़ देखें.
Method: courses.courseWork.studentSubmissions.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
छात्र-छात्राओं के उन सबमिशन की सूची दिखाता है जिन्हें देखने की अनुमति, अनुरोध करने वाले व्यक्ति को मिली है. इसमें, अनुरोध के OAuth स्कोप को भी ध्यान में रखा जाता है. कोर्स के कई आइटम के लिए, छात्र-छात्राओं के सबमिट किए गए काम को शामिल करने के लिए, -
को courseWorkId
के तौर पर सेट किया जा सकता है.
कोर्स में शामिल छात्र-छात्राएं सिर्फ़ अपना काम देख सकते हैं. कोर्स के शिक्षक और डोमेन एडमिन, छात्र-छात्राओं के सबमिट किए गए सभी दस्तावेज़ देख सकते हैं.
इस तरीके से, गड़बड़ी के ये कोड मिलते हैं:
PERMISSION_DENIED
अगर अनुरोध करने वाले उपयोगकर्ता को, अनुरोध किए गए कोर्स या कोर्स वर्क को ऐक्सेस करने की अनुमति नहीं है या ऐक्सेस से जुड़ी गड़बड़ियों की वजह से.
INVALID_ARGUMENT
अगर अनुरोध गलत है.
NOT_FOUND
अगर अनुरोध किया गया कोर्स मौजूद नहीं है.
एचटीटीपी अनुरोध
GET https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
courseId |
string
कोर्स का आइडेंटिफ़ायर. यह आइडेंटिफ़ायर, Classroom से असाइन किया गया आइडेंटिफ़ायर या alias हो सकता है.
|
courseWorkId |
string
छात्र/छात्रा के उस काम का आइडेंटिफ़ायर जिसका अनुरोध करना है. किसी कोर्स में छात्र-छात्राओं के सभी काम का अनुरोध करने के लिए, इसे स्ट्रिंग लिटरल "-" पर सेट किया जा सकता है.
|
क्वेरी पैरामीटर
पैरामीटर |
userId |
string
छात्र-छात्राओं के लौटाए गए काम को, सिर्फ़ उस छात्र-छात्रा के काम तक सीमित करने के लिए वैकल्पिक आर्ग्युमेंट. यह आर्ग्युमेंट, तय किए गए आइडेंटिफ़ायर वाले छात्र-छात्राओं के काम पर लागू होता है. आइडेंटिफ़ायर इनमें से कोई एक हो सकता है:
- उपयोगकर्ता का अंकों वाला आइडेंटिफ़ायर
- उपयोगकर्ता का ईमेल पता
- स्ट्रिंग लिटरल
"me" , जिससे अनुरोध करने वाले उपयोगकर्ता के बारे में पता चलता है
|
states[] |
enum (SubmissionState )
सबमिशन के लिए अनुरोध की गई स्थितियां. अगर सबमिट किए गए असाइनमेंट की स्थिति तय की गई है, तो छात्र-छात्राओं के सबमिट किए गए असाइनमेंट, सबमिट किए गए असाइनमेंट की तय की गई स्थिति से मेल खाते हैं.
|
late |
enum (LateValues )
अनुरोध की गई देरी की वैल्यू. अगर कोई वैल्यू तय की जाती है, तो छात्र-छात्राओं के सबमिशन, अनुरोध की गई वैल्यू के हिसाब से ही वापस किए जाते हैं. अगर कोई वैल्यू नहीं दी गई है, तो late की वैल्यू के बावजूद सबमिशन दिखाए जाते हैं.
|
pageSize |
integer
ज़्यादा से ज़्यादा कितने आइटम लौटाए जा सकते हैं. शून्य या कोई वैल्यू न होने का मतलब है कि सर्वर ज़्यादा से ज़्यादा वैल्यू असाइन कर सकता है. हो सकता है कि सर्वर, तय की गई संख्या से कम नतीजे दिखाए.
|
pageToken |
string
nextPageToken वैल्यू, पिछली list कॉल से मिली है. इससे पता चलता है कि नतीजों का अगला पेज दिखाया जाना चाहिए.
list अनुरोध, उस अनुरोध से मेल खाना चाहिए जिससे यह टोकन मिला है.
|
previewVersion |
enum (PreviewVersion )
ज़रूरी नहीं. एपीआई का झलक वाला वर्शन. झलक देखने की सुविधा वाले प्रोग्राम में डेवलपर के लिए उपलब्ध एपीआई की नई सुविधाओं को ऐक्सेस करने के लिए, यह सेट करना ज़रूरी है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
छात्र-छात्राओं के सबमिट किए गए असाइनमेंट की सूची दिखाने पर मिलने वाला जवाब.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"studentSubmissions": [
{
object (StudentSubmission )
}
],
"nextPageToken": string
} |
फ़ील्ड |
studentSubmissions[] |
object (StudentSubmission )
छात्र-छात्राओं का वह काम जो अनुरोध से मेल खाता हो.
|
nextPageToken |
string
नतीजों के अगले पेज की पहचान करने वाला टोकन. अगर यह फ़ील्ड खाली है, तो इसका मतलब है कि कोई और नतीजा उपलब्ध नहीं है.
|
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/classroom.coursework.students.readonly
https://www.googleapis.com/auth/classroom.coursework.me.readonly
https://www.googleapis.com/auth/classroom.coursework.students
https://www.googleapis.com/auth/classroom.coursework.me
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
LateValues
लौटाए गए आइटम की देर से कीमत तय करने से जुड़ी पाबंदियां.
Enums |
LATE_VALUES_UNSPECIFIED |
देर से सबमिट की गई वैल्यू पर कोई पाबंदी नहीं है. |
LATE_ONLY |
देर से सबमिट किए गए असाइनमेंट के लिए, StudentSubmissions फ़ील्ड की वैल्यू दिखाएं. |
NOT_LATE_ONLY |
देर से सबमिट किए गए छात्र-छात्राओं के काम की जानकारी दिखाने के लिए, late फ़ील्ड को गलत के तौर पर सेट करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: courses.courseWork.studentSubmissions.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListStudentSubmissionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [LateValues](#LateValues)\n- [Try it!](#try-it)\n\nReturns a list of student submissions that the requester is permitted to view, factoring in the OAuth scopes of the request. `-` may be specified as the `courseWorkId` to include student submissions for multiple course work items.\n\nCourse students may only view their own work. Course teachers and domain administrators may view all student submissions.\n\nThis method returns the following error codes:\n\n- `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or course work, or for [access errors](/workspace/classroom/reference/Access.Errors).\n- `INVALID_ARGUMENT` if the request is malformed.\n- `NOT_FOUND` if the requested course does not exist.\n\n### HTTP request\n\n`GET https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `courseId` | `string` Identifier of the course. This identifier can be either the Classroom-assigned identifier or an [alias](/workspace/classroom/reference/rest/v1/courses.aliases#CourseAlias). |\n| `courseWorkId` | `string` Identifier of the student work to request. This may be set to the string literal `\"-\"` to request student work for all course work in the specified course. |\n\n### Query parameters\n\n| Parameters ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userId` | `string` Optional argument to restrict returned student work to those owned by the student with the specified identifier. The identifier can be one of the following: - the numeric identifier for the user - the email address of the user - the string literal `\"me\"`, indicating the requesting user |\n| `states[]` | `enum (`[SubmissionState](/workspace/classroom/reference/rest/v1/SubmissionState)`)` Requested submission states. If specified, returned student submissions match one of the specified submission states. |\n| `late` | `enum (`[LateValues](/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions/list#LateValues)`)` Requested lateness value. If specified, returned student submissions are restricted by the requested value. If unspecified, submissions are returned regardless of `late` value. |\n| `pageSize` | `integer` Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results. |\n| `pageToken` | `string` [nextPageToken](/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions/list#body.ListStudentSubmissionsResponse.FIELDS.next_page_token) value returned from a previous `list` call, indicating that the subsequent page of results should be returned. The `list` request must be otherwise identical to the one that resulted in this token. |\n| `previewVersion` | `enum (`[PreviewVersion](/workspace/classroom/reference/rest/v1/PreviewVersion)`)` Optional. The preview version of the API. This must be set in order to access new API capabilities made available to developers in the Preview Program. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse when listing student submissions.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"studentSubmissions\": [ { object (/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions#StudentSubmission) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `studentSubmissions[]` | `object (`[StudentSubmission](/workspace/classroom/reference/rest/v1/courses.courseWork.studentSubmissions#StudentSubmission)`)` Student work that matches the request. |\n| `nextPageToken` | `string` Token identifying the next page of results to return. If empty, no further results are available. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/classroom.coursework.students.readonly`\n- `\n https://www.googleapis.com/auth/classroom.coursework.me.readonly`\n- `\n https://www.googleapis.com/auth/classroom.coursework.students`\n- `\n https://www.googleapis.com/auth/classroom.coursework.me`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent).\n\nLateValues\n----------\n\nRestrictions on the late value of returned items.\n\n| Enums ||\n|---------------------------|-----------------------------------------------------|\n| `LATE_VALUES_UNSPECIFIED` | No restriction on submission late values specified. |\n| `LATE_ONLY` | Return StudentSubmissions where late is true. |\n| `NOT_LATE_ONLY` | Return StudentSubmissions where late is false. |"]]