David - Reading over the Rest API docs search m...

Reading over the Rest API docs search metadata endpoint (https://developers.thoughtspot.com/docs/restV2-playground): I am trying to get results if the user has READ_ONLY -or- MODIFY. If I include multiple principles, each for the same user, but varying the share_mode it seems to count each identity as an -and- in the lookup. If I just include a single principle READ_ONLY will that also get users with higher permissions, or will I need to make two separate API calls? So far changing things to a single principle with READ_ONLY appears to be working for my use case, but do not want to be caught by any odd nuances.
1 Reply
shikharTS
shikharTS3w ago
If I just include a single principle READ_ONLY will that also get users with higher permissions, or will I need to make two separate API calls?
What do you mean by users with higher permissions, it will give you the object if the user has READ_ONLY access or higher.. I think from your use case sounds better to have more than 1 API call to get the relevant permissions..

Did you find this page helpful?