2018-11-02 12:36:33 +03:00
|
|
|
description: Export schema cache (metadata)
|
2018-10-04 15:44:15 +03:00
|
|
|
url: /v1/query
|
|
|
|
status: 200
|
|
|
|
response:
|
2019-11-20 09:47:06 +03:00
|
|
|
version: 2
|
2019-09-19 07:47:36 +03:00
|
|
|
functions:
|
2019-11-20 09:47:06 +03:00
|
|
|
- function: search_articles
|
|
|
|
configuration: {}
|
2018-11-23 16:02:46 +03:00
|
|
|
remote_schemas: []
|
2019-09-19 07:47:36 +03:00
|
|
|
query_collections: []
|
|
|
|
allowlist: []
|
2018-10-04 15:44:15 +03:00
|
|
|
tables:
|
2019-11-06 05:11:03 +03:00
|
|
|
- table: article
|
2019-07-22 15:47:13 +03:00
|
|
|
is_enum: false
|
2019-09-19 07:47:36 +03:00
|
|
|
configuration:
|
|
|
|
custom_root_fields:
|
|
|
|
select:
|
|
|
|
select_by_pk:
|
|
|
|
select_aggregate:
|
|
|
|
insert:
|
|
|
|
update:
|
|
|
|
delete:
|
|
|
|
custom_column_names: {}
|
2019-11-06 05:11:03 +03:00
|
|
|
object_relationships:
|
2018-11-02 12:36:33 +03:00
|
|
|
- using:
|
2019-11-06 05:11:03 +03:00
|
|
|
foreign_key_constraint_on: author_id
|
|
|
|
name: author
|
|
|
|
comment:
|
|
|
|
array_relationships: []
|
2018-10-04 15:44:15 +03:00
|
|
|
insert_permissions: []
|
2018-11-02 12:36:33 +03:00
|
|
|
select_permissions: []
|
2018-10-04 15:44:15 +03:00
|
|
|
update_permissions: []
|
|
|
|
delete_permissions: []
|
2018-11-02 12:36:33 +03:00
|
|
|
event_triggers: []
|
2019-11-07 17:39:48 +03:00
|
|
|
computed_fields: []
|
2019-11-06 05:11:03 +03:00
|
|
|
- table: author
|
2019-07-22 15:47:13 +03:00
|
|
|
is_enum: false
|
2019-09-19 07:47:36 +03:00
|
|
|
configuration:
|
|
|
|
custom_root_fields:
|
|
|
|
select:
|
|
|
|
select_by_pk:
|
|
|
|
select_aggregate:
|
|
|
|
insert:
|
|
|
|
update:
|
|
|
|
delete:
|
|
|
|
custom_column_names: {}
|
2019-11-06 05:11:03 +03:00
|
|
|
object_relationships: []
|
|
|
|
array_relationships:
|
2018-11-02 12:36:33 +03:00
|
|
|
- using:
|
2019-11-06 05:11:03 +03:00
|
|
|
foreign_key_constraint_on:
|
|
|
|
column: author_id
|
|
|
|
table: article
|
|
|
|
name: articles
|
|
|
|
comment: List all articles of the author
|
2018-10-04 15:44:15 +03:00
|
|
|
insert_permissions: []
|
2018-11-02 12:36:33 +03:00
|
|
|
select_permissions: []
|
2018-10-04 15:44:15 +03:00
|
|
|
update_permissions: []
|
|
|
|
delete_permissions: []
|
2018-11-02 12:36:33 +03:00
|
|
|
event_triggers: []
|
2019-11-07 17:39:48 +03:00
|
|
|
computed_fields:
|
|
|
|
- name: get_articles
|
|
|
|
comment: null
|
|
|
|
definition:
|
|
|
|
function: fetch_articles
|
|
|
|
table_argument: author_row
|
2018-10-04 15:44:15 +03:00
|
|
|
|
|
|
|
query:
|
|
|
|
type: export_metadata
|
|
|
|
args: {}
|