mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
960cf2d954
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3636 GitOrigin-RevId: f4114fded09cbdd9875488610c635537478e4ab5
31 lines
647 B
YAML
31 lines
647 B
YAML
- description: set table custom fields
|
|
url: /v1/metadata
|
|
status: 200
|
|
response:
|
|
message: success
|
|
query:
|
|
type: bigquery_set_table_customization
|
|
args:
|
|
source: bigquery
|
|
table:
|
|
dataset: hasura
|
|
name: table_to_customize
|
|
configuration:
|
|
custom_name: customized_table
|
|
custom_column_names: {column_to_customize: "customized_column"}
|
|
custom_root_fields: {select: "gather"}
|
|
|
|
- description: select custom fields
|
|
url: /v1/graphql
|
|
status: 200
|
|
response:
|
|
data:
|
|
gather: []
|
|
query:
|
|
query: |
|
|
query {
|
|
gather {
|
|
customized_column
|
|
}
|
|
}
|