The project provides several API endpoints that allow you to interact with the file system.
openapi.yamlThe API is described in the documentation. Here is a brief overview:
POST /api/executeCommand: Execute shell commands.
GET /api/listFilesInDirectory: List the files and directories under the specified directory.
GET /api/readFile: Read the content of the file in the user directory.
POST /api/update: Updates a file in a user directory by performing a search and replace operation.
POST /api/updateWholeFile: Replace the entire content of the file in the user directory.
POST /api/createFile: Create a new file.
POST /api/deleteFile: Delete files in the user directory.
POST /api/renameFile: Renames a file in the user directory.
POST /api/appendToFile: Append content to the end of the existing file.
POST /api/createDirectory: Create a new directory.
POST /api/deleteDirectory: Delete a directory and its contents.
POST /api/readMultipleFiles: Read the contents of multiple files.
#Kaguya #Homepage #Documentation #Downloads #ChatGPT #Plugin #News Fast Delivery