Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4862

API to retrieve the most recent snapshot of the backup of a replica set

    XMLWordPrintableJSON

Details

    Description

      The following API is used to retrieve info on snapshots:
      https://docs.mms.mongodb.com/reference/api/snapshots/

      However, some users want to retrieve the latest one.
      I believe the following will work because they are returned in descending order:

      /api/public/v1.0/groups/GROUP-ID/clusters/CLUSTER-ID/snapshots?pageNum=1&itemsPerPage=1
      

      Proposed changes to the doc:

      1. add the info about the snapshots returned in descending order
      2. add the above as an example

      Attachments

        Activity

          People

            bgrabar Bob Grabar
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago