@@ -10302,4 +10302,95 @@ paths:
10302
10302
summary : Return a configuration version
10303
10303
tags :
10304
10304
- Configuration
10305
+ /services/haproxy/storage/maps :
10306
+ get :
10307
+ description : Returns all available map files on disk.
10308
+ operationId : getAllStorageMapFiles
10309
+ responses :
10310
+ " 200 " :
10311
+ description : Successful operation
10312
+ schema :
10313
+ items :
10314
+ type : string
10315
+ type : array
10316
+ " 404 " :
10317
+ $ref : ' #/responses/NotFound'
10318
+ default :
10319
+ $ref : ' #/responses/DefaultError'
10320
+ summary : Return all available map files on disk
10321
+ tags :
10322
+ - Storage
10323
+ /services/haproxy/storage/maps/{name} :
10324
+ delete :
10325
+ description : Deletes map file from disk.
10326
+ operationId : deleteStorageMap
10327
+ parameters :
10328
+ - description : Map file name
10329
+ in : path
10330
+ name : name
10331
+ required : true
10332
+ type : string
10333
+ responses :
10334
+ " 204 " :
10335
+ description : Map file deleted
10336
+ " 404 " :
10337
+ $ref : ' #/responses/NotFound'
10338
+ default :
10339
+ $ref : ' #/responses/DefaultError'
10340
+ summary : Deletes map file from disk
10341
+ tags :
10342
+ - Storage
10343
+ get :
10344
+ description : Returns one map file from disk.
10345
+ operationId : getOneStorageMap
10346
+ parameters :
10347
+ - description : Map file name
10348
+ in : path
10349
+ name : name
10350
+ required : true
10351
+ type : string
10352
+ responses :
10353
+ " 200 " :
10354
+ description : Successful operation
10355
+ schema :
10356
+ type : string
10357
+ " 404 " :
10358
+ $ref : ' #/responses/NotFound'
10359
+ default :
10360
+ $ref : ' #/responses/DefaultError'
10361
+ summary : Return one map file from disk
10362
+ tags :
10363
+ - Storage
10364
+ put :
10365
+ consumes :
10366
+ - text/plain
10367
+ description : Replaces a Map file on disk.
10368
+ operationId : replaceStorageMapFile
10369
+ parameters :
10370
+ - description : Map file name
10371
+ in : path
10372
+ name : name
10373
+ required : true
10374
+ type : string
10375
+ - in : body
10376
+ name : data
10377
+ required : true
10378
+ schema :
10379
+ type : string
10380
+ produces :
10381
+ - application/json
10382
+ responses :
10383
+ " 200 " :
10384
+ description : Map file replaced
10385
+ schema :
10386
+ type : string
10387
+ " 400 " :
10388
+ $ref : ' #/responses/BadRequest'
10389
+ " 404 " :
10390
+ $ref : ' #/responses/NotFound'
10391
+ default :
10392
+ $ref : ' #/responses/DefaultError'
10393
+ summary : Replace a Map file on disk
10394
+ tags :
10395
+ - Storage
10305
10396
0 commit comments