POST /extensions/{extid}

安装插件 (Install extension)

Path parameters

  • extid string Required

Query parameters

  • disabled boolean

    Default value is false.

  • version string | null

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • id string Required
    • version string Required
    • disabled boolean

      Default value is false.

    • nickname string | null
    • config object

      Additional properties are allowed.

    • config_schema object | null

      Additional properties are allowed.

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
POST /extensions/{extid}
curl \
 --request POST 'http://api.example.com/extensions/{extid}'
Response examples (200)
{
  "id": "string",
  "version": "string",
  "disabled": false,
  "nickname": "string",
  "config": {},
  "config_schema": {}
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}