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

Method updatePluginMeta

frontend-common/src/api_client.ts:209–220  ·  view source on GitHub ↗
(pluginId: number, params: {
        name?: string,
        short_description?: string,
        long_description?: string,
        is_public?: boolean,
        is_published?: boolean,
    })

Source from the content-addressed store, hash-verified

207 }
208
209 async updatePluginMeta(pluginId: number, params: {
210 name?: string,
211 short_description?: string,
212 long_description?: string,
213 is_public?: boolean,
214 is_published?: boolean,
215 }): Promise<ApiResult<Plugin>> {
216 return await this.patch(`/api/user/plugins/${pluginId}`, {
217 kind: "json",
218 body: params
219 });
220 }
221
222 async updateScriptPluginDevVersion(pluginId: number, params: {
223 source: string,

Callers 1

saveFunction · 0.80

Calls 1

patchMethod · 0.95

Tested by

no test coverage detected