blob: 3a45a1ce57eecfa82cf027879142b07620be4c33 [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">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#list">list(userId, blogId, fetchBodies=None, maxResults=None, orderBy=None, view=None, endDate=None, status=None, labels=None, pageToken=None, startDate=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 Kim673ec5c2020-11-16 11:05:03 -0700113 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
114 &quot;post_user_info&quot;: { # Information about a User for the Post.
115 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
116 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
117 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
118 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
119 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
120 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 &quot;post&quot;: { # The Post resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700123 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;items&quot;: [ # The List of Comments for this Post.
125 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700126 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
127 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
128 &quot;blog&quot;: { # Data about the blog containing this comment.
129 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
130 },
131 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
132 &quot;post&quot;: { # Data about the post containing this comment.
133 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
134 },
135 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
136 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
137 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
138 },
139 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
140 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
141 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700142 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700143 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700144 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
145 &quot;image&quot;: { # The creator&#x27;s avatar.
146 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
147 },
148 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700149 },
150 },
151 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700152 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700153 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
154 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700155 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
156 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
157 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
158 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
159 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
160 &quot;blog&quot;: { # Data about the blog containing this Post.
161 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
162 },
163 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
164 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
165 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
166 &quot;author&quot;: { # The author of this Post.
167 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
168 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
169 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
170 &quot;image&quot;: { # The creator&#x27;s avatar.
171 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
172 },
173 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 &quot;images&quot;: [ # Display image for the Post.
175 {
176 &quot;url&quot;: &quot;A String&quot;,
177 },
178 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700179 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
180 &quot;location&quot;: { # The location for geotagged posts.
181 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
182 &quot;name&quot;: &quot;A String&quot;, # Location name.
183 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
184 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
185 },
186 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
187 &quot;A String&quot;,
188 ],
189 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
190 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700191 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400192 },
John Asmuth614db982014-04-24 15:46:26 -0400193 }</pre>
194</div>
195
196<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700197 <code class="details" id="list">list(userId, blogId, fetchBodies=None, maxResults=None, orderBy=None, view=None, endDate=None, status=None, labels=None, pageToken=None, startDate=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)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700203 fetchBodies: boolean, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700204 maxResults: integer, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700205 orderBy: string, A parameter
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700206 Allowed values
207 ORDER_BY_UNSPECIFIED -
208 PUBLISHED -
209 UPDATED -
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 view: string, A parameter
211 Allowed values
212 VIEW_TYPE_UNSPECIFIED -
213 READER -
214 AUTHOR -
215 ADMIN -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700216 endDate: string, A parameter
217 status: string, A parameter (repeated)
218 Allowed values
219 LIVE -
220 DRAFT -
221 SCHEDULED -
222 labels: string, A parameter
223 pageToken: string, A parameter
224 startDate: string, A parameter
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;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
235 &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 -0700236 &quot;items&quot;: [ # The list of Posts with User information for the post, for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400237 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700238 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
239 &quot;post_user_info&quot;: { # Information about a User for the Post.
240 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
241 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
242 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
243 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
244 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
245 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &quot;post&quot;: { # The Post resource.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700247 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700249 &quot;items&quot;: [ # The List of Comments for this Post.
250 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700251 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
252 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
253 &quot;blog&quot;: { # Data about the blog containing this comment.
254 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
255 },
256 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
257 &quot;post&quot;: { # Data about the post containing this comment.
258 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
259 },
260 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
261 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
262 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
263 },
264 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
265 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
266 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700269 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
270 &quot;image&quot;: { # The creator&#x27;s avatar.
271 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
272 },
273 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700274 },
275 },
276 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700277 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700278 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
279 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700280 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
281 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
282 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
283 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
284 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
285 &quot;blog&quot;: { # Data about the blog containing this Post.
286 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
287 },
288 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
289 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
290 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
291 &quot;author&quot;: { # The author of this Post.
292 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
293 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
294 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
295 &quot;image&quot;: { # The creator&#x27;s avatar.
296 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
297 },
298 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 &quot;images&quot;: [ # Display image for the Post.
300 {
301 &quot;url&quot;: &quot;A String&quot;,
302 },
303 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700304 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
305 &quot;location&quot;: { # The location for geotagged posts.
306 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
307 &quot;name&quot;: &quot;A String&quot;, # Location name.
308 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
309 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
310 },
311 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
312 &quot;A String&quot;,
313 ],
314 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
315 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700316 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
John Asmuth614db982014-04-24 15:46:26 -0400317 },
John Asmuth614db982014-04-24 15:46:26 -0400318 },
319 ],
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>