WebResource: get
認証が必要です
ウェブサイトまたはドメインの最新のデータを取得します。
実習をご覧ください。
この方法で取得できるのは、認証されたユーザーが直接的または間接的に所有しているサイトのみです。「間接的」所有権とは、サイトの親(任意のレベルの)の確認済みの所有権です。たとえば、example.com の所有者は example.com の直接的な所有者ですが、monkeys.example.com と bonobo.monkeys.example.com の間接的な所有者です。
リクエスト
HTTP リクエスト
GET https://www.googleapis.com/siteVerification/v1/webResource/id
パラメータ
パラメータ名 |
値 |
説明 |
パスパラメータ |
id |
string |
確認済みのサイトまたはドメインの ID。
|
承認
このリクエストは、次のスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
https://www.googleapis.com/auth/siteverification |
リクエスト本文
このメソッドをリクエストの本文に含めないでください。
試してみよう:
以下の API Explorer を使用して、ライブデータに対してこのメソッドを呼び出し、レスポンスを確認してください。
または、
スタンドアロン
エクスプローラをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-09 UTC。
[null,null,["最終更新日 2024-09-09 UTC。"],[[["Retrieves the latest data for a website or domain owned directly or indirectly by the authenticated user."],["Only authorized users with the `https://www.googleapis.com/auth/siteverification` scope can access this method to retrieve data."],["The request is made using an HTTP GET request to a specific URL, providing the ID of the verified site or domain."],["The response, if successful, will contain a WebResource resource providing information about the site or domain."]]],["This outlines how to retrieve current data for a verified website or domain using a GET request to the specified API endpoint. The request requires authorization with the `https://www.googleapis.com/auth/siteverification` scope and must target a site directly or indirectly owned by the authenticated user. The request uses a path parameter `id` (a string) representing the site's ID. A successful response returns a WebResource resource; no request body is needed.\n"]]