docs: add password example to dataset import API (#18580)
This commit is contained in:
parent
151d30bea4
commit
299635c580
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in New Issue