- Created documentation for FunctionsCreatePostRequest and FunctionsDeletePostRequest. - Added Log and LogContentInner models with corresponding documentation. - Introduced LoggerIdFindAllPostRequest and LoggingApi for log management. - Added Migration and Project models with their respective documentation. - Implemented ProjectCreatePutRequest and ProjectManagementApi for project management. - Created Query and QueryCreatePostRequest models with documentation. - Added RedisNode and RedisNodeCreatePostRequest for Redis management. - Included Token model for API token management. - Added a script for git push operations and updated index.ts for API exports.
63 lines
1.6 KiB
Markdown
63 lines
1.6 KiB
Markdown
# RedisManagementApi
|
|
|
|
All URIs are relative to *http://localhost:3000*
|
|
|
|
|Method | HTTP request | Description|
|
|
|------------- | ------------- | -------------|
|
|
|[**redisNodeCreatePost**](#redisnodecreatepost) | **POST** /redis/node/create | Add Redis node|
|
|
|
|
# **redisNodeCreatePost**
|
|
> RedisNode redisNodeCreatePost(redisNodeCreatePostRequest)
|
|
|
|
Add a new Redis node to the system
|
|
|
|
### Example
|
|
|
|
```typescript
|
|
import {
|
|
RedisManagementApi,
|
|
Configuration,
|
|
RedisNodeCreatePostRequest
|
|
} from './api';
|
|
|
|
const configuration = new Configuration();
|
|
const apiInstance = new RedisManagementApi(configuration);
|
|
|
|
let redisNodeCreatePostRequest: RedisNodeCreatePostRequest; //
|
|
|
|
const { status, data } = await apiInstance.redisNodeCreatePost(
|
|
redisNodeCreatePostRequest
|
|
);
|
|
```
|
|
|
|
### Parameters
|
|
|
|
|Name | Type | Description | Notes|
|
|
|------------- | ------------- | ------------- | -------------|
|
|
| **redisNodeCreatePostRequest** | **RedisNodeCreatePostRequest**| | |
|
|
|
|
|
|
### Return type
|
|
|
|
**RedisNode**
|
|
|
|
### Authorization
|
|
|
|
[AdminAuth](../README.md#AdminAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
|
|
### HTTP request headers
|
|
|
|
- **Content-Type**: application/json
|
|
- **Accept**: application/json
|
|
|
|
|
|
### HTTP response details
|
|
| Status code | Description | Response headers |
|
|
|-------------|-------------|------------------|
|
|
|**200** | Redis node created successfully | - |
|
|
|**401** | Unauthorized | - |
|
|
|**403** | Admin access required | - |
|
|
|
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
|