blob: eefdd51a455e8622b7d1ae66b0a0a02243d791f1 [file] [log] [blame]
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001<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_v2.html">Blogger API v3</a> . <a href="blogger_v2.posts.html">posts</a></h1>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#get">get(blogId, postId, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets a post by blog id and post id</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070080<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#list">list(blogId, maxResults=None, pageToken=None, startDate=None, fetchBodies=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Lists posts.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070083<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(blogId, postId, x__xgafv=None)</code>
89 <pre>Gets a post by blog id and post id
Sai Cheemalapatidf613972016-10-21 13:59:49 -070090
91Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070092 blogId: string, A parameter (required)
93 postId: string, A parameter (required)
94 x__xgafv: string, V1 error format.
95 Allowed values
96 1 - v1 error format
97 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -070098
99Returns:
100 An object of the form:
101
102 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
104 &quot;A String&quot;,
105 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700106 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 &quot;replies&quot;: { # The container of comments on this Post.
109 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700112 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;image&quot;: { # The creator&#x27;s avatar.
114 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700115 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700116 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700117 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 &quot;blog&quot;: { # Data about the blog containing this comment.
120 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
123 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
124 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
125 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
126 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
127 },
128 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
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;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
133 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
134 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Dan O'Mearadd494642020-05-01 07:42:23 -0700135 },
136 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700137 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700138 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700139 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 &quot;location&quot;: { # The location for geotagged posts.
141 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
142 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
143 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
144 &quot;name&quot;: &quot;A String&quot;, # Location name.
145 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700146 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
148 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &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 -0700150 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
151 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
152 &quot;blog&quot;: { # Data about the blog containing this Post.
153 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
154 },
155 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
156 &quot;author&quot;: { # The author of this Post.
157 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
158 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
159 &quot;image&quot;: { # The creator&#x27;s avatar.
160 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
161 },
162 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
163 },
164 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700166 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700168 },
169 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700170 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
171 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
172 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700173 }</pre>
174</div>
175
176<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700177 <code class="details" id="list">list(blogId, maxResults=None, pageToken=None, startDate=None, fetchBodies=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700178 <pre>Lists posts.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700179
180Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700181 blogId: string, A parameter (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700182 maxResults: integer, A parameter
183 pageToken: string, A parameter
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700184 startDate: string, A parameter
185 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700186 x__xgafv: string, V1 error format.
187 Allowed values
188 1 - v1 error format
189 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700190
191Returns:
192 An object of the form:
193
194 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700195 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700198 &quot;items&quot;: [ # The list of Posts for this Blog.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700199 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
201 &quot;A String&quot;,
202 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700203 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700204 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;replies&quot;: { # The container of comments on this Post.
206 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700207 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700208 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700209 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 &quot;image&quot;: { # The creator&#x27;s avatar.
211 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700212 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700213 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700214 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Dan O'Mearadd494642020-05-01 07:42:23 -0700215 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 &quot;blog&quot;: { # Data about the blog containing this comment.
217 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700218 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700219 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
220 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
221 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
222 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
223 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
224 },
225 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
226 &quot;post&quot;: { # Data about the post containing this comment.
227 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
228 },
229 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
230 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
231 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
Dan O'Mearadd494642020-05-01 07:42:23 -0700232 },
233 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700234 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700235 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700236 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700237 &quot;location&quot;: { # The location for geotagged posts.
238 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
239 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
240 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
241 &quot;name&quot;: &quot;A String&quot;, # Location name.
242 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700243 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700244 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
245 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &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 -0700247 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
248 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
249 &quot;blog&quot;: { # Data about the blog containing this Post.
250 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
251 },
252 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
253 &quot;author&quot;: { # The author of this Post.
254 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
255 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
256 &quot;image&quot;: { # The creator&#x27;s avatar.
257 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
258 },
259 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
260 },
261 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700263 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700265 },
266 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
268 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
269 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700270 },
271 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700272 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700273 }</pre>
274</div>
275
276<div class="method">
277 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
278 <pre>Retrieves the next page of results.
279
280Args:
281 previous_request: The request for the previous page. (required)
282 previous_response: The response from the request for the previous page. (required)
283
284Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700285 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700286 page. Returns None if there are no more items in the collection.
287 </pre>
288</div>
289
290</body></html>