Delphi (ActiveX) / MongoDB Atlas / Get all Online Archives for Cluster
Back to Collection Items
var
begin
http.DigestAuth := 1;http.Login := 'username';http.Password := 'password';success := http.QuickGetSb('https://domain.com/api/atlas/{{version}}/groups/{{ProjectID}}/clusters/{{CLUSTER-NAME}}/onlineArchives',sbResponseBody.ControlInterface);
Curl Command
curl -X GET
--digest -u 'username:password'
https://domain.com/api/atlas/{{version}}/groups/{{ProjectID}}/clusters/{{CLUSTER-NAME}}/onlineArchives
Postman Collection Item JSON
{
"name": "Get all Online Archives for Cluster",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{base_url}}/api/atlas/{{version}}/groups/{{ProjectID}}/clusters/{{CLUSTER-NAME}}/onlineArchives",
"host": [
"{{base_url}}"
],
"path": [
"api",
"atlas",
"{{version}}",
"groups",
"{{ProjectID}}",
"clusters",
"{{CLUSTER-NAME}}",
"onlineArchives"
]
},
"description": "https://docs.atlas.mongodb.com/reference/api/online-archive-get-all-for-cluster/#std-label-api-online-archive-get-all-for-clstr"
},
"response": [
]
}