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