2020-02-13 20:38:23 +03:00
|
|
|
description: Export metadata
|
2021-02-19 05:39:30 +03:00
|
|
|
url: /v1/metadata
|
2018-10-04 15:44:15 +03:00
|
|
|
status: 200
|
|
|
|
response:
|
2019-11-20 09:47:06 +03:00
|
|
|
version: 2
|
2018-10-04 15:44:15 +03:00
|
|
|
tables:
|
2019-12-14 09:47:38 +03:00
|
|
|
- table:
|
|
|
|
schema: public
|
|
|
|
name: article
|
2019-11-06 05:11:03 +03:00
|
|
|
object_relationships:
|
2019-12-14 09:47:38 +03:00
|
|
|
- name: author
|
|
|
|
using:
|
2019-11-06 05:11:03 +03:00
|
|
|
foreign_key_constraint_on: author_id
|
2019-12-14 09:47:38 +03:00
|
|
|
- table:
|
|
|
|
schema: public
|
2019-11-06 05:11:03 +03:00
|
|
|
name: author
|
|
|
|
array_relationships:
|
2019-12-14 09:47:38 +03:00
|
|
|
- name: articles
|
|
|
|
using:
|
2019-11-06 05:11:03 +03:00
|
|
|
foreign_key_constraint_on:
|
|
|
|
column: author_id
|
2019-12-14 09:47:38 +03:00
|
|
|
table:
|
|
|
|
schema: public
|
|
|
|
name: article
|
2019-11-06 05:11:03 +03:00
|
|
|
comment: List all articles of the author
|
2019-11-07 17:39:48 +03:00
|
|
|
computed_fields:
|
|
|
|
- name: get_articles
|
|
|
|
definition:
|
2019-12-14 09:47:38 +03:00
|
|
|
function:
|
|
|
|
schema: public
|
|
|
|
name: fetch_articles
|
2019-11-07 17:39:48 +03:00
|
|
|
table_argument: author_row
|
2020-04-27 18:07:03 +03:00
|
|
|
- name: test_session
|
|
|
|
definition:
|
|
|
|
function:
|
|
|
|
schema: public
|
|
|
|
name: test_session
|
|
|
|
session_argument: session
|
2019-12-14 09:47:38 +03:00
|
|
|
functions:
|
|
|
|
- function:
|
|
|
|
schema: public
|
|
|
|
name: search_articles
|
2018-10-04 15:44:15 +03:00
|
|
|
|
|
|
|
query:
|
|
|
|
type: export_metadata
|
|
|
|
args: {}
|