Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC front end implementation #3621

Open
Tracked by #3516
seancolsen opened this issue Jun 13, 2024 · 0 comments
Open
Tracked by #3516

RPC front end implementation #3621

seancolsen opened this issue Jun 13, 2024 · 0 comments
Assignees

Comments

@seancolsen
Copy link
Contributor

seancolsen commented Jun 13, 2024

Database page

Endpoint HTTP Method Function
/api/db/v0/schemas/ GET schemas.list
/api/db/v0/schemas/ POST schemas.add
/api/db/v0/schemas/{schemaId}/ PATCH schemas.patch
/api/db/v0/schemas/{schemaId}/ DELETE schemas.delete

Schema page

Endpoint HTTP Method Function
/api/db/v0/tables/ GET tables.list
/api/db/v0/tables/ POST tables.add
/api/db/v0/tables/{tableId}/ PATCH tables.patch
/api/db/v0/tables/{tableId}/ DELETE tables.delete

Table page load

Endpoint HTTP Method Function
/api/db/v0/tables/{tableId}/columns/ GET columns.list
/api/db/v0/tables/{tableId}/constraints/ GET constraints.list
/api/db/v0/tables/{tableId}/records/ GET records.list
/api/ui/v0/connections/{databaseId}/types/ GET types.list
/api/db/v0/tables/{tableId}/joinable_tables/ GET tables.list_joinable

Table page DML

Endpoint HTTP Method Function
/api/db/v0/tables/{tableId}/records/ POST records.add
/api/db/v0/tables/{tableId}/records/{recordPk}/ PATCH records.patch
/api/ui/v0/tables/{tableId}/records/delete/ DELETE records.delete

Table page DDL

Endpoint HTTP Method Function
/api/db/v0/tables/{tableId}/ GET tables.get
/api/db/v0/tables/{tableId}/columns/ POST columns.add
/api/db/v0/tables/{tableId}/columns/{columnId} PATCH columns.patch
/api/db/v0/tables/{tableId}/columns/{columnId} DELETE columns.delete
/api/db/v0/tables/{tableId}/constraints/ POST constraints.add
/api/db/v0/tables/{tableId}/constraints/{id} DELETE constraints.delete
/api/db/v0/links/ POST data_modeling.add_link
/api/db/v0/tables/{tableId}/move_columns/ POST data_modeling.move_columns
/api/db/v0/tables/{tableId}/split_table/ POST data_modeling.split_table

Table page metadata

Endpoint HTTP Method Function
/api/db/v0/tables/ GET tables.metadata.list
/api/db/v0/tables/{tableId}/settings/{settingsId}/ PATCH tables.metadata.patch
/api/db/v0/tables/{tableId}/columns/ GET columns.metadata.list
/api/db/v0/tables/{tableId}/columns/{columnId} PATCH columns.metadata.patch

Explorations

Endpoint HTTP Method Function
/api/db/v0/queries/run/ POST explorations.run
/api/db/v0/queries/ GET explorations.list
/api/db/v0/queries/{queryId}/ GET explorations.get
/api/db/v0/queries/{queryId}/results/ GET explorations.run_saved
/api/db/v0/queries/ POST explorations.add
/api/db/v0/queries/{queryId}/ PUT explorations.replace
/api/db/v0/queries/{queryId}/ DELETE explorations.delete

Record page

Endpoint HTTP Method Function
/api/db/v0/tables/{tableId}/records/{recordPk}/ GET records.get

Import pages

Endpoint HTTP Method Function
/api/db/v0/tables/{tableId}/previews/ POST tables.get_import_preview
/api/db/v0/tables/{tableId}/type_suggestions/ GET data_modeling.suggest_types

Shares

Endpoint HTTP Method Function
/api/ui/v0/queries/{queryId}/shares/ GET shared_explorations.list
/api/ui/v0/queries/{queryId}/shares/ POST shared_explorations.add
/api/ui/v0/queries/{queryId}/shares/{shareId}/regenerate/ POST shared_explorations.regenerate
/api/ui/v0/queries/{queryId}/shares/{shareId}/ PATCH shared_explorations.patch
/api/ui/v0/tables/{tableId}/shares/ GET shared_tables.list
/api/ui/v0/tables/{tableId}/shares/ POST shared_tables.add
/api/ui/v0/tables/{tableId}/shares/{shareId}/regenerate/ POST shared_tables.regenerate
/api/ui/v0/tables/{tableId}/shares/{shareId}/ PATCH shared_tables.patch
@seancolsen seancolsen self-assigned this Jun 13, 2024
@seancolsen seancolsen changed the title First pass of front end RPC implementation RPC front end implementation Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant