Sitemaps: list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
認証が必要です
そのサイトに関して送信された sitemaps-entries またはサイトマップ インデックス ファイル(リクエストで sitemapIndex
が指定されている場合)のリストを取得します。
こちらから今すぐお試しください。
リクエスト
HTTP リクエスト
GET https://www.googleapis.com/webmasters/v3/sites/siteUrl/sitemaps
パラメータ
url
パラメータ名 |
値 | 説明 |
パスパラメータ |
siteUrl |
string |
Search Console で定義されているプロパティの URL。次に例を示します。
http://www.example.com/
(URL プレフィックスプロパティ)
または sc-domain:example.com
(ドメイン プロパティ)。
|
省略可能なクエリ パラメータ |
sitemapIndex |
string |
サイトのサイトマップ インデックスの URL。例: http://www.example.com/sitemapindex.xml
|
承認
このリクエストは、少なくとも次のうち 1 つのスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
https://www.googleapis.com/auth/webmasters.readonly |
https://www.googleapis.com/auth/webmasters |
リクエスト本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功すると、このメソッドは次の構造を含むレスポンスの本文を返します。
試してみよう:
以下の API Explorer を使用して、ライブデータに対してこのメソッドを呼び出し、レスポンスを確認してください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-26 UTC。"],[[["Lists sitemaps submitted for a site, including those in the sitemap index file."],["Requires authorization with specific scopes for access."],["Employs a simple GET request with optional parameters for filtering."],["Response provides detailed information about each submitted sitemap."],["Allows users to try the API call directly using the provided explorer tool."]]],["This API endpoint retrieves a list of sitemap entries for a specified site. The request, using `GET`, requires the `siteUrl` path parameter, which is the site's URL as defined in Search Console. Optionally, it takes a `sitemapIndex` query parameter to list entries within a specific sitemap index. Authorization is necessary using `webmasters.readonly` or `webmasters` scopes. A successful response returns a list of sitemap resources, each detailing a submitted URL. No request body is needed.\n"]]