blob: 5fe113c3ef87d5ce360189d7de7025c74652e640 [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 Botc2228be2020-11-24 15:48:03 -080084 <code><a href="#list">list(userId, blogId, fetchBodies=None, labels=None, endDate=None, status=None, maxResults=None, orderBy=None, startDate=None, view=None, pageToken=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;etag&quot;: &quot;A String&quot;, # Etag of the resource.
115 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
116 &quot;A String&quot;,
117 ],
118 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
119 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700120 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700121 &quot;items&quot;: [ # The List of Comments for this Post.
122 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800123 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
124 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700125 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700126 &quot;blog&quot;: { # Data about the blog containing this comment.
127 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
128 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700129 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700130 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800131 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
133 &quot;image&quot;: { # The creator&#x27;s avatar.
134 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
135 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800136 },
137 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
138 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
139 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
140 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
141 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
142 },
143 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
144 &quot;post&quot;: { # Data about the post containing this comment.
145 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700146 },
147 },
148 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
151 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700152 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800153 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
154 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
155 &quot;location&quot;: { # The location for geotagged posts.
156 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
157 &quot;name&quot;: &quot;A String&quot;, # Location name.
158 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
159 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800161 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 &quot;images&quot;: [ # Display image for the Post.
163 {
164 &quot;url&quot;: &quot;A String&quot;,
165 },
166 ],
167 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800168 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
169 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
170 &quot;blog&quot;: { # Data about the blog containing this Post.
171 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
172 },
173 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
174 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
175 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
176 &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 },
180 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
181 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
182 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
183 },
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.
187 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
188 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
189 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
190 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
191 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
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 Botc2228be2020-11-24 15:48:03 -0800197 <code class="details" id="list">list(userId, blogId, fetchBodies=None, labels=None, endDate=None, status=None, maxResults=None, orderBy=None, startDate=None, view=None, pageToken=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
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800204 labels: string, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700205 endDate: string, A parameter
206 status: string, A parameter (repeated)
207 Allowed values
208 LIVE -
209 DRAFT -
210 SCHEDULED -
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800211 maxResults: integer, A parameter
212 orderBy: string, A parameter
213 Allowed values
214 ORDER_BY_UNSPECIFIED -
215 PUBLISHED -
216 UPDATED -
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700217 startDate: string, A parameter
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800218 view: string, A parameter
219 Allowed values
220 VIEW_TYPE_UNSPECIFIED -
221 READER -
222 AUTHOR -
223 ADMIN -
224 pageToken: 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;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800235 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
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 Kim65020912020-05-20 12:08:20 -0700238 &quot;post&quot;: { # The Post resource.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800239 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
240 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
241 &quot;A String&quot;,
242 ],
243 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
244 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700245 &quot;replies&quot;: { # The container of comments on this Post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 &quot;items&quot;: [ # The List of Comments for this Post.
247 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800248 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
249 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700250 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700251 &quot;blog&quot;: { # Data about the blog containing this comment.
252 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
253 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700254 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700255 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800256 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700257 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
258 &quot;image&quot;: { # The creator&#x27;s avatar.
259 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
260 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800261 },
262 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
263 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
264 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
265 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
266 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
267 },
268 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
269 &quot;post&quot;: { # Data about the post containing this comment.
270 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700271 },
272 },
273 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700274 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
276 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700277 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800278 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
279 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
280 &quot;location&quot;: { # The location for geotagged posts.
281 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
282 &quot;name&quot;: &quot;A String&quot;, # Location name.
283 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
284 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700285 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800286 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700287 &quot;images&quot;: [ # Display image for the Post.
288 {
289 &quot;url&quot;: &quot;A String&quot;,
290 },
291 ],
292 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800293 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
294 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
295 &quot;blog&quot;: { # Data about the blog containing this Post.
296 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
297 },
298 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
299 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
300 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
301 &quot;author&quot;: { # The author of this Post.
302 &quot;image&quot;: { # The creator&#x27;s avatar.
303 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
304 },
305 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
306 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
307 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
308 },
309 },
310 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
311 &quot;post_user_info&quot;: { # Information about a User for the Post.
312 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
313 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
314 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
315 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
316 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
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>