Skip to content

Instantly share code, notes, and snippets.

@ShayneP
Last active June 28, 2021 16:27
Creating a file with the GraphQL API
mutation fileCreate($files: [FileCreateInput!]!) {
fileCreate(files: $files) {
files {
alt
createdAt
}
userErrors {
code
field
message
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment