mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-07 08:13:18 +03:00
23 lines
376 B
YAML
23 lines
376 B
YAML
|
description: Inserts author data via GraphQL mutation
|
||
|
url: /v1alpha1/graphql
|
||
|
status: 200
|
||
|
query:
|
||
|
query: |
|
||
|
mutation insert_author {
|
||
|
insert_author(
|
||
|
objects: [
|
||
|
{
|
||
|
name: "Author 1"
|
||
|
},
|
||
|
{
|
||
|
name: "Author 2"
|
||
|
}
|
||
|
]
|
||
|
) {
|
||
|
returning {
|
||
|
id
|
||
|
name
|
||
|
}
|
||
|
}
|
||
|
}
|