thoughtspot.rest.api.sdk
1.9.0-beta.1
See the version list below for details.
dotnet add package thoughtspot.rest.api.sdk --version 1.9.0-beta.1
NuGet\Install-Package thoughtspot.rest.api.sdk -Version 1.9.0-beta.1
<PackageReference Include="thoughtspot.rest.api.sdk" Version="1.9.0-beta.1" />
paket add thoughtspot.rest.api.sdk --version 1.9.0-beta.1
#r "nuget: thoughtspot.rest.api.sdk, 1.9.0-beta.1"
// Install thoughtspot.rest.api.sdk as a Cake Addin #addin nuget:?package=thoughtspot.rest.api.sdk&version=1.9.0-beta.1&prerelease // Install thoughtspot.rest.api.sdk as a Cake Tool #tool nuget:?package=thoughtspot.rest.api.sdk&version=1.9.0-beta.1&prerelease
Getting Started with RESTAPI SDK
Install the Package
The SDK is available as a NuGet that you can search for and install using the NuGet GUI. You can also use the following command on the Package Manager Console:
Install-Package thoughtspot.rest.api.sdk -Version 1.9.0
You can also view the NuGet at: https://www.nuget.org/packages/thoughtspot.rest.api.sdk/1.9.0
If you are building with .NET CLI tools then you can also use the following command:
dotnet add package thoughtspot.rest.api.sdk --version 1.9.0
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
Parameter | Type | Description |
---|---|---|
XRequestedBy |
string |
Mandatory header with value Thougtspot to accept the external RestAPI requests<br>Default: "ThoughtSpot" |
AcceptLanguage |
string |
response format<br>Default: "application/json" |
ContentType |
string |
body content type for post request<br>Default: "application/json" |
BaseUrl |
string |
Default: "https://localhost:443" |
Environment |
Environment | The API environment. <br> Default: Environment.Production |
Timeout |
TimeSpan |
Http client timeout.<br>Default: TimeSpan.FromSeconds(100) |
AccessToken |
string |
The OAuth 2.0 Access Token to use for API requests. |
SkipSslCertVerification |
bool |
Specifies whether to skip SSL certificate verification.<br /> Default: false |
The API client can be initialized as follows:
RESTAPISDK.Standard.RESTAPISDKClient client = new RESTAPISDK.Standard.RESTAPISDKClient.Builder()
.AccessToken("AccessToken")
.XRequestedBy(GetEnvironmentVariable("ThoughtSpot"))
.AcceptLanguage(GetEnvironmentVariable("application/json"))
.ContentType(GetEnvironmentVariable("application/json"))
.Environment(RESTAPISDK.Standard.Environment.Production)
.BaseUrl("https://localhost:443")
.HttpClientConfig(config => config.NumberOfRetries(0))
.Build();
Authorization
This API uses OAuth 2 Bearer token
.
Guide
Live Playground
We recommend that you browse through the code playground before you start constructing your API requests. The playground offers an interactive portal with comprehensive information about the API endpoints, request and response workflows.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 11.0.2)
- Polly (>= 7.2.1)
- System.Collections.Immutable (>= 1.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.11.0-beta.1 | 193 | 4/28/2022 | |
1.10.0-beta.2 | 164 | 4/28/2022 | |
1.10.0-beta.1 | 163 | 3/29/2022 | |
1.9.0 | 536 | 4/8/2022 | |
1.9.0-beta.1 | 157 | 3/23/2022 | |
1.8.0 | 463 | 3/11/2022 |