PluginAddRequest

@Serializable
data class PluginAddRequest(val version: String = "latest")

プラグイン追加リクエストボディ

mpm.json へのエントリ追加とメタデータ作成のみを行う mpm add 相当の操作に対応する。 jar の配置は行わないため、続けて POST /plugins/{name}/install を呼ぶ必要がある。

Constructors

Link copied to clipboard
constructor(version: String = "latest")

Properties

Link copied to clipboard

バージョン指定。latest / sync:PluginName / tag:beta / 固定バージョンを受け付け、 コマンド版と同じく VersionSpecifierParser.parse で解釈される(既定値: latest)