blob: 674d8f4882d3f0edcb8ed037b7d5cbdeef927926 [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 Kim4ed7d3f2020-05-27 12:20:54 -0700103 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
104 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
105 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
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.
108 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
109 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
110 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 &quot;replies&quot;: { # The container of comments on this Post.
112 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700114 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
116 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700117 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700118 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
119 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
120 &quot;post&quot;: { # Data about the post containing this comment.
121 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
122 },
123 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
124 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
125 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
127 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700128 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;image&quot;: { # The creator&#x27;s avatar.
130 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700131 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700133 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700134 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 &quot;blog&quot;: { # Data about the blog containing this comment.
136 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700137 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 },
139 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700140 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700141 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700143 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
146 &quot;A String&quot;,
147 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700148 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700149 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700151 },
152 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700153 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
154 &quot;location&quot;: { # The location for geotagged posts.
155 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
156 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
157 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
158 &quot;name&quot;: &quot;A String&quot;, # Location name.
159 },
160 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
161 &quot;author&quot;: { # The author of this Post.
162 &quot;image&quot;: { # The creator&#x27;s avatar.
163 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
164 },
165 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
166 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
167 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
168 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700169 &quot;blog&quot;: { # Data about the blog containing this Post.
170 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
171 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700172 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
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 Kim65020912020-05-20 12:08:20 -0700195 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#postList.
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 &quot;items&quot;: [ # The list of Posts for this Blog.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700197 {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700198 &quot;content&quot;: &quot;A String&quot;, # The content of the Post. May contain HTML markup.
199 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
200 &quot;title&quot;: &quot;A String&quot;, # The title of the Post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700201 &quot;customMetaData&quot;: &quot;A String&quot;, # The JSON meta-data for the Post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700202 &quot;readerComments&quot;: &quot;A String&quot;, # Comment control and display setting for readers of this post.
203 &quot;url&quot;: &quot;A String&quot;, # The URL where this Post is displayed.
204 &quot;status&quot;: &quot;A String&quot;, # Status of the post. Only set for admin-level requests.
205 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#post.
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 &quot;replies&quot;: { # The container of comments on this Post.
207 &quot;items&quot;: [ # The List of Comments for this Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700208 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
211 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700212 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700213 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
214 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
215 &quot;post&quot;: { # Data about the post containing this comment.
216 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
217 },
218 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
219 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
220 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
Bu Sun Kim65020912020-05-20 12:08:20 -0700221 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
222 &quot;author&quot;: { # The author of this Comment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700223 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Bu Sun Kim65020912020-05-20 12:08:20 -0700224 &quot;image&quot;: { # The creator&#x27;s avatar.
225 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700226 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700228 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
Dan O'Mearadd494642020-05-01 07:42:23 -0700229 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700230 &quot;blog&quot;: { # Data about the blog containing this comment.
231 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Dan O'Mearadd494642020-05-01 07:42:23 -0700232 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700233 },
234 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;totalItems&quot;: &quot;A String&quot;, # The count of comments on this post.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700236 &quot;selfLink&quot;: &quot;A String&quot;, # The URL of the comments on this post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700237 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700238 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700239 &quot;titleLink&quot;: &quot;A String&quot;, # The title link URL, similar to atom&#x27;s related link.
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;labels&quot;: [ # The list of labels this Post was tagged with.
241 &quot;A String&quot;,
242 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;images&quot;: [ # Display image for the Post.
Dan O'Mearadd494642020-05-01 07:42:23 -0700244 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 &quot;url&quot;: &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700246 },
247 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700248 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was last updated.
249 &quot;location&quot;: { # The location for geotagged posts.
250 &quot;span&quot;: &quot;A String&quot;, # Location&#x27;s viewport span. Can be used when rendering a map preview.
251 &quot;lat&quot;: 3.14, # Location&#x27;s latitude.
252 &quot;lng&quot;: 3.14, # Location&#x27;s longitude.
253 &quot;name&quot;: &quot;A String&quot;, # Location name.
254 },
255 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Post was published.
256 &quot;author&quot;: { # The author of this Post.
257 &quot;image&quot;: { # The creator&#x27;s avatar.
258 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
259 },
260 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
261 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
262 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
263 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 &quot;blog&quot;: { # Data about the blog containing this Post.
265 &quot;id&quot;: &quot;A String&quot;, # The identifier of the Blog that contains this Post.
266 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700267 &quot;id&quot;: &quot;A String&quot;, # The identifier of this Post.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700268 },
269 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700270 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
271 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
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>