https://cloud.mongodb.com
MongoDB Atlas Administration API 允许开发者管理 MongoDB Atlas 中的所有组件。
Atlas Administration API 使用 OAuth2 服务帐户或 HTTP 摘要式身份验证来对请求进行身份验证。构造 HTTP 请求时,提供编程式 API 公钥和相应的私钥作为用户名和密码。例如,要使用 cURL 返回数据库访问历史记录,请在终端运行以下命令:
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" \
--digest \
--header "Accept: application/vnd.atlas.2023-11-15+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true"
要了解更多信息,请参阅 Atlas Administration API 入门。如需支持,请参阅 MongoDB 支持。
您还可以通过 MongoDB 的 Postman 工作区中的 Atlas Administration API 浏览各种可用的终结点。
这是此API文档的 2.0
版本。上次更新日期:10 月 2,2025。
此API根据 CC BY-NC-SA 3.0 US 许可提供。