WebResource: list
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memerlukan otorisasi
Mendapatkan daftar situs dan domain terverifikasi milik pengguna yang diautentikasi.
Coba sekarang.
Hanya situs milik pengguna terautentikasi yang akan ditampilkan.
Permintaan
Permintaan HTTP
GET https://www.googleapis.com/siteVerification/v1/webResource
Otorisasi
Permintaan ini memerlukan otorisasi dengan cakupan berikut (baca lebih lanjut tentang autentikasi dan otorisasi).
Cakupan |
https://www.googleapis.com/auth/siteverification |
Isi permintaan
Jangan berikan isi permintaan dengan metode ini.
Respons
Jika berhasil, metode ini akan menampilkan isi respons dengan struktur berikut:
{
"items": [
webResource Resource
]
}
Nama properti |
Nilai |
Deskripsi |
Catatan |
items[] |
list |
Daftar situs yang dimiliki oleh pengguna terautentikasi. |
|
Cobalah!
Gunakan APIs Explorer di bawah untuk memanggil metode ini pada data langsung dan melihat responsnya.
Atau, coba
mandiri
Penjelajah.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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)."]]