mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
29 lines
508 B
YAML
29 lines
508 B
YAML
|
description: Introspection to check query fields and their types
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
query:
|
||
|
query: |
|
||
|
query EntitiesTest($representations: [_Any!]!) {
|
||
|
_entities(representations: $representations) {
|
||
|
... on user {
|
||
|
id
|
||
|
email
|
||
|
name
|
||
|
is_admin
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
variables:
|
||
|
representations:
|
||
|
- __typename: user
|
||
|
id: 1
|
||
|
|
||
|
|
||
|
response:
|
||
|
data:
|
||
|
_entities:
|
||
|
- id: 1
|
||
|
email: foo@email.com
|
||
|
name: foo
|
||
|
is_admin: false
|