All URIs are relative to http://superset.data-us-east4.clusters.production.universe.engineer/
Method | HTTP request | Description |
---|---|---|
api_v1_dashboard_delete | DELETE /api/v1/dashboard/ | |
api_v1_dashboard_export_get | GET /api/v1/dashboard/export/ | |
api_v1_dashboard_favorite_status_get | GET /api/v1/dashboard/favorite_status/ | |
api_v1_dashboard_get | GET /api/v1/dashboard/ | |
api_v1_dashboard_id_or_slug_charts_get | GET /api/v1/dashboard/{id_or_slug}/charts | |
api_v1_dashboard_id_or_slug_datasets_get | GET /api/v1/dashboard/{id_or_slug}/datasets | |
api_v1_dashboard_id_or_slug_embedded_delete | DELETE /api/v1/dashboard/{id_or_slug}/embedded | |
api_v1_dashboard_id_or_slug_embedded_get | GET /api/v1/dashboard/{id_or_slug}/embedded | |
api_v1_dashboard_id_or_slug_embedded_post | POST /api/v1/dashboard/{id_or_slug}/embedded | |
api_v1_dashboard_id_or_slug_embedded_put | PUT /api/v1/dashboard/{id_or_slug}/embedded | |
api_v1_dashboard_id_or_slug_get | GET /api/v1/dashboard/{id_or_slug} | |
api_v1_dashboard_import_post | POST /api/v1/dashboard/import/ | |
api_v1_dashboard_info_get | GET /api/v1/dashboard/_info | |
api_v1_dashboard_pk_delete | DELETE /api/v1/dashboard/{pk} | |
api_v1_dashboard_pk_put | PUT /api/v1/dashboard/{pk} | |
api_v1_dashboard_pk_thumbnail_digest_get | GET /api/v1/dashboard/{pk}/thumbnail/{digest}/ | |
api_v1_dashboard_post | POST /api/v1/dashboard/ | |
api_v1_dashboard_related_column_name_get | GET /api/v1/dashboard/related/{column_name} |
InlineResponse400 api_v1_dashboard_delete(opts)
Deletes multiple Dashboards in a bulk operation.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
opts = {
q: SwaggerClient::GetDeleteIdsSchema.new # GetDeleteIdsSchema |
}
begin
result = api_instance.api_v1_dashboard_delete(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetDeleteIdsSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
String api_v1_dashboard_export_get(opts)
Exports multiple Dashboards and downloads them as YAML files.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
opts = {
q: SwaggerClient::GetExportIdsSchema.new # GetExportIdsSchema |
}
begin
result = api_instance.api_v1_dashboard_export_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_export_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetExportIdsSchema | [optional] |
String
- Content-Type: Not defined
- Accept: text/plain, application/json
GetFavStarIdsSchema api_v1_dashboard_favorite_status_get(opts)
Check favorited dashboards for current user
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
opts = {
q: SwaggerClient::GetFavStarIdsSchema.new # GetFavStarIdsSchema |
}
begin
result = api_instance.api_v1_dashboard_favorite_status_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_favorite_status_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetFavStarIdsSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20014 api_v1_dashboard_get(opts)
Get a list of dashboards, use Rison or JSON query parameters for filtering, sorting, pagination and for selecting specific columns and metadata.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
opts = {
q: SwaggerClient::GetListSchema.new # GetListSchema |
}
begin
result = api_instance.api_v1_dashboard_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetListSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20019 api_v1_dashboard_id_or_slug_charts_get(id_or_slug)
Get the chart definitions for a given dashboard
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
id_or_slug = 'id_or_slug_example' # String |
begin
result = api_instance.api_v1_dashboard_id_or_slug_charts_get(id_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_charts_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id_or_slug | String |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20020 api_v1_dashboard_id_or_slug_datasets_get(id_or_slug)
Returns a list of a dashboard's datasets. Each dataset includes only the information necessary to render the dashboard's charts.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
id_or_slug = 'id_or_slug_example' # String | Either the id of the dashboard, or its slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_datasets_get(id_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_datasets_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id_or_slug | String | Either the id of the dashboard, or its slug |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_dashboard_id_or_slug_embedded_delete(id_or_slug)
Removes a dashboard's embedded configuration.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
id_or_slug = 'id_or_slug_example' # String | The dashboard id or slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_embedded_delete(id_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_embedded_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id_or_slug | String | The dashboard id or slug |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20021 api_v1_dashboard_id_or_slug_embedded_get(id_or_slug)
Returns the dashboard's embedded configuration
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
id_or_slug = 'id_or_slug_example' # String | The dashboard id or slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_embedded_get(id_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_embedded_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id_or_slug | String | The dashboard id or slug |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20021 api_v1_dashboard_id_or_slug_embedded_post(bodyid_or_slug)
Sets a dashboard's embedded configuration.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
body = SwaggerClient::EmbeddedDashboardConfig.new # EmbeddedDashboardConfig | The embedded configuration to set
id_or_slug = 'id_or_slug_example' # String | The dashboard id or slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_embedded_post(bodyid_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_embedded_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | EmbeddedDashboardConfig | The embedded configuration to set | |
id_or_slug | String | The dashboard id or slug |
- Content-Type: application/json
- Accept: application/json
InlineResponse20021 api_v1_dashboard_id_or_slug_embedded_put(bodyid_or_slug)
Sets a dashboard's embedded configuration.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
body = SwaggerClient::EmbeddedDashboardConfig.new # EmbeddedDashboardConfig | The embedded configuration to set
id_or_slug = 'id_or_slug_example' # String | The dashboard id or slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_embedded_put(bodyid_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_embedded_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | EmbeddedDashboardConfig | The embedded configuration to set | |
id_or_slug | String | The dashboard id or slug |
- Content-Type: application/json
- Accept: application/json
InlineResponse20018 api_v1_dashboard_id_or_slug_get(id_or_slug)
Get a dashboard detail information.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
id_or_slug = 'id_or_slug_example' # String | Either the id of the dashboard, or its slug
begin
result = api_instance.api_v1_dashboard_id_or_slug_get(id_or_slug)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_id_or_slug_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
id_or_slug | String | Either the id of the dashboard, or its slug |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_dashboard_import_post(form_dataoverwritepasswords)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
form_data = 'form_data_example' # String |
overwrite = true # BOOLEAN |
passwords = 'passwords_example' # String |
begin
result = api_instance.api_v1_dashboard_import_post(form_dataoverwritepasswords)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_import_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
form_data | String | ||
overwrite | BOOLEAN | ||
passwords | String |
- Content-Type: multipart/form-data
- Accept: application/json
InlineResponse2001 api_v1_dashboard_info_get(opts)
Several metadata information about dashboard API endpoints.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
opts = {
q: SwaggerClient::GetInfoSchema.new # GetInfoSchema |
}
begin
result = api_instance.api_v1_dashboard_info_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_info_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetInfoSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_dashboard_pk_delete(pk)
Deletes a Dashboard.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
pk = 56 # Integer |
begin
result = api_instance.api_v1_dashboard_pk_delete(pk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_pk_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20022 api_v1_dashboard_pk_put(bodypk)
Changes a Dashboard.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
body = SwaggerClient::DashboardRestApiPut.new # DashboardRestApiPut | Dashboard schema
pk = 56 # Integer |
begin
result = api_instance.api_v1_dashboard_pk_put(bodypk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_pk_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | DashboardRestApiPut | Dashboard schema | |
pk | Integer |
- Content-Type: application/json
- Accept: application/json
String api_v1_dashboard_pk_thumbnail_digest_get(pk, digest, opts)
Compute async or get already computed dashboard thumbnail from cache.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
pk = 56 # Integer |
digest = 'digest_example' # String | A hex digest that makes this dashboard unique
opts = {
q: SwaggerClient::ThumbnailQuerySchema.new # ThumbnailQuerySchema |
}
begin
result = api_instance.api_v1_dashboard_pk_thumbnail_digest_get(pk, digest, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_pk_thumbnail_digest_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
digest | String | A hex digest that makes this dashboard unique | |
q | ThumbnailQuerySchema | [optional] |
String
- Content-Type: Not defined
- Accept: image/*, application/json
InlineResponse2014 api_v1_dashboard_post(body)
Create a new Dashboard.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
body = SwaggerClient::DashboardRestApiPost.new # DashboardRestApiPost | Dashboard schema
begin
result = api_instance.api_v1_dashboard_post(body)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | DashboardRestApiPost | Dashboard schema |
- Content-Type: application/json
- Accept: application/json
RelatedResponseSchema api_v1_dashboard_related_column_name_get(column_name, opts)
Get a list of all possible owners for a dashboard.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::DashboardsApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_dashboard_related_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling DashboardsApi->api_v1_dashboard_related_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json