Blogi: get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ważne: 30 września 2024 r. zakończymy obsługę interfejsu JSON API w wersji 2.0.
Aby zapewnić nieprzerwany dostęp do funkcji, zaktualizuj aplikacje, które korzystają z interfejsu JSON API w wersji 2.0, do najnowszej wersji interfejsu API. Aby pobrać najnowszą wersję, użyj linków w pasku nawigacyjnym po lewej stronie.
Pobiera informacje o blogu według identyfikatora.
Wypróbuj
Żądanie
Żądanie HTTP
GET https://www.googleapis.com/blogger/v2/blogs/blogId
Parametry
Nazwa parametru |
Wartość |
Opis |
Parametry wymagane |
blogId |
string |
Identyfikator bloga, który chcesz pobrać.
|
Treść żądania
W przypadku tej metody nie podawaj treści żądania.
Odpowiedź
Jeśli operacja się powiedzie, zwróci ona w treści odpowiedzi Blogs resource.
Wypróbuj
Aby wywołać tę metodę na danych na żywo i zobaczyć odpowiedź, użyj eksploratora poniżej.
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: 2024-12-21 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-21 UTC."],[[["\u003cp\u003eThe v2.0 JSON API will be discontinued on September 30th, 2024, and applications using it should be updated to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThis API endpoint retrieves a single blog using its unique ID via a GET request.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can experiment with the API's functionality using the provided interactive explorer.\u003c/p\u003e\n"]]],[],null,["# Blogs: get\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\nGets one blog by id.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP Request\n\n```\nGET https://www.googleapis.com/blogger/v2/blogs/blogId\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|----------------------------|\n| **Required Parameters** |||\n| `blogId` | `string` | The ID of the blog to get. |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Blogs resource](/blogger/docs/2.0/json/reference/blogs#resource) in the response body.\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]