Files
few-line-engine/out/js/docs/RedisManagementApi.md

1.9 KiB

LowCodeEngineApi.RedisManagementApi

All URIs are relative to http://localhost:3000

Method HTTP request Description
redisNodeCreatePost POST /redis/node/create Add Redis node

redisNodeCreatePost

RedisNode redisNodeCreatePost(redisNodeCreatePostRequest)

Add Redis node

Add a new Redis node to the system

Example

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

let apiInstance = new LowCodeEngineApi.RedisManagementApi();
let redisNodeCreatePostRequest = new LowCodeEngineApi.RedisNodeCreatePostRequest(); // RedisNodeCreatePostRequest | 
apiInstance.redisNodeCreatePost(redisNodeCreatePostRequest, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
redisNodeCreatePostRequest RedisNodeCreatePostRequest

Return type

RedisNode

Authorization

AdminAuth, ApiKeyAuth

HTTP request headers

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