· 4 years ago · Apr 30, 2021, 07:58 AM
1POST /sign-in
2{
3"user_info": {
4"email": "john.doe@databricks.com",
5"first_name": "John",
6"last_name": "Doe",
7"databricks_user_id": 1234567890,
8"databricks_organization_id": 1234567890,
9"is_new_user" : true [ true for activation, false if the user is
10
11already activated ]
12"auth": {
13"personal_access_token": "dapi..."
14// or
15"oauth_token": ...,
16"oauth_scope": ...
17}
18}
19"hostname": "organization.cloud.databricks.com",
20"port": 443,
21"workspace_url":
22"https://[organization/prefix-workspaceid/string].cloud.databricks.com/?o=1
232345677890",
24"http_path": "sql/protocolv1/o/0/0222-185802-deny427",
25"jdbc_url": "jdbc:spark://organization.cloud.databricks.com:443/...",
26"workspace_id": 1234567890, [same as user_info.organization_id]
27"staging_location": "<cloud>://<location_1>", [optional]
28"destination_location": "<cloud>://<location_2>", [optional]
29"catalog_name" : "catalog name or namespace name",[optional]
30"database_name" : "default database to use", [optional]
31"cluster_id": "0222-185802-deny427", [optional]
32"is_sql_endpoint" : true|false, [optional: this could tell the partner
33whether to use sqla endpoint api or cluster api to get the details of a
34cluster as needed]
35"data_source_connector": "Oracle" [optional: for data connector tools,
36the name of the data source that the user should be referred to in their
37tool]
38}