# VmosoApi.ContentApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**getLocalList**](ContentApi.md#getLocalList) | **GET** /content/locallist | 
[**setSyncToLocal**](ContentApi.md#setSyncToLocal) | **POST** /content/markSyncToLocal | 
[**unsetSyncToLocal**](ContentApi.md#unsetSyncToLocal) | **POST** /content/unmarkSyncToLocal | 


<a name="getLocalList"></a>
# **getLocalList**
> GetLocalListResult getLocalList(options, pg)





### 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.ContentApi()

var options = "options_example"; // {String} 

var 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.getLocalList(options, pg, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **options** | **String**|  | 
 **pg** | **String**|  | 

### Return type

[**GetLocalListResult**](GetLocalListResult.md)

### Authorization

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

### HTTP reuqest headers

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

<a name="setSyncToLocal"></a>
# **setSyncToLocal**
> SetSyncToLocalResult setSyncToLocal(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.ContentApi()

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


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

### Parameters

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

### Return type

[**SetSyncToLocalResult**](SetSyncToLocalResult.md)

### Authorization

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

### HTTP reuqest headers

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

<a name="unsetSyncToLocal"></a>
# **unsetSyncToLocal**
> UnsetSyncToLocalResult unsetSyncToLocal(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.ContentApi()

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


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

### Parameters

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

### Return type

[**UnsetSyncToLocalResult**](UnsetSyncToLocalResult.md)

### Authorization

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

### HTTP reuqest headers

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

