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.postUserInfos.html">postUserInfos</a></h1> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#get">get(userId, blogId, postId, maxComments=None, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Gets one post and user info pair, by post_id and user_id.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#list">list(userId, blogId, fetchBodies=None, view=None, pageToken=None, status=None, startDate=None, maxResults=None, labels=None, orderBy=None, endDate=None, x__xgafv=None)</a></code></p> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 82 | <p class="firstline">Lists post and user info pairs.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
| 84 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 85 | <p class="firstline">Retrieves the next page of results.</p> |
| 86 | <h3>Method Details</h3> |
| 87 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 88 | <code class="details" id="get">get(userId, blogId, postId, maxComments=None, x__xgafv=None)</code> |
| 89 | <pre>Gets one post and user info pair, by post_id and user_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 | userId: string, A parameter (required) |
| 93 | blogId: string, A parameter (required) |
| 94 | postId: string, A parameter (required) |
| 95 | maxComments: integer, A parameter |
| 96 | x__xgafv: string, V1 error format. |
| 97 | Allowed values |
| 98 | 1 - v1 error format |
| 99 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 100 | |
| 101 | Returns: |
| 102 | An object of the form: |
| 103 | |
| 104 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 105 | "kind": "A String", # The kind of this entity. Always blogger#postUserInfo. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 106 | "post": { # The Post resource. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 107 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 108 | "author": { # The author of this Post. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 109 | "displayName": "A String", # The display name. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 110 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 111 | "image": { # The creator's avatar. |
| 112 | "url": "A String", # The creator's avatar URL. |
| 113 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 114 | "id": "A String", # The identifier of the creator. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 115 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 116 | "etag": "A String", # Etag of the resource. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 117 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 118 | "images": [ # Display image for the Post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 119 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 120 | "url": "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 121 | }, |
| 122 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 123 | "labels": [ # The list of labels this Post was tagged with. |
| 124 | "A String", |
| 125 | ], |
| 126 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 127 | "location": { # The location for geotagged posts. |
| 128 | "lat": 3.14, # Location's latitude. |
| 129 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 130 | "name": "A String", # Location name. |
| 131 | "lng": 3.14, # Location's longitude. |
| 132 | }, |
| 133 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 134 | "id": "A String", # The identifier of this Post. |
| 135 | "blog": { # Data about the blog containing this Post. |
| 136 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 137 | }, |
| 138 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 139 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 140 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 141 | "replies": { # The container of comments on this Post. |
| 142 | "totalItems": "A String", # The count of comments on this post. |
| 143 | "items": [ # The List of Comments for this Post. |
| 144 | { |
| 145 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 146 | "id": "A String", # The identifier for this resource. |
| 147 | "post": { # Data about the post containing this comment. |
| 148 | "id": "A String", # The identifier of the post containing this comment. |
| 149 | }, |
| 150 | "blog": { # Data about the blog containing this comment. |
| 151 | "id": "A String", # The identifier of the blog containing this comment. |
| 152 | }, |
| 153 | "status": "A String", # The status of the comment (only populated for admin users). |
| 154 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 155 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 156 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 157 | "inReplyTo": { # Data about the comment this is in reply to. |
| 158 | "id": "A String", # The identified of the parent of this comment. |
| 159 | }, |
| 160 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 161 | "author": { # The author of this Comment. |
| 162 | "displayName": "A String", # The display name. |
| 163 | "image": { # The creator's avatar. |
| 164 | "url": "A String", # The creator's avatar URL. |
| 165 | }, |
| 166 | "id": "A String", # The identifier of the creator. |
| 167 | "url": "A String", # The URL of the creator's Profile page. |
| 168 | }, |
| 169 | }, |
| 170 | ], |
| 171 | "selfLink": "A String", # The URL of the comments on this post. |
| 172 | }, |
| 173 | "title": "A String", # The title of the Post. |
| 174 | "url": "A String", # The URL where this Post is displayed. |
| 175 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 176 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 177 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 178 | "post_user_info": { # Information about a User for the Post. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 179 | "postId": "A String", # ID of the Post resource. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 180 | "kind": "A String", # The kind of this entity. Always blogger#postPerUserInfo. |
| 181 | "blogId": "A String", # ID of the Blog that the post resource belongs to. |
| 182 | "hasEditAccess": True or False, # True if the user has Author level access to the post. |
| 183 | "userId": "A String", # ID of the User. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 184 | }, |
| 185 | }</pre> |
| 186 | </div> |
| 187 | |
| 188 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 189 | <code class="details" id="list">list(userId, blogId, fetchBodies=None, view=None, pageToken=None, status=None, startDate=None, maxResults=None, labels=None, orderBy=None, endDate=None, x__xgafv=None)</code> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 190 | <pre>Lists post and user info pairs. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 191 | |
| 192 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 193 | userId: string, A parameter (required) |
| 194 | blogId: string, A parameter (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 195 | fetchBodies: boolean, A parameter |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 196 | view: string, A parameter |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 197 | pageToken: string, A parameter |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 198 | status: string, A parameter (repeated) |
| 199 | startDate: string, A parameter |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 200 | maxResults: integer, A parameter |
| 201 | labels: string, A parameter |
| 202 | orderBy: string, A parameter |
| 203 | endDate: string, A parameter |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 204 | x__xgafv: string, V1 error format. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 205 | Allowed values |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 206 | 1 - v1 error format |
| 207 | 2 - v2 error format |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 208 | |
| 209 | Returns: |
| 210 | An object of the form: |
| 211 | |
| 212 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 213 | "items": [ # The list of Posts with User information for the post, for this Blog. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 214 | { |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 215 | "kind": "A String", # The kind of this entity. Always blogger#postUserInfo. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | "post": { # The Post resource. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 217 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 218 | "author": { # The author of this Post. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 219 | "displayName": "A String", # The display name. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 220 | "url": "A String", # The URL of the creator's Profile page. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 221 | "image": { # The creator's avatar. |
| 222 | "url": "A String", # The creator's avatar URL. |
| 223 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 224 | "id": "A String", # The identifier of the creator. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 225 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 226 | "etag": "A String", # Etag of the resource. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 227 | "published": "A String", # RFC 3339 date-time when this Post was published. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 228 | "images": [ # Display image for the Post. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 229 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 230 | "url": "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 231 | }, |
| 232 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 233 | "labels": [ # The list of labels this Post was tagged with. |
| 234 | "A String", |
| 235 | ], |
| 236 | "updated": "A String", # RFC 3339 date-time when this Post was last updated. |
| 237 | "location": { # The location for geotagged posts. |
| 238 | "lat": 3.14, # Location's latitude. |
| 239 | "span": "A String", # Location's viewport span. Can be used when rendering a map preview. |
| 240 | "name": "A String", # Location name. |
| 241 | "lng": 3.14, # Location's longitude. |
| 242 | }, |
| 243 | "customMetaData": "A String", # The JSON meta-data for the Post. |
| 244 | "id": "A String", # The identifier of this Post. |
| 245 | "blog": { # Data about the blog containing this Post. |
| 246 | "id": "A String", # The identifier of the Blog that contains this Post. |
| 247 | }, |
| 248 | "kind": "A String", # The kind of this entity. Always blogger#post. |
| 249 | "readerComments": "A String", # Comment control and display setting for readers of this post. |
| 250 | "status": "A String", # Status of the post. Only set for admin-level requests. |
| 251 | "replies": { # The container of comments on this Post. |
| 252 | "totalItems": "A String", # The count of comments on this post. |
| 253 | "items": [ # The List of Comments for this Post. |
| 254 | { |
| 255 | "content": "A String", # The actual content of the comment. May include HTML markup. |
| 256 | "id": "A String", # The identifier for this resource. |
| 257 | "post": { # Data about the post containing this comment. |
| 258 | "id": "A String", # The identifier of the post containing this comment. |
| 259 | }, |
| 260 | "blog": { # Data about the blog containing this comment. |
| 261 | "id": "A String", # The identifier of the blog containing this comment. |
| 262 | }, |
| 263 | "status": "A String", # The status of the comment (only populated for admin users). |
| 264 | "selfLink": "A String", # The API REST URL to fetch this resource from. |
| 265 | "updated": "A String", # RFC 3339 date-time when this comment was last updated. |
| 266 | "kind": "A String", # The kind of this entry. Always blogger#comment. |
| 267 | "inReplyTo": { # Data about the comment this is in reply to. |
| 268 | "id": "A String", # The identified of the parent of this comment. |
| 269 | }, |
| 270 | "published": "A String", # RFC 3339 date-time when this comment was published. |
| 271 | "author": { # The author of this Comment. |
| 272 | "displayName": "A String", # The display name. |
| 273 | "image": { # The creator's avatar. |
| 274 | "url": "A String", # The creator's avatar URL. |
| 275 | }, |
| 276 | "id": "A String", # The identifier of the creator. |
| 277 | "url": "A String", # The URL of the creator's Profile page. |
| 278 | }, |
| 279 | }, |
| 280 | ], |
| 281 | "selfLink": "A String", # The URL of the comments on this post. |
| 282 | }, |
| 283 | "title": "A String", # The title of the Post. |
| 284 | "url": "A String", # The URL where this Post is displayed. |
| 285 | "content": "A String", # The content of the Post. May contain HTML markup. |
| 286 | "titleLink": "A String", # The title link URL, similar to atom's related link. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 287 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 288 | "post_user_info": { # Information about a User for the Post. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 289 | "postId": "A String", # ID of the Post resource. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 290 | "kind": "A String", # The kind of this entity. Always blogger#postPerUserInfo. |
| 291 | "blogId": "A String", # ID of the Blog that the post resource belongs to. |
| 292 | "hasEditAccess": True or False, # True if the user has Author level access to the post. |
| 293 | "userId": "A String", # ID of the User. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 294 | }, |
| 295 | }, |
| 296 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 297 | "kind": "A String", # The kind of this entity. Always blogger#postList. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 298 | "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 299 | }</pre> |
| 300 | </div> |
| 301 | |
| 302 | <div class="method"> |
| 303 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 304 | <pre>Retrieves the next page of results. |
| 305 | |
| 306 | Args: |
| 307 | previous_request: The request for the previous page. (required) |
| 308 | previous_response: The response from the request for the previous page. (required) |
| 309 | |
| 310 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 311 | A request object that you can call 'execute()' on to request the next |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 312 | page. Returns None if there are no more items in the collection. |
| 313 | </pre> |
| 314 | </div> |
| 315 | |
| 316 | </body></html> |