Vikaschandra
Vikaschandra
TFDThoughtSpot For Developers
Created by Vikaschandra on 8/9/2024 in #dev-help
Hello @ashish,
Thanks @shikharTS and @Justin Mathew , Now I am able to show a custom message.
3 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 7/30/2024 in #dev-help
Unable to delete groups through APIs
@RT @shikharTS @ashish Thanks, guys, Now I can delete the Group by using the token from its belonging Org. However, is there any way ? Can I delete a group of any Org using the primary Org token?
9 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 7/30/2024 in #dev-help
Unable to delete groups through APIs
I am using the ts-admin token.
9 replies
TFDThoughtSpot For Developers
Created by Murali Krishna on 7/31/2024 in #dev-help
Hello team, This is Murali from Virsec.
@Murali Krishna Have you tried TrustedAuthTokenCookieless ? It's quite easy to embed using it, you'll just need the token of the logged-in user.
19 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 7/30/2024 in #dev-help
Unable to delete groups through APIs
Hello @ashish, Do you have any updates on this? FYI: We are using the correct Group Id which we are fetching using the "https://my-company.thoughtspot.cloud/api/rest/2.0/groups/search". After getting the above error, if we pass the same ID to search, we get that group. Any help will be appreciated. Thanks,
9 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/25/2024 in #dev-help
Cert issue
Hello, We are using app.unifieddatastudio.com as custom domain , we have added CNAME entry for app.unifieddatastudio.com with value q1media.thoughtspot.cloud and app.unifieddatastudio.com showing our cluster login but we are facing issue with SSL, its showing attached screenshot issue.
4 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/16/2024 in #dev-help
Hey all, I am trying to make curl calls
No description
10 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/16/2024 in #dev-help
Hey all, I am trying to make curl calls
@ashish do you have any updates for me ? I shared a sample with you.
10 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/16/2024 in #dev-help
Hey all, I am trying to make curl calls
Additional information: I have noticed that automatic cookies are not getting set after a successful call to the thought spot login API. So we have tried setting cookies manually using, setcookie('JSESSIONID', '7b61523a-49d3-4d73-a1a1-7a44409ed2da', strtotime('2024-04-23T10:21:59.556Z'), '/', 'q1media.thoughtspot.cloud', true, true); But it's not working, we have tried removing the domain from the cookie and it's getting set but for the localhost domain, not the thoughtspot.
10 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/16/2024 in #dev-help
Hey all, I am trying to make curl calls
$url = 'https://<host>/api/rest/2.0/auth/session/login'; $data = array( 'remember_me' => 'true', 'username' => 'username', 'password' => 'password', 'org_identifier' => '0' ); $data = json_encode($data); $headers = array( 'User-Agent: ---', 'X-Requested-By: ThoughtSpot', 'Authorization: token', 'Content-Type: application/json' ); $api_request = array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_HTTPHEADER => $headers, CURLOPT_HEADER => true, CURLOPT_VERBOSE => true, ); $ch = curl_init(); curl_setopt_array($ch, $api_request); $api_response = curl_exec($ch); $http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE); $header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE); $response_headers = substr($api_response, 0, $header_size); echo "Response Headers:\n$response_headers\n"; if ($http_status == 204) { echo "API request successful. HTTP Status Code: $http_status"; } else { echo "API request failed. HTTP Status Code: $http_status"; } curl_close($ch); If you have some samples using JavaScript, can you please share it with me?
10 replies
TFDThoughtSpot For Developers
Created by Vikaschandra on 4/16/2024 in #dev-help
Hey all, I am trying to make curl calls
I have already embedded and used SDK in the React app, and everything was working fine with that, but now the requirements have changed and we want to implement it in PHP. Any help will be appreciated.
10 replies