페이지: 목록
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
중요:
2024년 9월 30일부터 v2.0 JSON API에 대한 지원이 중단됩니다.
기능을 계속 사용하려면 v2.0 JSON API를 사용하는 애플리케이션을 최신 API 버전으로 업데이트하세요. 최신 버전에서는 왼쪽 탐색 메뉴의 링크를 사용하세요.
블로그의 페이지 목록을 검색합니다.
지금 사용해 보세요.
비공개 블로그의 페이지인 경우 인증이 필요합니다. 페이지가 공개 상태인 블로그에 있는 경우 인증 없이 이 메서드를 호출할 수 있습니다.
요청
HTTP 요청
GET https://www.googleapis.com/blogger/v2/blogs/blogId/pages
매개변수
매개변수 이름 |
값 |
설명 |
필수 매개변수 |
blogId |
string |
페이지를 가져올 블로그의 ID입니다.
|
선택적 매개변수 |
fetchBodies |
boolean |
페이지 본문을 검색할지 여부입니다.
|
요청 본문
이 메소드를 사용할 때는 요청 본문을 제공하지 마세요.
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
{
"kind": "blogger#pageList",
"items": [
pages Resource
]
}
속성 이름 |
값 |
설명 |
Notes |
kind |
string |
이 항목의 종류입니다. 항상 blogger#pageList |
|
items[] |
list |
지정된 블로그에 대한 페이지 리소스 목록입니다. |
|
사용해 보기
아래의 익스플로러를 이용해 라이브 데이터에서 이 메서드를 호출하고 응답을 확인해 보세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-06-26(UTC)
[null,null,["최종 업데이트: 2024-06-26(UTC)"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to update to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThis API retrieves a list of pages for a specified blog, requiring authentication only for private blogs.\u003c/p\u003e\n"],["\u003cp\u003eRequests should be made using an HTTP GET request to a structured URL including the blog ID.\u003c/p\u003e\n"],["\u003cp\u003eOptional parameters allow for specifying whether to retrieve page bodies along with basic information.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses provide a list of pages in JSON format, including a kind identifier and an array of page resources.\u003c/p\u003e\n"]]],[],null,["# Pages: list\n\n**Important**:\nWe will discontinue support for the v2.0 JSON API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 JSON API\nto the latest API version. For the latest version, use the links in the left-side navbar.\n\nRetrieves the list of [Pages](/blogger/docs/2.0/json/reference/pages) for a [Blog](/blogger/docs/2.0/json/reference/blogs#resource).\n[Try it now](#try-it).\n\nAuthentication is required if the pages are on a blog that is private. If the pages are on a blog that is public, then this method can be called without authentication.\n\nRequest\n-------\n\n### HTTP Request\n\n```\nGET https://www.googleapis.com/blogger/v2/blogs/blogId/pages\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|-----------|--------------------------------------|\n| **Required Parameters** |||\n| `blogId` | `string` | ID of the blog to fetch pages from. |\n| **Optional Parameters** |||\n| `fetchBodies` | `boolean` | Whether to retrieve the Page bodies. |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"blogger#pageList\",\n \"items\": [\n pages Resource\n ]\n}\n```\n\n| Property Name | Value | Description | Notes |\n|---------------|----------|-----------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#pageList` | |\n| `items[]` | `list` | The list of Pages Resources for the specified blog. | |\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]