WebResource: insert
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
需要授權
驗證網站或網域的擁有權。
立即試用。
呼叫 insert 之前,請將已驗證使用者的驗證權杖放在自家網站或網域中。當您呼叫 insert 時,Google 的網站驗證服務會查詢網站或網域並尋找權杖。
如果 Google 在網站或網域上找到使用者的憑證,就會將網站記錄為已驗證。已驗證的使用者也能委派擁有權。您在要求主體
owners
欄位中指定的任何電子郵件地址,都會記錄為已驗證的網站擁有者。
verificationMethod
查詢參數會指定 Google 應檢查的驗證權杖類型。
verificationMethod
的值應與先前傳送至
getToken 的值相符。
要求
HTTP 要求
POST https://www.googleapis.com/siteVerification/v1/webResource?verificationMethod=method
參數
參數名稱 |
值 |
說明 |
必要的查詢參數 |
verificationMethod |
string |
用於驗證網站或網域的方法。
|
授權
這項要求需要至少下列其中一個範圍的授權 (進一步瞭解驗證和授權)。
範圍 |
https://www.googleapis.com/auth/siteverification |
https://www.googleapis.com/auth/siteverification.verify_only |
要求主體
在要求內容中,請提供 WebResource 資源。
試試看!
使用 APIs Explorer 針對即時資料呼叫這個方法,並查看回應。或者,您也可以試試看獨立的 Explorer。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-08-16 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{
"last_modified": "上次更新時間:2022-08-16 (世界標準時間)。",
"state": ""
}