Oldouz - Hi everyone, I need to see which liveb...
Hi everyone, I need to see which liveboards and answer boards have been shared, and what users and user groups they have been shared with. I have used the v1/metadata/list to capture liveboards and answers . There appears to be a "isSharedViaConnection" key in the output but all the values are fals. This is for 2.5K pinboard answer books. So it appears they are all false - which is odd. I am not seeing how to get this information out of the t/2.0/security/metadata/share endpoint. Does anyone have any suggestions on how I may append the user and user group an object is shared with if it is shared?
Solution:Jump to solution
If you want to try the other way around, i.e., see which user/group has access to which object, you can try POST /api/rest/2.0/security/principals/fetch-permissions
5 Replies
See POST /api/rest/2.0/security/metadata/fetch-permissions
https://developers.thoughtspot.com/docs/rest-apiv2-reference#_security
REST API v2.0 Reference
REST API Reference
This should help you to know which user and groups have access to a particular object (Answer or Liveboard)
Solution
If you want to try the other way around, i.e., see which user/group has access to which object, you can try POST /api/rest/2.0/security/principals/fetch-permissions
You can play around with these in REST API Playground
Thank you!