I work for a Data Modeler tool. As shown below, I am trying to make a RESTful api request ( GET pools/default/buckets/) to the Couchbase server which is in Capella by using Python 3.11.x. language.
Could you please suggest me how to pass the security certificate along with the RESTful api request?
I am using below code to make a request without certificate.
Hi @perry,
I am needing bucket’s all the properties (which we can see in Bucket’s edit window on Couchbase Server WebUI) including Auto-Compaction settings, count of documents available in the bucket. By using built-in functions of the Python SDK, I am unable to get these details.
Please let me know if there is a possibility to get those details by using Python SDK.
Along with the above details, I need to care about below points also.
I want to create a bucket with all it’s settings including Auto-Compaction settings.
I wan to create a user with the roles and groups.
I want to read all users along with their roles and groups information
If you can provide these along with Python SDK, I will be more happy…
Understood @SrinivasB and thanks for the additional details. Just to confirm - are you working with Couchbase Capella or Couchbase Server in this case? Given that Couchbase Capella is a managed service, these sort of management APIs are going to differ slightly from Couchbase Server so I want to make sure I am giving you the best guidance.
Thank you @perry for your concerns.
Actually, I work for Data Modeler tool. Hence, I need both (Couchbase Serer and Couchbase Capella) cases.
For the information which I mentioned in my previous post, I need to depend on RESTful APIs. If you can be able to provide that information with Python SDK, I am glad about that.
Thank you again @SrinivasB . For Couchbase Capella, we’re in the process right now of implementing an updated set of management APIs that will be much more comprehensive than what is currently available. I think it might make sense for you to join our Discord server and discuss with me and others more directly as you’re working through each of your requirements. Would that work for you?