Quick Start
API List
- record
- space
- base
- view
- API Reference
- dashboard
- plugin
- attachments
- admin
- trash
- field
- aggregation
- table
- selection
- plan
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- usage
- oauth
- comment
- organization
- ai
- integrity
- plugin-panel
- plugin-context-menu
- template
- automation
- authority-matrix
- enterprise
- space-manage
plugin
Put plugin
plugin
Put plugin
Update a plugin
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Response
200 - application/json
Returns data about the plugin.
The response is of type object
.
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>"
}