mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
59c01786fe
Add optimistic concurrency control to the ‘replace_metadata’ call. Prevents users from submitting out-of-date metadata to metadata-mutating APIs. See https://github.com/hasura/graphql-engine-mono/issues/472 for details. GitOrigin-RevId: 5f220f347a3eba288a9098b01e9913ffd7e38166
21 lines
417 B
YAML
21 lines
417 B
YAML
- description: Clear metadata
|
|
url: /v1/metadata
|
|
status: 200
|
|
response:
|
|
message: success
|
|
query:
|
|
type: clear_metadata
|
|
args: {}
|
|
|
|
- description: Check if metadata is cleared
|
|
url: /v1/query
|
|
status: 200
|
|
# FIXME:- Using export_metadata will dump
|
|
# the source configuration dependent on --database-url
|
|
# response:
|
|
# version: 2
|
|
# tables: []
|
|
query:
|
|
type: export_metadata
|
|
args: {}
|