Improvement to Atlas API - return the cluster name in the json
Hi,
We use Atlas administration API extensively in some admin apps we created over Atlas. For example, we use the get all processes in project to get all the node names in a project and then iterate over them to perform various operations. For some of the operations, we need also the cluster name.
Until recently, we could count on the userAlias part of the returned json to get the cluster name. It is an anti-pattern to rely on string manipulations but it was working. Now, when some clusters are migrated from serverless and/or flex and stay with the shared node names, this is broken.
I think it would be great it you would just add to the returned json (at least for this API, but for others as well) - the cluster name the node / disk belong to. As this is an additional field in the json and not a change in one, this should not be a breaking change so it should be easy to add with little risk.
Thanks,
Oren
