File tree Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Expand file tree Collapse file tree 3 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ content: |
9
9
Get One (Cluster) </reference/api/snapshots/get-one-snapshot-for-one-cluster>
10
10
Change Expiry </reference/api/snapshots/change-expiry-for-one-snapshot>
11
11
Remove One </reference/api/snapshots/remove-one-snapshot-from-one-cluster>
12
- Create One On-Demand (Cluster) </reference/api/snapshots/take-an-on-demand-snapshot>
13
12
Get All (Config Server) </reference/api/snapshots/get-all-snapshots-for-config-server>
14
13
Get One (Config Server) </reference/api/snapshots/get-one-snapshot-for-config-server>
15
14
15
+
16
16
...
Original file line number Diff line number Diff line change @@ -49,13 +49,11 @@ The following lists the endpoints available for snapshots.
49
49
- :doc:`/groups/{groupId}/clusters/{clusterId}/snapshots/{snapshotId} </reference/api/snapshots/remove-one-snapshot-from-one-cluster>`
50
50
- Remove one snapshot.
51
51
52
- :gold:`IMPORTANT:` To delete a snapshot, you must issue the
53
- request from an IP address on your user account's
54
- :ref:`access list <access-list-for-api-operations>`.
55
-
56
- * - POST
57
- - :doc:`/groups/{groupId}/clusters/{clusterId}/snapshots/onDemandSnapshot </reference/api/snapshots/take-an-on-demand-snapshot>`
58
- - Create one on-demand snapshot for a cluster.
52
+ .. important::
53
+
54
+ To delete a snapshot, you must issue the request from an IP
55
+ address on your user account's
56
+ :ref:`access list <access-list-for-api-operations>`.
59
57
60
58
.. important:: Deprecated when using MongoDB 3.4
61
59
Original file line number Diff line number Diff line change 1
- ============================
2
- Create an On-Demand Snapshot
3
- ============================
1
+ ==========================
2
+ Take an On-Demand Snapshot
3
+ ==========================
4
4
5
5
.. default-domain:: mongodb
6
6
@@ -51,21 +51,17 @@ Request Path Parameters
51
51
Request Query Parameters
52
52
~~~~~~~~~~~~~~~~~~~~~~~~
53
53
54
+ The following query parameters are optional:
55
+
54
56
.. list-table::
55
57
:widths: 20 14 11 45 10
56
58
:header-rows: 1
57
59
:stub-columns: 1
58
60
59
- * - Name
60
- - Type
61
- - Necessity
62
- - Description
63
- - Example
64
-
65
61
* - retentionDays
66
62
- number
67
63
- Required
68
- - Integer that indicates the number of days the on-demand
64
+ - Integer that indicates the number of days the the on-demand
69
65
snapshot will be retained. Must be greater than 0.
70
66
- ``15``
71
67
@@ -106,14 +102,14 @@ Example Response
106
102
----------------
107
103
108
104
Response Header
109
- ~~~~~~~~~~~~~~~~
105
+ +++++++++++++++
110
106
111
107
.. include:: /includes/api/api-headers/401.rst
112
108
113
109
.. include:: /includes/api/api-headers/200.rst
114
110
115
111
Response Body
116
- ~~~~~~~~~~~~~~~~
112
+ +++++++++++++
117
113
118
114
.. code-block:: json
119
115
You can’t perform that action at this time.
0 commit comments