publishComponent Mutation
Publishes a Component.
Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_components]. 2. The signed-in User has any of the following permissions for the access function context object 'customer': [customer_manage_components] when 'customer' is provided in the access function context.
Input fields (PublishComponentInput!)
Argument | Type | Description |
---|---|---|
customer | ID | The Customer the Component belongs to, if any. If this is NULL then the Component belongs to the Organization. |
definition | ComponentDefinitionInput! | The Component definition. |
actions | [ActionDefinitionInput] | A list of Component Actions. |
triggers | [TriggerDefinitionInput] | A list of Component Triggers. |
dataSources | [DataSourceDefinitionInput] | A list of Component Data Sources. |
connections | [ConnectionDefinitionInput] | A list of Component Connections. |
attributes | String | Attributes to set on the published version. |
comment | String | Comment about changes in this Publish. |
clientMutationId | String | A unique identifier for the client performing the mutation. |