Skip to content

Commit 4f0d36e

Browse files
Merge pull request #358 from thoughtspot/jenkins-publish-sdks-from-26.2.0.cl-1769155979878
jenkins-publish-sdks-from-26.2.0.cl
2 parents 0a2fbee + 9e129ad commit 4f0d36e

File tree

243 files changed

+23395
-7478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+23395
-7478
lines changed

api-spec/openapiSpecv3-2_0.json

Lines changed: 936 additions & 52 deletions
Large diffs are not rendered by default.

sdks/java/.openapi-generator/FILES

Lines changed: 84 additions & 0 deletions
Large diffs are not rendered by default.

sdks/java/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add this dependency to your project's POM:
1414
<dependency>
1515
<groupId>com.thoughtspot</groupId>
1616
<artifactId>rest-api-sdk</artifactId>
17-
<version>2.20.0</version>
17+
<version>2.21.0</version>
1818
<scope>compile</scope>
1919
</dependency>
2020
```
@@ -29,7 +29,7 @@ Add this dependency to your project's build file:
2929
}
3030
3131
dependencies {
32-
implementation "com.thoughtspot:rest-api-sdk:2.20.0"
32+
implementation "com.thoughtspot:rest-api-sdk:2.21.0"
3333
}
3434
```
3535

sdks/java/api/openapi.yaml

Lines changed: 946 additions & 44 deletions
Large diffs are not rendered by default.

sdks/java/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.thoughtspot'
7-
version = '2.20.0'
7+
version = '2.21.0'
88

