Pagine
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Importante:
il 30 settembre 2024 interromperemo il supporto dell'API JSON 2.0.
Per assicurare un funzionamento continuo, aggiorna le applicazioni che utilizzano l'API JSON 2.0 alla versione più recente dell'API. Per la versione più recente, utilizza i link nella barra di navigazione a sinistra.
Le pagine sono il luogo in cui i proprietari di blog inseriscono informazioni statiche, come dati di contatto, dettagli della biografia e simili.
Metodi
Per recuperare un elenco di pagine di un blog, puoi utilizzare il metodo blogger.pages.list. Per recuperare una singola pagina, puoi utilizzare il metodo blogger.pages.get.
- list
- Recupero l'elenco delle pagine per un blog.
- get
- Recupero di una risorsa Pages tramite il relativo pageId.
Rappresentazioni delle risorse
{
"kind": "blogger#page",
"id": long,
"blog": {
"id": long
},
"published": datetime,
"updated": datetime,
"url": string,
"selfLink": string,
"title": string,
"content": string,
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
}
}
Nome proprietà |
Valore |
Descrizione |
Note |
kind |
string |
Il tipo di questa entità. Sempre blogger#page . |
|
id |
long |
L'identificatore di questa risorsa. |
|
blog |
object |
Dati sul blog contenente questa pagina. |
|
blog.id |
long |
L'identificatore del blog contenente questa pagina. |
|
published |
datetime |
Data e ora RFC 3339 in cui è stata pubblicata questa pagina. |
|
updated |
datetime |
Data e ora RFC 3339 dell'ultimo aggiornamento di questa pagina. |
|
url |
string |
L'URL in cui viene visualizzata questa pagina. |
|
selfLink |
string |
L'URL REST dell'API da cui recuperare questa risorsa. |
|
title |
string |
Il titolo di questa pagina. Questo è il nome visualizzato nell'interfaccia utente di Amministrazione. |
|
content |
string |
Il corpo del contenuto di questa pagina, in HTML. |
|
author |
object |
L'autore di questa pagina. |
|
author.id |
string |
L'identificatore dell'autore della pagina. |
|
author.displayName |
string |
Il nome visualizzato del creatore della pagina. |
|
author.url |
string |
L'URL della pagina del profilo del creator della pagina. |
|
author.image |
object |
L'avatar del creator della pagina. |
|
author.image.url |
string |
L'URL dell'avatar del creator della pagina. |
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-12-21 UTC.
[null,null,["Ultimo aggiornamento 2024-12-21 UTC."],[[["\u003cp\u003eBlogger's v2.0 JSON API will be discontinued on September 30, 2024, requiring applications to update to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003ePages in Blogger are used for static content such as contact information and bios.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eblogger.pages.list\u003c/code\u003e and \u003ccode\u003eblogger.pages.get\u003c/code\u003e methods retrieve a list of pages or an individual page respectively.\u003c/p\u003e\n"],["\u003cp\u003ePage resources include properties like ID, blog details, publication and update timestamps, URL, title, content, and author information.\u003c/p\u003e\n"]]],[],null,["# Pages\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.\nPages are where blog owners put static information, such as contact information, bio details, and the like.\n\nMethods\n-------\n\nTo retrieve a list of pages for a blog, you can use the [blogger.pages.list](/blogger/docs/2.0/json/reference/pages/list) method. To retrieve an individual page, you can use the [blogger.pages.get](/blogger/docs/2.0/json/reference/pages/get) method.\n\n[list](/blogger/docs/2.0/json/reference/pages/list)\n: Retrieves the list of [Pages](/blogger/docs/2.0/json/reference/pages) for a [Blog](/blogger/docs/2.0/json/reference/blogs#resource).\n\n[get](/blogger/docs/2.0/json/reference/pages/get)\n: Retrieves one Pages Resource by its pageId.\n\nResource Representations\n------------------------\n\n\u003cbr /\u003e\n\n```text\n{\n \"kind\": \"blogger#page\",\n \"id\": long,\n \"blog\": {\n \"id\": long\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` | `long` | The identifier for this resource. | |\n| `blog` | `object` | Data about the blog containing this page. | |\n| blog.`id` | `long` | The identifier of the blog containing this page. | |\n| `published` | `datetime` | RFC 3339 date-time when this page was published. | |\n| `updated` | `datetime` | RFC 3339 date-time when this page was last updated. | |\n| `url` | `string` | The URL where this Page is displayed. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `title` | `string` | The title of this page. This is the name displayed in the Admin 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 identifier 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. | |"]]