John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 75 | <h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.blogs.html">blogs</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 81 | <code><a href="#get">get(blogId, maxPosts=None, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 82 | <p class="firstline">Gets a blog by id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 84 | <code><a href="#getByUrl">getByUrl(url, view=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 85 | <p class="firstline">Gets a blog by url.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 87 | <code><a href="#listByUser">listByUser(userId, status=None, view=None, role=None, fetchUserInfo=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 88 | <p class="firstline">Lists blogs by user.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 91 | <code class="details" id="close">close()</code> |
| 92 | <pre>Close httplib2 connections.</pre> |
| 93 | </div> |
| 94 | |
| 95 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 96 | <code class="details" id="get">get(blogId, maxPosts=None, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 97 | <pre>Gets a blog by id. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 98 | |
| 99 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 100 | blogId: string, A parameter (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 101 | maxPosts: integer, A parameter |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 102 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 103 | Allowed values |
| 104 | VIEW_TYPE_UNSPECIFIED - |
| 105 | READER - |
| 106 | AUTHOR - |
| 107 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 108 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 109 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 110 | 1 - v1 error format |
| 111 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 112 | |
| 113 | Returns: |
| 114 | An object of the form: |
| 115 | |
| 116 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 117 | "kind": "A String", # The kind of this entry. Always blogger#blog. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 118 | "updated": "A String", # RFC 3339 date-time when this blog was last updated. |
| 119 | "status": "A String", # The status of the blog. |
| 120 | "description": "A String", # The description of this blog. This is displayed underneath the title. |
| 121 | "url": "A String", # The URL where this blog is published. |
| 122 | "pages": { # The container of pages in this blog. |
| 123 | "totalItems": 42, # The count of pages in this blog. |
| 124 | "selfLink": "A String", # The URL of the container for pages in this blog. |
| 125 | }, |
| 126 | "customMetaData": "A String", # The JSON custom meta-data for the Blog. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 127 | "locale": { # The locale this Blog is set to. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 128 | "language": "A String", # The language this blog is authored in. |
| 129 | "country": "A String", # The country this blog's locale is set to. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 130 | "variant": "A String", # The language variant this blog is authored in. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 131 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 132 | "name": "A String", # The name of this blog. This is displayed as the title. |
| 133 | "id": "A String", # The identifier for this resource. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | "posts": { # The container of posts in this blog. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 135 | "items": [ # The List of Posts for this Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 136 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 137 | "etag": "A String", # Etag of the resource. |
| 138 | "labels": [ # The list of labels this Post was tagged with. |
| 139 | "A String", |
| 140 | ], |
| 141 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 142 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 143 | "replies": { # The container of comments on this Post. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 144 | "items": [ # The List of Comments for this Post. |
| 145 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 146 | "status": "A String", # The status of the comment (only populated for admin users). |
| 147 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 148 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 149 | "blog": { # Data about the blog containing this comment. |
| 150 | "id": "A String", # The identifier of the blog containing this comment. |
| 151 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 152 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 153 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 154 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 155 | "displayName": "A String", # The display name. |
| 156 | "image": { # The creator's avatar. |
| 157 | "url": "A String", # The creator's avatar URL. |
| 158 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 159 | }, |
| 160 | "id": "A String", # The identifier for this resource. |
| 161 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 162 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 163 | "inReplyTo": { # Data about the comment this is in reply to. |
| 164 | "id": "A String", # The identified of the parent of this comment. |
| 165 | }, |
| 166 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 167 | "post": { # Data about the post containing this comment. |
| 168 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 169 | }, |
| 170 | }, |
| 171 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 172 | "totalItems": "A String", # The count of comments on this post. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 173 | "selfLink": "A String", # The URL of the comments on this post. |
| 174 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 175 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 176 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 177 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 178 | "location": { # The location for geotagged posts. |
| 179 | "lng": 3.14, # Location's longitude. |
| 180 | "name": "A String", # Location name. |
| 181 | "lat": 3.14, # Location's latitude. |
| 182 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 183 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 184 | "title": "A String", # The title of the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 185 | "images": [ # Display image for the Post. |
| 186 | { |
| 187 | "url": "A String", |
| 188 | }, |
| 189 | ], |
| 190 | "id": "A String", # The identifier of this Post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 191 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 192 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 193 | "blog": { # Data about the blog containing this Post. |
| 194 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 195 | }, |
| 196 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 197 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 198 | "url": "A String", # The URL where this Post is displayed. |
| 199 | "author": { # The author of this Post. |
| 200 | "image": { # The creator's avatar. |
| 201 | "url": "A String", # The creator's avatar URL. |
| 202 | }, |
| 203 | "displayName": "A String", # The display name. |
| 204 | "id": "A String", # The identifier of the creator. |
| 205 | "url": "A String", # The URL of the creator's Profile page. |
| 206 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 207 | }, |
| 208 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 209 | "totalItems": 42, # The count of posts in this blog. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 210 | "selfLink": "A String", # The URL of the container for posts in this blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 211 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 212 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 213 | "published": "A String", # RFC 3339 date-time when this blog was published. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 214 | }</pre> |
| 215 | </div> |
| 216 | |
| 217 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 218 | <code class="details" id="getByUrl">getByUrl(url, view=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 219 | <pre>Gets a blog by url. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 220 | |
| 221 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 222 | url: string, A parameter (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 223 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 224 | Allowed values |
| 225 | VIEW_TYPE_UNSPECIFIED - |
| 226 | READER - |
| 227 | AUTHOR - |
| 228 | ADMIN - |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 229 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 230 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 231 | 1 - v1 error format |
| 232 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 233 | |
| 234 | Returns: |
| 235 | An object of the form: |
| 236 | |
| 237 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 238 | "kind": "A String", # The kind of this entry. Always blogger#blog. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 239 | "updated": "A String", # RFC 3339 date-time when this blog was last updated. |
| 240 | "status": "A String", # The status of the blog. |
| 241 | "description": "A String", # The description of this blog. This is displayed underneath the title. |
| 242 | "url": "A String", # The URL where this blog is published. |
| 243 | "pages": { # The container of pages in this blog. |
| 244 | "totalItems": 42, # The count of pages in this blog. |
| 245 | "selfLink": "A String", # The URL of the container for pages in this blog. |
| 246 | }, |
| 247 | "customMetaData": "A String", # The JSON custom meta-data for the Blog. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 248 | "locale": { # The locale this Blog is set to. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 249 | "language": "A String", # The language this blog is authored in. |
| 250 | "country": "A String", # The country this blog's locale is set to. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 251 | "variant": "A String", # The language variant this blog is authored in. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 252 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 253 | "name": "A String", # The name of this blog. This is displayed as the title. |
| 254 | "id": "A String", # The identifier for this resource. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 255 | "posts": { # The container of posts in this blog. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 256 | "items": [ # The List of Posts for this Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 257 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 258 | "etag": "A String", # Etag of the resource. |
| 259 | "labels": [ # The list of labels this Post was tagged with. |
| 260 | "A String", |
| 261 | ], |
| 262 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 263 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 264 | "replies": { # The container of comments on this Post. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 265 | "items": [ # The List of Comments for this Post. |
| 266 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 267 | "status": "A String", # The status of the comment (only populated for admin users). |
| 268 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 269 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 270 | "blog": { # Data about the blog containing this comment. |
| 271 | "id": "A String", # The identifier of the blog containing this comment. |
| 272 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 273 | "author": { # The author of this Comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 274 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 275 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 276 | "displayName": "A String", # The display name. |
| 277 | "image": { # The creator's avatar. |
| 278 | "url": "A String", # The creator's avatar URL. |
| 279 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 280 | }, |
| 281 | "id": "A String", # The identifier for this resource. |
| 282 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 283 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 284 | "inReplyTo": { # Data about the comment this is in reply to. |
| 285 | "id": "A String", # The identified of the parent of this comment. |
| 286 | }, |
| 287 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 288 | "post": { # Data about the post containing this comment. |
| 289 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 290 | }, |
| 291 | }, |
| 292 | ], |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 293 | "totalItems": "A String", # The count of comments on this post. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 294 | "selfLink": "A String", # The URL of the comments on this post. |
| 295 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 296 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 297 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 298 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 299 | "location": { # The location for geotagged posts. |
| 300 | "lng": 3.14, # Location's longitude. |
| 301 | "name": "A String", # Location name. |
| 302 | "lat": 3.14, # Location's latitude. |
| 303 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 304 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 305 | "title": "A String", # The title of the Post. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 306 | "images": [ # Display image for the Post. |
| 307 | { |
| 308 | "url": "A String", |
| 309 | }, |
| 310 | ], |
| 311 | "id": "A String", # The identifier of this Post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 312 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 313 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 314 | "blog": { # Data about the blog containing this Post. |
| 315 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 316 | }, |
| 317 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 318 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 319 | "url": "A String", # The URL where this Post is displayed. |
| 320 | "author": { # The author of this Post. |
| 321 | "image": { # The creator's avatar. |
| 322 | "url": "A String", # The creator's avatar URL. |
| 323 | }, |
| 324 | "displayName": "A String", # The display name. |
| 325 | "id": "A String", # The identifier of the creator. |
| 326 | "url": "A String", # The URL of the creator's Profile page. |
| 327 | }, |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 328 | }, |
| 329 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 330 | "totalItems": 42, # The count of posts in this blog. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 331 | "selfLink": "A String", # The URL of the container for posts in this blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 332 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 333 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 334 | "published": "A String", # RFC 3339 date-time when this blog was published. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 335 | }</pre> |
| 336 | </div> |
| 337 | |
| 338 | <div class="method"> |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 339 | <code class="details" id="listByUser">listByUser(userId, status=None, view=None, role=None, fetchUserInfo=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 340 | <pre>Lists blogs by user. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 341 | |
| 342 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 343 | userId: string, A parameter (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 344 | status: string, Default value of status is LIVE. (repeated) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 345 | Allowed values |
| 346 | LIVE - |
| 347 | DELETED - |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 348 | view: string, A parameter |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 349 | Allowed values |
| 350 | VIEW_TYPE_UNSPECIFIED - |
| 351 | READER - |
| 352 | AUTHOR - |
| 353 | ADMIN - |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 354 | role: string, A parameter (repeated) |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 355 | Allowed values |
| 356 | VIEW_TYPE_UNSPECIFIED - |
| 357 | READER - |
| 358 | AUTHOR - |
| 359 | ADMIN - |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 360 | fetchUserInfo: boolean, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 361 | x__xgafv: string, V1 error format. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 362 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 363 | 1 - v1 error format |
| 364 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 365 | |
| 366 | Returns: |
| 367 | An object of the form: |
| 368 | |
| 369 | { |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 370 | "blogUserInfos": [ # Admin level list of blog per-user information. |
| 371 | { |
| 372 | "kind": "A String", # The kind of this entity. Always blogger#blogUserInfo. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 373 | "blog_user_info": { # Information about a User for the Blog. |
| 374 | "kind": "A String", # The kind of this entity. Always blogger#blogPerUserInfo. |
| 375 | "hasAdminAccess": True or False, # True if the user has Admin level access to the blog. |
| 376 | "userId": "A String", # ID of the User. |
| 377 | "blogId": "A String", # ID of the Blog resource. |
| 378 | "role": "A String", # Access permissions that the user has for the blog (ADMIN, AUTHOR, or READER). |
| 379 | "photosAlbumKey": "A String", # The Photo Album Key for the user when adding photos to the blog. |
| 380 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 381 | "blog": { # The Blog resource. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 382 | "kind": "A String", # The kind of this entry. Always blogger#blog. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 383 | "updated": "A String", # RFC 3339 date-time when this blog was last updated. |
| 384 | "status": "A String", # The status of the blog. |
| 385 | "description": "A String", # The description of this blog. This is displayed underneath the title. |
| 386 | "url": "A String", # The URL where this blog is published. |
| 387 | "pages": { # The container of pages in this blog. |
| 388 | "totalItems": 42, # The count of pages in this blog. |
| 389 | "selfLink": "A String", # The URL of the container for pages in this blog. |
| 390 | }, |
| 391 | "customMetaData": "A String", # The JSON custom meta-data for the Blog. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 392 | "locale": { # The locale this Blog is set to. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 393 | "language": "A String", # The language this blog is authored in. |
| 394 | "country": "A String", # The country this blog's locale is set to. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 395 | "variant": "A String", # The language variant this blog is authored in. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 396 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 397 | "name": "A String", # The name of this blog. This is displayed as the title. |
| 398 | "id": "A String", # The identifier for this resource. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 399 | "posts": { # The container of posts in this blog. |
| 400 | "items": [ # The List of Posts for this Blog. |
| 401 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 402 | "etag": "A String", # Etag of the resource. |
| 403 | "labels": [ # The list of labels this Post was tagged with. |
| 404 | "A String", |
| 405 | ], |
| 406 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 407 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 408 | "replies": { # The container of comments on this Post. |
| 409 | "items": [ # The List of Comments for this Post. |
| 410 | { |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 411 | "status": "A String", # The status of the comment (only populated for admin users). |
| 412 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 413 | "content": "A String", # The actual content of the comment. May include HTML markup. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 414 | "blog": { # Data about the blog containing this comment. |
| 415 | "id": "A String", # The identifier of the blog containing this comment. |
| 416 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 417 | "author": { # The author of this Comment. |
| 418 | "url": "A String", # The URL of the creator's Profile page. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 419 | "id": "A String", # The identifier of the creator. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 420 | "displayName": "A String", # The display name. |
| 421 | "image": { # The creator's avatar. |
| 422 | "url": "A String", # The creator's avatar URL. |
| 423 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 424 | }, |
| 425 | "id": "A String", # The identifier for this resource. |
| 426 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 427 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 428 | "inReplyTo": { # Data about the comment this is in reply to. |
| 429 | "id": "A String", # The identified of the parent of this comment. |
| 430 | }, |
| 431 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 432 | "post": { # Data about the post containing this comment. |
| 433 | "id": "A String", # The identifier of the post containing this comment. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 434 | }, |
| 435 | }, |
| 436 | ], |
| 437 | "totalItems": "A String", # The count of comments on this post. |
| 438 | "selfLink": "A String", # The URL of the comments on this post. |
| 439 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 440 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 441 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 442 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 443 | "location": { # The location for geotagged posts. |
| 444 | "lng": 3.14, # Location's longitude. |
| 445 | "name": "A String", # Location name. |
| 446 | "lat": 3.14, # Location's latitude. |
| 447 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 448 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 449 | "title": "A String", # The title of the Post. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 450 | "images": [ # Display image for the Post. |
| 451 | { |
| 452 | "url": "A String", |
| 453 | }, |
| 454 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 455 | "id": "A String", # The identifier of this Post. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 456 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 457 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 458 | "blog": { # Data about the blog containing this Post. |
| 459 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 460 | }, |
| 461 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 462 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 463 | "url": "A String", # The URL where this Post is displayed. |
| 464 | "author": { # The author of this Post. |
| 465 | "image": { # The creator's avatar. |
| 466 | "url": "A String", # The creator's avatar URL. |
| 467 | }, |
| 468 | "displayName": "A String", # The display name. |
| 469 | "id": "A String", # The identifier of the creator. |
| 470 | "url": "A String", # The URL of the creator's Profile page. |
| 471 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 472 | }, |
| 473 | ], |
| 474 | "totalItems": 42, # The count of posts in this blog. |
| 475 | "selfLink": "A String", # The URL of the container for posts in this blog. |
| 476 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 477 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 478 | "published": "A String", # RFC 3339 date-time when this blog was published. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 479 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 480 | }, |
| 481 | ], |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame^] | 482 | "items": [ # The list of Blogs this user has Authorship or Admin rights over. |
| 483 | { |
| 484 | "kind": "A String", # The kind of this entry. Always blogger#blog. |
| 485 | "updated": "A String", # RFC 3339 date-time when this blog was last updated. |
| 486 | "status": "A String", # The status of the blog. |
| 487 | "description": "A String", # The description of this blog. This is displayed underneath the title. |
| 488 | "url": "A String", # The URL where this blog is published. |
| 489 | "pages": { # The container of pages in this blog. |
| 490 | "totalItems": 42, # The count of pages in this blog. |
| 491 | "selfLink": "A String", # The URL of the container for pages in this blog. |
| 492 | }, |
| 493 | "customMetaData": "A String", # The JSON custom meta-data for the Blog. |
| 494 | "locale": { # The locale this Blog is set to. |
| 495 | "language": "A String", # The language this blog is authored in. |
| 496 | "country": "A String", # The country this blog's locale is set to. |
| 497 | "variant": "A String", # The language variant this blog is authored in. |
| 498 | }, |
| 499 | "name": "A String", # The name of this blog. This is displayed as the title. |
| 500 | "id": "A String", # The identifier for this resource. |
| 501 | "posts": { # The container of posts in this blog. |
| 502 | "items": [ # The List of Posts for this Blog. |
| 503 | { |
| 504 | "etag": "A String", # Etag of the resource. |
| 505 | "labels": [ # The list of labels this Post was tagged with. |
| 506 | "A String", |
| 507 | ], |
| 508 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 509 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
| 510 | "replies": { # The container of comments on this Post. |
| 511 | "items": [ # The List of Comments for this Post. |
| 512 | { |
| 513 | "status": "A String", # The status of the comment (only populated for admin users). |
| 514 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 515 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 516 | "blog": { # Data about the blog containing this comment. |
| 517 | "id": "A String", # The identifier of the blog containing this comment. |
| 518 | }, |
| 519 | "author": { # The author of this Comment. |
| 520 | "url": "A String", # The URL of the creator's Profile page. |
| 521 | "id": "A String", # The identifier of the creator. |
| 522 | "displayName": "A String", # The display name. |
| 523 | "image": { # The creator's avatar. |
| 524 | "url": "A String", # The creator's avatar URL. |
| 525 | }, |
| 526 | }, |
| 527 | "id": "A String", # The identifier for this resource. |
| 528 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 529 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 530 | "inReplyTo": { # Data about the comment this is in reply to. |
| 531 | "id": "A String", # The identified of the parent of this comment. |
| 532 | }, |
| 533 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 534 | "post": { # Data about the post containing this comment. |
| 535 | "id": "A String", # The identifier of the post containing this comment. |
| 536 | }, |
| 537 | }, |
| 538 | ], |
| 539 | "totalItems": "A String", # The count of comments on this post. |
| 540 | "selfLink": "A String", # The URL of the comments on this post. |
| 541 | }, |
| 542 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 543 | "published": "A String", # RFC 3339 date-time when this Post was published. |
| 544 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 545 | "location": { # The location for geotagged posts. |
| 546 | "lng": 3.14, # Location's longitude. |
| 547 | "name": "A String", # Location name. |
| 548 | "lat": 3.14, # Location's latitude. |
| 549 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 550 | }, |
| 551 | "title": "A String", # The title of the Post. |
| 552 | "images": [ # Display image for the Post. |
| 553 | { |
| 554 | "url": "A String", |
| 555 | }, |
| 556 | ], |
| 557 | "id": "A String", # The identifier of this Post. |
| 558 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 559 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 560 | "blog": { # Data about the blog containing this Post. |
| 561 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 562 | }, |
| 563 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 564 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 565 | "url": "A String", # The URL where this Post is displayed. |
| 566 | "author": { # The author of this Post. |
| 567 | "image": { # The creator's avatar. |
| 568 | "url": "A String", # The creator's avatar URL. |
| 569 | }, |
| 570 | "displayName": "A String", # The display name. |
| 571 | "id": "A String", # The identifier of the creator. |
| 572 | "url": "A String", # The URL of the creator's Profile page. |
| 573 | }, |
| 574 | }, |
| 575 | ], |
| 576 | "totalItems": 42, # The count of posts in this blog. |
| 577 | "selfLink": "A String", # The URL of the container for posts in this blog. |
| 578 | }, |
| 579 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 580 | "published": "A String", # RFC 3339 date-time when this blog was published. |
| 581 | }, |
| 582 | ], |
| 583 | "kind": "A String", # The kind of this entity. Always blogger#blogList. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 584 | }</pre> |
| 585 | </div> |
| 586 | |
| 587 | </body></html> |