blob: bc712106c6ecc2161c20e4c293d09204aa4445e0 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="blogger_v3.html">Blogger API v3</a> . <a href="blogger_v3.postUserInfos.html">postUserInfos</a></h1>
John Asmuth614db982014-04-24 15:46:26 -040076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#get">get(userId, blogId, postId, maxComments=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets one post and user info pair, by post_id and user_id.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080084 <code><a href="#list">list(userId, blogId, orderBy=None, endDate=None, view=None, maxResults=None, labels=None, fetchBodies=None, startDate=None, pageToken=None, status=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Lists post and user info pairs.</p>
John Asmuth614db982014-04-24 15:46:26 -040086<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code class="details" id="get">get(userId, blogId, postId, maxComments=None, x__xgafv=None)</code>
97 <pre>Gets one post and user info pair, by post_id and user_id.
John Asmuth614db982014-04-24 15:46:26 -040098
99Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700100 userId: string, A parameter (required)
101 blogId: string, A parameter (required)
102 postId: string, A parameter (required)
103 maxComments: integer, A parameter
104 x__xgafv: string, V1 error format.
105 Allowed values
106 1 - v1 error format
107 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400108
109Returns:
110 An object of the form:
111
112 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;post&quot;: { # The Post resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800114 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700115 &quot;images&quot;: [ # Display image for the Post.
116 {
117 &quot;url&quot;: &quot;A String&quot;,
118 },
119 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800120 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
121 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
122 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
123 &quot;replies&quot;: { # The container of comments on this Post.
124 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
125 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
126 &quot;items&quot;: [ # The List of Comments for this Post.
127 {
128 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
129 &quot;post&quot;: { # Data about the post containing this comment.
130 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
131 },
132 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
133 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
134 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
135 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
136 },
137 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
138 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
139 &quot;author&quot;: { # The author of this Comment.
140 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
141 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
142 &quot;image&quot;: { # The creator&#x27;s avatar.
143 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
144 },
145 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
146 },
147 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
148 &quot;blog&quot;: { # Data about the blog containing this comment.
149 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
150 },
151 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
152 },
153 ],
154 },
155 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
156 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
157 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
158 &quot;A String&quot;,
159 ],
160 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
161 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800162 &quot;blog&quot;: { # Data about the blog containing this Post.
163 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
164 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800165 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
166 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
167 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
168 &quot;location&quot;: { # The location for geotagged posts.
169 &quot;name&quot;: &quot;A String&quot;, # Location name.
170 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
171 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
172 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
173 },
174 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800175 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800176 &quot;author&quot;: { # The author of this Post.
177 &quot;image&quot;: { # The creator&#x27;s avatar.
178 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
179 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800180 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
181 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800182 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800183 },
184 },
185 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
186 &quot;post_user_info&quot;: { # Information about a User for the Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800187 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800188 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
189 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800190 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
191 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
John Asmuth614db982014-04-24 15:46:26 -0400192 },
John Asmuth614db982014-04-24 15:46:26 -0400193 }</pre>
194</div>
195
196<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800197 <code class="details" id="list">list(userId, blogId, orderBy=None, endDate=None, view=None, maxResults=None, labels=None, fetchBodies=None, startDate=None, pageToken=None, status=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700198 <pre>Lists post and user info pairs.
John Asmuth614db982014-04-24 15:46:26 -0400199
200Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700201 userId: string, A parameter (required)
202 blogId: string, A parameter (required)
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 orderBy: string, A parameter
204 Allowed values
205 ORDER_BY_UNSPECIFIED -
206 PUBLISHED -
207 UPDATED -
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800208 endDate: string, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800209 view: string, A parameter
210 Allowed values
211 VIEW_TYPE_UNSPECIFIED -
212 READER -
213 AUTHOR -
214 ADMIN -
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800215 maxResults: integer, A parameter
216 labels: string, A parameter
217 fetchBodies: boolean, A parameter
218 startDate: string, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800219 pageToken: string, A parameter
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800220 status: string, A parameter (repeated)
221 Allowed values
222 LIVE -
223 DRAFT -
224 SCHEDULED -
Dan O'Mearadd494642020-05-01 07:42:23 -0700225 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400226 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700227 1 - v1 error format
228 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400229
230Returns:
231 An object of the form:
232
233 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700234 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;items&quot;: [ # The list of Posts with User information for the post, for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400236 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 &quot;post&quot;: { # The Post resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800238 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700239 &quot;images&quot;: [ # Display image for the Post.
240 {
241 &quot;url&quot;: &quot;A String&quot;,
242 },
243 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800244 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
245 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
246 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
247 &quot;replies&quot;: { # The container of comments on this Post.
248 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
249 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
250 &quot;items&quot;: [ # The List of Comments for this Post.
251 {
252 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
253 &quot;post&quot;: { # Data about the post containing this comment.
254 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
255 },
256 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
257 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
258 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
259 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
260 },
261 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
262 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
263 &quot;author&quot;: { # The author of this Comment.
264 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
265 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
266 &quot;image&quot;: { # The creator&#x27;s avatar.
267 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
268 },
269 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
270 },
271 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
272 &quot;blog&quot;: { # Data about the blog containing this comment.
273 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
274 },
275 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
276 },
277 ],
278 },
279 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
280 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
281 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
282 &quot;A String&quot;,
283 ],
284 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
285 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800286 &quot;blog&quot;: { # Data about the blog containing this Post.
287 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
288 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800289 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
290 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
291 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
292 &quot;location&quot;: { # The location for geotagged posts.
293 &quot;name&quot;: &quot;A String&quot;, # Location name.
294 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
295 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
296 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
297 },
298 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800299 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800300 &quot;author&quot;: { # The author of this Post.
301 &quot;image&quot;: { # The creator&#x27;s avatar.
302 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
303 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800304 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
305 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800306 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800307 },
308 },
309 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
310 &quot;post_user_info&quot;: { # Information about a User for the Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800311 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800312 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
313 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800314 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
315 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
John Asmuth614db982014-04-24 15:46:26 -0400316 },
John Asmuth614db982014-04-24 15:46:26 -0400317 },
318 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800319 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
John Asmuth614db982014-04-24 15:46:26 -0400320 }</pre>
321</div>
322
323<div class="method">
324 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
325 <pre>Retrieves the next page of results.
326
327Args:
328 previous_request: The request for the previous page. (required)
329 previous_response: The response from the request for the previous page. (required)
330
331Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400333 page. Returns None if there are no more items in the collection.
334 </pre>
335</div>
336
337</body></html>