blob: 53d835bb551e699c5986fe227816b52872fa2c27 [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.comments.html">comments</a></h1>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070076<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(blogId, postId, commentId, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets a comment by blog id, post id and comment id.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070083<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#list">list(blogId, postId, startDate=None, maxResults=None, fetchBodies=None, pageToken=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Lists comments.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070086<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(blogId, postId, commentId, x__xgafv=None)</code>
97 <pre>Gets a comment by blog id, post id and comment id.
Sai Cheemalapatidf613972016-10-21 13:59:49 -070098
99Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700100 blogId: string, A parameter (required)
101 postId: string, A parameter (required)
102 commentId: string, A parameter (required)
103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700107
108Returns:
109 An object of the form:
110
111 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700112 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;blog&quot;: { # Data about the blog containing this comment.
114 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700115 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700116 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
117 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
118 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
119 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
120 &quot;author&quot;: { # The author of this Comment.
121 &quot;image&quot;: { # The creator&#x27;s avatar.
122 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
123 },
124 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
125 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
126 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
127 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700128 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
129 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
130 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700131 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 &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 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700135 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700136 }</pre>
137</div>
138
139<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700140 <code class="details" id="list">list(blogId, postId, startDate=None, maxResults=None, fetchBodies=None, pageToken=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700141 <pre>Lists comments.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700142
143Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700144 blogId: string, A parameter (required)
145 postId: string, A parameter (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700146 startDate: string, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 maxResults: integer, A parameter
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700148 fetchBodies: boolean, A parameter
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700149 pageToken: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700154
155Returns:
156 An object of the form:
157
158 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;items&quot;: [ # The List of Comments for a Post.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700160 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700161 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 &quot;blog&quot;: { # Data about the blog containing this comment.
163 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700164 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700165 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
166 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
167 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
168 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
169 &quot;author&quot;: { # The author of this Comment.
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 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
174 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
175 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
176 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700177 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
178 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
179 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700180 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700181 &quot;post&quot;: { # Data about the post containing this comment.
182 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
183 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700184 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700185 },
186 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700187 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#commentList.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700188 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700189 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700190 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700191 }</pre>
192</div>
193
194<div class="method">
195 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
196 <pre>Retrieves the next page of results.
197
198Args:
199 previous_request: The request for the previous page. (required)
200 previous_response: The response from the request for the previous page. (required)
201
202Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700204 page. Returns None if there are no more items in the collection.
205 </pre>
206</div>
207
208</body></html>