mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
docs: add password example to dataset import API (#18580)
This commit is contained in:
@@ -837,7 +837,12 @@ class ChartRestApi(BaseSupersetModelRestApi):
|
||||
type: string
|
||||
format: binary
|
||||
passwords:
|
||||
description: JSON map of passwords for each file
|
||||
description: >-
|
||||
JSON map of passwords for each featured database in the
|
||||
ZIP file. If the ZIP includes a database config in the path
|
||||
`databases/MyDatabase.yaml`, the password should be provided
|
||||
in the following format:
|
||||
`{"databases/MyDatabase.yaml": "my_password"}`.
|
||||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing databases?
|
||||
|
||||
@@ -944,7 +944,12 @@ class DashboardRestApi(BaseSupersetModelRestApi):
|
||||
type: string
|
||||
format: binary
|
||||
passwords:
|
||||
description: JSON map of passwords for each file
|
||||
description: >-
|
||||
JSON map of passwords for each featured database in the
|
||||
ZIP file. If the ZIP includes a database config in the path
|
||||
`databases/MyDatabase.yaml`, the password should be provided
|
||||
in the following format:
|
||||
`{"databases/MyDatabase.yaml": "my_password"}`.
|
||||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing databases?
|
||||
|
||||
@@ -791,7 +791,12 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
|
||||
type: string
|
||||
format: binary
|
||||
passwords:
|
||||
description: JSON map of passwords for each file
|
||||
description: >-
|
||||
JSON map of passwords for each featured database in the
|
||||
ZIP file. If the ZIP includes a database config in the path
|
||||
`databases/MyDatabase.yaml`, the password should be provided
|
||||
in the following format:
|
||||
`{"databases/MyDatabase.yaml": "my_password"}`.
|
||||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing databases?
|
||||
|
||||
@@ -697,7 +697,12 @@ class DatasetRestApi(BaseSupersetModelRestApi):
|
||||
type: string
|
||||
format: binary
|
||||
passwords:
|
||||
description: JSON map of passwords for each file
|
||||
description: >-
|
||||
JSON map of passwords for each featured database in the
|
||||
ZIP file. If the ZIP includes a database config in the path
|
||||
`databases/MyDatabase.yaml`, the password should be provided
|
||||
in the following format:
|
||||
`{"databases/MyDatabase.yaml": "my_password"}`.
|
||||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing datasets?
|
||||
|
||||
@@ -293,7 +293,12 @@ class SavedQueryRestApi(BaseSupersetModelRestApi):
|
||||
type: string
|
||||
format: binary
|
||||
passwords:
|
||||
description: JSON map of passwords for each file
|
||||
description: >-
|
||||
JSON map of passwords for each featured database in the
|
||||
ZIP file. If the ZIP includes a database config in the path
|
||||
`databases/MyDatabase.yaml`, the password should be provided
|
||||
in the following format:
|
||||
`{"databases/MyDatabase.yaml": "my_password"}`.
|
||||
type: string
|
||||
overwrite:
|
||||
description: overwrite existing saved queries?
|
||||
|
||||
Reference in New Issue
Block a user