Pages
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman adalah tempat pemilik blog memasukkan informasi statis, seperti informasi kontak, detail biografi, dan sejenisnya.
Untuk daftar metode untuk resource ini, lihat bagian akhir halaman ini.
Representasi resource
{
"kind": "blogger#page",
"id": string,
"status": string,
"blog": {
"id": string
},
"published": datetime,
"updated": datetime,
"url": string,
"selfLink": string,
"title": string,
"content": string,
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
}
}
Nama properti |
Nilai |
Deskripsi |
Catatan |
kind |
string |
Jenis entity ini. Selalu blogger#page . |
|
id |
string |
ID untuk resource ini. |
|
blog |
object |
Data tentang blog yang berisi halaman ini. |
|
blog.id |
string |
ID blog yang berisi halaman ini. |
|
published |
datetime |
RFC 3339 date-time saat halaman ini dipublikasikan. |
|
updated |
datetime |
RFC 3339 date-time saat halaman ini terakhir diperbarui. |
|
url |
string |
URL tempat halaman ini ditampilkan. |
|
selfLink |
string |
URL API tempat mengambil resource ini. |
|
title |
string |
Judul halaman ini. Ini adalah nama yang ditampilkan di antarmuka pengguna administrasi. |
|
content |
string |
Konten isi halaman ini, dalam HTML. |
|
author |
object |
Penulis halaman ini. |
|
author.id |
string |
ID pembuat halaman. |
|
author.displayName |
string |
Nama tampilan pembuat halaman. |
|
author.url |
string |
URL halaman Profil pembuat halaman. |
|
author.image |
object |
Avatar pembuat halaman. |
|
author.image.url |
string |
URL avatar pembuat halaman. |
|
status |
string |
Status halaman untuk resource admin (LIVE atau DRAFT ). |
|
Metode
Untuk mengambil daftar halaman untuk blog, Anda dapat menggunakan metode blogger.pages.list. Untuk mengambil halaman satu per satu, Anda dapat menggunakan metode blogger.pages.get.
- list
- Mengambil daftar halaman untuk blog.
- dapatkan
- Mengambil satu resource halaman berdasarkan ID halamannya.
- hapus
- Hapus halaman menurut ID.
- sisipkan
- Tambahkan halaman.
- patch
- Memperbarui halaman. Metode ini mendukung semantik patch.
- info terbaru
- Memperbarui halaman.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-06-26 UTC.
[null,null,["Terakhir diperbarui pada 2024-06-26 UTC."],[[["\u003cp\u003eBlogger pages are used to display static content like contact information and author bios.\u003c/p\u003e\n"],["\u003cp\u003ePages are represented as JSON objects with properties like \u003ccode\u003etitle\u003c/code\u003e, \u003ccode\u003econtent\u003c/code\u003e, \u003ccode\u003eauthor\u003c/code\u003e, and \u003ccode\u003estatus\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the Blogger API's \u003ccode\u003epages.list\u003c/code\u003e and \u003ccode\u003epages.get\u003c/code\u003e methods to retrieve page data.\u003c/p\u003e\n"],["\u003cp\u003eThe API also provides methods to manage pages, including \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003eupdate\u003c/code\u003e, \u003ccode\u003epatch\u003c/code\u003e, and \u003ccode\u003edelete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Pages are where blog owners put static information, such as contact information, bio details, and the like.\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```text\n{\n \"kind\": \"blogger#page\",\n \"id\": string,\n \"status\": string,\n \"blog\": {\n \"id\": string\n },\n \"published\": datetime,\n \"updated\": datetime,\n \"url\": string,\n \"selfLink\": string,\n \"title\": string,\n \"content\": string,\n \"author\": {\n \"id\": string,\n \"displayName\": string,\n \"url\": string,\n \"image\": {\n \"url\": string\n }\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------------|------------|----------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#page`. | |\n| `id` | `string` | The ID for this resource. | |\n| `blog` | `object` | Data about the blog containing this page. | |\n| blog.`id` | `string` | The ID of the blog containing this page. | |\n| `published` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this page was published. | |\n| `updated` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this page was last updated. | |\n| `url` | `string` | The URL where this page is displayed. | |\n| `selfLink` | `string` | The API URL to fetch this resource from. | |\n| `title` | `string` | The title of this page. This is the name displayed in the administration user interface. | |\n| `content` | `string` | The body content of this page, in HTML. | |\n| `author` | `object` | The author of this page. | |\n| author.`id` | `string` | The ID of the page creator. | |\n| author.`displayName` | `string` | The page creator's display name. | |\n| author.`url` | `string` | The URL of the page creator's Profile page. | |\n| author.`image` | `object` | The page creator's avatar. | |\n| author.image.`url` | `string` | The page creator's avatar URL. | |\n| `status` | `string` | The status of the page for admin resources (either `LIVE` or `DRAFT`). | |\n\nMethods\n-------\n\nTo retrieve a list of pages for a blog, you can use the [blogger.pages.list](/blogger/docs/3.0/reference/pages/list) method. To retrieve an individual page, you can use the [blogger.pages.get](/blogger/docs/3.0/reference/pages/get) method.\n\n[list](/blogger/docs/3.0/reference/pages/list)\n: Retrieves the list of [pages](/blogger/docs/3.0/reference/pages) for a [blog](/blogger/docs/3.0/reference/blogs#resource).\n\n[get](/blogger/docs/3.0/reference/pages/get)\n: Retrieves one pages resource by its page ID.\n\n[delete](/blogger/docs/3.0/reference/pages/delete)\n: Delete a page by ID.\n\n[insert](/blogger/docs/3.0/reference/pages/insert)\n: Add a page.\n\n[patch](/blogger/docs/3.0/reference/pages/patch)\n: Update a page. This method supports patch semantics.\n\n[update](/blogger/docs/3.0/reference/pages/update)\n: Update a page."]]