Skip to content

Commit 74679ea

Browse files
authored
Revert "(DOCSP-45304) adds api documentation for taking an on demand snapshot-v6.0-backport (633)" (#763)
Reverts 10gen/docs-ops-manager#760
1 parent 9f5dfcb commit 74679ea

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

source/includes/extracts-api-toc-snapshots.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ content: |
99
Get One (Cluster) </reference/api/snapshots/get-one-snapshot-for-one-cluster>
1010
Change Expiry </reference/api/snapshots/change-expiry-for-one-snapshot>
1111
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>
1312
Get All (Config Server) </reference/api/snapshots/get-all-snapshots-for-config-server>
1413
Get One (Config Server) </reference/api/snapshots/get-one-snapshot-for-config-server>
1514
15+
1616
...

source/reference/api/snapshots.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,11 @@ The following lists the endpoints available for snapshots.
4949
- :doc:`/groups/{groupId}/clusters/{clusterId}/snapshots/{snapshotId} </reference/api/snapshots/remove-one-snapshot-from-one-cluster>`
5050
- Remove one snapshot.
5151

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>`.
5957

6058
.. important:: Deprecated when using MongoDB 3.4
6159

source/reference/api/snapshots/take-an-on-demand-snapshot.txt

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
============================
2-
Create an On-Demand Snapshot
3-
============================
1+
==========================
2+
Take an On-Demand Snapshot
3+
==========================
44

55
.. default-domain:: mongodb
66

@@ -51,21 +51,17 @@ Request Path Parameters
5151
Request Query Parameters
5252
~~~~~~~~~~~~~~~~~~~~~~~~
5353

54+
The following query parameters are optional:
55+
5456
.. list-table::
5557
:widths: 20 14 11 45 10
5658
:header-rows: 1
5759
:stub-columns: 1
5860

59-
* - Name
60-
- Type
61-
- Necessity
62-
- Description
63-
- Example
64-
6561
* - retentionDays
6662
- number
6763
- Required
68-
- Integer that indicates the number of days the on-demand
64+
- Integer that indicates the number of days the the on-demand
6965
snapshot will be retained. Must be greater than 0.
7066
- ``15``
7167

@@ -106,14 +102,14 @@ Example Response
106102
----------------
107103

108104
Response Header
109-
~~~~~~~~~~~~~~~~
105+
+++++++++++++++
110106

111107
.. include:: /includes/api/api-headers/401.rst
112108

113109
.. include:: /includes/api/api-headers/200.rst
114110

115111
Response Body
116-
~~~~~~~~~~~~~~~~
112+
+++++++++++++
117113

118114
.. code-block:: json
119115

0 commit comments

Comments
 (0)