Skip to content
Console(opens in a new tab)

createSuggestion

Submits a suggested change to Enigma data for review.

Intent. This intent is a write. It stores something and returns the stored record.

Submits a suggested change to Enigma data for review.

createSuggestion(suggestion: SuggestionInput!): CreateSuggestion

Returns CreateSuggestion.

A SuggestionInput. Its fields, and the part each one belongs to, are on its own page.

This intent writes, so the reference does not run it against production data. No response is shown. The payload variable holds the suggested change as a JSON object.

mutation CreateSuggestion($payload: JSON!) {
createSuggestion(suggestion: {
suggestedByEmail: "user@example.com"
payload: $payload
}) {
suggestion { id status createdTimestamp }
}
}