mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-21 06:21:39 +03:00
a9e3a1b4bd
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2495 GitOrigin-RevId: ef250a0796200be6b75363b4275eb8a7ae780154
27 lines
510 B
YAML
27 lines
510 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
|
|
query:
|
|
query: |
|
|
query {
|
|
hasura_test_article(order_by: {id: asc}) {
|
|
id
|
|
title
|
|
content
|
|
}
|
|
}
|