graphql-engine/server/tests-py/queries/v1/metadata/clear_metadata.yaml

25 lines
489 B
YAML
Raw Normal View History

- description: Clear metadata
url: /v1/metadata
headers:
X-Hasura-Role: admin
status: 200
response:
message: success
query:
type: clear_metadata
args: {}
- description: Check if metadata is cleared
url: /v1/query
headers:
X-Hasura-Role: admin
status: 200
# FIXME:- Using export_metadata will dump
# the source configuration dependent on --database-url
# response:
# version: 2
# tables: []
query:
type: export_metadata
args: {}