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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
*A simple and pythonic Python implementation of ThoughtSpot's REST APIs (both V1 and V2).*
# LAST RELEASE NOTICE
The 1.8.8 release will be the last under the `thoughtspot_rest_api_v1 / thoughtspot-rest-api-v1` package name.

The package will transition to just `thoughtspot_rest_api / thoughtspot-rest-api` to reflect that V2.0 API is the primary API for ThoughtSpot. All code will remain the same other than the package name changing.

The repository itself will switch to a public / private mirror system at this time as well, which will break existing watching / forks.

# README

`thoughtspot_rest_api_v1` library implements the ThoughtSpot public REST APIs as directly as possible. It is not a "full SDK" with representation of each request and response type, but rather uses Python's Lists and Dicts for input and output.

Expand Down
2 changes: 1 addition & 1 deletion src/thoughtspot_rest_api_v1/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.8.7'
__version__ = '1.8.8'
7 changes: 7 additions & 0 deletions src/thoughtspot_rest_api_v1/tsrestapiv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,13 @@ def metadata_update_obj_id(self, new_obj_id: Optional[str] = None, guid: Optiona

return self.post_request(endpoint=endpoint, request=request)

def metadata_parameterize(self, request: Dict):
endpoint = 'metadata/parameterize'
return self.post_request(endpoint=endpoint, request=request)

def metadata_unparameterize(self, request: Dict):
endpoint = 'metadata/unparameterize'
return self.post_request(endpoint=endpoint, request=request)

#
# /reports/ endpoints
Expand Down
Loading