WebResource: list
認証が必要です
認証されたユーザーの確認済みウェブサイトとドメインのリストを取得します。
実習をご覧ください。
返されるのは、認証されたユーザーが所有するサイトのみです。
リクエスト
HTTP リクエスト
GET https://www.googleapis.com/siteVerification/v1/webResource
承認
このリクエストは、次のスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
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 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"]]