# AgilegravityagileAiTrainerserverClient.NodeItemsApi

All URIs are relative to */*

Method | HTTP request | Description
------------- | ------------- | -------------
[**createNodeItem**](NodeItemsApi.md#createNodeItem) | **POST** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items | 
[**createNodeItemByChannel**](NodeItemsApi.md#createNodeItemByChannel) | **POST** /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items | 
[**deleteNodeItem**](NodeItemsApi.md#deleteNodeItem) | **DELETE** /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId} | 
[**deleteNodeItemByChannel**](NodeItemsApi.md#deleteNodeItemByChannel) | **DELETE** /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId} | 
[**deprecatedDeleteNodeItem**](NodeItemsApi.md#deprecatedDeleteNodeItem) | **DELETE** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId} | 
[**deprecatedGetNodeItem**](NodeItemsApi.md#deprecatedGetNodeItem) | **GET** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId} | 
[**deprecatedUpdateNodeItem**](NodeItemsApi.md#deprecatedUpdateNodeItem) | **PUT** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId} | 
[**deprecatedmoveNodeItem**](NodeItemsApi.md#deprecatedmoveNodeItem) | **PUT** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}/move | 
[**getNodeItem**](NodeItemsApi.md#getNodeItem) | **GET** /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId} | 
[**getNodeItemByChannel**](NodeItemsApi.md#getNodeItemByChannel) | **GET** /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId} | 
[**getNodeItems**](NodeItemsApi.md#getNodeItems) | **GET** /api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items | 
[**getNodeItemsByChannel**](NodeItemsApi.md#getNodeItemsByChannel) | **GET** /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items | 
[**moveNodeItem**](NodeItemsApi.md#moveNodeItem) | **PUT** /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}/move | 
[**updateNodeItem**](NodeItemsApi.md#updateNodeItem) | **PUT** /api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId} | 
[**updateNodeItemByChannel**](NodeItemsApi.md#updateNodeItemByChannel) | **PUT** /api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId} | 

<a name="createNodeItem"></a>
# **createNodeItem**
> NodeItem createNodeItem(bodyaccountIdprojectIdversionId)



createt a NodeItem for a B2BPartner

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItem(); // NodeItem | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId

apiInstance.createNodeItem(bodyaccountIdprojectIdversionId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItem**](NodeItem.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="createNodeItemByChannel"></a>
# **createNodeItemByChannel**
> NodeItem createNodeItemByChannel(bodyaccountIdprojectIdchannel)



createt a NodeItem for a B2BPartner

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItem(); // NodeItem | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let channel = "channel_example"; // String | channel

apiInstance.createNodeItemByChannel(bodyaccountIdprojectIdchannel).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItem**](NodeItem.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **channel** | **String**| channel | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deleteNodeItem"></a>
# **deleteNodeItem**
> NodeItem deleteNodeItem(accountId, projectId, versionId, nodeItemId)



delete a NodeItem of a B2BPartner by id

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deleteNodeItem(accountId, projectId, versionId, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deleteNodeItemByChannel"></a>
# **deleteNodeItemByChannel**
> NodeItem deleteNodeItemByChannel(accountId, projectId, channel, nodeItemId)



delete a NodeItem 

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let channel = "channel_example"; // String | channel
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deleteNodeItemByChannel(accountId, projectId, channel, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **channel** | **String**| channel | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deprecatedDeleteNodeItem"></a>
# **deprecatedDeleteNodeItem**
> NodeItem deprecatedDeleteNodeItem(accountId, projectId, versionId, nodeItemId)



deprecated a NodeItem move to new url with versions

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deprecatedDeleteNodeItem(accountId, projectId, versionId, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deprecatedGetNodeItem"></a>
# **deprecatedGetNodeItem**
> NodeItem deprecatedGetNodeItem(accountId, projectId, versionId, nodeItemId)



deprecated get a NodeItem move to new url with versions

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deprecatedGetNodeItem(accountId, projectId, versionId, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deprecatedUpdateNodeItem"></a>
# **deprecatedUpdateNodeItem**
> NodeItem deprecatedUpdateNodeItem(bodyaccountIdprojectIdversionIdnodeItemId)



deprecated update a NodeItem move to new url with versions

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItem(); // NodeItem | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deprecatedUpdateNodeItem(bodyaccountIdprojectIdversionIdnodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItem**](NodeItem.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="deprecatedmoveNodeItem"></a>
# **deprecatedmoveNodeItem**
> NodeItem deprecatedmoveNodeItem(bodyaccountIdprojectIdversionIdnodeItemId)



deprecated moves a NodeItem to a new GuiPosition  move to new url with versions

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItemGuiPosition(); // NodeItemGuiPosition | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.deprecatedmoveNodeItem(bodyaccountIdprojectIdversionIdnodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItemGuiPosition**](NodeItemGuiPosition.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="getNodeItem"></a>
# **getNodeItem**
> NodeItem getNodeItem(accountId, projectId, versionId, nodeItemId)



get a NodeItem of a B2BPartner by id

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.getNodeItem(accountId, projectId, versionId, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="getNodeItemByChannel"></a>
# **getNodeItemByChannel**
> NodeItem getNodeItemByChannel(accountId, projectId, channel, nodeItemId)



get a NodeItem

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let channel = "channel_example"; // String | channel
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.getNodeItemByChannel(accountId, projectId, channel, nodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **channel** | **String**| channel | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="getNodeItems"></a>
# **getNodeItems**
> [NodeItem] getNodeItems(accountId, projectId, versionId, opts)



get the Node Item list of a given account project version

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let opts = { 
  'lastId': "lastId_example", // String | The lastId of items to skip before starting to collect the result set
  'limit': 100, // Number | The numbers of items to return
  'search': "search_example", // String | search by string in nodeitem
  'group': "group_example", // String | filter by group
  'inMemory': true, // Boolean | filter only nodeItems with inMemory
  'hasFunction': true // Boolean | filter only nodeItems with custom nodeitem functions
};
apiInstance.getNodeItems(accountId, projectId, versionId, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **lastId** | **String**| The lastId of items to skip before starting to collect the result set | [optional] 
 **limit** | **Number**| The numbers of items to return | [optional] [default to 100]
 **search** | **String**| search by string in nodeitem | [optional] 
 **group** | **String**| filter by group | [optional] 
 **inMemory** | **Boolean**| filter only nodeItems with inMemory | [optional] 
 **hasFunction** | **Boolean**| filter only nodeItems with custom nodeitem functions | [optional] 

### Return type

[**[NodeItem]**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="getNodeItemsByChannel"></a>
# **getNodeItemsByChannel**
> [NodeItem] getNodeItemsByChannel(accountId, projectId, channel)



get the Node Item list of a given account project version

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let channel = "channel_example"; // String | channel

apiInstance.getNodeItemsByChannel(accountId, projectId, channel).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **channel** | **String**| channel | 

### Return type

[**[NodeItem]**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="moveNodeItem"></a>
# **moveNodeItem**
> NodeItem moveNodeItem(bodyaccountIdprojectIdversionIdnodeItemId)



moves a NodeItem to a new GuiPosition

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItemGuiPosition(); // NodeItemGuiPosition | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.moveNodeItem(bodyaccountIdprojectIdversionIdnodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItemGuiPosition**](NodeItemGuiPosition.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="updateNodeItem"></a>
# **updateNodeItem**
> NodeItem updateNodeItem(bodyaccountIdprojectIdversionIdnodeItemId)



upate a NodeItem

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItem(); // NodeItem | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let versionId = "versionId_example"; // String | versionId
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.updateNodeItem(bodyaccountIdprojectIdversionIdnodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItem**](NodeItem.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **versionId** | **String**| versionId | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

<a name="updateNodeItemByChannel"></a>
# **updateNodeItemByChannel**
> NodeItem updateNodeItemByChannel(bodyaccountIdprojectIdchannelnodeItemId)



upate a NodeItem

### Example
```javascript
import AgilegravityagileAiTrainerserverClient from 'agilegravityagile_ai_trainerserver_client';
let defaultClient = AgilegravityagileAiTrainerserverClient.ApiClient.instance;

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

// Configure OAuth2 access token for authorization: oauthClientCredentials
let oauthClientCredentials = defaultClient.authentications['oauthClientCredentials'];
oauthClientCredentials.accessToken = 'YOUR ACCESS TOKEN';

let apiInstance = new AgilegravityagileAiTrainerserverClient.NodeItemsApi();
let body = new AgilegravityagileAiTrainerserverClient.NodeItem(); // NodeItem | 
let accountId = "accountId_example"; // String | accountID
let projectId = "projectId_example"; // String | projectId
let channel = "channel_example"; // String | channel
let nodeItemId = "nodeItemId_example"; // String | NodeItemId

apiInstance.updateNodeItemByChannel(bodyaccountIdprojectIdchannelnodeItemId).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **body** | [**NodeItem**](NodeItem.md)|  | 
 **accountId** | **String**| accountID | 
 **projectId** | **String**| projectId | 
 **channel** | **String**| channel | 
 **nodeItemId** | **String**| NodeItemId | 

### Return type

[**NodeItem**](NodeItem.md)

### Authorization

[api_key](../README.md#api_key), [oauthClientCredentials](../README.md#oauthClientCredentials)

### HTTP request headers

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

