Regan - Hi team, I'm using the Rest API v2 to c...

Hi team, I'm using the Rest API v2 to create a connection and passing in the required databases, tables, schemas and columns. This is all working great but I also want to set up the joins as well as part of this. Is this possible to do inside the create connection endpoint? I can see that theres a relationship object on the tables object which I assume is where you would set this up but I cant find anything about what this object is https://developers.thoughtspot.com/docs/restV2-playground?apiResourceId=http%2Fmodels%2Fstructures%2Ftable
REST API v2.0 Playground
ThoughtSpot REST API v2.0 Playground
2 Replies
Sandeep
Sandeep2w ago
Hi @Regan: Currently, this is not feasible. Connection APIs are designed specifically for schemas, tables, and columns—they do not support creating relationships. At this time, there are no public APIs available for creating relationships. Could you please file a feature request for this via Support Case? My Bad, this is feasible
Sandeep
Sandeep2w ago
This is the sample which demonstrates how this can be done. Could you please give it a try and let us know if this helps.

Did you find this page helpful?