संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कोई भी डेवलपर, Google Classroom API से अनुरोध कर सकता है. हालांकि, Google Classroom की कुछ सुविधाएं सिर्फ़ कुछ उपयोगकर्ताओं के लिए उपलब्ध हैं. हर सुविधा के लिए अलग-अलग ज़रूरी शर्तें हो सकती हैं. जैसे, Google Workspace for Education के किसी खास लाइसेंस टाइप का होना.
Google Workspace for Education के हर लाइसेंस लेवल पर मिलने वाली सुविधाओं के बारे में ज़्यादा जानने के लिए, अलग-अलग वर्शन की तुलना दिखाने वाला पेज देखें.
ज़रूरी शर्तें पूरी करने पर मिलने वाली सुविधाएं
Classroom API की ये सुविधाएं, सिर्फ़ ज़रूरी शर्तें पूरी करने वाले उपयोगकर्ताओं के लिए उपलब्ध हैं:
रूब्रिक बनाना, उनमें बदलाव करना, और उन्हें मिटाना.
उपयोगकर्ता की क्षमताओं का पता लगाना
Classroom API को अनुरोध, उपयोगकर्ताओं की ओर से किए जाते हैं.
इसलिए, आपको यह जांच करनी चाहिए कि किसी उपयोगकर्ता के पास ज़रूरी शर्तें पूरी करने की क्षमता है या नहीं. इसके बाद ही, ज़रूरी शर्तों के साथ एपीआई अनुरोध जारी करें.
यह पता लगाने के लिए कि किसी उपयोगकर्ता के पास कोई सुविधा है या नहीं, checkUserCapability तरीके से एपीआई अनुरोध करें. Classroom की जिस सुविधा का इस्तेमाल करना है उसके लिए, सही Capability टाइप शामिल करें. हर सुविधा के लिए, सही Capability बताएं:
इसके बाद, जवाब में मौजूद allowed फ़ील्ड देखें. अगर allowed, true है, तो इसका मतलब है कि उपयोगकर्ता के पास चुने गए Capability का ऐक्सेस है. इसके बाद, उपयोगकर्ता की ओर से Capability से जुड़े एपीआई अनुरोध किए जा सकते हैं.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-08-01 (UTC) को अपडेट किया गया."],[],[],null,["# User eligibility\n\nWhile any developer can make requests to the Google Classroom API, some\nGoogle Classroom features are only available to certain users. Each feature\ncan have different requirements, such as having a certain Google Workspace for Education license type.\nFor a detailed breakdown of features at each Google Workspace for Education license level, see the\n[editions comparison page](//edu.google.com/intl/ALL_us/workspace-for-education/editions/compare-editions/).\n| **Key Term:** An **eligible** user has the **capability** to use a certain Classroom feature if they meet the feature requirements.\n| **Key Point:** Capability is determined separately for each user and can change over time. Capability eligibility for some features of the Classroom API might differ from the corresponding features in the Google Classroom app. For example, certain [license requirements](/workspace/classroom/rubrics/limitations#license-requirements) apply when creating, modifying, or deleting rubrics with the API.\n\nFeatures with eligibility requirements\n--------------------------------------\n\n\u003cbr /\u003e\n\nThe following Classroom API features are only available to eligible\nusers:\n\n- Creating and modifying [Classroom add-on](/workspace/classroom/add-ons) attachments.\n- Modifying [grading period settings](/workspace/classroom/grading-periods/manage-grading-periods#licensing_requirements).\n- Creating, modifying, and deleting [rubrics](/workspace/classroom/rubrics/limitations#license-requirements).\n\nDetermine user capabilities\n---------------------------\n\nRequests to Classroom API are made on behalf of individual users.\nTherefore, you should check whether a user has the appropriate capabilities\nbefore issuing API requests with eligibility requirements.\n| **Key Point:** Consider checking user capabilities proactively so you can tailor your product's appearance or behavior to match the Classroom features that they can access.\n\nTo determine whether a user has a particular capability, make an API request to\nthe [`checkUserCapability`](/workspace/classroom/reference/rest/v1/userProfiles/checkUserCapability) method. Include the appropriate [`Capability`](/workspace/classroom/reference/rest/v1/userProfiles/checkUserCapability#capability) type\nfor the Classroom feature you intend to use. Specify the\nappropriate `Capability` for each feature:\n\n| To see if the user... | `Capability` |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|\n| Can [create](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments/create) or [modify](/workspace/classroom/reference/rest/v1/courses.courseWork.addOnAttachments/patch) a Classroom add-on attachment associated with the Google Cloud project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to make the request | `CREATE_ADD_ON_ATTACHMENT` |\n| Can [modify](/workspace/classroom/reference/rest/v1/courses/updateGradingPeriodSettings) grading period settings | `UPDATE_GRADING_PERIOD_SETTINGS` |\n| Can [create](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics/create), [modify](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics/patch), or [delete](/workspace/classroom/reference/rest/v1/courses.courseWork.rubrics/delete) a rubric | `CREATE_RUBRIC` |\n\nNext, check the `allowed` field in the response. If `allowed` is `true`, then\nthe user has access to the chosen `Capability`. You can then make API requests\nrelated the `Capability` on behalf of the user.\n| **Important:** Even when a user is eligible, it's still possible for API requests that depend on the eligibility to fail. Eligibility implies that a user can make use of a Classroom feature, not that a specific request will succeed."]]