Difference between revisions of "/ cat/snapshots"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
  -X POST [[/_cat/]]snapshot
 
  -X POST [[/_cat/]]snapshot
  
  -X GET [[/_cat/snapshots/[[your_repo]]</code>
+
  -X [[GET /_cat/snapshots/your_repo]]</code>
  
 
  [[/_cat/snapshots/yourrepo]]
 
  [[/_cat/snapshots/yourrepo]]
Line 51: Line 51:
 
* <code>[[/_cat/]]</code>
 
* <code>[[/_cat/]]</code>
 
* <code>[[/_cat/repositories]]</code>
 
* <code>[[/_cat/repositories]]</code>
* <code>[[/_snapshot]]</code>
+
* <code>[[/_snapshot/]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 20:15, 20 September 2022

-X POST /_cat/snapshot
-X GET /_cat/snapshots/your_repo
/_cat/snapshots/yourrepo


Examples[edit]

AccessDenied[edit]

{
 "error" : {
   "root_cause" : [
     {
       "type" : "repository_exception",
       "reason" : "[your_repo] Could not determine repository generation from root blobs"
     }
   ],
   "type" : "repository_exception",
   "reason" : "[your_repo] Could not determine repository generation from root blobs",
   "caused_by" : {
     "type" : "i_o_exception",
     "reason" : "Exception when listing blobs by prefix [index-]",
     "caused_by" : {
       "type" : "amazon_s3_exception",
       "reason" : "amazon_s3_exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 2P32JxxxxNQ1RT8T; S3 Extended Request ID: G/SURTMm9xuOXXXXIxnYXjC6JHo=)"
     }
   }
 },
 "status" : 500
}

Repository is missing[edit]

{
 "error": {
   "root_cause": [
     {
       "type": "action_request_validation_exception",
       "reason": "Validation Failed: 1: repository is missing;"
     }
   ],
   "type": "action_request_validation_exception",
   "reason": "Validation Failed: 1: repository is missing;"
 },
 "status": 400
}

Related[edit]

See also[edit]

Advertising: