संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Groups Settings API, किसी मौजूदा Google ग्रुप की सेटिंग को अपडेट करता है और उसे वापस लाता है. एपीआई की मदद से, ये काम किए जा सकते हैं:
ग्रुप के अंदरूनी और बाहरी ऐक्सेस के लिए, ग्रुप की सेटिंग में बदलाव करना.
ग्रुप की सूचनाओं में बदलाव करें.
बातचीत का डेटा संग्रहित करने और मैसेज मॉडरेट करने की सुविधा कॉन्फ़िगर करें.
अपने खाते के उपयोगकर्ता ग्रुप को पसंद के मुताबिक बनाएं.
Google Groups का इस्तेमाल करने या दूसरे तरह के ग्रुप मैनेज करने के ज़्यादा तरीकों के बारे में जानने के लिए,
Cloud Identity का दस्तावेज़ देखें.
Groups Settings API का डेटा मॉडल
Groups Settings API, Groups रिसॉर्स पर काम करता है. इससे पता चलता है कि किसी खाते के उपयोगकर्ता, दूसरे लोगों के ग्रुप के साथ कैसे बातचीत करते हैं और कैसे मिलकर काम करते हैं. हर ग्रुप की पहचान, ग्रुप के ईमेल पते से की जाती है.
एपीआई डेटा मॉडल, खाते के ग्रुप के Groups कलेक्शन पर आधारित होता है. हर ग्रुप में कॉन्फ़िगरेशन सेटिंग का एक यूनीक सेट होता है.
Groups Settings API के काम
ग्रुप सेटिंग एपीआई में ग्रुप सेटिंग के तरीकों को कॉल किया जा सकता है, जैसा कि नीचे दी गई टेबल में बताया गया है:
कार्रवाई
ब्यौरा
REST एचटीटीपी मैपिंग
get
ग्राहक के खाते के लिए, ग्रुप की सेटिंग पाता है. सभी 'प्राप्त करें' ऑपरेशन के लिए,
किसी ऐसे उपयोगकर्ता की अनुमति लेना ज़रूरी है जिसके पास
पुष्टि हो.
GET पर मौजूद ग्रुप यूआरआई.
update
ग्राहक के खाते के लिए, किसी ग्रुप की सेटिंग अपडेट करता है. सभी अपडेट कार्रवाइयों के लिए
पुष्टि किए गए उपयोगकर्ता को अनुमति मिलनी चाहिए.
PUT पर मौजूद ग्रुप यूआरआई.
JSON और Atom डेटा फ़ॉर्मैट
डिफ़ॉल्ट रूप से, Groups Settings API, डेटा को JSON फ़ॉर्मैट में दिखाता है. ऐटम नोटेशन, डेटा का एक वैकल्पिक फ़ॉर्मैट है. JSON और Atom, दोनों डेटा फ़ॉर्मैट में डेटा को पढ़ने और उसमें बदलाव करने की सुविधाएं पूरी तरह से काम करती हैं.
JSON एक सामान्य इंटरनेट फ़ॉर्मैट है, जो डेटा के अलग-अलग स्ट्रक्चर को दिखाने का तरीका उपलब्ध कराता है. json.org के मुताबिक, JSON एक ऐसा टेक्स्ट फ़ॉर्मैट है जो किसी भी भाषा पर निर्भर नहीं करता. हालांकि, इसमें C, C++, C#, Java, JavaScript, Perl, और Python जैसी C फ़ैमिली की भाषाओं के प्रोग्रामर के लिए इस्तेमाल किए जाने वाले कॉन्वेंशन का इस्तेमाल किया जाता है.
एपीआई के डेटा फ़ॉर्मैट को बदलने के लिए, अपने अनुरोध के यूआरआई में alt क्वेरी स्ट्रिंग शामिल करें. उदाहरण के लिए:
[[["समझने में आसान है","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-29 (UTC) को अपडेट किया गया."],[],[],null,["# Groups Settings API overview\n\nThe Groups Settings API updates and retrieves settings for an existing\n[Google Group](https://support.google.com/a/topic/25838?&ref_topic=9197). Through\nthe API, you can do the following:\n\n- Modify a group's settings for internal and external group access.\n- Edit the group's notifications.\n- Configure discussion archiving and message moderation.\n- Customize your account's user groups.\n\nFor more ways to work with Google Groups, or manage other types of groups, see the\n[Cloud Identity documentation](https://cloud.google.com/identity/docs).\n\n### Groups Settings API data model\n\nThe Groups Settings API operates on a `Groups` resource which represents how users\nwithin an account communicate and collaborate with groups of other people. Each group is identified\nby the group's email address.\n\nThe API data model is based on the `Groups` collection of the account's groups. Each\ngroup has a unique set of configuration settings.\n\n### Groups Settings API operations\n\nYou can call group settings methods in the Groups Settings API, as described in the following\ntable:\n\n| Operation | Description | REST HTTP mappings |\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|\n| `get` | Gets a group's settings for a customer's account. All get operations must be authorized by an [authenticated](/workspace/guides/auth-overview) user. | `GET` on a group URI. |\n| `update` | Updates a group's settings for a customer's account. All update operations must be authorized by an [authenticated](/workspace/guides/auth-overview) user. | `PUT` on a group URI. |\n\nJSON and Atom data formats\n--------------------------\n\nBy default, the Groups Settings API returns data in JSON format. The Atom notation is an alternate\ndata format. Both the JSON and Atom data formats support full read-write capabilities.\n\nJSON is a common\ninternet format that provides a method of representing arbitrary data structures. According to\n[json.org](http://www.json.org), JSON is a text format\nthat is completely language-independent but uses conventions that are familiar to programmers of\nthe C-family of languages, including C, C++, C#, Java, JavaScript, Perl, and Python.\n\n\u003cbr /\u003e\n\nTo change the API's data format, include the `alt` query string in your request's\nURI---for example:\n\n### JSON\n\n```\nGET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=json\n```\n\n### Atom\n\n```\nGET https://www.googleapis.com/groups/v1/groups/salesgroup@example.com?alt=atom\n```"]]