blob: 2a6aa55ba380c40992d7424fff584376fbb53819 [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">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#get">get(blogId, postId, commentId, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets a comment by blog id, post id and comment id.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070080<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#list">list(blogId, postId, maxResults=None, fetchBodies=None, pageToken=None, startDate=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Lists comments.</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, commentId, x__xgafv=None)</code>
89 <pre>Gets a comment by blog id, post id and comment 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 commentId: string, A parameter (required)
95 x__xgafv: string, V1 error format.
96 Allowed values
97 1 - v1 error format
98 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -070099
100Returns:
101 An object of the form:
102
103 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
105 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
106 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
107 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
108 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
109 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
110 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700111 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700112 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
113 &quot;author&quot;: { # The author of this Comment.
114 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
115 &quot;image&quot;: { # The creator&#x27;s avatar.
116 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700117 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
119 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700120 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
122 &quot;blog&quot;: { # Data about the blog containing this comment.
123 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700124 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;post&quot;: { # Data about the post containing this comment.
126 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700127 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700128 }</pre>
129</div>
130
131<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 <code class="details" id="list">list(blogId, postId, maxResults=None, fetchBodies=None, pageToken=None, startDate=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700133 <pre>Lists comments.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700134
135Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700136 blogId: string, A parameter (required)
137 postId: string, A parameter (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700138 maxResults: integer, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700139 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700140 pageToken: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 startDate: string, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 x__xgafv: string, V1 error format.
143 Allowed values
144 1 - v1 error format
145 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700146
147Returns:
148 An object of the form:
149
150 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700151 &quot;items&quot;: [ # The List of Comments for a Post.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700152 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
154 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
155 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was published.
156 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this comment was last updated.
157 &quot;status&quot;: &quot;A String&quot;, # The status of the comment (only populated for admin users).
158 &quot;inReplyTo&quot;: { # Data about the comment this is in reply to.
159 &quot;id&quot;: &quot;A String&quot;, # The identified of the parent of this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700160 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#comment.
162 &quot;author&quot;: { # The author of this Comment.
163 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
164 &quot;image&quot;: { # The creator&#x27;s avatar.
165 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700166 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
168 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700169 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;content&quot;: &quot;A String&quot;, # The actual content of the comment. May include HTML markup.
171 &quot;blog&quot;: { # Data about the blog containing this comment.
172 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700173 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700174 &quot;post&quot;: { # Data about the post containing this comment.
175 &quot;id&quot;: &quot;A String&quot;, # The identifier of the post containing this comment.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700176 },
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700177 },
178 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
180 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
181 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entry. Always blogger#commentList.
182 &quot;prevPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the previous page, if one exists.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700183 }</pre>
184</div>
185
186<div class="method">
187 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
188 <pre>Retrieves the next page of results.
189
190Args:
191 previous_request: The request for the previous page. (required)
192 previous_response: The response from the request for the previous page. (required)
193
194Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700196 page. Returns None if there are no more items in the collection.
197 </pre>
198</div>
199
200</body></html>