mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-26 08:52:12 +03:00
7beb15b4a3
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3191 GitOrigin-RevId: e9f1c814b2caf09946389c4bcb30a0c42277abaf
30 lines
576 B
YAML
30 lines
576 B
YAML
- description: User can see article fields
|
|
url: /v1/graphql
|
|
status: 200
|
|
headers:
|
|
X-Hasura-Role: user
|
|
response:
|
|
data:
|
|
hasura_test_article:
|
|
- id: '1'
|
|
title: Title 1
|
|
content: Content 1
|
|
- id: '2'
|
|
title: Title 2
|
|
content: Content 2
|
|
- id: '3'
|
|
title: Title 3
|
|
content: Content 3
|
|
- id: '4'
|
|
title: Title 4
|
|
content: Content 4
|
|
query:
|
|
query: |
|
|
query {
|
|
hasura_test_article(order_by: {id: asc}) {
|
|
id
|
|
title
|
|
content
|
|
}
|
|
}
|