Difference between revisions of "/ cat/snapshots"

From wikieduonline
Jump to navigation Jump to search
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]]

Revision as of 07:23, 12 July 2022

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


Examples

AccessDenied

{
 "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

{
 "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

See also

Advertising: