mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
25 lines
415 B
YAML
25 lines
415 B
YAML
description: Inserts person data via GraphQL mutation
|
|
url: /v1alpha1/graphql
|
|
status: 200
|
|
query:
|
|
variables:
|
|
value:
|
|
name:
|
|
first: john
|
|
last: murphy
|
|
query: |
|
|
mutation insert_person($value: jsonb) {
|
|
insert_person(
|
|
objects: [
|
|
{
|
|
details: $value
|
|
}
|
|
]
|
|
) {
|
|
returning {
|
|
id
|
|
details
|
|
}
|
|
}
|
|
}
|