blob: 35db9cb6a2dc538ca2b57ff3bdb34657cf28334d [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <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 Asmuth614db982014-04-24 15:46:26 -040080<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#list">list(userId, blogId, pageToken=None, endDate=None, orderBy=None, labels=None, view=None, maxResults=None, status=None, startDate=None, fetchBodies=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Lists post and user info pairs.</p>
John Asmuth614db982014-04-24 15:46:26 -040083<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'Mearadd494642020-05-01 07:42:23 -070088 <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 Asmuth614db982014-04-24 15:46:26 -040090
91Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070092 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 Asmuth614db982014-04-24 15:46:26 -0400100
101Returns:
102 An object of the form:
103
104 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700105 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;post&quot;: { # The Post resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700107 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 &quot;author&quot;: { # The author of this Post.
109 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700110 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;image&quot;: { # The creator&#x27;s avatar.
112 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
113 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400115 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700116 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
117 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
118 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
119 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
120 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
121 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
122 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
123 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
124 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
125 &quot;location&quot;: { # The location for geotagged posts.
126 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
127 &quot;name&quot;: &quot;A String&quot;, # Location name.
128 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
129 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
130 },
131 &quot;replies&quot;: { # The container of comments on this Post.
132 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
133 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
134 &quot;items&quot;: [ # The List of Comments for this Post.
135 {
136 &quot;post&quot;: { # Data about the post containing this comment.
137 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
138 },
139 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
140 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
141 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
142 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
143 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
144 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
145 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
146 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
147 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
148 },
149 &quot;author&quot;: { # The author of this Comment.
150 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
151 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
152 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
153 &quot;image&quot;: { # The creator&#x27;s avatar.
154 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
155 },
156 },
157 &quot;blog&quot;: { # Data about the blog containing this comment.
158 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
159 },
160 },
161 ],
162 },
163 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
164 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
165 &quot;blog&quot;: { # Data about the blog containing this Post.
166 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
167 },
168 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
169 &quot;A String&quot;,
170 ],
171 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700172 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400173 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400175 },
176 ],
John Asmuth614db982014-04-24 15:46:26 -0400177 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 &quot;post_user_info&quot;: { # Information about a User for the Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
180 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700181 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700182 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700183 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
John Asmuth614db982014-04-24 15:46:26 -0400184 },
185 }</pre>
186</div>
187
188<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700189 <code class="details" id="list">list(userId, blogId, pageToken=None, endDate=None, orderBy=None, labels=None, view=None, maxResults=None, status=None, startDate=None, fetchBodies=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700190 <pre>Lists post and user info pairs.
John Asmuth614db982014-04-24 15:46:26 -0400191
192Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700193 userId: string, A parameter (required)
194 blogId: string, A parameter (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700195 pageToken: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 endDate: string, A parameter
197 orderBy: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700198 labels: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700199 view: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700200 maxResults: integer, A parameter
201 status: string, A parameter (repeated)
202 startDate: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700204 x__xgafv: string, V1 error format.
John Asmuth614db982014-04-24 15:46:26 -0400205 Allowed values
Dan O'Mearadd494642020-05-01 07:42:23 -0700206 1 - v1 error format
207 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400208
209Returns:
210 An object of the form:
211
212 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700213 &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 -0700214 &quot;items&quot;: [ # The list of Posts with User information for the post, for this Blog.
John Asmuth614db982014-04-24 15:46:26 -0400215 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700216 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postUserInfo.
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 &quot;post&quot;: { # The Post resource.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700218 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;author&quot;: { # The author of this Post.
220 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700221 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 &quot;image&quot;: { # The creator&#x27;s avatar.
223 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
224 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700225 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
John Asmuth614db982014-04-24 15:46:26 -0400226 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700227 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
228 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
229 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
230 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
231 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
232 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
233 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
234 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
235 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
236 &quot;location&quot;: { # The location for geotagged posts.
237 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
238 &quot;name&quot;: &quot;A String&quot;, # Location name.
239 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
240 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
241 },
242 &quot;replies&quot;: { # The container of comments on this Post.
243 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
244 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
245 &quot;items&quot;: [ # The List of Comments for this Post.
246 {
247 &quot;post&quot;: { # Data about the post containing this comment.
248 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
249 },
250 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
251 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
252 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
253 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
254 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
255 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
256 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
257 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
258 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
259 },
260 &quot;author&quot;: { # The author of this Comment.
261 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
262 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
263 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
264 &quot;image&quot;: { # The creator&#x27;s avatar.
265 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
266 },
267 },
268 &quot;blog&quot;: { # Data about the blog containing this comment.
269 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
270 },
271 },
272 ],
273 },
274 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
275 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
276 &quot;blog&quot;: { # Data about the blog containing this Post.
277 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
278 },
279 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
280 &quot;A String&quot;,
281 ],
282 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;images&quot;: [ # Display image for the Post.
John Asmuth614db982014-04-24 15:46:26 -0400284 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700285 &quot;url&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400286 },
287 ],
John Asmuth614db982014-04-24 15:46:26 -0400288 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &quot;post_user_info&quot;: { # Information about a User for the Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700290 &quot;userId&quot;: &quot;A String&quot;, # ID of the User.
291 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postPerUserInfo.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700292 &quot;hasEditAccess&quot;: True or False, # True if the user has Author level access to the post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700293 &quot;blogId&quot;: &quot;A String&quot;, # ID of the Blog that the post resource belongs to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700294 &quot;postId&quot;: &quot;A String&quot;, # ID of the Post resource.
John Asmuth614db982014-04-24 15:46:26 -0400295 },
296 },
297 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700298 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
John Asmuth614db982014-04-24 15:46:26 -0400299 }</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
306Args:
307 previous_request: The request for the previous page. (required)
308 previous_response: The response from the request for the previous page. (required)
309
310Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400312 page. Returns None if there are no more items in the collection.
313 </pre>
314</div>
315
316</body></html>