Skip to content

CreateArtefactInput

Input for the createArtefact mutation

graphql
input CreateArtefactInput {
  file: URL!
  from: Int
  template: ID!
  templatedFields: [JSONFieldInput!]!
  to: Int
  trackable: ID!
  version: String
}

Fields

CreateArtefactInput.file ● URL! non-null scalar

The initial file of the Artefact

CreateArtefactInput.from ● Int scalar

The initial value of the from field of the Artefact

CreateArtefactInput.template ● ID! non-null scalar

The template of the created Artefact

CreateArtefactInput.templatedFields ● [JSONFieldInput!]! non-null input

Initial values for all templatedFields

CreateArtefactInput.to ● Int scalar

The initial value of the to field of the Artefact

CreateArtefactInput.trackable ● ID! non-null scalar

ID of the Trackable the created Artefact is part of

CreateArtefactInput.version ● String scalar

Initial version of the Artefact

Member Of

createArtefact mutation

Released under the MIT License.