Users.blogs: list
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
重要: JSON API v2.0 のサポートは 2024 年 9 月 30 日に終了します。機能を引き続き利用するには、v2.0 JSON API に依存するアプリケーションを最新の API バージョンに更新してください。最新バージョンを確認するには、左側のナビゲーション バーにあるリンクを使用してください。
認証が必要です
ブログのリストを取得します。結果をフィルタできます。実習をご覧ください。
リクエスト
HTTP リクエスト
GET https://www.googleapis.com/blogger/v2/users/userId/blogs
パラメータ
パラメータ名 |
値 |
説明 |
必須パラメータ |
userId |
string |
ブログを取得するユーザーの ID。「self」(引用符を使用)という単語またはユーザーのプロファイル識別子。
|
認可
このリクエストには、次の 1 つ以上のスコープによる承認が必要です(認証と承認について詳しくは、/blogger/docs/2.0/json/getting_started">こちらをご覧ください)。
範囲 |
https://www.googleapis.com/auth/blogger |
https://www.blogger.com/feeds/ |
リクエストの本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功すると、このメソッドは次の構造を含むレスポンスの本文を返します。
{
"kind": "blogger#blogList",
"items": [
blogs Resource
]
}
プロパティ名 |
値 |
説明 |
メモ |
kind |
string |
このエンティティの種類。常に blogger#blogList |
|
items[] |
list |
このユーザーが執筆権限または管理者権限を持つブログのリスト。 |
|
試してみる
以下のエクスプローラを使用して、ライブデータに対してこのメソッドを呼び出し、レスポンスを確認してください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-26 UTC。
[null,null,["最終更新日 2024-06-26 UTC。"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to be updated to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThis API retrieves a list of blogs for a specific user, requiring authorization with specified scopes.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using an HTTP GET method with parameters including the user ID.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a list of blogs the user has authorship or admin rights over.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the provided explorer to test the method with live data.\u003c/p\u003e\n"]]],[],null,["# Users.blogs: list\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\n\n**Requires [authorization](#auth)**\n\nRetrieves a list of blogs, possibly filtered.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP Request\n\n```\nGET https://www.googleapis.com/blogger/v2/users/userId/blogs\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|---------------------------------------------------------------------------------------------------------------------------|\n| **Required Parameters** |||\n| `userId` | `string` | ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([/blogger/docs/2.0/json/getting_started\"\\\u003eread more about authentication and authorization](/blogger/docs/2.0/json/reference/users/blogs/\u003cspan style=)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n| `https://www.blogger.com/feeds/` |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"kind\": \"blogger#blogList\",\n \"items\": [\n blogs Resource\n ]\n}\n```\n\n| Property Name | Value | Description | Notes |\n|---------------|----------|------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#blogList` | |\n| `items[]` | `list` | The list of Blogs this user has Authorship or Admin rights over. | |\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]