Get connection
Returns the specified connection.
Request
POST
http://<хост_on-premises>/rpc/getConnection
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"connectionId": "example",
"workbookId": "example",
"bindedDatasetId": "example",
"rev_id": "example"
}
|
Name |
Description |
|
connectionId |
Type: string Example: |
|
bindedDatasetId |
Type: string | null Example: |
|
rev_id |
Type: string Example: |
|
workbookId |
Type: string | null Example: |
Responses
200 OK
Response
Body
application/json
{
"accuracy": null,
"collection_id": "null",
"counter_id": "example",
"created_at": "example",
"data_export_forbidden": "off",
"description": "",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"type": "appmetrica_api",
"updated_at": "example"
}
|
Name |
Description |
One of 13 types
-
appmetrica_api
Type: appmetrica_api1
Example
{ "accuracy": null, "collection_id": "null", "counter_id": "example", "created_at": "example", "data_export_forbidden": "off", "description": "", "id": "example", "key": "example", "meta": {}, "name": "example", "type": "appmetrica_api", "updated_at": "example" } -
chyt
Type: chyt1
Example
{ "alias": "example", "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "description": "", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "secure": true, "type": "chyt", "updated_at": "example" } -
clickhouse
Type: clickhouse1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "experimental_features": "off", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "readonly": 2, "secure": null, "ssl_ca_verify": "on", "type": "clickhouse", "updated_at": "example", "username": "example" } -
greenplum
Type: greenplum1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "enforce_collate": "auto", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "greenplum", "updated_at": "example", "username": "example" } -
json_api
Type: json_api1
Example
{ "allowed_methods": [ "GET" ], "collection_id": "null", "created_at": "example", "description": "", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "path": "example", "plain_headers": {}, "port": 0, "secret_headers": {}, "secure": true, "type": "json_api", "updated_at": "example" } -
metrika_api
Type: metrika_api1
Example
{ "accuracy": null, "collection_id": "null", "counter_id": "example", "created_at": "example", "data_export_forbidden": "off", "description": "", "id": "example", "key": "example", "meta": {}, "name": "example", "type": "metrika_api", "updated_at": "example" } -
mssql
Type: mssql1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "type": "mssql", "updated_at": "example", "username": "example" } -
mysql
Type: mysql1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "enforce_collate": "off", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "mysql", "updated_at": "example", "username": "example" } -
oracle
Type: oracle1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_connect_method": "sid", "db_name": "example", "description": "", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "oracle", "updated_at": "example", "username": "example" } -
postgres
Type: postgres1
Example
{ "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "enforce_collate": "auto", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "postgres", "updated_at": "example", "username": "example" } -
promql
Type: promql1
Example
{ "auth_type": "password", "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "host": "example", "id": "example", "key": "example", "meta": {}, "name": "example", "path": "example", "port": 0, "secure": true, "type": "promql", "updated_at": "example", "username": "example" } -
trino
Type: trino1
Example
{ "auth_type": null, "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "host": "example", "id": "example", "key": "example", "listing_sources": null, "meta": {}, "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "trino", "updated_at": "example", "username": "example" } -
ydb
Type: ydb1
Example
{ "auth_type": "anonymous", "cache_invalidation_throttling_interval_sec": null, "cache_ttl_sec": null, "collection_id": "null", "created_at": "example", "data_export_forbidden": "off", "db_name": "example", "description": "", "host": "example", "id": "example", "key": "example", "name": "example", "port": 0, "raw_sql_level": "off", "ssl_enable": "off", "type": "ydb", "updated_at": "example", "username": "example" }
appmetrica_api1
|
Name |
Description |
||
|
counter_id |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
accuracy |
Type: number | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"accuracy": null,
"collection_id": "null",
"counter_id": "example",
"created_at": "example",
"data_export_forbidden": "off",
"description": "",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"type": "appmetrica_api",
"updated_at": "example"
}
chyt1
|
Name |
Description |
||
|
alias |
Type: string Example: |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
secure |
Type: boolean |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"alias": "example",
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"secure": true,
"type": "chyt",
"updated_at": "example"
}
clickhouse1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
experimental_features |
Type: unknown Default: |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
readonly |
Type: integer Default: |
||
|
secure |
Type: unknown Example: |
||
|
ssl_ca_verify |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
||
|
username |
Type: string | null Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"experimental_features": "off",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"readonly": 2,
"secure": null,
"ssl_ca_verify": "on",
"type": "clickhouse",
"updated_at": "example",
"username": "example"
}
greenplum1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
enforce_collate |
Type: string Default: Enum: |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
ssl_enable |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"enforce_collate": "auto",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "greenplum",
"updated_at": "example",
"username": "example"
}
json_api1
|
Name |
Description |
||
|
allowed_methods |
Type: string[] Example
|
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
path |
Type: string | null Example: |
||
|
plain_headers |
Type: object | null Example
|
||
|
secret_headers |
Type: object | null Example
|
||
|
secure |
Type: boolean |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"allowed_methods": [
"GET"
],
"collection_id": "null",
"created_at": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"path": "example",
"plain_headers": {},
"port": 0,
"secret_headers": {},
"secure": true,
"type": "json_api",
"updated_at": "example"
}
metrika_api1
|
Name |
Description |
||
|
counter_id |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
accuracy |
Type: number | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"accuracy": null,
"collection_id": "null",
"counter_id": "example",
"created_at": "example",
"data_export_forbidden": "off",
"description": "",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"type": "metrika_api",
"updated_at": "example"
}
mssql1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"type": "mssql",
"updated_at": "example",
"username": "example"
}
mysql1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
enforce_collate |
Type: string Default: Enum: |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
ssl_enable |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"enforce_collate": "off",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "mysql",
"updated_at": "example",
"username": "example"
}
oracle1
|
Name |
Description |
||
|
db_connect_method |
Type: string Enum: |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
ssl_enable |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_connect_method": "sid",
"db_name": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "oracle",
"updated_at": "example",
"username": "example"
}
postgres1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
enforce_collate |
Type: string Default: Enum: |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
ssl_enable |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"enforce_collate": "auto",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "postgres",
"updated_at": "example",
"username": "example"
}
promql1
|
Name |
Description |
||
|
host |
Type: string Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
auth_type |
Type: unknown Default: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
path |
Type: string | null Example: |
||
|
secure |
Type: boolean |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
||
|
username |
Type: string | null Example: |
Example
{
"auth_type": "password",
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"meta": {},
"name": "example",
"path": "example",
"port": 0,
"secure": true,
"type": "promql",
"updated_at": "example",
"username": "example"
}
trino1
|
Name |
Description |
||
|
auth_type |
Type: unknown Example: |
||
|
host |
Type: string Example: |
||
|
listing_sources |
Type: unknown Example: |
||
|
name |
Type: string Example: |
||
|
port |
Type: integer |
||
|
username |
Type: string Example: |
||
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
||
|
cache_ttl_sec |
Type: integer | null Default: |
||
|
collection_id |
Type: string | null Default: |
||
|
created_at |
Type: string Example: |
||
|
data_export_forbidden |
Type: unknown Default: |
||
|
db_name |
Type: string | null Example: |
||
|
description |
Type: string | null Default: `` |
||
|
id |
Type: string Example: |
||
|
key |
Type: string Example: |
||
|
meta |
Type: object
Example
|
||
|
raw_sql_level |
Type: string Default: Enum: |
||
|
ssl_enable |
Type: unknown Default: |
||
|
type |
Type: string Const: Example: |
||
|
updated_at |
Type: string Example: |
Example
{
"auth_type": null,
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"listing_sources": null,
"meta": {},
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "trino",
"updated_at": "example",
"username": "example"
}
ydb1
|
Name |
Description |
|
db_name |
Type: string Example: |
|
host |
Type: string Example: |
|
name |
Type: string Example: |
|
port |
Type: integer |
|
auth_type |
Type: string | null Enum: Example: |
|
cache_invalidation_throttling_interval_sec |
Type: integer | null Default: |
|
cache_ttl_sec |
Type: integer | null Default: |
|
collection_id |
Type: string | null Default: |
|
created_at |
Type: string Example: |
|
data_export_forbidden |
Type: unknown Default: |
|
description |
Type: string | null Default: `` |
|
id |
Type: string Example: |
|
key |
Type: string Example: |
|
raw_sql_level |
Type: string Default: Enum: |
|
ssl_enable |
Type: unknown Default: |
|
type |
Type: string Const: Example: |
|
updated_at |
Type: string Example: |
|
username |
Type: string | null Example: |
Example
{
"auth_type": "anonymous",
"cache_invalidation_throttling_interval_sec": null,
"cache_ttl_sec": null,
"collection_id": "null",
"created_at": "example",
"data_export_forbidden": "off",
"db_name": "example",
"description": "",
"host": "example",
"id": "example",
"key": "example",
"name": "example",
"port": 0,
"raw_sql_level": "off",
"ssl_enable": "off",
"type": "ydb",
"updated_at": "example",
"username": "example"
}