99
buildscript {
1010
repositories {

sdks/java/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.thoughtspot",
44
name := "rest-api-sdk",
5-
version := "2.20.0",
5+
version := "2.21.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

sdks/java/docs/AiApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Version: 10.13.0.cl or later
9393
9494

9595

96-
Version: 10.13.0.cl or later Provides relevant data source recommendations for a user-submitted natural language query. To use this API, the user must have at least view-level access to the underlying metadata entities referenced in the response. #### Usage guidelines The request must include a &#x60;query&#x60; string via the request body. The returned results include metadata such as: - &#x60;confidence&#x60;: a float indicating the model&#39;s confidence in the relevance of each recommendation - &#x60;details&#x60;: includes &#x60;data_source_identifier&#x60;, &#x60;data_source_name&#x60;, and &#x60;description&#x60; of each recommended data source - &#x60;reasoning&#x60;: rationale provided by the LLM to explain why each data source was recommended If the API request is successful, ThoughtSpot returns a ranked list of data sources, each annotated with relevant reasoning. &gt; ###### Note: &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before it is made Generally Available. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster.
96+
Version: 10.15.0.cl or later Provides relevant data source recommendations for a user-submitted natural language query. To use this API, the user must have at least view-level access to the underlying metadata entities referenced in the response. #### Usage guidelines The request must include a &#x60;query&#x60; string via the request body. The returned results include metadata such as: - &#x60;confidence&#x60;: a float indicating the model&#39;s confidence in the relevance of each recommendation - &#x60;details&#x60;: includes &#x60;data_source_identifier&#x60;, &#x60;data_source_name&#x60;, and &#x60;description&#x60; of each recommended data source - &#x60;reasoning&#x60;: rationale provided by the LLM to explain why each data source was recommended If the API request is successful, ThoughtSpot returns a ranked list of data sources, each annotated with relevant reasoning. &gt; ###### Note: &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before it is made Generally Available. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster.
9797

9898
### Parameters
9999

@@ -128,7 +128,7 @@ Version: 10.13.0.cl or later
128128
129129

130130

131-
Version: 10.15.0.cl or later This API allows users to retrieve existing natural language (NL) instructions for a specific data-model. These instructions guide the AI system in understanding data context and generating more accurate responses when processing natural language queries. #### Usage guidelines To retrieve NL instructions for a data-model, the request must include: - &#x60;data_source_identifier&#x60;: The unique ID or name of the data-model to retrieve NL instructions The API returns a response object with: - &#x60;nl_instructions_info&#x60;: An array of instruction objects, each containing: - &#x60;instructions&#x60;: Array of text instructions for natural language processing - &#x60;scope&#x60;: The scope of the instruction (&#x60;GLOBAL&#x60;). It can be extended to data-model-user scope in future. #### Instructions Scope - **GLOBAL**: Instructions that apply globally across the system on the given data-model (currently only global instructions are supported) &gt; ###### Note: &gt; * To use this API, the user needs atleast view access on the data-model and they must use corresponding org related bearerToken where the data-model exists. &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * Available from version 10.15.0.cl and later. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster. &gt; * Use this API to view currently configured instructions before modifying them with &#x60;setNLInstructions&#x60;.
131+
Version: 10.15.0.cl or later This API allows users to retrieve existing natural language (NL) instructions for a specific data-model. These instructions guide the AI system in understanding data context and generating more accurate responses when processing natural language queries. #### Usage guidelines To retrieve NL instructions for a data-model, the request must include: - &#x60;data_source_identifier&#x60;: The unique ID of the data-model to retrieve NL instructions The API returns a response object with: - &#x60;nl_instructions_info&#x60;: An array of instruction objects, each containing: - &#x60;instructions&#x60;: Array of text instructions for natural language processing - &#x60;scope&#x60;: The scope of the instruction (&#x60;GLOBAL&#x60;). It can be extended to data-model-user scope in future. #### Instructions Scope - **GLOBAL**: Instructions that apply globally across the system on the given data-model (currently only global instructions are supported) &gt; ###### Note: &gt; * To use this API, the user needs atleast view access on the data-model and they must use corresponding org related bearerToken where the data-model exists. &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * Available from version 10.15.0.cl and later. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster. &gt; * Use this API to view currently configured instructions before modifying them with &#x60;setNLInstructions&#x60;.
132132

133133
### Parameters
134134

@@ -233,7 +233,7 @@ Version: 10.7.0.cl or later
233233
234234

235235

236-
Version: 10.13.0.cl or later This API allows users to initiate or continue an agent (Spotter) conversation by submitting one or more natural language messages. To use this API, the user must have access to the relevant conversational session (via conversation_identifier) and submit at least one message. #### Usage guidelines To initiate or continue a conversation, the request must include: - &#x60;conversation_identifier&#x60;: a unique session ID for continuity and message tracking - &#x60;messages&#x60;: an array of one or more text messages, each with a value and type The API returns a array of object with a type, message, and metadata. - &#x60;type&#x60;: Type of the message — text, answer, or error. - &#x60;message&#x60;: Main content of the response. - &#x60;metadata&#x60;: Additional info depending on the message type. &gt; ###### Note: &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * This endpoint requires Spotter - please contact ThoughtSpot support to enable Spotter on your cluster.
236+
Version: 10.15.0.cl or later This API allows users to initiate or continue an agent (Spotter) conversation by submitting one or more natural language messages. To use this API, the user must have access to the relevant conversational session (via conversation_identifier) and submit at least one message. #### Usage guidelines To initiate or continue a conversation, the request must include: - &#x60;conversation_identifier&#x60;: a unique session ID for continuity and message tracking - &#x60;messages&#x60;: an array of one or more text messages, each with a value and type The API returns a array of object with a type, message, and metadata. - &#x60;type&#x60;: Type of the message — text, answer, or error. - &#x60;message&#x60;: Main content of the response. - &#x60;metadata&#x60;: Additional info depending on the message type. &gt; ###### Note: &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * This endpoint requires Spotter - please contact ThoughtSpot support to enable Spotter on your cluster.
237237

238238
### Parameters
239239

@@ -340,7 +340,7 @@ Version: 10.7.0.cl or later
340340
341341

342342

343-
Version: 10.15.0.cl or later This API allows users to set natural language (NL) instructions for a specific data-model to improve AI-generated answers and query processing. These instructions help guide the AI system to better understand the data context and provide more accurate responses. #### Usage guidelines To set NL instructions for a data-model, the request must include: - &#x60;data_source_identifier&#x60;: The unique ID or name of the data-model for which to set NL instructions - &#x60;nl_instructions_info&#x60;: An array of instruction objects, each containing: - &#x60;instructions&#x60;: Array of text instructions for the LLM - &#x60;scope&#x60;: The scope of the instruction (&#x60;GLOBAL&#x60;). Currently only &#x60;GLOBAL&#x60; is supported. It can be extended to data-model-user scope in future. The API returns a response object with: - &#x60;success&#x60;: Boolean indicating whether the operation was successful #### Instructions Scope - **GLOBAL**: Instructions that apply globally for that data-model across the system &gt; ###### Note: &gt; * To use this API, the user needs either edit access or SPOTTER_COACHING_PRIVILEGE on the data-model and they must use corresponding org related bearerToken where the data-model exists. &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * Available from version 10.15.0.cl and later. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster. &gt; * Instructions help improve the accuracy and relevance of AI-generated responses for the specified data-model.
343+
Version: 10.15.0.cl or later This API allows users to set natural language (NL) instructions for a specific data-model to improve AI-generated answers and query processing. These instructions help guide the AI system to better understand the data context and provide more accurate responses. #### Usage guidelines To set NL instructions for a data-model, the request must include: - &#x60;data_source_identifier&#x60;: The unique ID of the data-model for which to set NL instructions - &#x60;nl_instructions_info&#x60;: An array of instruction objects, each containing: - &#x60;instructions&#x60;: Array of text instructions for the LLM - &#x60;scope&#x60;: The scope of the instruction (&#x60;GLOBAL&#x60;). Currently only &#x60;GLOBAL&#x60; is supported. It can be extended to data-model-user scope in future. The API returns a response object with: - &#x60;success&#x60;: Boolean indicating whether the operation was successful #### Instructions Scope - **GLOBAL**: Instructions that apply globally for that data-model across the system &gt; ###### Note: &gt; * To use this API, the user needs either edit access or SPOTTER_COACHING_PRIVILEGE on the data-model and they must use corresponding org related bearerToken where the data-model exists. &gt; * This endpoint is currently in Beta. Breaking changes may be introduced before the endpoint is made Generally Available. &gt; * Available from version 10.15.0.cl and later. &gt; * This endpoint requires Spotter — please contact ThoughtSpot Support to enable Spotter on your cluster. &gt; * Instructions help improve the accuracy and relevance of AI-generated responses for the specified data-model.
344344

345345
### Parameters
346346

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# ClusterNonEmbedAccess
4+
5+
Cluster-level non-embed access configuration.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**blockFullAppAccess** | **Boolean** | Block full application access for non-embedded usage. | [optional] |
12+
13+
14+
## Implemented Interfaces
15+
16+
* Serializable
17+
18+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# ClusterNonEmbedAccessInput
4+
5+
Input for cluster-level non-embed access configuration.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**blockFullAppAccess** | **Boolean** | Block full application access for non-embedded usage. | [optional] |
12+
13+
14+
## Implemented Interfaces
15+
16+
* Serializable
17+
18+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# ConfigureSecuritySettingsRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**clusterPreferences** | [**SecuritySettingsClusterPreferencesInput**](SecuritySettingsClusterPreferencesInput.md) | Cluster-level security preferences. | [optional] |
11+
|**orgPreferences** | [**List&lt;SecuritySettingsOrgPreferencesInput&gt;**](SecuritySettingsOrgPreferencesInput.md) | Org-level security preferences for the current org. | [optional] |
12+
13+
14+
## Implemented Interfaces
15+
16+
* Serializable
17+
18+

0 commit comments

Comments
 (0)