@@ -10031,8 +10031,15 @@ paths:
10031
10031
- StickTable
10032
10032
/services/haproxy/runtime/maps :
10033
10033
get :
10034
- description : Returns all available map files.
10034
+ description : Returns runtime map files.
10035
10035
operationId : getAllRuntimeMapFiles
10036
+ parameters :
10037
+ - default : false
10038
+ description : If true, also show unmanaged map files loaded in haproxy
10039
+ in : query
10040
+ name : includeUnmanaged
10041
+ required : false
10042
+ type : boolean
10036
10043
responses :
10037
10044
" 200 " :
10038
10045
description : Successful operation
@@ -10042,41 +10049,7 @@ paths:
10042
10049
$ref : ' #/responses/NotFound'
10043
10050
default :
10044
10051
$ref : ' #/responses/DefaultError'
10045
- summary : Return all available map files
10046
- tags :
10047
- - Maps
10048
- post :
10049
- consumes :
10050
- - multipart/form-data
10051
- description : Creates runtime map file with its entries.
10052
- operationId : createRuntimeMap
10053
- parameters :
10054
- - description : The map file to upload
10055
- in : formData
10056
- name : fileUpload
10057
- type : file
10058
- x-mimetype : text/plain
10059
- - $ref : ' #/parameters/force_reload'
10060
- responses :
10061
- " 201 " :
10062
- description : Map file created with its entries
10063
- schema :
10064
- $ref : ' #/definitions/map'
10065
- " 202 " :
10066
- description : Configuration change accepted and reload requested
10067
- headers :
10068
- Reload-ID :
10069
- description : ID of the requested reload
10070
- type : string
10071
- schema :
10072
- $ref : ' #/definitions/map'
10073
- " 400 " :
10074
- $ref : ' #/responses/BadRequest'
10075
- " 409 " :
10076
- $ref : ' #/responses/AlreadyExists'
10077
- default :
10078
- $ref : ' #/responses/DefaultError'
10079
- summary : Creates runtime map file with its entries
10052
+ summary : Return runtime map files
10080
10053
tags :
10081
10054
- Maps
10082
10055
/services/haproxy/runtime/maps/{name} :
@@ -10134,7 +10107,7 @@ paths:
10134
10107
description : Returns an array of all entries in a given runtime map file.
10135
10108
operationId : showRuntimeMap
10136
10109
parameters :
10137
- - description : Map file name
10110
+ - description : Map storage_name
10138
10111
in : query
10139
10112
name : map
10140
10113
required : true
@@ -10155,7 +10128,7 @@ paths:
10155
10128
description : Adds an entry into the map file.
10156
10129
operationId : addMapEntry
10157
10130
parameters :
10158
- - description : Map file name
10131
+ - description : Map storage_name
10159
10132
in : query
10160
10133
name : map
10161
10134
required : true
@@ -10194,7 +10167,7 @@ paths:
10194
10167
name : id
10195
10168
required : true
10196
10169
type : string
10197
- - description : Map file name
10170
+ - description : Map storage_name
10198
10171
in : query
10199
10172
name : map
10200
10173
required : true
@@ -10223,7 +10196,7 @@ paths:
10223
10196
name : id
10224
10197
required : true
10225
10198
type : string
10226
- - description : Map file name
10199
+ - description : Map storage_name
10227
10200
in : query
10228
10201
name : map
10229
10202
required : true
@@ -10249,7 +10222,7 @@ paths:
10249
10222
name : id
10250
10223
required : true
10251
10224
type : string
10252
- - description : Map file name
10225
+ - description : Map storage_name
10253
10226
in : query
10254
10227
name : map
10255
10228
required : true
@@ -10304,28 +10277,59 @@ paths:
10304
10277
- Configuration
10305
10278
/services/haproxy/storage/maps :
10306
10279
get :
10307
- description : Returns all available map files on disk.
10280
+ description : Returns a list of all managed map files
10308
10281
operationId : getAllStorageMapFiles
10309
10282
responses :
10310
10283
" 200 " :
10311
10284
description : Successful operation
10312
10285
schema :
10313
- items :
10314
- type : string
10315
- type : array
10286
+ $ref : ' #/definitions/maps'
10316
10287
" 404 " :
10317
10288
$ref : ' #/responses/NotFound'
10318
10289
default :
10319
10290
$ref : ' #/responses/DefaultError'
10320
- summary : Return all available map files on disk
10291
+ summary : Return a list of all managed map files
10292
+ tags :
10293
+ - Storage
10294
+ post :
10295
+ consumes :
10296
+ - multipart/form-data
10297
+ description : Creates a managed runtime map file with its entries.
10298
+ operationId : createRuntimeMap
10299
+ parameters :
10300
+ - description : The map file contents
10301
+ in : formData
10302
+ name : fileUpload
10303
+ type : file
10304
+ x-mimetype : text/plain
10305
+ responses :
10306
+ " 201 " :
10307
+ description : Map file created with its entries
10308
+ schema :
10309
+ $ref : ' #/definitions/map'
10310
+ " 202 " :
10311
+ description : Configuration change accepted and reload requested
10312
+ headers :
10313
+ Reload-ID :
10314
+ description : ID of the requested reload
10315
+ type : string
10316
+ schema :
10317
+ $ref : ' #/definitions/map'
10318
+ " 400 " :
10319
+ $ref : ' #/responses/BadRequest'
10320
+ " 409 " :
10321
+ $ref : ' #/responses/AlreadyExists'
10322
+ default :
10323
+ $ref : ' #/responses/DefaultError'
10324
+ summary : Creates a managed runtime map file with its entries
10321
10325
tags :
10322
10326
- Storage
10323
10327
/services/haproxy/storage/maps/{name} :
10324
10328
delete :
10325
- description : Deletes map file from disk.
10329
+ description : Deletes a managed map file from disk.
10326
10330
operationId : deleteStorageMap
10327
10331
parameters :
10328
- - description : Map file name
10332
+ - description : Map file storage_name
10329
10333
in : path
10330
10334
name : name
10331
10335
required : true
@@ -10337,14 +10341,14 @@ paths:
10337
10341
$ref : ' #/responses/NotFound'
10338
10342
default :
10339
10343
$ref : ' #/responses/DefaultError'
10340
- summary : Deletes map file from disk
10344
+ summary : Deletes a managed map file from disk
10341
10345
tags :
10342
10346
- Storage
10343
10347
get :
10344
- description : Returns one map file from disk.
10348
+ description : Returns the contents of one managed map file from disk
10345
10349
operationId : getOneStorageMap
10346
10350
parameters :
10347
- - description : Map file name
10351
+ - description : Map file storage_name
10348
10352
in : path
10349
10353
name : name
10350
10354
required : true
@@ -10358,16 +10362,16 @@ paths:
10358
10362
$ref : ' #/responses/NotFound'
10359
10363
default :
10360
10364
$ref : ' #/responses/DefaultError'
10361
- summary : Return one map file from disk
10365
+ summary : Return the contents of one managed map file from disk
10362
10366
tags :
10363
10367
- Storage
10364
10368
put :
10365
10369
consumes :
10366
10370
- text/plain
10367
- description : Replaces a Map file on disk.
10371
+ description : Replaces the contents of a managed map file on disk
10368
10372
operationId : replaceStorageMapFile
10369
10373
parameters :
10370
- - description : Map file name
10374
+ - description : Map file storage_name
10371
10375
in : path
10372
10376
name : name
10373
10377
required : true
@@ -10377,6 +10381,7 @@ paths:
10377
10381
required : true
10378
10382
schema :
10379
10383
type : string
10384
+ - $ref : ' #/parameters/force_reload'
10380
10385
produces :
10381
10386
- application/json
10382
10387
responses :
@@ -10390,7 +10395,7 @@ paths:
10390
10395
$ref : ' #/responses/NotFound'
10391
10396
default :
10392
10397
$ref : ' #/responses/DefaultError'
10393
- summary : Replace a Map file on disk
10398
+ summary : Replace contents of a managed map file on disk
10394
10399
tags :
10395
10400
- Storage
10396
10401
0 commit comments