L'API Groups Settings opera su una risorsa Groups che rappresenta il modo in cui gli utenti
all'interno di un account comunicano e collaborano con gruppi di altre persone. Ogni gruppo è identificato dall'indirizzo email del gruppo.
Il modello di dati dell'API si basa sulla raccolta Groups dei gruppi dell'account. Ogni gruppo ha un insieme univoco di impostazioni di configurazione.
Operazioni dell'API Groups Settings
Puoi chiamare i metodi di impostazioni dei gruppi nell'API Groups Settings, come descritto nella tabella seguente:
Operazione
Descrizione
Mappature REST HTTP
get
Recupera le impostazioni di un gruppo per l'account di un cliente. Tutte le operazioni get devono essere autorizzate da un utente autenticato.
GET su un URI gruppo.
update
Aggiorna le impostazioni di un gruppo per l'account di un cliente. Tutte le operazioni di aggiornamento devono essere
autorizzate da un
utente autenticato.
PUT su un URI gruppo.
Formati di dati JSON e Atom
Per impostazione predefinita, l'API Groups Settings restituisce i dati in formato JSON. La notazione Atom è un formato
di dati alternativo. Sia i formati di dati JSON che Atom supportano funzionalità di lettura/scrittura complete.
JSON è un formato internet comune che fornisce un metodo per rappresentare strutture di dati arbitrarie. Secondo
json.org, JSON è un formato di testo
completamente indipendente dal linguaggio, ma utilizza convenzioni familiari ai programmatori della
famiglia di linguaggi C, tra cui C, C++, C#, Java, JavaScript, Perl e Python.
Per modificare il formato dei dati dell'API, includi la stringa di query alt nell'URI della richiesta, ad esempio:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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```"]]