[DOCS-11996] Example API request in Atlas Create a Cloud Provider Snapshot Restore Job docs is not valid Created: 23/Aug/18  Updated: 29/Aug/18  Resolved: 29/Aug/18

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Conchi Bueno Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: atlas, atlas-api
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:
Days since reply: 5 years, 24 weeks, 6 days ago
Epic Link: DOCSP-2982

 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)


Generated at Thu Feb 08 08:04:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.