graphql-engine/server/tests-py/queries/graphql_query/permissions/reader_author.yaml
2021-07-28 08:10:25 +00:00

18 lines
276 B
YAML

description: A reader fetch authors with atleast one published article
url: /v1/graphql
status: 200
headers:
X-Hasura-Role: reader
query:
query: |
query {
author{
name
}
}
response:
data:
author:
- name: Author 1
- name: Author 2