All URIs are relative to http://superset.data-us-east4.clusters.production.universe.engineer/
Method | HTTP request | Description |
---|---|---|
api_v1_query_distinct_column_name_get | GET /api/v1/query/distinct/{column_name} | |
api_v1_query_get | GET /api/v1/query/ | |
api_v1_query_pk_get | GET /api/v1/query/{pk} | |
api_v1_query_related_column_name_get | GET /api/v1/query/related/{column_name} | |
api_v1_saved_query_delete | DELETE /api/v1/saved_query/ | |
api_v1_saved_query_distinct_column_name_get | GET /api/v1/saved_query/distinct/{column_name} | |
api_v1_saved_query_export_get | GET /api/v1/saved_query/export/ | |
api_v1_saved_query_get | GET /api/v1/saved_query/ | |
api_v1_saved_query_import_post | POST /api/v1/saved_query/import/ | |
api_v1_saved_query_info_get | GET /api/v1/saved_query/_info | |
api_v1_saved_query_pk_delete | DELETE /api/v1/saved_query/{pk} | |
api_v1_saved_query_pk_get | GET /api/v1/saved_query/{pk} | |
api_v1_saved_query_pk_put | PUT /api/v1/saved_query/{pk} | |
api_v1_saved_query_post | POST /api/v1/saved_query/ | |
api_v1_saved_query_related_column_name_get | GET /api/v1/saved_query/related/{column_name} |
DistincResponseSchema api_v1_query_distinct_column_name_get(column_name, opts)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_query_distinct_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_query_distinct_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20037 api_v1_query_get(opts)
Get a list of queries, 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::QueriesApi.new
opts = {
q: SwaggerClient::GetListSchema.new # GetListSchema |
}
begin
result = api_instance.api_v1_query_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_query_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetListSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20038 api_v1_query_pk_get(pk, opts)
Get query detail information.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
pk = 56 # Integer |
opts = {
q: SwaggerClient::GetItemSchema.new # GetItemSchema |
}
begin
result = api_instance.api_v1_query_pk_get(pk, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_query_pk_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
q | GetItemSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
RelatedResponseSchema api_v1_query_related_column_name_get(column_name, opts)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_query_related_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_query_related_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_saved_query_delete(opts)
Deletes multiple saved queries in a bulk operation.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
opts = {
q: SwaggerClient::GetDeleteIdsSchema.new # GetDeleteIdsSchema |
}
begin
result = api_instance.api_v1_saved_query_delete(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetDeleteIdsSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
DistincResponseSchema api_v1_saved_query_distinct_column_name_get(column_name, opts)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_saved_query_distinct_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_distinct_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
String api_v1_saved_query_export_get(opts)
Exports multiple saved queries and downloads them as YAML files
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
opts = {
q: SwaggerClient::GetExportIdsSchema.new # GetExportIdsSchema |
}
begin
result = api_instance.api_v1_saved_query_export_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_export_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetExportIdsSchema | [optional] |
String
- Content-Type: Not defined
- Accept: application/zip, application/json
InlineResponse20044 api_v1_saved_query_get(opts)
Get a list of saved queries, 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::QueriesApi.new
opts = {
q: SwaggerClient::GetListSchema.new # GetListSchema |
}
begin
result = api_instance.api_v1_saved_query_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetListSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_saved_query_import_post(form_dataoverwritepasswords)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
form_data = 'form_data_example' # String |
overwrite = true # BOOLEAN |
passwords = 'passwords_example' # String |
begin
result = api_instance.api_v1_saved_query_import_post(form_dataoverwritepasswords)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_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_saved_query_info_get(opts)
Get metadata information about this API resource
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
opts = {
q: SwaggerClient::GetInfoSchema.new # GetInfoSchema |
}
begin
result = api_instance.api_v1_saved_query_info_get(opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_info_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
q | GetInfoSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse400 api_v1_saved_query_pk_delete(pk)
Delete saved query
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
pk = 56 # Integer |
begin
result = api_instance.api_v1_saved_query_pk_delete(pk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_pk_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20045 api_v1_saved_query_pk_get(pk, opts)
Get a saved query
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
pk = 56 # Integer |
opts = {
q: SwaggerClient::GetItemSchema.new # GetItemSchema |
}
begin
result = api_instance.api_v1_saved_query_pk_get(pk, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_pk_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pk | Integer | ||
q | GetItemSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json
InlineResponse20046 api_v1_saved_query_pk_put(bodypk)
Update a saved query
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
body = SwaggerClient::SavedQueryRestApiPut.new # SavedQueryRestApiPut | Model schema
pk = 56 # Integer |
begin
result = api_instance.api_v1_saved_query_pk_put(bodypk)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_pk_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | SavedQueryRestApiPut | Model schema | |
pk | Integer |
- Content-Type: application/json
- Accept: application/json
InlineResponse20114 api_v1_saved_query_post(body)
Create a saved query
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
body = SwaggerClient::SavedQueryRestApiPost.new # SavedQueryRestApiPost | Model schema
begin
result = api_instance.api_v1_saved_query_post(body)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | SavedQueryRestApiPost | Model schema |
- Content-Type: application/json
- Accept: application/json
RelatedResponseSchema api_v1_saved_query_related_column_name_get(column_name, opts)
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
end
api_instance = SwaggerClient::QueriesApi.new
column_name = 'column_name_example' # String |
opts = {
q: SwaggerClient::GetRelatedSchema.new # GetRelatedSchema |
}
begin
result = api_instance.api_v1_saved_query_related_column_name_get(column_name, opts)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling QueriesApi->api_v1_saved_query_related_column_name_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
column_name | String | ||
q | GetRelatedSchema | [optional] |
- Content-Type: Not defined
- Accept: application/json