2018-10-04 15:44:15 +03:00
|
|
|
- description: Clear metadata
|
2021-02-19 05:39:30 +03:00
|
|
|
url: /v1/metadata
|
2021-07-16 19:08:23 +03:00
|
|
|
headers:
|
|
|
|
X-Hasura-Role: admin
|
2018-10-04 15:44:15 +03:00
|
|
|
status: 200
|
|
|
|
response:
|
|
|
|
message: success
|
|
|
|
query:
|
|
|
|
type: clear_metadata
|
|
|
|
args: {}
|
|
|
|
|
|
|
|
- description: Check if metadata is cleared
|
|
|
|
url: /v1/query
|
2021-07-16 19:08:23 +03:00
|
|
|
headers:
|
|
|
|
X-Hasura-Role: admin
|
2018-10-04 15:44:15 +03:00
|
|
|
status: 200
|
2020-12-28 15:56:00 +03:00
|
|
|
# FIXME:- Using export_metadata will dump
|
|
|
|
# the source configuration dependent on --database-url
|
|
|
|
# response:
|
|
|
|
# version: 2
|
|
|
|
# tables: []
|
2018-10-04 15:44:15 +03:00
|
|
|
query:
|
|
|
|
type: export_metadata
|
|
|
|
args: {}
|