Details
-
Typo
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
-
KANBAN BUCKET
Description
Description
Hi there,
I've just detected that Create One Restore Job for One Cluster > Example Request page is currently listing an example which will never work due to a typo.
Current example for HTTP Restore,
curl --user "{USERNAME}:{APIKEY}" --digest \
|
--header "Accept: application/json" \
|
--header "Content-Type: application/json" \
|
--include \
|
--request POST "https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0/groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/restoreJobs?pretty=true" \
|
--data '
|
{
|
"delivery" : {
|
"expirationHours" : "1",
|
"maxDownloads" : "1"
|
"methodName" : "HTTP"
|
},
|
"snapshotId" : "{SNAPSHOT-ID}"
|
}'
|
Should be (missing comma sign after `maxDownloads`),
curl --user "{USERNAME}:{APIKEY}" --digest \
|
--header "Accept: application/json" \
|
--header "Content-Type: application/json" \
|
--include \
|
--request POST "https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0/groups/{GROUP-ID}/clusters/{CLUSTER-NAME}/restoreJobs?pretty=true" \
|
--data '
|
{
|
"delivery" : {
|
"expirationHours" : "1",
|
"maxDownloads" : "1",
|
"methodName" : "HTTP"
|
},
|
"snapshotId" : "{SNAPSHOT-ID}"
|
}'
|
Could you please have a look and fix?
Thanks a lot in advance,
Alexey
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- links to