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
|
승인
이 요청에는 다음 범위 중 최소 하나를 사용하여 인증이 필요합니다. (인증 및 승인에 대해 자세히 알아보기)
범위 |
https://www.googleapis.com/auth/webmasters.readonly |
https://www.googleapis.com/auth/webmasters |
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
사용해 보기
아래의 API 탐색기를 사용하여 실시간 데이터를 대상으로 이 메소드를 호출하고 응답을 확인해 보세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-29(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-29(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"]]