mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
25 lines
428 B
YAML
25 lines
428 B
YAML
|
description: Run create_user sync action mutation with valid email
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
query:
|
||
|
query: |
|
||
|
mutation {
|
||
|
create_user(email: "clarke@gmail.com", name: "Clarke"){
|
||
|
id
|
||
|
user {
|
||
|
name
|
||
|
email
|
||
|
is_admin
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
response:
|
||
|
data:
|
||
|
create_user:
|
||
|
id: 1
|
||
|
user:
|
||
|
name: Clarke
|
||
|
email: clarke@gmail.com
|
||
|
is_admin: false
|