WebResource: list
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiede l'autorizzazione
Restituisce l'elenco di siti web e domini verificati dell'utente autenticato.
Prova subito.
Vengono restituiti solo i siti di proprietà dell'utente autenticato.
Richiesta
Richiesta HTTP
GET https://www.googleapis.com/siteVerification/v1/webResource
Autorizzazione
Questa richiesta richiede l'autorizzazione con il seguente ambito (scopri di più su autenticazione e autorizzazione).
Ambito |
https://www.googleapis.com/auth/siteverification |
Corpo della richiesta
Non fornire un corpo della richiesta con questo metodo.
Risposta
In caso di esito positivo, questo metodo restituisce un corpo della risposta con la seguente struttura:
{
"items": [
webResource Resource
]
}
Nome proprietà |
Valore |
Descrizione |
Note |
items[] |
list |
L'elenco di siti di proprietà dell'utente autenticato. |
|
Prova
Usa Explorer API in basso per chiamare questo metodo sui dati in tempo reale e visualizzare la risposta.
In alternativa, prova la
autonomo
Spazio di esplorazione.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eRetrieves a list of verified websites and domains owned by the authenticated user.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/siteverification\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of \u003ccode\u003ewebResource\u003c/code\u003e objects representing the user's verified sites.\u003c/p\u003e\n"],["\u003cp\u003eOnly sites owned by the authenticated user are returned in the response.\u003c/p\u003e\n"]]],["This API endpoint retrieves a list of websites and domains verified by the authenticated user. It requires authorization with the `https://www.googleapis.com/auth/siteverification` scope. A `GET` request is sent to `https://www.googleapis.com/siteVerification/v1/webResource` without a request body. Upon success, the response body contains an array called \"items\", listing the web resources owned by the user. The endpoint does not permit the user to send any request body.\n"],null,["# WebResource: list\n\n**Requires [authorization](#auth)**\n\nGets the list of the authenticated user's verified websites and domains.\n[Try it now](#try-it).\n\nOnly sites that are owned by the authenticated user are returned.\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/siteVerification/v1/webResource\n```\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/site-verification/v1/getting_started#auth)).\n\n| Scope |\n|----------------------------------------------------|\n| `https://www.googleapis.com/auth/siteverification` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"items\": [\n webResource Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|--------|-------------------------------------------------------------|-------|\n| `items[]` | `list` | The list of sites that are owned by the authenticated user. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/siteVerification/v1/siteVerification.webResource.list)."]]