All URIs are relative to http://superset.data-us-east4.clusters.production.universe.engineer/
Method | HTTP request | Description |
---|---|---|
api_v1_chart_data_cache_key_get | GET /api/v1/chart/data/{cache_key} | |
api_v1_chart_data_post | POST /api/v1/chart/data | |
api_v1_chart_delete | DELETE /api/v1/chart/ | |
api_v1_chart_export_get | GET /api/v1/chart/export/ | |
api_v1_chart_favorite_status_get | GET /api/v1/chart/favorite_status/ | |
api_v1_chart_get | GET /api/v1/chart/ | |
api_v1_chart_import_post | POST /api/v1/chart/import/ | |
api_v1_chart_info_get | GET /api/v1/chart/_info | |
api_v1_chart_pk_cache_screenshot_get | GET /api/v1/chart/{pk}/cache_screenshot/ | |
api_v1_chart_pk_data_get | GET /api/v1/chart/{pk}/data/ | |
api_v1_chart_pk_delete | DELETE /api/v1/chart/{pk} | |
api_v1_chart_pk_get | GET /api/v1/chart/{pk} | |
api_v1_chart_pk_put | PUT /api/v1/chart/{pk} | |
api_v1_chart_pk_screenshot_digest_get | GET /api/v1/chart/{pk}/screenshot/{digest}/ | |
api_v1_chart_pk_thumbnail_digest_get | GET /api/v1/chart/{pk}/thumbnail/{digest}/ | |
api_v1_chart_post | POST /api/v1/chart/ | |
api_v1_chart_related_column_name_get | GET /api/v1/chart/related/{column_name} |
ChartDataResponseSchema api_v1_chart_data_cache_key_get(cache_key)
Takes a query context cache key and returns payload data response for the given query.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
cache_key = 'cache_key_example' # String |
begin
result = api_instance.api_v1_chart_data_cache_key_get(cache_key)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_data_cache_key_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
cache_key | String |
- Content-Type: Not defined
- Accept: application/json
ChartDataResponseSchema api_v1_chart_data_post(body)
Takes a query context constructed in the client and returns payload data response for the given query.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
body = SwaggerClient::ChartDataQueryContextSchema.new # ChartDataQueryContextSchema | A query context consists of a datasource from which to fetch data and one or many query objects.
begin
result = api_instance.api_v1_chart_data_post(body)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_data_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | ChartDataQueryContextSchema | A query context consists of a datasource from which to fetch data and one or many query objects. |
- Content-Type: application/json
- Accept: application/json
InlineResponse400 api_v1_chart_delete(opts)
Deletes multiple Charts in a bulk operation.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
opts = {
q: SwaggerClient::GetDeleteIdsSchema.new # GetDeleteIdsSchema |
}
begin
result = api_instance.api_v1_chart_delete(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetDeleteIdsSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
String api_v1_chart_export_get(opts)
Exports multiple charts and downloads them as YAML files
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
opts = {
q: SwaggerClient::GetExportIdsSchema.new # GetExportIdsSchema |
}
begin
result = api_instance.api_v1_chart_export_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_export_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetExportIdsSchema | [optional] |
String
- Content-Type: Not defined
- Accept: application/zip, application/json
GetFavStarIdsSchema api_v1_chart_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::ChartsApi.new
opts = {
q: SwaggerClient::GetFavStarIdsSchema.new # GetFavStarIdsSchema |
}
begin
result = api_instance.api_v1_chart_favorite_status_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_favorite_status_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetFavStarIdsSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse2008 api_v1_chart_get(opts)
Get a list of charts, 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::ChartsApi.new
opts = {
q: SwaggerClient::GetListSchema.new # GetListSchema |
}
begin
result = api_instance.api_v1_chart_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetListSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_chart_import_post(form_dataoverwritepasswords)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
form_data = 'form_data_example' # String |
overwrite = true # BOOLEAN |
passwords = 'passwords_example' # String |
begin
result = api_instance.api_v1_chart_import_post(form_dataoverwritepasswords)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_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_chart_info_get(opts)
Several metadata information about chart API endpoints.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
opts = {
q: SwaggerClient::GetInfoSchema.new # GetInfoSchema |
}
begin
result = api_instance.api_v1_chart_info_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_info_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetInfoSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
ChartCacheScreenshotResponseSchema api_v1_chart_pk_cache_screenshot_get(pk, opts)
Compute and cache a screenshot.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer |
opts = {
q: SwaggerClient::ScreenshotQuerySchema.new # ScreenshotQuerySchema |
}
begin
result = api_instance.api_v1_chart_pk_cache_screenshot_get(pk, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_cache_screenshot_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
q | ScreenshotQuerySchema | [optional] |
ChartCacheScreenshotResponseSchema
- Content-Type: Not defined
- Accept: application/json
ChartDataResponseSchema api_v1_chart_pk_data_get(pk, opts)
Takes a chart ID and uses the query context stored when the chart was saved to return payload data response.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer | The chart ID
opts = {
format: 'format_example', # String | The format in which the data should be returned
type: 'type_example' # String | The type in which the data should be returned
}
begin
result = api_instance.api_v1_chart_pk_data_get(pk, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_data_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | The chart ID | |
format | String | The format in which the data should be returned | [optional] |
type | String | The type in which the data should be returned | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_chart_pk_delete(pk)
Deletes a Chart.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer |
begin
result = api_instance.api_v1_chart_pk_delete(pk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer |
- Content-Type: Not defined
- Accept: application/json
InlineResponse2009 api_v1_chart_pk_get(pk, opts)
Get a chart detail information.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer |
opts = {
q: SwaggerClient::GetItemSchema.new # GetItemSchema |
}
begin
result = api_instance.api_v1_chart_pk_get(pk, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
q | GetItemSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20010 api_v1_chart_pk_put(bodypk)
Changes a Chart.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
body = SwaggerClient::ChartRestApiPut.new # ChartRestApiPut | Chart schema
pk = 56 # Integer |
begin
result = api_instance.api_v1_chart_pk_put(bodypk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | ChartRestApiPut | Chart schema | |
pk | Integer |
- Content-Type: application/json
- Accept: application/json
String api_v1_chart_pk_screenshot_digest_get(pk, digest)
Get a computed screenshot from cache.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer |
digest = 'digest_example' # String |
begin
result = api_instance.api_v1_chart_pk_screenshot_digest_get(pk, digest)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_screenshot_digest_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
digest | String |
String
- Content-Type: Not defined
- Accept: image/*, application/json
String api_v1_chart_pk_thumbnail_digest_get(pk, digest)
Compute or get already computed chart thumbnail from cache.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
pk = 56 # Integer |
digest = 'digest_example' # String |
begin
result = api_instance.api_v1_chart_pk_thumbnail_digest_get(pk, digest)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_pk_thumbnail_digest_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
digest | String |
String
- Content-Type: Not defined
- Accept: image/*, application/json
InlineResponse2012 api_v1_chart_post(body)
Create a new Chart.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
body = SwaggerClient::ChartRestApiPost.new # ChartRestApiPost | Chart schema
begin
result = api_instance.api_v1_chart_post(body)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | ChartRestApiPost | Chart schema |
- Content-Type: application/json
- Accept: application/json
RelatedResponseSchema api_v1_chart_related_column_name_get(column_name, opts)
Get a list of all possible owners for a chart. Use owners
has the column_name
parameter
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::ChartsApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_chart_related_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ChartsApi->api_v1_chart_related_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json