API ReferenceGuidesChangelog
Analytics

Get Sharing SQL

Get sharing settings for a SQL query.

GET
/v1/analytics/sql/sharing/{id}

Authorization

api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X GET "https://example.com/v1/analytics/sql/sharing/string"
{  "project": {    "communityProject": {      "chain": {        "property1": {          "values": [            "string"          ]        },        "property2": {          "values": [            "string"          ]        }      },      "curated": true,      "dashAlias": "string"    },    "createdAt": "string",    "defaultTimerange": {      "end": "now",      "start": "now-1M",      "step": 86400,      "timezone": "Europe/London"    },    "description": "string",    "displayName": "string",    "enableDisk": true,    "enableMaterializedView": true,    "id": "string",    "members": [      {        "role": "string",        "user": {          "firstName": "string",          "id": "string",          "lastName": "string",          "nickname": "string",          "picture": "string",          "username": "string"        }      }    ],    "multiVersion": true,    "notificationChannels": [      {        "customHeaders": {          "property1": "string",          "property2": "string"        },        "customWebhookUrl": "string",        "emailAddress": "string",        "id": "string",        "name": "string",        "pagerdutyConfig": {},        "projectId": "string",        "slackChannel": "string",        "slackTeam": "string",        "slackWebhookUrl": "string",        "telegramChatId": "string",        "telegramReference": "string",        "type": "UNKNOWN"      }    ],    "owner": {      "organization": {        "createdAt": "string",        "displayName": "string",        "id": "string",        "logoUrl": "string",        "members": [          {            "role": "ORG_MEMBER",            "user": {              "firstName": "string",              "id": "string",              "lastName": "string",              "nickname": "string",              "picture": "string",              "username": "string"            }          }        ],        "name": "string",        "oid": "string",        "projects": [          {            "createdAt": "string",            "defaultTimerange": {              "end": "now",              "start": "now-1M",              "step": 86400,              "timezone": "Europe/London"            },            "description": "string",            "displayName": "string",            "enableDisk": true,            "enableMaterializedView": true,            "id": "string",            "multiVersion": true,            "owner": "string",            "slug": "string",            "superset": {              "createdAt": "2019-08-24T14:15:22Z",              "projectId": "string",              "syncAt": "2019-08-24T14:15:22Z"            },            "supersetEnable": true,            "type": "SENTIO",            "updatedAt": "string",            "visibility": "PUBLIC"          }        ],        "tier": "FREE",        "updatedAt": "string"      },      "tier": "FREE",      "user": {        "accountStatus": "PENDING",        "createdAt": "string",        "email": "string",        "emailVerified": true,        "firstName": "string",        "id": "string",        "identities": [          "string"        ],        "isOrganization": true,        "lastName": "string",        "locale": "string",        "nickname": "string",        "picture": "string",        "sub": "string",        "tier": "FREE",        "updatedAt": "string",        "username": "string",        "walletAddress": "string"      }    },    "ownerId": "string",    "ownerName": "string",    "sentioNetwork": true,    "slug": "string",    "superset": {      "createdAt": "2019-08-24T14:15:22Z",      "projectId": "string",      "syncAt": "2019-08-24T14:15:22Z"    },    "supersetEnable": true,    "type": "SENTIO",    "updatedAt": "string",    "views": [      {        "config": {          "eventLog": {            "columns": [              {                "accessorKey": "string",                "enableHiding": true,                "enableResizing": true,                "enableSorting": true,                "id": "string",                "name": "string",                "size": 0              }            ],            "state": {              "columnOrder": [                "string"              ],              "columnSizing": {                "property1": 0,                "property2": 0              },              "columnVisibility": {                "property1": true,                "property2": true              },              "sorting": [                {                  "desc": true,                  "id": "string"                }              ]            }          }        },        "id": "string",        "name": "string",        "projectId": "string"      }    ],    "visibility": "PUBLIC"  },  "query": {    "createdAt": "2019-08-24T14:15:22Z",    "sqlQuery": {      "name": "string",      "parameters": {        "fields": {          "property1": {            "bigdecimalValue": {              "exp": 0,              "value": {                "data": "string",                "negative": true              }            },            "bigintValue": {              "data": "string",              "negative": true            },            "boolValue": true,            "bytesValue": "string",            "floatValue": 0.1,            "int64Value": "string",            "intValue": 0,            "listValue": {              "values": [                {}              ]            },            "nullValue": "NULL_VALUE",            "stringValue": "string",            "structValue": {},            "timestampValue": "2019-08-24T14:15:22Z",            "tokenValue": {              "amount": {                "exp": 0,                "value": {                  "data": "string",                  "negative": true                }              },              "specifiedAt": "2019-08-24T14:15:22Z",              "token": {                "address": {                  "address": "string",                  "chain": "string"                },                "symbol": "string"              }            }          },          "property2": {            "bigdecimalValue": {              "exp": 0,              "value": {                "data": "string",                "negative": true              }            },            "bigintValue": {              "data": "string",              "negative": true            },            "boolValue": true,            "bytesValue": "string",            "floatValue": 0.1,            "int64Value": "string",            "intValue": 0,            "listValue": {              "values": [                {}              ]            },            "nullValue": "NULL_VALUE",            "stringValue": "string",            "structValue": {},            "timestampValue": "2019-08-24T14:15:22Z",            "tokenValue": {              "amount": {                "exp": 0,                "value": {                  "data": "string",                  "negative": true                }              },              "specifiedAt": "2019-08-24T14:15:22Z",              "token": {                "address": {                  "address": "string",                  "chain": "string"                },                "symbol": "string"              }            }          }        }      },      "queryId": "string",      "size": 0,      "sql": "string"    },    "updatedAt": "2019-08-24T14:15:22Z"  }}