mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
42 lines
838 B
YAML
42 lines
838 B
YAML
|
- description: User can query jsonb values which satisfies filter in select permission with array session variable
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
headers:
|
||
|
X-Hasura-Role: user5
|
||
|
X-Hasura-Json-required-keys: |-
|
||
|
{name,age}
|
||
|
response:
|
||
|
data:
|
||
|
jsonb_table:
|
||
|
- id: 1
|
||
|
jsonb_col:
|
||
|
name: Hasura
|
||
|
age: 7
|
||
|
query:
|
||
|
query: |
|
||
|
query {
|
||
|
jsonb_table{
|
||
|
id
|
||
|
jsonb_col
|
||
|
}
|
||
|
}
|
||
|
|
||
|
- description: User can query jsonb values which satisfies filter in select permission with array session variable
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
headers:
|
||
|
X-Hasura-Role: user5
|
||
|
X-Hasura-Protected-Jsons: |-
|
||
|
{}
|
||
|
response:
|
||
|
data:
|
||
|
jsonb_table: []
|
||
|
query:
|
||
|
query: |
|
||
|
query {
|
||
|
jsonb_table{
|
||
|
id
|
||
|
jsonb_col
|
||
|
}
|
||
|
}
|