mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 13:31:43 +03:00
22 lines
390 B
YAML
22 lines
390 B
YAML
|
description: Query from users table using get_users function
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
response:
|
||
|
data:
|
||
|
get_users:
|
||
|
- id: 1
|
||
|
name: Starke Blake
|
||
|
is_admin: true
|
||
|
- id: 2
|
||
|
name: Bellamy Blake
|
||
|
is_admin: true
|
||
|
query:
|
||
|
query: |
|
||
|
query {
|
||
|
get_users(args: {search: "Blake", arg_1: 2, arg_2: true}){
|
||
|
id
|
||
|
name
|
||
|
is_admin
|
||
|
}
|
||
|
}
|