Files
few-line-engine/out/ts/docs/RedisManagementApi.md
lborv 66a461f12a Add API documentation and models for Functions, Logs, Projects, Queries, and Redis Management
- 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.
2025-10-25 17:50:15 +03:00

1.6 KiB

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 a new Redis node to the system

Example

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, 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] [Back to Model list] [Back to README]