PUT
/
plugin
/
{id}
curl --request PUT \
  --url https://app.teable.cn/api/plugin/%7Bid%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","detailDesc":"string","url":"http://example.com","config":{"contextMenu":{"width":0,"height":0,"x":0,"y":0,"frozenResize":true,"frozenDrag":true},"view":null,"dashboard":null,"panel":null},"logo":"string","helpUrl":"http://example.com","positions":["dashboard"],"i18n":{"en":{"title":"Plugin title","description":"Plugin description"},"zh":{"title":"插件标题","description":"插件描述"}}}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "detailDesc": "<string>",
  "logo": "<string>",
  "config": {
    "contextMenu": {
      "width": 123,
      "height": 123,
      "x": 123,
      "y": 123,
      "frozenResize": true,
      "frozenDrag": true
    },
    "view": "<any>",
    "dashboard": "<any>",
    "panel": "<any>"
  },
  "url": "<string>",
  "helpUrl": "<string>",
  "positions": [
    "dashboard"
  ],
  "i18n": {
    "en": {
      "title": "Plugin title",
      "description": "Plugin description"
    },
    "zh": {
      "title": "插件标题",
      "description": "插件描述"
    }
  },
  "secret": "<string>",
  "status": "developing",
  "pluginUser": {
    "id": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "avatar": "<string>"
  },
  "createdTime": "<string>",
  "lastModifiedTime": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Response

200 - application/json
Returns data about the plugin.

The response is of type object.