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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Atlas
    • Labels:

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

      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)

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

              Created:
              Updated:
              Resolved:
              5 years, 35 weeks, 5 days ago