Skip to main content

DraftSavePayload

Autogenerated return type of DraftSave

type DraftSavePayload {
clientMutationId: String
contextId: ID
draftId: ID!
draftType: String!
errors: [UserError!]!
payload: String
success: Boolean!
version: Int!
}

Fields

DraftSavePayload.clientMutationId ● String scalar common

A unique identifier for the client performing the mutation.

DraftSavePayload.contextId ● ID scalar common

The ID of the context within the conversation.

DraftSavePayload.draftId ● ID! non-null scalar common

The ID of the draft.

DraftSavePayload.draftType ● String! non-null scalar common

The type of the draft.

DraftSavePayload.errors ● [UserError!]! non-null object common

Errors related to user input.

DraftSavePayload.payload ● String scalar common

The payload of the draft as a schemaless string.

DraftSavePayload.success ● Boolean! non-null scalar common

True if the draft was saved; false otherwise.

DraftSavePayload.version ● Int! non-null scalar common

The version of the draft.

Returned by

draftSave mutation