# VmosoApi.CommentApi

All URIs are relative to *https://www.vmoso.com/svc*

Method | HTTP request | Description
------------- | ------------- | -------------
[**commentRecordAction**](CommentApi.md#commentRecordAction) | **POST** /commenting/action | 
[**createComment**](CommentApi.md#createComment) | **POST** /comments/create | 
[**createCommentFromDraft**](CommentApi.md#createCommentFromDraft) | **POST** /comments/draftTOComment | 
[**deleteComment**](CommentApi.md#deleteComment) | **DELETE** /comments/delete | 
[**deleteDraft**](CommentApi.md#deleteDraft) | **DELETE** /comments/deleteDraft | 
[**getComment**](CommentApi.md#getComment) | **GET** /comments/view | 
[**getCommentCounts**](CommentApi.md#getCommentCounts) | **GET** /comment/counts | 
[**getCommentReaders**](CommentApi.md#getCommentReaders) | **GET** /comment/readerList | 
[**getComments**](CommentApi.md#getComments) | **GET** /comments | 
[**getCount**](CommentApi.md#getCount) | **GET** /comment/count | 
[**getDrafts**](CommentApi.md#getDrafts) | **GET** /comments/drafts | 
[**markAllRead**](CommentApi.md#markAllRead) | **POST** /comment/markAllRead | 
[**markRead**](CommentApi.md#markRead) | **POST** /comment/markRead | 
[**markReadByEmail**](CommentApi.md#markReadByEmail) | **GET** /comment/markReadByEmail | 
[**markUnread**](CommentApi.md#markUnread) | **POST** /comment/markUnRead | 
[**undeleteComment**](CommentApi.md#undeleteComment) | **POST** /comments/undelete | 
[**updateComment**](CommentApi.md#updateComment) | **PUT** /comments/update | 


<a name="commentRecordAction"></a>
# **commentRecordAction**
> CommentRecordActionResult commentRecordAction(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.CommentRecordActionInput(); // {CommentRecordActionInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.commentRecordAction(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**CommentRecordActionInput**](CommentRecordActionInput.md)|  | 

### Return type

[**CommentRecordActionResult**](CommentRecordActionResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="createComment"></a>
# **createComment**
> CreateCommentResult createComment(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.CreateCommentInput(); // {CreateCommentInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createComment(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**CreateCommentInput**](CreateCommentInput.md)|  | 

### Return type

[**CreateCommentResult**](CreateCommentResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="createCommentFromDraft"></a>
# **createCommentFromDraft**
> CreateCommentFromDraftResult createCommentFromDraft(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.CreateCommentFromDraftInput(); // {CreateCommentFromDraftInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createCommentFromDraft(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**CreateCommentFromDraftInput**](CreateCommentFromDraftInput.md)|  | 

### Return type

[**CreateCommentFromDraftResult**](CreateCommentFromDraftResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="deleteComment"></a>
# **deleteComment**
> DeleteCommentResult deleteComment(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.DeleteCommentInput(); // {DeleteCommentInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteComment(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**DeleteCommentInput**](DeleteCommentInput.md)|  | 

### Return type

[**DeleteCommentResult**](DeleteCommentResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="deleteDraft"></a>
# **deleteDraft**
> DeleteDraftResult deleteDraft(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.DeleteDraftInput(); // {DeleteDraftInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteDraft(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**DeleteDraftInput**](DeleteDraftInput.md)|  | 

### Return type

[**DeleteDraftResult**](DeleteDraftResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getComment"></a>
# **getComment**
> GetCommentResult getComment(contentKey, commentListKey, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var commentListKey = "commentListKey_example"; // {String} 

var opts = { 
  'commentID': 56, // {Integer} 
  'commentPID': 56, // {Integer} 
  'commentCID': 56 // {Integer} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getComment(contentKey, commentListKey, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **commentListKey** | **String**|  | 
 **commentID** | [**Integer**](.md)|  | [optional] 
 **commentPID** | [**Integer**](.md)|  | [optional] 
 **commentCID** | [**Integer**](.md)|  | [optional] 

### Return type

[**GetCommentResult**](GetCommentResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getCommentCounts"></a>
# **getCommentCounts**
> GetCommentCountsResult getCommentCounts(contentKey, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var opts = { 
  'commentListKey': "commentListKey_example", // {String} 
  'subType': "subType_example", // {String} 
  'options': "options_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCommentCounts(contentKey, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **commentListKey** | **String**|  | [optional] 
 **subType** | **String**|  | [optional] 
 **options** | **String**|  | [optional] 

### Return type

[**GetCommentCountsResult**](GetCommentCountsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getCommentReaders"></a>
# **getCommentReaders**
> GetCommentReadersResult getCommentReaders(contentKey, commentId, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var commentId = 56; // {Integer} 

var opts = { 
  'commentListKey': "commentListKey_example", // {String} 
  'options': "options_example", // {String} 
  'pg': "pg_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCommentReaders(contentKey, commentId, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **commentId** | [**Integer**](.md)|  | 
 **commentListKey** | **String**|  | [optional] 
 **options** | **String**|  | [optional] 
 **pg** | **String**|  | [optional] 

### Return type

[**GetCommentReadersResult**](GetCommentReadersResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getComments"></a>
# **getComments**
> GetCommentsResult getComments(contentKey, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var opts = { 
  'options': "options_example", // {String} 
  'pg': "pg_example", // {String} 
  'commentListKey': "commentListKey_example", // {String} 
  'additionalData': "additionalData_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getComments(contentKey, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **options** | **String**|  | [optional] 
 **pg** | **String**|  | [optional] 
 **commentListKey** | **String**|  | [optional] 
 **additionalData** | **String**|  | [optional] 

### Return type

[**GetCommentsResult**](GetCommentsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getCount"></a>
# **getCount**
> GetCountResult getCount(contentKey, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var opts = { 
  'commentListKey': "commentListKey_example", // {String} 
  'subType': "subType_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCount(contentKey, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **commentListKey** | **String**|  | [optional] 
 **subType** | **String**|  | [optional] 

### Return type

[**GetCountResult**](GetCountResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getDrafts"></a>
# **getDrafts**
> GetDraftsResult getDrafts(contentKey, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var contentKey = "contentKey_example"; // {String} 

var opts = { 
  'commentListKey': "commentListKey_example", // {String} 
  'subType': "subType_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDrafts(contentKey, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **contentKey** | **String**|  | 
 **commentListKey** | **String**|  | [optional] 
 **subType** | **String**|  | [optional] 

### Return type

[**GetDraftsResult**](GetDraftsResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="markAllRead"></a>
# **markAllRead**
> MarkAllReadResult markAllRead(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.MarkAllReadInput(); // {MarkAllReadInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markAllRead(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**MarkAllReadInput**](MarkAllReadInput.md)|  | 

### Return type

[**MarkAllReadResult**](MarkAllReadResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="markRead"></a>
# **markRead**
> MarkReadResult markRead(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.MarkReadInput(); // {MarkReadInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markRead(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**MarkReadInput**](MarkReadInput.md)|  | 

### Return type

[**MarkReadResult**](MarkReadResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="markReadByEmail"></a>
# **markReadByEmail**
> MarkReadByEmailResult markReadByEmail(userKey, commentListKey, commentId, opts)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var userKey = "userKey_example"; // {String} 

var commentListKey = "commentListKey_example"; // {String} 

var commentId = 56; // {Integer} 

var opts = { 
  'contentKey': "contentKey_example" // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markReadByEmail(userKey, commentListKey, commentId, opts, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **userKey** | **String**|  | 
 **commentListKey** | **String**|  | 
 **commentId** | [**Integer**](.md)|  | 
 **contentKey** | **String**|  | [optional] 

### Return type

[**MarkReadByEmailResult**](MarkReadByEmailResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="markUnread"></a>
# **markUnread**
> MarkUnreadResult markUnread(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.MarkUnreadInput(); // {MarkUnreadInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markUnread(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**MarkUnreadInput**](MarkUnreadInput.md)|  | 

### Return type

[**MarkUnreadResult**](MarkUnreadResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="undeleteComment"></a>
# **undeleteComment**
> UndeleteCommentResult undeleteComment(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.UndeleteCommentInput(); // {UndeleteCommentInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.undeleteComment(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**UndeleteCommentInput**](UndeleteCommentInput.md)|  | 

### Return type

[**UndeleteCommentResult**](UndeleteCommentResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="updateComment"></a>
# **updateComment**
> UpdateCommentResult updateComment(input)





### Example
```javascript
var VmosoApi = require('vmoso-api');
var defaultClient = VmosoApi.ApiClient.default;

// Configure API key authorization: vmoso_auth
var vmoso_auth = defaultClient.authentications['vmoso_auth'];
vmoso_auth.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//vmoso_auth.apiKeyPrefix['X-CV-Authorization'] = "Token"

var apiInstance = new VmosoApi.CommentApi()

var input = new VmosoApi.UpdateCommentInput(); // {UpdateCommentInput} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateComment(input, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **input** | [**UpdateCommentInput**](UpdateCommentInput.md)|  | 

### Return type

[**UpdateCommentResult**](UpdateCommentResult.md)

### Authorization

[vmoso_auth](../README.md#vmoso_auth)

### HTTP reuqest headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

