블로그
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
블로그는 Blogger API의 루트 데이터 클래스입니다. 각 블로그에는 일련의 게시물과 페이지가 있으며 각 게시물에는 일련의 댓글이 있습니다.
이 리소스에 대한 메소드 목록은 이 페이지의 하단에 나와 있습니다.
리소스 표현
{
"kind": "blogger#blog",
"id": value,
"name": value,
"description": value,
"published": value,
"updated": value,
"url": value,
"selfLink": value,
"posts": {
"totalItems": value,
"selfLink": value
},
"pages": {
"totalItems": value,
"selfLink": value
},
"locale": {
"language": value,
"country": value,
"variant": value
}
}
속성 이름 |
가치 |
설명 |
Notes |
kind |
string |
이 항목의 종류입니다. 항상 blogger#blog 입니다. |
|
id |
string |
이 리소스의 ID입니다. |
|
name |
string |
일반적으로 Blogger에서 블로그 제목으로 표시되는 블로그 이름입니다. 제목에는 HTML을 포함할 수 있습니다. |
|
description |
string |
블로그에 대한 설명으로, 대개 Blogger에서 블로그 제목 아래에 표시됩니다. 설명에 HTML을 포함할 수 있습니다. |
|
published |
datetime |
이 블로그가 게시된 RFC 3339 date-time 입니다(예: '2007-02-09T10:13:10-08:00'). |
|
updated |
datetime |
이 블로그가 마지막으로 업데이트된 RFC 3339 date-time 입니다(예: '2012-04-15T19:38:01-07:00'). |
|
url |
string |
이 블로그가 게시된 URL입니다. |
|
selfLink |
string |
이 리소스를 가져올 Blogger API URL입니다. |
|
posts |
object |
이 블로그 게시물의 컨테이너입니다. |
|
posts.totalItems |
integer |
이 블로그의 총 게시물 수입니다. |
|
posts.selfLink |
string |
이 블로그의 게시물 모음 URL입니다. |
|
pages |
object |
이 블로그 페이지의 컨테이너입니다. |
|
pages.totalItems |
integer |
이 블로그의 총 페이지 수입니다. |
|
pages.selfLink |
string |
이 블로그에 대한 페이지 컬렉션의 URL입니다. |
|
locale |
object |
블로그가 설정된 언어는 아래와 같습니다. |
|
locale.language |
string |
블로그 설정 언어입니다. 예를 들어 영어는 'en'입니다. |
|
locale.country |
string |
언어의 국가 변형입니다(예: 미국 영어의 경우 'US'). |
|
locale.variant |
string |
이 블로그에서 사용되는 언어입니다. |
|
customMetaData |
string |
블로그의 JSON 커스텀 메타데이터입니다. |
|
posts.items[] |
list |
이 블로그의 게시물 목록입니다. |
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-06-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-06-26(UTC)"],[[["\u003cp\u003eA blog in the Blogger API is the primary data structure, containing posts, pages, and associated comments.\u003c/p\u003e\n"],["\u003cp\u003eEach blog has metadata such as title, description, publication date, update date, and locale information.\u003c/p\u003e\n"],["\u003cp\u003eBlogs can be accessed and managed through dedicated API methods like \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003egetByUrl\u003c/code\u003e, and \u003ccode\u003elistByUser\u003c/code\u003e, enabling developers to retrieve individual blogs or lists of blogs associated with a specific user.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides comprehensive access to blog data, including the number of posts and pages, as well as links to access these collections.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the \u003ccode\u003eposts\u003c/code\u003e and \u003ccode\u003epages\u003c/code\u003e properties to retrieve and interact with a blog's content.\u003c/p\u003e\n"]]],[],null,["# Blogs\n\nA blog is the root data class for the Blogger API. Each blog has a series of [posts](/blogger/docs/3.0/reference/posts) and [pages](/blogger/docs/3.0/reference/pages), and each post has a series of [comments](/blogger/docs/3.0/reference/comments).\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```gdscript\n{\n \"kind\": \"blogger#blog\",\n \"id\": value,\n \"name\": value,\n \"description\": value,\n \"published\": value,\n \"updated\": value,\n \"url\": value,\n \"selfLink\": value,\n \"posts\": {\n \"totalItems\": value,\n \"selfLink\": value\n },\n \"pages\": {\n \"totalItems\": value,\n \"selfLink\": value\n },\n \"locale\": {\n \"language\": value,\n \"country\": value,\n \"variant\": value\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|--------------------|------------|---------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entry. Always `blogger#blog`. | |\n| `id` | `string` | The ID for this resource. | |\n| `name` | `string` | The name of this blog, which is usually displayed in Blogger as the blog's title. The title can include HTML. | |\n| `description` | `string` | The description of this blog, which is usually displayed in Blogger underneath the blog's title. The description can include HTML. | |\n| `published` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this blog was published, for example \"2007-02-09T10:13:10-08:00\". | |\n| `updated` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this blog was last updated, for example \"2012-04-15T19:38:01-07:00\". | |\n| `url` | `string` | The URL where this blog is published. | |\n| `selfLink` | `string` | The Blogger API URL to fetch this resource from. | |\n| `posts` | `object` | The container for this blog's posts. | |\n| posts.`totalItems` | `integer` | The total number of posts on this blog. | |\n| posts.`selfLink` | `string` | The URL of the collection of posts for this blog. | |\n| `pages` | `object` | The container for this blog's pages. | |\n| pages.`totalItems` | `integer` | The total number of pages for this blog. | |\n| pages.`selfLink` | `string` | The URL of the pages collection for this blog. | |\n| `locale` | `object` | The locale this blog is set to, as broken out below. | |\n| locale.`language` | `string` | The language this blog is set to, for example \"en\" for English. | |\n| locale.`country` | `string` | The country variant of the language, for example \"US\" for American English. | |\n| locale.`variant` | `string` | The language variant this blog is set to. | |\n| `customMetaData` | `string` | The JSON custom metadata for the blog | |\n| posts.`items[]` | `list` | The list of posts for this Blog. | |\n\nMethods\n-------\n\nTo retrieve a list of blogs that a given [user](/blogger/docs/3.0/reference/users#resource) has access rights to, use the [blogger.blogs.list](/blogger/docs/3.0/reference/blogs/list) method. To retrieve an individual [blogs](/blogger/docs/3.0/reference/blogs#resource) resource, use the [blogger.blogs.get](/blogger/docs/3.0/reference/blogs/get) method.\n\n[get](/blogger/docs/3.0/reference/blogs/get)\n: Retrieves a blog by its ID.\n\n[getByUrl](/blogger/docs/3.0/reference/blogs/getByUrl)\n: Retrieves a blog by URL.\n\n[listByUser](/blogger/docs/3.0/reference/blogs/listByUser)\n: Retrieves a list of blogs."]]