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

Example API request in Atlas Create a Cloud Provider Snapshot Restore Job docs is not valid

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Atlas

    Description

      ----------------------------

      Original Description

      Hi,

      In docs: https://docs.atlas.mongodb.com/reference/api/cloud-provider-snapshot-restore-jobs-create-one/#example-request

       

      The example request is not a valid JSON. Field "deliveryType" : ``AUTOMATION_PULL``, should be replaced by "deliveryType" : "AUTOMATION_PULL".

      When trying to use the example provided, the response is:

      {"detail":"Received JSON is malformed.","error":400,"errorCode":"MALFORMED_JSON","parameters":[],"reason":"Bad Request"}
        

       

       
      ----------------------------

      Description

      Looks like the code example above is using double ticks (``) instead of quotes.

      Scope of changes (files that need work and how much)

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

      Attachments

        Activity

          People

            Unassigned Unassigned
            conchi.bueno@mongodb.com Conchi Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 24 weeks, 6 days ago