All URIs are relative to http://superset.data-us-east4.clusters.production.universe.engineer/
Method | HTTP request | Description |
---|---|---|
api_v1_assets_export_get | GET /api/v1/assets/export/ | |
api_v1_assets_import_post | POST /api/v1/assets/import/ |
String api_v1_assets_export_get
Returns a ZIP file with all the Superset assets (databases, datasets, charts, dashboards, saved queries) as YAML files.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ImportexportApi.new
begin
result = api_instance.api_v1_assets_export_get
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ImportexportApi->api_v1_assets_export_get: #{e}"
end
This endpoint does not need any parameter.
String
- Content-Type: Not defined
- Accept: application/zip, application/json
InlineResponse400 api_v1_assets_import_post(bundlepasswords)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ImportexportApi.new
bundle = 'bundle_example' # String |
passwords = 'passwords_example' # String |
begin
result = api_instance.api_v1_assets_import_post(bundlepasswords)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ImportexportApi->api_v1_assets_import_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
bundle | String | ||
passwords | String |
- Content-Type: multipart/form-data
- Accept: application/json