pluginCreate
The pluginCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: admin:write
For a complete list of input attributes see the PluginAttributes type
mutation pluginCreate ($attributes: PluginAttributes!) {
pluginCreate (attributes: $attributes) {
errors
plugin {
authType
authenticated
componentName
description
enabled
enabledOnlyForUserId
entitySelectionEnabled
guid
helplink
hidden
id
logo
name
pluginDefinitionId
pluginVendorId
summary
userIsolation
uuid
webhookUrl
}
}
}
Arguments
{
"attributes": {
"pluginDefinitionId": "456123",
"dynamicComponentValues": [
{
"key": "",
"value": "DynamicComponentValue"
}
],
"enabled": true,
"entityIds": [
"456123"
],
"enabledOnlyForUserId": "456123"
}
}
| Name | Type | Description |
|---|---|---|
| attributes | PluginAttributes |
Response
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| plugin | Plugin |