WebResource: list
ต้องมีการให้สิทธิ์
รับรายการเว็บไซต์และโดเมนที่ยืนยันแล้วของผู้ใช้ที่ผ่านการตรวจสอบสิทธิ์
ลองใช้เลย
ระบบจะแสดงเฉพาะเว็บไซต์ที่เป็นของผู้ใช้ที่ได้รับการตรวจสอบสิทธิ์แล้วเท่านั้น
ส่งคำขอ
คำขอ HTTP
GET https://www.googleapis.com/siteVerification/v1/webResource
การให้สิทธิ์
คำขอนี้ต้องได้รับการให้สิทธิ์ตามขอบเขตต่อไปนี้ (อ่านเพิ่มเติมเกี่ยวกับการตรวจสอบสิทธิ์และการให้สิทธิ์)
ขอบเขต |
https://www.googleapis.com/auth/siteverification |
เนื้อหาของคำขอ
โปรดอย่าให้เนื้อหาคำขอตามวิธีการนี้
คำตอบ
หากทำสำเร็จ เมธอดนี้จะแสดงเนื้อหาการตอบกลับพร้อมโครงสร้างต่อไปนี้
{
"items": [
webResource Resource
]
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
items[] |
list |
รายการเว็บไซต์ที่เป็นของผู้ใช้ที่ได้รับการตรวจสอบสิทธิ์ |
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-09 UTC
[null,null,["อัปเดตล่าสุด 2024-09-09 UTC"],[[["Retrieves a list of verified websites and domains owned by the authenticated user."],["Requires authorization with the `https://www.googleapis.com/auth/siteverification` scope."],["The response includes an array of `webResource` objects representing the user's verified sites."],["Only sites owned by the authenticated user are returned in the response."]]],["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"]]