Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,173 changes: 2,021 additions & 152 deletions api-spec/openapiSpecv3-2_0.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions sdks/java/.openapi-generator/FILES

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sdks/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.thoughtspot</groupId>
<artifactId>rest-api-sdk</artifactId>
<version>2.22.0</version>
<version>2.23.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -29,7 +29,7 @@ Add this dependency to your project's build file:
}

dependencies {
implementation "com.thoughtspot:rest-api-sdk:2.22.0"
implementation "com.thoughtspot:rest-api-sdk:2.23.0"
}
```

Expand Down
2,655 changes: 2,383 additions & 272 deletions sdks/java/api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdks/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.thoughtspot'
version = '2.22.0'
version = '2.23.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion sdks/java/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.thoughtspot",
name := "rest-api-sdk",
version := "2.22.0",
version := "2.23.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
44 changes: 33 additions & 11 deletions sdks/java/docs/AiApi.md

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions sdks/java/docs/ChannelHistoryEventInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@


# ChannelHistoryEventInfo

Event metadata for the triggering event associated with a job.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | [**TypeEnum**](#TypeEnum) | Type of the event. | |
|**id** | **String** | Unique ID of the event. | |
|**name** | **String** | Name of the event. | [optional] |
|**runId** | **String** | Unique run ID for this event execution. | [optional] |



## Enum: TypeEnum

| Name | Value |
|---- | -----|
| LIVEBOARD_SCHEDULE | &quot;LIVEBOARD_SCHEDULE&quot; |


## Implemented Interfaces

* Serializable


27 changes: 27 additions & 0 deletions sdks/java/docs/ChannelHistoryEventInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@


# ChannelHistoryEventInput

Event specification for channel history search.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | [**TypeEnum**](#TypeEnum) | Type of the event. | |
|**identifier** | **String** | Unique ID or name of the event. | [optional] |



## Enum: TypeEnum

| Name | Value |
|---- | -----|
| LIVEBOARD_SCHEDULE | &quot;LIVEBOARD_SCHEDULE&quot; |


## Implemented Interfaces

* Serializable


35 changes: 35 additions & 0 deletions sdks/java/docs/ChannelHistoryJob.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@


# ChannelHistoryJob

A single job execution record for a channel.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | Unique identifier for this job. | |
|**status** | [**StatusEnum**](#StatusEnum) | Delivery status of this job. | |
|**creationTimeInMillis** | **Float** | Timestamp when this job was created (epoch milliseconds). | |
|**event** | [**ChannelHistoryEventInfo**](ChannelHistoryEventInfo.md) | | [optional] |
|**recipients** | [**List&lt;JobRecipient&gt;**](JobRecipient.md) | The users, groups or external recipients for this job. | [optional] |
|**detail** | **String** | Additional delivery details such as HTTP response code or error message. | [optional] |
|**tryCount** | **Integer** | Number of attempts made. 1 indicates first attempt. | [optional] |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| PENDING | &quot;PENDING&quot; |
| RETRY | &quot;RETRY&quot; |
| SUCCESS | &quot;SUCCESS&quot; |
| FAILED | &quot;FAILED&quot; |


## Implemented Interfaces

* Serializable


20 changes: 20 additions & 0 deletions sdks/java/docs/ChannelValidationAwsS3Info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


# ChannelValidationAwsS3Info

AWS S3 storage information returned from a validation step.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**bucketName** | **String** | Name of the S3 bucket. | [optional] |
|**fileName** | **String** | Name of the uploaded file. | [optional] |
|**objectKey** | **String** | Key of the object in S3 storage. | [optional] |


## Implemented Interfaces

* Serializable


40 changes: 40 additions & 0 deletions sdks/java/docs/ChannelValidationDetail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


# ChannelValidationDetail

Validation detail result for a sub-step.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**validationStep** | [**ValidationStepEnum**](#ValidationStepEnum) | The validation step that was performed. | |
|**status** | [**StatusEnum**](#StatusEnum) | Status of this validation step. | |
|**httpStatus** | **Integer** | HTTP status code returned by the channel (if applicable). | [optional] |
|**errorMessage** | **String** | Error message from the channel or validation process. | [optional] |
|**awsS3Info** | [**ChannelValidationAwsS3Info**](ChannelValidationAwsS3Info.md) | | [optional] |



## Enum: ValidationStepEnum

| Name | Value |
|---- | -----|
| HTTP_CONNECTION_CHECK | &quot;HTTP_CONNECTION_CHECK&quot; |
| STORAGE_FILE_UPLOAD_CHECK | &quot;STORAGE_FILE_UPLOAD_CHECK&quot; |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| SUCCESS | &quot;SUCCESS&quot; |
| FAILED | &quot;FAILED&quot; |


## Implemented Interfaces

* Serializable


26 changes: 26 additions & 0 deletions sdks/java/docs/Collection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@


# Collection

Response object for a collection.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **String** | Unique identifier of the collection. | |
|**name** | **String** | Name of the collection. | |
|**description** | **String** | Description of the collection. | [optional] |
|**metadata** | [**List&lt;CollectionMetadataItem&gt;**](CollectionMetadataItem.md) | Metadata objects in the collection. | [optional] |
|**createdAt** | **String** | Creation timestamp in milliseconds. | [optional] |
|**updatedAt** | **String** | Last updated timestamp in milliseconds. | [optional] |
|**authorName** | **String** | Name of the author who created the collection. | [optional] |
|**authorId** | **String** | Unique identifier of the author. | [optional] |
|**org** | [**CollectionEntityIdentifier**](CollectionEntityIdentifier.md) | | [optional] |


## Implemented Interfaces

* Serializable


19 changes: 19 additions & 0 deletions sdks/java/docs/CollectionDeleteResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


# CollectionDeleteResponse

Response object for delete collection operation.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**metadataDeleted** | [**List&lt;CollectionDeleteTypeIdentifiers&gt;**](CollectionDeleteTypeIdentifiers.md) | List of metadata objects that were successfully deleted. | [optional] |
|**metadataSkipped** | [**List&lt;CollectionDeleteTypeIdentifiers&gt;**](CollectionDeleteTypeIdentifiers.md) | List of metadata objects that were skipped during deletion. Objects may be skipped due to lack of permissions, dependencies, or other constraints. | [optional] |


## Implemented Interfaces

* Serializable


19 changes: 19 additions & 0 deletions sdks/java/docs/CollectionDeleteTypeIdentifiers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


# CollectionDeleteTypeIdentifiers

Group of metadata objects identified by type.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | **String** | Type of the metadata object (e.g., Collection, Worksheet, Table). | [optional] |
|**identifiers** | [**List&lt;GenericInfo&gt;**](GenericInfo.md) | List of metadata identifiers belonging to the given type. | [optional] |


## Implemented Interfaces

* Serializable


19 changes: 19 additions & 0 deletions sdks/java/docs/CollectionEntityIdentifier.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


# CollectionEntityIdentifier

Entity identifier with name.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**identifier** | **String** | Unique identifier of the entity. | [optional] |
|**name** | **String** | Name of the entity. | [optional] |


## Implemented Interfaces

* Serializable


30 changes: 30 additions & 0 deletions sdks/java/docs/CollectionMetadataInput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@


# CollectionMetadataInput

Input type for metadata to be added to a collection.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | [**TypeEnum**](#TypeEnum) | Type of metadata object. | |
|**identifiers** | **List&lt;String&gt;** | List of unique IDs or names of metadata objects. | |



## Enum: TypeEnum

| Name | Value |
|---- | -----|
| LIVEBOARD | &quot;LIVEBOARD&quot; |
| ANSWER | &quot;ANSWER&quot; |
| LOGICAL_TABLE | &quot;LOGICAL_TABLE&quot; |
| COLLECTION | &quot;COLLECTION&quot; |


## Implemented Interfaces

* Serializable


19 changes: 19 additions & 0 deletions sdks/java/docs/CollectionMetadataItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@


# CollectionMetadataItem

Metadata item in a collection response.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**type** | **String** | Type of the metadata object. | [optional] |
|**identifiers** | [**List&lt;CollectionEntityIdentifier&gt;**](CollectionEntityIdentifier.md) | List of identifiers for this metadata type. | [optional] |


## Implemented Interfaces

* Serializable


22 changes: 22 additions & 0 deletions sdks/java/docs/CollectionSearchResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@


# CollectionSearchResponse

Response object for search collections operation.

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**collections** | [**List&lt;Collection&gt;**](Collection.md) | List of collections matching the search criteria. | |
|**recordOffset** | **Integer** | The starting record number from where the records are included. | [optional] |
|**recordSize** | **Integer** | The number of records returned. | [optional] |
|**isLastBatch** | **Boolean** | Indicates if this is the last batch of results. | [optional] |
|**count** | **Integer** | Total count of records returned. | [optional] |


## Implemented Interfaces

* Serializable


Loading
Loading