View Source GoogleApi.Blogger.V3.Api.Comments (google_api_blogger v0.15.0)
API calls for all endpoints tagged Comments.
Summary
Functions
Marks a comment as not spam by blog id, post id and comment id.
blogger_comments_delete(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
Deletes a comment by blog id, post id and comment id.
Gets a comment by id.
Lists comments.
Lists comments by blog.
Marks a comment as spam by blog id, post id and comment id.
Removes the content of a comment by blog id, post id and comment id.
Functions
Link to this function
blogger_comments_approve(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_approve( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.Comment.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Marks a comment as not spam by blog id, post id and comment id.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
comment_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.Comment{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_delete(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a comment by blog id, post id and comment id.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
comment_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_get(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.Comment.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets a comment by id.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
comment_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:view(type:String.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.Comment{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_list(connection, blog_id, post_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.CommentList.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists comments.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:endDate(type:String.t) - -
:fetchBodies(type:boolean()) - -
:maxResults(type:integer()) - -
:pageToken(type:String.t) - -
:startDate(type:String.t) - -
:status(type:String.t) - -
:view(type:String.t) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.CommentList{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_list_by_blog(connection, blog_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_list_by_blog( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.CommentList.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists comments by blog.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart"). -
:endDate(type:String.t) - -
:fetchBodies(type:boolean()) - -
:maxResults(type:integer()) - -
:pageToken(type:String.t) - -
:startDate(type:String.t) - -
:status(type:list(String.t)) -
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.CommentList{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_mark_as_spam(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_mark_as_spam( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.Comment.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Marks a comment as spam by blog id, post id and comment id.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
comment_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.Comment{}}on success -
{:error, info}on failure
Link to this function
blogger_comments_remove_content(connection, blog_id, post_id, comment_id, optional_params \\ [], opts \\ [])
View Source@spec blogger_comments_remove_content( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Blogger.V3.Model.Comment.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Removes the content of a comment by blog id, post id and comment id.
Parameters
-
connection(type:GoogleApi.Blogger.V3.Connection.t) - Connection to server -
blog_id(type:String.t) - -
post_id(type:String.t) - -
comment_id(type:String.t) - -
optional_params(type:keyword()) - Optional parameters-
:"$.xgafv"(type:String.t) - V1 error format. -
:access_token(type:String.t) - OAuth access token. -
:alt(type:String.t) - Data format for response. -
:callback(type:String.t) - JSONP -
:fields(type:String.t) - Selector specifying which fields to include in a partial response. -
:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token(type:String.t) - OAuth 2.0 token for the current user. -
:prettyPrint(type:boolean()) - Returns response with indentations and line breaks. -
:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts(type:keyword()) - Call options
Returns
-
{:ok, %GoogleApi.Blogger.V3.Model.Comment{}}on success -
{:error, info}on failure