← All types
Ob Object

JourneyVersionPayload

Result of creating a journey version: either the created draft or the validation errors that prevented it.

Fields

The newly created draft version; null when errors is non-empty.

errors

[FieldError!]!Non-null

Field-level validation errors (e.g. an invalid definition, an unknown journey). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.

Referenced by (2)
Exact type SDL
"""
Result of creating a journey version: either the created draft or the validation errors that prevented it.
"""
type JourneyVersionPayload {
  """The newly created draft version; null when `errors` is non-empty."""
  version: JourneyVersion
  """
  Field-level validation errors (e.g. an invalid definition, an unknown journey). Empty on success. Authorization failures are raised as GraphQL errors instead, not reported here.
  """
  errors: [FieldError!]!
}