Skip to main content

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!)

ArgumentTypeDescription
customerIDThe Customer the Component belongs to, if any. If this is NULL then the Component belongs to the Organization.
definitionComponentDefinitionInput!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.
commentStringComment about changes in this Publish.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (PublishComponentPayload)

clientMutationId (String)
errors ([ErrorType!]!)
publishResult (PublishComponentResult)