Adds plugin upload from the web client

This commit is contained in:
BinaryAlley committed 2026-08-23 08:15:29 -07:00
1 parent d84823f6d2
commit b3ffb5dfab
57 files changed
+2774 -16

No files matched your search

+19
View File
@@ -2,6 +2,9 @@
- [Lumina API](#lumina-api)
- [Plugins](#plugins)
- [Install Plugin](#install-plugin)
- [Install Plugin Request](#install-plugin-request)
- [Install Plugin Response](#install-plugin-response)
- [Get Plugins](#get-plugins)
- [Get Plugins Request](#get-plugins-request)
- [Get Plugins Response](#get-plugins-response)
@@ -23,6 +26,22 @@
## Plugins
### Install Plugin
#### Install Plugin Request
```js
POST api/v1/plugins
```
Uploads the plugin as a `multipart/form-data` request. The first file part of the form is used as the plugin archive, which can be either a single `.dll` assembly or a `.zip` archive containing the plugin assembly and its dependencies. The assemblies are placed into the plugin storage directory of the API and are loaded at the next API startup.
#### Install Plugin Response
```js
200 Ok
```
### Get Plugins
#### Get Plugins Request