approve(blogId, postId, commentId, x__xgafv=None)
Marks a comment as not spam by blog id, post id and comment id.
Close httplib2 connections.
delete(blogId, postId, commentId, x__xgafv=None)
Deletes a comment by blog id, post id and comment id.
get(blogId, postId, commentId, view=None, x__xgafv=None)
Gets a comment by id.
Lists comments.
Lists comments by blog.
Retrieves the next page of results.
Retrieves the next page of results.
markAsSpam(blogId, postId, commentId, x__xgafv=None)
Marks a comment as spam by blog id, post id and comment id.
removeContent(blogId, postId, commentId, x__xgafv=None)
Removes the content of a comment by blog id, post id and comment id.
approve(blogId, postId, commentId, x__xgafv=None)
Marks a comment as not spam by blog id, post id and comment id. Args: blogId: string, A parameter (required) postId: string, A parameter (required) commentId: string, A parameter (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }
close()
Close httplib2 connections.
delete(blogId, postId, commentId, x__xgafv=None)
Deletes a comment by blog id, post id and comment id. Args: blogId: string, A parameter (required) postId: string, A parameter (required) commentId: string, A parameter (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format
get(blogId, postId, commentId, view=None, x__xgafv=None)
Gets a comment by id. Args: blogId: string, A parameter (required) postId: string, A parameter (required) commentId: string, A parameter (required) view: string, A parameter Allowed values VIEW_TYPE_UNSPECIFIED - READER - AUTHOR - ADMIN - x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }
list(blogId, postId, endDate=None, fetchBodies=None, maxResults=None, pageToken=None, startDate=None, status=None, view=None, x__xgafv=None)
Lists comments. Args: blogId: string, A parameter (required) postId: string, A parameter (required) endDate: string, A parameter fetchBodies: boolean, A parameter maxResults: integer, A parameter pageToken: string, A parameter startDate: string, A parameter status: string, A parameter Allowed values LIVE - EMPTIED - PENDING - SPAM - view: string, A parameter Allowed values VIEW_TYPE_UNSPECIFIED - READER - AUTHOR - ADMIN - x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "etag": "A String", # Etag of the response. "items": [ # The List of Comments for a Post. { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }, ], "kind": "A String", # The kind of this entry. Always blogger#commentList. "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. }
listByBlog(blogId, endDate=None, fetchBodies=None, maxResults=None, pageToken=None, startDate=None, status=None, x__xgafv=None)
Lists comments by blog. Args: blogId: string, A parameter (required) endDate: string, A parameter fetchBodies: boolean, A parameter maxResults: integer, A parameter pageToken: string, A parameter startDate: string, A parameter status: string, A parameter (repeated) Allowed values LIVE - EMPTIED - PENDING - SPAM - x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "etag": "A String", # Etag of the response. "items": [ # The List of Comments for a Post. { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }, ], "kind": "A String", # The kind of this entry. Always blogger#commentList. "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists. "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists. }
listByBlog_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
markAsSpam(blogId, postId, commentId, x__xgafv=None)
Marks a comment as spam by blog id, post id and comment id. Args: blogId: string, A parameter (required) postId: string, A parameter (required) commentId: string, A parameter (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }
removeContent(blogId, postId, commentId, x__xgafv=None)
Removes the content of a comment by blog id, post id and comment id. Args: blogId: string, A parameter (required) postId: string, A parameter (required) commentId: string, A parameter (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "author": { # The author of this Comment. "displayName": "A String", # The display name. "id": "A String", # The identifier of the creator. "image": { # The creator's avatar. "url": "A String", # The creator's avatar URL. }, "url": "A String", # The URL of the creator's Profile page. }, "blog": { # Data about the blog containing this comment. "id": "A String", # The identifier of the blog containing this comment. }, "content": "A String", # The actual content of the comment. May include HTML markup. "id": "A String", # The identifier for this resource. "inReplyTo": { # Data about the comment this is in reply to. "id": "A String", # The identified of the parent of this comment. }, "kind": "A String", # The kind of this entry. Always blogger#comment. "post": { # Data about the post containing this comment. "id": "A String", # The identifier of the post containing this comment. }, "published": "A String", # RFC 3339 date-time when this comment was published. "selfLink": "A String", # The API REST URL to fetch this resource from. "status": "A String", # The status of the comment (only populated for admin users). "updated": "A String", # RFC 3339 date-time when this comment was last updated. }