Jak korzystać z interfejsu API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ważne: 30 września 2024 r. przestaniemy obsługiwać interfejs JSON API w wersji 2.0.
Aby zapewnić nieprzerwaną funkcjonalność, zaktualizuj aplikacje, które korzystają z interfejsu JSON API w wersji 2.0, do najnowszej wersji. Aby uzyskać dostęp do najnowszej wersji, użyj linków na pasku nawigacyjnym po lewej stronie.
To materiały referencyjne interfejsu API są uporządkowane według typu zasobu. Każdy typ zasobu ma co najmniej 1 reprezentację danych i co najmniej 1 metodę.
Blogi
Szczegółowe informacje o zasobach w blogach znajdziesz na stronie dotyczącej reprezentacji zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
pobierz
|
GET /blogs/blogId
|
Pobiera jednego bloga według identyfikatora.
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
Szczegółowe informacje o zasobie komentarzy znajdziesz na stronie dotyczącej reprezentacji zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
list
|
GET /blogs/blogId/posts/postId/comments
|
Pobiera listę komentarzy do posta.
|
pobierz
|
GET /blogs/blogId/posts/postId/comments/commentId
|
Pobiera 1 zasób komentarzy według jego commentId.
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
Pages
Szczegółowe informacje o zasobach stron znajdziesz na stronie dotyczącej reprezentacji zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
list
|
GET /blogs/blogId/pages
|
Pobiera listę stron bloga.
|
pobierz
|
GET /blogs/blogId/pages/pageId
|
Pobiera jeden zasób Pages według jego identyfikatora pageId.
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
Posty
Szczegółowe informacje o zasobach postów znajdziesz na stronie dotyczącej reprezentacji zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
list
|
GET /blogs/blogId/posts
|
Pobiera listę postów.
|
pobierz
|
GET /blogs/blogId/posts/postId
|
Pobiera 1 posta według identyfikatora posta.
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
Użytkownicy
Szczegółowe informacje o zasobach użytkowników znajdziesz na stronie reprezentowania zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
pobierz
|
GET /users/userId
|
Pobiera jednego użytkownika według identyfikatora userId.
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
Users.blogs
Informacje o zasobach na karcie Users.blogs znajdziesz na stronie dotyczącej reprezentacji zasobów.
Metoda |
Identyfikator URI REST * |
Opis |
list
|
GET /users/userId/blogs
|
Pobiera listę blogów (prawdopodobnie przefiltrowanych).
|
* Względem podstawowego identyfikatora URI: https://www.googleapis.com/blogger/v2
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eThe v2.0 JSON API will be discontinued on September 30th, 2024, and users should update their applications to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThis API reference is structured by resource types such as Blogs, Comments, Pages, Posts, Users, and Users.blogs, each with its own data representations and methods.\u003c/p\u003e\n"],["\u003cp\u003eEach resource type provides methods for retrieving individual resources or lists of resources, using specific REST URIs relative to the base URI \u003ccode\u003ehttps://www.googleapis.com/blogger/v2\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about each resource type's representation can be found on dedicated resource representation pages linked in the content.\u003c/p\u003e\n"]]],[],null,["# API Reference\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\nThis API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.\n\nBlogs\n-----\n\nFor Blogs Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/blogs#resource) page.\n\n| Method | REST URI \\* | Description |\n|---------------------------------------------------|----------------------------------------------------------------|----------------------|\n| [get](/blogger/docs/2.0/json/reference/blogs/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e | Gets one blog by id. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nComments\n--------\n\nFor Comments Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/comments#resource) page.\n\n| Method | REST URI \\* | Description |\n|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/comments/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e`/comments` | Retrieves the list of [Comments](/blogger/docs/2.0/json/reference/comments) for a [Post](/blogger/docs/2.0/json/reference/posts). |\n| [get](/blogger/docs/2.0/json/reference/comments/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e`/comments/`\u003cvar class=\"apiparam\" translate=\"no\"\u003ecommentId\u003c/var\u003e | Retrieves one Comments Resource by its commentId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nPages\n-----\n\nFor Pages Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/pages#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/pages/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/pages` | Retrieves the list of [Pages](/blogger/docs/2.0/json/reference/pages) for a [Blog](/blogger/docs/2.0/json/reference/blogs#resource). |\n| [get](/blogger/docs/2.0/json/reference/pages/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/pages/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epageId\u003c/var\u003e | Retrieves one Pages Resource by its pageId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nPosts\n-----\n\nFor Posts Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/posts#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|-------------------------------|\n| [list](/blogger/docs/2.0/json/reference/posts/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts` | Retrieves a list of posts. |\n| [get](/blogger/docs/2.0/json/reference/posts/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e | Retrieves one post by postId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nUsers\n-----\n\nFor Users Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/users#resource) page.\n\n| Method | REST URI \\* | Description |\n|---------------------------------------------------|----------------------------------------------------------------|-------------------------------|\n| [get](/blogger/docs/2.0/json/reference/users/get) | `GET /users/`\u003cvar class=\"apiparam\" translate=\"no\"\u003euserId\u003c/var\u003e | Retrieves one user by userId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nUsers.blogs\n-----------\n\nFor Users.blogs Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/users/blogs#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------------|------------------------------------------------------------------------|-----------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/users/blogs/list) | `GET /users/`\u003cvar class=\"apiparam\" translate=\"no\"\u003euserId\u003c/var\u003e`/blogs` | Retrieves a list of blogs, possibly filtered. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2"]]