MCPcopy Create free account
hub / github.com/Botloader/botloader / createPlugin

Method createPlugin

frontend-common/src/api_client.ts:198–207  ·  view source on GitHub ↗
(params: {
        name: string,
        short_description?: string,
        long_description?: string,
    })

Source from the content-addressed store, hash-verified

196 }
197
198 async createPlugin(params: {
199 name: string,
200 short_description?: string,
201 long_description?: string,
202 }): Promise<ApiResult<Plugin>> {
203 return await this.put(`/api/user/plugins`, {
204 kind: "json",
205 body: params
206 });
207 }
208
209 async updatePluginMeta(pluginId: number, params: {
210 name?: string,

Callers 1

createFunction · 0.80

Calls 1

putMethod · 0.95

Tested by

no test coverage detected