API Reference
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อมูลอ้างอิง API นี้จัดเรียงตามประเภททรัพยากร ทรัพยากรแต่ละประเภทจะมีการนําเสนอข้อมูลอย่างน้อย 1 รายการและวิธีการอย่างน้อย 1 วิธี
ทรัพยากรเว็บ
ดูรายละเอียดทรัพยากรทรัพยากรในหน้าการแสดงทรัพยากร
วิธีการ |
คำขอ HTTP |
คำอธิบาย |
URI ที่เกี่ยวข้องกับ https://www.googleapis.com/siteVerification/v1 เว้นแต่จะระบุไว้เป็นอย่างอื่น |
ลบ
|
DELETE /webResource/id
|
ยืนยันการเป็นเจ้าของเว็บไซต์หรือโดเมนของผู้ใช้
|
รับ
|
GET /webResource/id
|
เรียกข้อมูลล่าสุดสําหรับเว็บไซต์หรือโดเมน
|
โทเค็น
|
POST /token
|
รับโทเค็นการยืนยันสําหรับผู้ใช้ที่ตรวจสอบสิทธิ์เพื่อวางไว้ในเว็บไซต์หรือโดเมน
|
แทรก
|
POST /webResource?verificationMethod=method
|
ยืนยันการเป็นเจ้าของเว็บไซต์หรือโดเมน
พารามิเตอร์การค้นหาที่จําเป็น:
verificationMethod |
list
|
GET /webResource
|
รับรายชื่อเว็บไซต์และโดเมนที่ได้รับการยืนยันแล้ว'
|
อัปเดต
|
PUT /webResource/id
|
แก้ไขรายชื่อเจ้าของเว็บไซต์หรือเว็บไซต์
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-08-16 UTC
[null,null,["อัปเดตล่าสุด 2022-08-16 UTC"],[[["\u003cp\u003eThis API reference is structured around resource types, each with their own data representations and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe WebResource resource allows you to manage website and domain ownership verification through methods like \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eupdate\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003egetToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve, verify, unverify, and modify website or domain ownership, as well as list verified sites and obtain verification tokens.\u003c/p\u003e\n"],["\u003cp\u003eAll URIs are relative to \u003ccode\u003ehttps://www.googleapis.com/siteVerification/v1\u003c/code\u003e unless specified otherwise.\u003c/p\u003e\n"]]],["The API manages WebResources, which represent websites or domains. Key actions include: `delete` to unverify ownership; `get` to retrieve current data; `getToken` to get a verification token; `insert` to verify ownership, requiring a `verificationMethod`; `list` to retrieve a list of verified sites; and `update` to modify the owner list. These actions use `DELETE`, `GET`, `POST`, and `PUT` HTTP methods against `/webResource/` or `/token` endpoints. Each resource has its data representation and methods.\n"],null,["# API Reference\n\nThis API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.\n\nWebResource\n-----------\n\nFor WebResource Resource details, see the [resource representation](/site-verification/v1/webResource#resource) page.\n\n| Method | HTTP request | Description |\n|--------------------------------------------------------|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| URIs relative to https://www.googleapis.com/siteVerification/v1, unless otherwise noted |||\n| [delete](/site-verification/v1/webResource/delete) | `DELETE /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Unverifies the user's ownership of a website or domain. |\n| [get](/site-verification/v1/webResource/get) | `GET /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Retrieves the most current data for a website or domain. |\n| [getToken](/site-verification/v1/webResource/getToken) | `POST /token` | Gets a verification token for the authenticated user to place on a website or domain. |\n| [insert](/site-verification/v1/webResource/insert) | `POST /webResource?verificationMethod=`\u003cvar class=\"apiparam\" translate=\"no\"\u003emethod\u003c/var\u003e | Verifies ownership of a website or domain. \u003cbr /\u003e **Required query parameters:** `verificationMethod` |\n| [list](/site-verification/v1/webResource/list) | `GET /webResource` | Gets the list of the authenticated user's verified websites and domains. |\n| [update](/site-verification/v1/webResource/update) | `PUT /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Modifies the list of owners for a website or domain. |"]]