@accelbyte/sdk-ams 0.0.0-dev-20240828032938

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +19 -0
  3. package/package.json +55 -0
  4. package/react-query/package.json +5 -0
  5. package/src/Ams.ts +42 -0
  6. package/src/all-imports.ts +91 -0
  7. package/src/all-query-imports.ts +19 -0
  8. package/src/custom/index.ts +6 -0
  9. package/src/generated-admin/AccountAdminApi.ts +91 -0
  10. package/src/generated-admin/AmsInfoAdminApi.ts +65 -0
  11. package/src/generated-admin/AmsQoSAdminApi.ts +65 -0
  12. package/src/generated-admin/ArtifactsAdminApi.ts +122 -0
  13. package/src/generated-admin/DevelopmentAdminApi.ts +89 -0
  14. package/src/generated-admin/FleetsAdminApi.ts +112 -0
  15. package/src/generated-admin/ImagesAdminApi.ts +111 -0
  16. package/src/generated-admin/ServersAdminApi.ts +89 -0
  17. package/src/generated-admin/endpoints/AccountAdmin$.ts +68 -0
  18. package/src/generated-admin/endpoints/AmsInfoAdmin$.ts +42 -0
  19. package/src/generated-admin/endpoints/AmsQoSAdmin$.ts +43 -0
  20. package/src/generated-admin/endpoints/ArtifactsAdmin$.ts +100 -0
  21. package/src/generated-admin/endpoints/DevelopmentAdmin$.ts +67 -0
  22. package/src/generated-admin/endpoints/FleetsAdmin$.ts +90 -0
  23. package/src/generated-admin/endpoints/ImagesAdmin$.ts +89 -0
  24. package/src/generated-admin/endpoints/ServersAdmin$.ts +66 -0
  25. package/src/generated-admin/queries/AccountAdmin.query.ts +131 -0
  26. package/src/generated-admin/queries/AmsInfoAdmin.query.ts +81 -0
  27. package/src/generated-admin/queries/AmsQoSAdmin.query.ts +77 -0
  28. package/src/generated-admin/queries/ArtifactsAdmin.query.ts +211 -0
  29. package/src/generated-admin/queries/DevelopmentAdmin.query.ts +130 -0
  30. package/src/generated-admin/queries/FleetsAdmin.query.ts +182 -0
  31. package/src/generated-admin/queries/ImagesAdmin.query.ts +181 -0
  32. package/src/generated-admin/queries/ServersAdmin.query.ts +139 -0
  33. package/src/generated-definitions/AccountCreateRequest.ts +10 -0
  34. package/src/generated-definitions/AccountCreateResponse.ts +11 -0
  35. package/src/generated-definitions/AccountLimits.ts +16 -0
  36. package/src/generated-definitions/AccountLinkRequest.ts +10 -0
  37. package/src/generated-definitions/AccountLinkResponse.ts +11 -0
  38. package/src/generated-definitions/AccountLinkTokenResponse.ts +10 -0
  39. package/src/generated-definitions/AccountResponse.ts +11 -0
  40. package/src/generated-definitions/AmsRegionsResponse.ts +10 -0
  41. package/src/generated-definitions/ArtifactListResponse.ts +11 -0
  42. package/src/generated-definitions/ArtifactResponse.ts +24 -0
  43. package/src/generated-definitions/ArtifactSamplingRule.ts +10 -0
  44. package/src/generated-definitions/ArtifactTypeSamplingRules.ts +11 -0
  45. package/src/generated-definitions/ArtifactUrlResponse.ts +10 -0
  46. package/src/generated-definitions/ArtifactUsageResponse.ts +14 -0
  47. package/src/generated-definitions/AvailableInstanceTypesResponse.ts +11 -0
  48. package/src/generated-definitions/DevelopmentServerConfigurationCreateRequest.ts +14 -0
  49. package/src/generated-definitions/DevelopmentServerConfigurationCreateResponse.ts +10 -0
  50. package/src/generated-definitions/DevelopmentServerConfigurationGetResponse.ts +14 -0
  51. package/src/generated-definitions/DevelopmentServerConfigurationListResponse.ts +14 -0
  52. package/src/generated-definitions/DsHistoryEvent.ts +19 -0
  53. package/src/generated-definitions/DsHistoryList.ts +12 -0
  54. package/src/generated-definitions/DsHostConfiguration.ts +10 -0
  55. package/src/generated-definitions/ErrorResponse.ts +10 -0
  56. package/src/generated-definitions/FleetArtifactsSampleRules.ts +11 -0
  57. package/src/generated-definitions/FleetClaimByKeysReq.ts +10 -0
  58. package/src/generated-definitions/FleetClaimReq.ts +10 -0
  59. package/src/generated-definitions/FleetClaimResponse.ts +10 -0
  60. package/src/generated-definitions/FleetCreateResponse.ts +10 -0
  61. package/src/generated-definitions/FleetGetResponse.ts +25 -0
  62. package/src/generated-definitions/FleetListItemResponse.ts +20 -0
  63. package/src/generated-definitions/FleetListResponse.ts +11 -0
  64. package/src/generated-definitions/FleetParameters.ts +23 -0
  65. package/src/generated-definitions/FleetRegionalServerCounts.ts +17 -0
  66. package/src/generated-definitions/FleetServerConnectionInfoResponse.ts +16 -0
  67. package/src/generated-definitions/FleetServerHistoryEventResponse.ts +19 -0
  68. package/src/generated-definitions/FleetServerHistoryResponse.ts +11 -0
  69. package/src/generated-definitions/FleetServerInfoResponse.ts +26 -0
  70. package/src/generated-definitions/FleetServersResponse.ts +17 -0
  71. package/src/generated-definitions/ImageDeploymentProfile.ts +17 -0
  72. package/src/generated-definitions/ImageDetails.ts +25 -0
  73. package/src/generated-definitions/ImageList.ts +11 -0
  74. package/src/generated-definitions/ImageListItem.ts +24 -0
  75. package/src/generated-definitions/ImageStorage.ts +14 -0
  76. package/src/generated-definitions/ImageUpdate.ts +15 -0
  77. package/src/generated-definitions/InstanceTypeDescriptionResponse.ts +17 -0
  78. package/src/generated-definitions/Location.ts +20 -0
  79. package/src/generated-definitions/PagingInfo.ts +19 -0
  80. package/src/generated-definitions/PortConfiguration.ts +10 -0
  81. package/src/generated-definitions/QoSEndpointResponse.ts +11 -0
  82. package/src/generated-definitions/QoSServer.ts +18 -0
  83. package/src/generated-definitions/ReferencingFleet.ts +10 -0
  84. package/src/generated-definitions/RegionConfig.ts +16 -0
  85. package/src/generated-definitions/Time.ts +10 -0
  86. package/src/generated-definitions/Timeout.ts +15 -0
  87. package/src/generated-definitions/UpdateServerRequest.ts +10 -0
  88. package/src/generated-definitions/Zone.ts +10 -0
  89. package/src/generated-definitions/ZoneTrans.ts +10 -0
  90. package/src/generated-public/AccountApi.ts +53 -0
  91. package/src/generated-public/AmsInfoApi.ts +50 -0
  92. package/src/generated-public/AuthApi.ts +53 -0
  93. package/src/generated-public/FleetCommanderApi.ts +50 -0
  94. package/src/generated-public/FleetsApi.ts +66 -0
  95. package/src/generated-public/WatchdogsApi.ts +64 -0
  96. package/src/generated-public/endpoints/Account$.ts +30 -0
  97. package/src/generated-public/endpoints/AmsInfo$.ts +28 -0
  98. package/src/generated-public/endpoints/Auth$.ts +31 -0
  99. package/src/generated-public/endpoints/FleetCommander$.ts +28 -0
  100. package/src/generated-public/endpoints/Fleets$.ts +43 -0
  101. package/src/generated-public/endpoints/Watchdogs$.ts +42 -0
  102. package/src/generated-public/queries/Account.query.ts +52 -0
  103. package/src/generated-public/queries/AmsInfo.query.ts +52 -0
  104. package/src/generated-public/queries/Auth.query.ts +52 -0
  105. package/src/generated-public/queries/FleetCommander.query.ts +52 -0
  106. package/src/generated-public/queries/Fleets.query.ts +74 -0
  107. package/src/generated-public/queries/Watchdogs.query.ts +80 -0
  108. package/src/index.ts +7 -0
  109. package/src/version.json +7 -0
  110. package/swaggers/ams.json +3978 -0
  111. package/swaggers.json +1 -0
  112. package/tsconfig.json +18 -0
@@ -0,0 +1,3978 @@
1
+ {
2
+ "host": "demo.accelbyte.io",
3
+ "info": {
4
+ "description": "Manage AMS Fleets",
5
+ "title": "fleet-commander",
6
+ "version": "1.23.1-dev"
7
+ },
8
+ "schemes": ["https"],
9
+ "externalDocs": {
10
+ "description": "API Docs",
11
+ "url": "https://development.accelbyte.io/ams/apidocs"
12
+ },
13
+ "securityDefinitions": {
14
+ "authorization": {
15
+ "in": "header",
16
+ "name": "Authorization",
17
+ "type": "apiKey"
18
+ }
19
+ },
20
+ "swagger": "2.0",
21
+ "paths": {
22
+ "/ams/auth": {
23
+ "get": {
24
+ "consumes": ["application/json"],
25
+ "description": "Check if fleet commander is authorized to talk to AMS with this IAM",
26
+ "operationId": "AuthCheck",
27
+ "produces": ["application/json"],
28
+ "responses": {
29
+ "200": {
30
+ "description": "success"
31
+ },
32
+ "401": {
33
+ "description": "unauthorized",
34
+ "schema": {
35
+ "$ref": "#/definitions/response.ErrorResponse"
36
+ }
37
+ },
38
+ "403": {
39
+ "description": "forbidden",
40
+ "schema": {
41
+ "$ref": "#/definitions/response.ErrorResponse"
42
+ }
43
+ },
44
+ "500": {
45
+ "description": "internal server error",
46
+ "schema": {
47
+ "$ref": "#/definitions/response.ErrorResponse"
48
+ }
49
+ }
50
+ },
51
+ "security": [
52
+ {
53
+ "authorization": []
54
+ }
55
+ ],
56
+ "summary": "checks if fleet commander can auth with AMS",
57
+ "tags": ["Auth"],
58
+ "x-errorCodes": {}
59
+ }
60
+ },
61
+ "/ams/healthz": {
62
+ "get": {
63
+ "operationId": "PortalHealthCheck",
64
+ "produces": ["application/json"],
65
+ "responses": {
66
+ "200": {
67
+ "description": "OK"
68
+ }
69
+ },
70
+ "security": [
71
+ {
72
+ "authorization": []
73
+ }
74
+ ],
75
+ "summary": "Health check",
76
+ "tags": ["Fleet Commander"],
77
+ "x-errorCodes": {}
78
+ }
79
+ },
80
+ "/ams/v1/admin/namespaces/{namespace}/account": {
81
+ "get": {
82
+ "consumes": ["application/json"],
83
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]",
84
+ "operationId": "AdminAccountGet",
85
+ "parameters": [
86
+ {
87
+ "description": "namespace of the game",
88
+ "in": "path",
89
+ "name": "namespace",
90
+ "required": true,
91
+ "type": "string"
92
+ }
93
+ ],
94
+ "produces": ["application/json"],
95
+ "responses": {
96
+ "200": {
97
+ "description": "success",
98
+ "schema": {
99
+ "$ref": "#/definitions/api.AccountResponse"
100
+ }
101
+ },
102
+ "401": {
103
+ "description": "no authorization provided",
104
+ "schema": {
105
+ "$ref": "#/definitions/response.ErrorResponse"
106
+ }
107
+ },
108
+ "403": {
109
+ "description": "insufficient permissions",
110
+ "schema": {
111
+ "$ref": "#/definitions/response.ErrorResponse"
112
+ }
113
+ },
114
+ "404": {
115
+ "description": "account not linked",
116
+ "schema": {
117
+ "$ref": "#/definitions/response.ErrorResponse"
118
+ }
119
+ },
120
+ "500": {
121
+ "description": "internal server error",
122
+ "schema": {
123
+ "$ref": "#/definitions/response.ErrorResponse"
124
+ }
125
+ }
126
+ },
127
+ "security": [
128
+ {
129
+ "authorization": []
130
+ }
131
+ ],
132
+ "summary": "get the account associated with the namespace",
133
+ "tags": ["Account"],
134
+ "x-errorCodes": {}
135
+ },
136
+ "post": {
137
+ "consumes": ["application/json"],
138
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]",
139
+ "operationId": "AdminAccountCreate",
140
+ "parameters": [
141
+ {
142
+ "in": "body",
143
+ "name": "body",
144
+ "required": true,
145
+ "schema": {
146
+ "$ref": "#/definitions/api.AccountCreateRequest"
147
+ }
148
+ },
149
+ {
150
+ "description": "namespace of the game",
151
+ "in": "path",
152
+ "name": "namespace",
153
+ "required": true,
154
+ "type": "string"
155
+ }
156
+ ],
157
+ "produces": ["application/json"],
158
+ "responses": {
159
+ "201": {
160
+ "description": "account Created",
161
+ "schema": {
162
+ "$ref": "#/definitions/api.AccountCreateResponse"
163
+ }
164
+ },
165
+ "401": {
166
+ "description": "no authorization provided",
167
+ "schema": {
168
+ "$ref": "#/definitions/response.ErrorResponse"
169
+ }
170
+ },
171
+ "403": {
172
+ "description": "insufficient permissions",
173
+ "schema": {
174
+ "$ref": "#/definitions/response.ErrorResponse"
175
+ }
176
+ },
177
+ "500": {
178
+ "description": "internal server error",
179
+ "schema": {
180
+ "$ref": "#/definitions/response.ErrorResponse"
181
+ }
182
+ }
183
+ },
184
+ "security": [
185
+ {
186
+ "authorization": []
187
+ }
188
+ ],
189
+ "summary": "create a new AMS account",
190
+ "tags": ["Account"],
191
+ "x-errorCodes": {}
192
+ }
193
+ },
194
+ "/ams/v1/admin/namespaces/{namespace}/account/link": {
195
+ "get": {
196
+ "consumes": ["application/json"],
197
+ "description": "The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace.\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]",
198
+ "operationId": "AdminAccountLinkTokenGet",
199
+ "parameters": [
200
+ {
201
+ "description": "namespace of the game",
202
+ "in": "path",
203
+ "name": "namespace",
204
+ "required": true,
205
+ "type": "string"
206
+ }
207
+ ],
208
+ "produces": ["application/json"],
209
+ "responses": {
210
+ "200": {
211
+ "description": "success",
212
+ "schema": {
213
+ "$ref": "#/definitions/api.AccountLinkTokenResponse"
214
+ }
215
+ },
216
+ "401": {
217
+ "description": "no authorization provided",
218
+ "schema": {
219
+ "$ref": "#/definitions/response.ErrorResponse"
220
+ }
221
+ },
222
+ "403": {
223
+ "description": "insufficient permissions",
224
+ "schema": {
225
+ "$ref": "#/definitions/response.ErrorResponse"
226
+ }
227
+ },
228
+ "404": {
229
+ "description": "account not linked",
230
+ "schema": {
231
+ "$ref": "#/definitions/response.ErrorResponse"
232
+ }
233
+ },
234
+ "500": {
235
+ "description": "internal server error",
236
+ "schema": {
237
+ "$ref": "#/definitions/response.ErrorResponse"
238
+ }
239
+ }
240
+ },
241
+ "security": [
242
+ {
243
+ "authorization": []
244
+ }
245
+ ],
246
+ "summary": "get a link to account token",
247
+ "tags": ["Account"],
248
+ "x-errorCodes": {}
249
+ },
250
+ "post": {
251
+ "consumes": ["application/json"],
252
+ "description": "This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked\n\nAdminAccountLink\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]",
253
+ "operationId": "AdminAccountLinkTokenPost",
254
+ "parameters": [
255
+ {
256
+ "in": "body",
257
+ "name": "body",
258
+ "required": true,
259
+ "schema": {
260
+ "$ref": "#/definitions/api.AccountLinkRequest"
261
+ }
262
+ },
263
+ {
264
+ "description": "namespace of the game",
265
+ "in": "path",
266
+ "name": "namespace",
267
+ "required": true,
268
+ "type": "string"
269
+ }
270
+ ],
271
+ "produces": ["application/json"],
272
+ "responses": {
273
+ "201": {
274
+ "description": "success",
275
+ "schema": {
276
+ "$ref": "#/definitions/api.AccountLinkResponse"
277
+ }
278
+ },
279
+ "401": {
280
+ "description": "no authorization provided",
281
+ "schema": {
282
+ "$ref": "#/definitions/response.ErrorResponse"
283
+ }
284
+ },
285
+ "403": {
286
+ "description": "insufficient permissions",
287
+ "schema": {
288
+ "$ref": "#/definitions/response.ErrorResponse"
289
+ }
290
+ },
291
+ "500": {
292
+ "description": "internal server error",
293
+ "schema": {
294
+ "$ref": "#/definitions/response.ErrorResponse"
295
+ }
296
+ }
297
+ },
298
+ "security": [
299
+ {
300
+ "authorization": []
301
+ }
302
+ ],
303
+ "summary": "link an account to a namespace",
304
+ "tags": ["Account"],
305
+ "x-errorCodes": {}
306
+ }
307
+ },
308
+ "/ams/v1/admin/namespaces/{namespace}/artifacts": {
309
+ "delete": {
310
+ "consumes": ["application/json"],
311
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [DELETE]",
312
+ "operationId": "ArtifactBulkDelete",
313
+ "parameters": [
314
+ {
315
+ "description": "namespace of the game",
316
+ "in": "path",
317
+ "name": "namespace",
318
+ "required": true,
319
+ "type": "string"
320
+ },
321
+ {
322
+ "description": "artifact type (can be repeated)",
323
+ "in": "query",
324
+ "name": "artifactType",
325
+ "type": "string"
326
+ },
327
+ {
328
+ "description": "fleet ID (can be repeated)",
329
+ "in": "query",
330
+ "name": "fleetId",
331
+ "type": "string"
332
+ },
333
+ {
334
+ "description": "uploaded before date",
335
+ "format": "date",
336
+ "in": "query",
337
+ "name": "uploadedBefore",
338
+ "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
339
+ "type": "string",
340
+ "x-nullable": true
341
+ }
342
+ ],
343
+ "produces": ["application/json"],
344
+ "responses": {
345
+ "202": {
346
+ "description": "delete received"
347
+ },
348
+ "400": {
349
+ "description": "bad request",
350
+ "schema": {
351
+ "$ref": "#/definitions/response.ErrorResponse"
352
+ }
353
+ },
354
+ "401": {
355
+ "description": "no authorization provided",
356
+ "schema": {
357
+ "$ref": "#/definitions/response.ErrorResponse"
358
+ }
359
+ },
360
+ "403": {
361
+ "description": "insufficient permissions",
362
+ "schema": {
363
+ "$ref": "#/definitions/response.ErrorResponse"
364
+ }
365
+ },
366
+ "500": {
367
+ "description": "internal server error",
368
+ "schema": {
369
+ "$ref": "#/definitions/response.ErrorResponse"
370
+ }
371
+ }
372
+ },
373
+ "security": [
374
+ {
375
+ "authorization": []
376
+ }
377
+ ],
378
+ "summary": "delete artifacts that match criteria in bulk. all artifacts matching any one criteria will be deleted. at least 1 parameter is required.",
379
+ "tags": ["Artifacts"],
380
+ "x-errorCodes": {}
381
+ },
382
+ "get": {
383
+ "consumes": ["application/json"],
384
+ "description": "Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won\u0026#39;t have been filtered on those parameters\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]",
385
+ "operationId": "ArtifactGet",
386
+ "parameters": [
387
+ {
388
+ "description": "namespace of the game",
389
+ "in": "path",
390
+ "name": "namespace",
391
+ "required": true,
392
+ "type": "string"
393
+ },
394
+ {
395
+ "description": "one of: log, coredump",
396
+ "in": "query",
397
+ "name": "artifactType",
398
+ "type": "string"
399
+ },
400
+ {
401
+ "default": 100,
402
+ "description": "defines the maximum number of records returned in one page.",
403
+ "in": "query",
404
+ "maximum": 500,
405
+ "name": "count",
406
+ "type": "integer"
407
+ },
408
+ {
409
+ "description": "omit artifacts with collection dates newer than",
410
+ "in": "query",
411
+ "name": "endDate",
412
+ "type": "string"
413
+ },
414
+ {
415
+ "description": "id of the fleet where the artifact was collected",
416
+ "in": "query",
417
+ "name": "fleetID",
418
+ "type": "string"
419
+ },
420
+ {
421
+ "description": "id of the image being used on the server when artifact was collected",
422
+ "in": "query",
423
+ "name": "imageID",
424
+ "type": "string"
425
+ },
426
+ {
427
+ "description": "maximum artifact size in bytes",
428
+ "in": "query",
429
+ "name": "maxSize",
430
+ "type": "integer"
431
+ },
432
+ {
433
+ "description": "minimum artifact size in bytes",
434
+ "in": "query",
435
+ "name": "minSize",
436
+ "type": "integer"
437
+ },
438
+ {
439
+ "default": 0,
440
+ "description": "specifies the start index for the records returned. Useful for implementing pagination.",
441
+ "in": "query",
442
+ "name": "offset",
443
+ "type": "integer"
444
+ },
445
+ {
446
+ "description": "region of the server where the artifact was collected",
447
+ "in": "query",
448
+ "name": "region",
449
+ "type": "string"
450
+ },
451
+ {
452
+ "description": "id of the server (ds) where the artifact was collected",
453
+ "in": "query",
454
+ "name": "serverId",
455
+ "type": "string"
456
+ },
457
+ {
458
+ "description": "omit artifacts with collection dates older than",
459
+ "in": "query",
460
+ "name": "startDate",
461
+ "type": "string"
462
+ },
463
+ {
464
+ "description": "one of: success, skipped_sample, skipped_usage, failed",
465
+ "in": "query",
466
+ "name": "status",
467
+ "type": "string"
468
+ }
469
+ ],
470
+ "produces": ["application/json"],
471
+ "responses": {
472
+ "200": {
473
+ "description": "success",
474
+ "schema": {
475
+ "$ref": "#/definitions/api.ArtifactListResponse"
476
+ }
477
+ },
478
+ "400": {
479
+ "description": "invalid data in request",
480
+ "schema": {
481
+ "$ref": "#/definitions/response.ErrorResponse"
482
+ }
483
+ },
484
+ "401": {
485
+ "description": "no authorization provided",
486
+ "schema": {
487
+ "$ref": "#/definitions/response.ErrorResponse"
488
+ }
489
+ },
490
+ "403": {
491
+ "description": "insufficient permissions",
492
+ "schema": {
493
+ "$ref": "#/definitions/response.ErrorResponse"
494
+ }
495
+ },
496
+ "500": {
497
+ "description": "internal server error",
498
+ "schema": {
499
+ "$ref": "#/definitions/response.ErrorResponse"
500
+ }
501
+ }
502
+ },
503
+ "security": [
504
+ {
505
+ "authorization": []
506
+ }
507
+ ],
508
+ "summary": "get all artifacts matching the provided criteria",
509
+ "tags": ["Artifacts"],
510
+ "x-errorCodes": {}
511
+ }
512
+ },
513
+ "/ams/v1/admin/namespaces/{namespace}/artifacts/usage": {
514
+ "get": {
515
+ "consumes": ["application/json"],
516
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]",
517
+ "operationId": "ArtifactUsageGet",
518
+ "parameters": [
519
+ {
520
+ "description": "namespace of the game",
521
+ "in": "path",
522
+ "name": "namespace",
523
+ "required": true,
524
+ "type": "string"
525
+ }
526
+ ],
527
+ "produces": ["application/json"],
528
+ "responses": {
529
+ "200": {
530
+ "description": "success",
531
+ "schema": {
532
+ "$ref": "#/definitions/api.ArtifactUsageResponse"
533
+ }
534
+ },
535
+ "401": {
536
+ "description": "no authorization provided",
537
+ "schema": {
538
+ "$ref": "#/definitions/response.ErrorResponse"
539
+ }
540
+ },
541
+ "403": {
542
+ "description": "insufficient permissions",
543
+ "schema": {
544
+ "$ref": "#/definitions/response.ErrorResponse"
545
+ }
546
+ },
547
+ "500": {
548
+ "description": "internal server error",
549
+ "schema": {
550
+ "$ref": "#/definitions/response.ErrorResponse"
551
+ }
552
+ }
553
+ },
554
+ "security": [
555
+ {
556
+ "authorization": []
557
+ }
558
+ ],
559
+ "summary": "retrieve artifact storage usage for the namespace",
560
+ "tags": ["Artifacts"],
561
+ "x-errorCodes": {}
562
+ }
563
+ },
564
+ "/ams/v1/admin/namespaces/{namespace}/artifacts/{artifactID}": {
565
+ "delete": {
566
+ "consumes": ["application/json"],
567
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]",
568
+ "operationId": "ArtifactDelete",
569
+ "parameters": [
570
+ {
571
+ "description": "the id of the artifact",
572
+ "in": "path",
573
+ "name": "artifactID",
574
+ "required": true,
575
+ "type": "string"
576
+ },
577
+ {
578
+ "description": "namespace of the game",
579
+ "in": "path",
580
+ "name": "namespace",
581
+ "required": true,
582
+ "type": "string"
583
+ }
584
+ ],
585
+ "produces": ["application/json"],
586
+ "responses": {
587
+ "202": {
588
+ "description": "delete received"
589
+ },
590
+ "400": {
591
+ "description": "bad request",
592
+ "schema": {
593
+ "$ref": "#/definitions/response.ErrorResponse"
594
+ }
595
+ },
596
+ "401": {
597
+ "description": "no authorization provided",
598
+ "schema": {
599
+ "$ref": "#/definitions/response.ErrorResponse"
600
+ }
601
+ },
602
+ "403": {
603
+ "description": "insufficient permissions",
604
+ "schema": {
605
+ "$ref": "#/definitions/response.ErrorResponse"
606
+ }
607
+ },
608
+ "404": {
609
+ "description": "no artifact with specifed artifactID",
610
+ "schema": {
611
+ "$ref": "#/definitions/response.ErrorResponse"
612
+ }
613
+ },
614
+ "500": {
615
+ "description": "internal server error",
616
+ "schema": {
617
+ "$ref": "#/definitions/response.ErrorResponse"
618
+ }
619
+ }
620
+ },
621
+ "security": [
622
+ {
623
+ "authorization": []
624
+ }
625
+ ],
626
+ "summary": "delete a specified artifact",
627
+ "tags": ["Artifacts"],
628
+ "x-errorCodes": {}
629
+ }
630
+ },
631
+ "/ams/v1/admin/namespaces/{namespace}/artifacts/{artifactID}/url": {
632
+ "get": {
633
+ "consumes": ["application/json"],
634
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]",
635
+ "operationId": "ArtifactGetURL",
636
+ "parameters": [
637
+ {
638
+ "description": "the id of the artifact",
639
+ "in": "path",
640
+ "name": "artifactID",
641
+ "required": true,
642
+ "type": "string"
643
+ },
644
+ {
645
+ "description": "namespace of the game",
646
+ "in": "path",
647
+ "name": "namespace",
648
+ "required": true,
649
+ "type": "string"
650
+ }
651
+ ],
652
+ "produces": ["application/json"],
653
+ "responses": {
654
+ "200": {
655
+ "description": "success",
656
+ "schema": {
657
+ "$ref": "#/definitions/api.ArtifactURLResponse"
658
+ }
659
+ },
660
+ "400": {
661
+ "description": "invalid data in request",
662
+ "schema": {
663
+ "$ref": "#/definitions/response.ErrorResponse"
664
+ }
665
+ },
666
+ "401": {
667
+ "description": "no authorization provided",
668
+ "schema": {
669
+ "$ref": "#/definitions/response.ErrorResponse"
670
+ }
671
+ },
672
+ "403": {
673
+ "description": "insufficient permissions",
674
+ "schema": {
675
+ "$ref": "#/definitions/response.ErrorResponse"
676
+ }
677
+ },
678
+ "404": {
679
+ "description": "no artifact with specifed artifactID",
680
+ "schema": {
681
+ "$ref": "#/definitions/response.ErrorResponse"
682
+ }
683
+ },
684
+ "500": {
685
+ "description": "internal server error",
686
+ "schema": {
687
+ "$ref": "#/definitions/response.ErrorResponse"
688
+ }
689
+ }
690
+ },
691
+ "security": [
692
+ {
693
+ "authorization": []
694
+ }
695
+ ],
696
+ "summary": "get a signed URL for a specific artifact",
697
+ "tags": ["Artifacts"],
698
+ "x-errorCodes": {}
699
+ }
700
+ },
701
+ "/ams/v1/admin/namespaces/{namespace}/development/server-configurations": {
702
+ "get": {
703
+ "consumes": ["application/json"],
704
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
705
+ "operationId": "DevelopmentServerConfigurationList",
706
+ "parameters": [
707
+ {
708
+ "description": "namespace of the game",
709
+ "in": "path",
710
+ "name": "namespace",
711
+ "required": true,
712
+ "type": "string"
713
+ },
714
+ {
715
+ "default": 100,
716
+ "description": "defines the maximum number of records returned in one page.",
717
+ "in": "query",
718
+ "maximum": 500,
719
+ "minimum": 10,
720
+ "name": "count",
721
+ "type": "integer"
722
+ },
723
+ {
724
+ "default": 0,
725
+ "description": "specifies the start index for the records returned.",
726
+ "in": "query",
727
+ "name": "offset",
728
+ "type": "integer"
729
+ }
730
+ ],
731
+ "produces": ["application/json"],
732
+ "responses": {
733
+ "200": {
734
+ "description": "development server configurations",
735
+ "schema": {
736
+ "$ref": "#/definitions/api.DevelopmentServerConfigurationListResponse"
737
+ }
738
+ },
739
+ "401": {
740
+ "description": "no authorization provided",
741
+ "schema": {
742
+ "$ref": "#/definitions/response.ErrorResponse"
743
+ }
744
+ },
745
+ "403": {
746
+ "description": "insufficient permissions",
747
+ "schema": {
748
+ "$ref": "#/definitions/response.ErrorResponse"
749
+ }
750
+ },
751
+ "500": {
752
+ "description": "internal server error",
753
+ "schema": {
754
+ "$ref": "#/definitions/response.ErrorResponse"
755
+ }
756
+ }
757
+ },
758
+ "security": [
759
+ {
760
+ "authorization": []
761
+ }
762
+ ],
763
+ "summary": "lists development server configurations with pagination",
764
+ "tags": ["Development"],
765
+ "x-errorCodes": {}
766
+ },
767
+ "post": {
768
+ "consumes": ["application/json"],
769
+ "description": "Configuration name can be up to 128 characters and must conform to ^[.a-zA-Z0-9_-]+$\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]",
770
+ "operationId": "DevelopmentServerConfigurationCreate",
771
+ "parameters": [
772
+ {
773
+ "in": "body",
774
+ "name": "body",
775
+ "required": true,
776
+ "schema": {
777
+ "$ref": "#/definitions/api.DevelopmentServerConfigurationCreateRequest"
778
+ }
779
+ },
780
+ {
781
+ "description": "namespace of the game",
782
+ "in": "path",
783
+ "name": "namespace",
784
+ "required": true,
785
+ "type": "string"
786
+ }
787
+ ],
788
+ "produces": ["application/json"],
789
+ "responses": {
790
+ "201": {
791
+ "description": "development server configuration created",
792
+ "schema": {
793
+ "$ref": "#/definitions/api.DevelopmentServerConfigurationCreateResponse"
794
+ }
795
+ },
796
+ "400": {
797
+ "description": "bad request",
798
+ "schema": {
799
+ "$ref": "#/definitions/response.ErrorResponse"
800
+ }
801
+ },
802
+ "401": {
803
+ "description": "no authorization provided",
804
+ "schema": {
805
+ "$ref": "#/definitions/response.ErrorResponse"
806
+ }
807
+ },
808
+ "403": {
809
+ "description": "insufficient permissions",
810
+ "schema": {
811
+ "$ref": "#/definitions/response.ErrorResponse"
812
+ }
813
+ },
814
+ "500": {
815
+ "description": "internal server error",
816
+ "schema": {
817
+ "$ref": "#/definitions/response.ErrorResponse"
818
+ }
819
+ }
820
+ },
821
+ "security": [
822
+ {
823
+ "authorization": []
824
+ }
825
+ ],
826
+ "summary": "create a new development server configuration",
827
+ "tags": ["Development"],
828
+ "x-errorCodes": {}
829
+ }
830
+ },
831
+ "/ams/v1/admin/namespaces/{namespace}/development/server-configurations/{developmentServerConfigID}": {
832
+ "delete": {
833
+ "consumes": ["application/json"],
834
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]",
835
+ "operationId": "DevelopmentServerConfigurationDelete",
836
+ "parameters": [
837
+ {
838
+ "description": "the name of the development server configuration",
839
+ "in": "path",
840
+ "name": "developmentServerConfigID",
841
+ "required": true,
842
+ "type": "string"
843
+ },
844
+ {
845
+ "description": "namespace of the game",
846
+ "in": "path",
847
+ "name": "namespace",
848
+ "required": true,
849
+ "type": "string"
850
+ }
851
+ ],
852
+ "produces": ["application/json"],
853
+ "responses": {
854
+ "204": {
855
+ "description": "development server configuration deleted"
856
+ },
857
+ "401": {
858
+ "description": "no authorization provided",
859
+ "schema": {
860
+ "$ref": "#/definitions/response.ErrorResponse"
861
+ }
862
+ },
863
+ "403": {
864
+ "description": "insufficient permissions",
865
+ "schema": {
866
+ "$ref": "#/definitions/response.ErrorResponse"
867
+ }
868
+ },
869
+ "404": {
870
+ "description": "development server configuration not found",
871
+ "schema": {
872
+ "$ref": "#/definitions/response.ErrorResponse"
873
+ }
874
+ },
875
+ "500": {
876
+ "description": "internal server error",
877
+ "schema": {
878
+ "$ref": "#/definitions/response.ErrorResponse"
879
+ }
880
+ }
881
+ },
882
+ "security": [
883
+ {
884
+ "authorization": []
885
+ }
886
+ ],
887
+ "summary": "delete a development server configuration",
888
+ "tags": ["Development"],
889
+ "x-errorCodes": {}
890
+ },
891
+ "get": {
892
+ "consumes": ["application/json"],
893
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
894
+ "operationId": "DevelopmentServerConfigurationGet",
895
+ "parameters": [
896
+ {
897
+ "description": "the name of the development server configuration",
898
+ "in": "path",
899
+ "name": "developmentServerConfigID",
900
+ "required": true,
901
+ "type": "string"
902
+ },
903
+ {
904
+ "description": "namespace of the game",
905
+ "in": "path",
906
+ "name": "namespace",
907
+ "required": true,
908
+ "type": "string"
909
+ }
910
+ ],
911
+ "produces": ["application/json"],
912
+ "responses": {
913
+ "200": {
914
+ "description": "development server configuration",
915
+ "schema": {
916
+ "$ref": "#/definitions/api.DevelopmentServerConfigurationGetResponse"
917
+ }
918
+ },
919
+ "401": {
920
+ "description": "no authorization provided",
921
+ "schema": {
922
+ "$ref": "#/definitions/response.ErrorResponse"
923
+ }
924
+ },
925
+ "403": {
926
+ "description": "insufficient permissions",
927
+ "schema": {
928
+ "$ref": "#/definitions/response.ErrorResponse"
929
+ }
930
+ },
931
+ "404": {
932
+ "description": "development server configuration not found",
933
+ "schema": {
934
+ "$ref": "#/definitions/response.ErrorResponse"
935
+ }
936
+ },
937
+ "500": {
938
+ "description": "internal server error",
939
+ "schema": {
940
+ "$ref": "#/definitions/response.ErrorResponse"
941
+ }
942
+ }
943
+ },
944
+ "security": [
945
+ {
946
+ "authorization": []
947
+ }
948
+ ],
949
+ "summary": "get a development server configuration",
950
+ "tags": ["Development"],
951
+ "x-errorCodes": {}
952
+ }
953
+ },
954
+ "/ams/v1/admin/namespaces/{namespace}/fleets": {
955
+ "get": {
956
+ "consumes": ["application/json"],
957
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
958
+ "operationId": "FleetList",
959
+ "parameters": [
960
+ {
961
+ "description": "namespace of the game",
962
+ "in": "path",
963
+ "name": "namespace",
964
+ "required": true,
965
+ "type": "string"
966
+ }
967
+ ],
968
+ "produces": ["application/json"],
969
+ "responses": {
970
+ "200": {
971
+ "description": "success",
972
+ "schema": {
973
+ "$ref": "#/definitions/api.FleetListResponse"
974
+ }
975
+ },
976
+ "500": {
977
+ "description": "internal server error",
978
+ "schema": {
979
+ "$ref": "#/definitions/response.ErrorResponse"
980
+ }
981
+ }
982
+ },
983
+ "security": [
984
+ {
985
+ "authorization": []
986
+ }
987
+ ],
988
+ "summary": "list all fleets in a namespace",
989
+ "tags": ["Fleets"],
990
+ "x-errorCodes": {}
991
+ },
992
+ "post": {
993
+ "consumes": ["application/json"],
994
+ "description": "Optionally, sampling rules for the fleet can also be specified\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]",
995
+ "operationId": "FleetCreate",
996
+ "parameters": [
997
+ {
998
+ "in": "body",
999
+ "name": "body",
1000
+ "required": true,
1001
+ "schema": {
1002
+ "$ref": "#/definitions/api.FleetParameters"
1003
+ }
1004
+ },
1005
+ {
1006
+ "description": "namespace of the game",
1007
+ "in": "path",
1008
+ "name": "namespace",
1009
+ "required": true,
1010
+ "type": "string"
1011
+ }
1012
+ ],
1013
+ "produces": ["application/json"],
1014
+ "responses": {
1015
+ "201": {
1016
+ "description": "success",
1017
+ "schema": {
1018
+ "$ref": "#/definitions/api.FleetCreateResponse"
1019
+ }
1020
+ },
1021
+ "400": {
1022
+ "description": "bad request",
1023
+ "schema": {
1024
+ "$ref": "#/definitions/response.ErrorResponse"
1025
+ }
1026
+ },
1027
+ "401": {
1028
+ "description": "no authorization provided",
1029
+ "schema": {
1030
+ "$ref": "#/definitions/response.ErrorResponse"
1031
+ }
1032
+ },
1033
+ "403": {
1034
+ "description": "exceeded quota",
1035
+ "schema": {
1036
+ "$ref": "#/definitions/response.ErrorResponse"
1037
+ }
1038
+ },
1039
+ "500": {
1040
+ "description": "internal server error",
1041
+ "schema": {
1042
+ "$ref": "#/definitions/response.ErrorResponse"
1043
+ }
1044
+ }
1045
+ },
1046
+ "security": [
1047
+ {
1048
+ "authorization": []
1049
+ }
1050
+ ],
1051
+ "summary": "create a fleet",
1052
+ "tags": ["Fleets"],
1053
+ "x-errorCodes": {}
1054
+ }
1055
+ },
1056
+ "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}": {
1057
+ "delete": {
1058
+ "consumes": ["application/json"],
1059
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]",
1060
+ "operationId": "FleetDelete",
1061
+ "parameters": [
1062
+ {
1063
+ "description": "the id of the fleet",
1064
+ "in": "path",
1065
+ "name": "fleetID",
1066
+ "required": true,
1067
+ "type": "string"
1068
+ },
1069
+ {
1070
+ "description": "namespace of the game",
1071
+ "in": "path",
1072
+ "name": "namespace",
1073
+ "required": true,
1074
+ "type": "string"
1075
+ }
1076
+ ],
1077
+ "produces": ["application/json"],
1078
+ "responses": {
1079
+ "204": {
1080
+ "description": "no content"
1081
+ },
1082
+ "400": {
1083
+ "description": "bad request",
1084
+ "schema": {
1085
+ "$ref": "#/definitions/response.ErrorResponse"
1086
+ }
1087
+ },
1088
+ "401": {
1089
+ "description": "no authorization provided",
1090
+ "schema": {
1091
+ "$ref": "#/definitions/response.ErrorResponse"
1092
+ }
1093
+ },
1094
+ "403": {
1095
+ "description": "insufficient permissions",
1096
+ "schema": {
1097
+ "$ref": "#/definitions/response.ErrorResponse"
1098
+ }
1099
+ },
1100
+ "404": {
1101
+ "description": "fleet not found",
1102
+ "schema": {
1103
+ "$ref": "#/definitions/response.ErrorResponse"
1104
+ }
1105
+ },
1106
+ "500": {
1107
+ "description": "internal server error",
1108
+ "schema": {
1109
+ "$ref": "#/definitions/response.ErrorResponse"
1110
+ }
1111
+ }
1112
+ },
1113
+ "security": [
1114
+ {
1115
+ "authorization": []
1116
+ }
1117
+ ],
1118
+ "summary": "delete a fleet",
1119
+ "tags": ["Fleets"],
1120
+ "x-errorCodes": {}
1121
+ },
1122
+ "get": {
1123
+ "consumes": ["application/json"],
1124
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
1125
+ "operationId": "FleetGet",
1126
+ "parameters": [
1127
+ {
1128
+ "description": "the id of the fleet",
1129
+ "in": "path",
1130
+ "name": "fleetID",
1131
+ "required": true,
1132
+ "type": "string"
1133
+ },
1134
+ {
1135
+ "description": "namespace of the game",
1136
+ "in": "path",
1137
+ "name": "namespace",
1138
+ "required": true,
1139
+ "type": "string"
1140
+ }
1141
+ ],
1142
+ "produces": ["application/json"],
1143
+ "responses": {
1144
+ "200": {
1145
+ "description": "success",
1146
+ "schema": {
1147
+ "$ref": "#/definitions/api.FleetGetResponse"
1148
+ }
1149
+ },
1150
+ "400": {
1151
+ "description": "bad request",
1152
+ "schema": {
1153
+ "$ref": "#/definitions/response.ErrorResponse"
1154
+ }
1155
+ },
1156
+ "401": {
1157
+ "description": "no authorization provided",
1158
+ "schema": {
1159
+ "$ref": "#/definitions/response.ErrorResponse"
1160
+ }
1161
+ },
1162
+ "403": {
1163
+ "description": "insufficient permissions",
1164
+ "schema": {
1165
+ "$ref": "#/definitions/response.ErrorResponse"
1166
+ }
1167
+ },
1168
+ "404": {
1169
+ "description": "fleet not found",
1170
+ "schema": {
1171
+ "$ref": "#/definitions/response.ErrorResponse"
1172
+ }
1173
+ },
1174
+ "500": {
1175
+ "description": "internal server error",
1176
+ "schema": {
1177
+ "$ref": "#/definitions/response.ErrorResponse"
1178
+ }
1179
+ }
1180
+ },
1181
+ "security": [
1182
+ {
1183
+ "authorization": []
1184
+ }
1185
+ ],
1186
+ "summary": "get a fleet",
1187
+ "tags": ["Fleets"],
1188
+ "x-errorCodes": {}
1189
+ },
1190
+ "put": {
1191
+ "consumes": ["application/json"],
1192
+ "description": "Optionally, sampling rules for the fleet can also be updated\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]",
1193
+ "operationId": "FleetUpdate",
1194
+ "parameters": [
1195
+ {
1196
+ "in": "body",
1197
+ "name": "body",
1198
+ "required": true,
1199
+ "schema": {
1200
+ "$ref": "#/definitions/api.FleetParameters"
1201
+ }
1202
+ },
1203
+ {
1204
+ "description": "the id of the fleet",
1205
+ "in": "path",
1206
+ "name": "fleetID",
1207
+ "required": true,
1208
+ "type": "string"
1209
+ },
1210
+ {
1211
+ "description": "namespace of the game",
1212
+ "in": "path",
1213
+ "name": "namespace",
1214
+ "required": true,
1215
+ "type": "string"
1216
+ }
1217
+ ],
1218
+ "produces": ["application/json"],
1219
+ "responses": {
1220
+ "204": {
1221
+ "description": "no content"
1222
+ },
1223
+ "400": {
1224
+ "description": "bad request",
1225
+ "schema": {
1226
+ "$ref": "#/definitions/response.ErrorResponse"
1227
+ }
1228
+ },
1229
+ "401": {
1230
+ "description": "no authorization provided",
1231
+ "schema": {
1232
+ "$ref": "#/definitions/response.ErrorResponse"
1233
+ }
1234
+ },
1235
+ "403": {
1236
+ "description": "insufficient permissions",
1237
+ "schema": {
1238
+ "$ref": "#/definitions/response.ErrorResponse"
1239
+ }
1240
+ },
1241
+ "404": {
1242
+ "description": "fleet not found",
1243
+ "schema": {
1244
+ "$ref": "#/definitions/response.ErrorResponse"
1245
+ }
1246
+ },
1247
+ "500": {
1248
+ "description": "internal server error",
1249
+ "schema": {
1250
+ "$ref": "#/definitions/response.ErrorResponse"
1251
+ }
1252
+ }
1253
+ },
1254
+ "security": [
1255
+ {
1256
+ "authorization": []
1257
+ }
1258
+ ],
1259
+ "summary": "update a fleet -– overrides current data",
1260
+ "tags": ["Fleets"],
1261
+ "x-errorCodes": {}
1262
+ }
1263
+ },
1264
+ "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/artifacts-sampling-rules": {
1265
+ "get": {
1266
+ "consumes": ["application/json"],
1267
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]",
1268
+ "operationId": "FleetArtifactSamplingRulesGet",
1269
+ "parameters": [
1270
+ {
1271
+ "description": "the id of the fleet",
1272
+ "in": "path",
1273
+ "name": "fleetID",
1274
+ "required": true,
1275
+ "type": "string"
1276
+ },
1277
+ {
1278
+ "description": "namespace of the game",
1279
+ "in": "path",
1280
+ "name": "namespace",
1281
+ "required": true,
1282
+ "type": "string"
1283
+ }
1284
+ ],
1285
+ "produces": ["application/json"],
1286
+ "responses": {
1287
+ "200": {
1288
+ "description": "success",
1289
+ "schema": {
1290
+ "$ref": "#/definitions/api.FleetArtifactsSampleRules"
1291
+ }
1292
+ },
1293
+ "400": {
1294
+ "description": "invalid fleet ID",
1295
+ "schema": {
1296
+ "$ref": "#/definitions/response.ErrorResponse"
1297
+ }
1298
+ },
1299
+ "401": {
1300
+ "description": "no authorization provided",
1301
+ "schema": {
1302
+ "$ref": "#/definitions/response.ErrorResponse"
1303
+ }
1304
+ },
1305
+ "403": {
1306
+ "description": "insufficient permissions",
1307
+ "schema": {
1308
+ "$ref": "#/definitions/response.ErrorResponse"
1309
+ }
1310
+ },
1311
+ "404": {
1312
+ "description": "artifact sampling rules not found for fleet",
1313
+ "schema": {
1314
+ "$ref": "#/definitions/response.ErrorResponse"
1315
+ }
1316
+ },
1317
+ "500": {
1318
+ "description": "internal server error",
1319
+ "schema": {
1320
+ "$ref": "#/definitions/response.ErrorResponse"
1321
+ }
1322
+ }
1323
+ },
1324
+ "security": [
1325
+ {
1326
+ "authorization": []
1327
+ }
1328
+ ],
1329
+ "summary": "get the sampling rules for a fleet",
1330
+ "tags": ["Artifacts"],
1331
+ "x-errorCodes": {}
1332
+ },
1333
+ "put": {
1334
+ "consumes": ["application/json"],
1335
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]",
1336
+ "operationId": "FleetArtifactSamplingRulesSet",
1337
+ "parameters": [
1338
+ {
1339
+ "in": "body",
1340
+ "name": "body",
1341
+ "required": true,
1342
+ "schema": {
1343
+ "$ref": "#/definitions/api.FleetArtifactsSampleRules"
1344
+ }
1345
+ },
1346
+ {
1347
+ "description": "the id of the fleet",
1348
+ "in": "path",
1349
+ "name": "fleetID",
1350
+ "required": true,
1351
+ "type": "string"
1352
+ },
1353
+ {
1354
+ "description": "namespace of the game",
1355
+ "in": "path",
1356
+ "name": "namespace",
1357
+ "required": true,
1358
+ "type": "string"
1359
+ }
1360
+ ],
1361
+ "produces": ["application/json"],
1362
+ "responses": {
1363
+ "200": {
1364
+ "description": "success",
1365
+ "schema": {
1366
+ "$ref": "#/definitions/api.FleetArtifactsSampleRules"
1367
+ }
1368
+ },
1369
+ "400": {
1370
+ "description": "invalid fleet ID",
1371
+ "schema": {
1372
+ "$ref": "#/definitions/response.ErrorResponse"
1373
+ }
1374
+ },
1375
+ "401": {
1376
+ "description": "no authorization provided",
1377
+ "schema": {
1378
+ "$ref": "#/definitions/response.ErrorResponse"
1379
+ }
1380
+ },
1381
+ "403": {
1382
+ "description": "insufficient permissions",
1383
+ "schema": {
1384
+ "$ref": "#/definitions/response.ErrorResponse"
1385
+ }
1386
+ },
1387
+ "404": {
1388
+ "description": "fleet not found",
1389
+ "schema": {
1390
+ "$ref": "#/definitions/response.ErrorResponse"
1391
+ }
1392
+ },
1393
+ "500": {
1394
+ "description": "internal server error",
1395
+ "schema": {
1396
+ "$ref": "#/definitions/response.ErrorResponse"
1397
+ }
1398
+ }
1399
+ },
1400
+ "security": [
1401
+ {
1402
+ "authorization": []
1403
+ }
1404
+ ],
1405
+ "summary": "set sampling rules for a fleet",
1406
+ "tags": ["Artifacts"],
1407
+ "x-errorCodes": {}
1408
+ }
1409
+ },
1410
+ "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/servers": {
1411
+ "get": {
1412
+ "consumes": ["application/json"],
1413
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
1414
+ "operationId": "FleetServers",
1415
+ "parameters": [
1416
+ {
1417
+ "description": "the id of the fleet",
1418
+ "in": "path",
1419
+ "name": "fleetID",
1420
+ "required": true,
1421
+ "type": "string"
1422
+ },
1423
+ {
1424
+ "description": "namespace of the game",
1425
+ "in": "path",
1426
+ "name": "namespace",
1427
+ "required": true,
1428
+ "type": "string"
1429
+ },
1430
+ {
1431
+ "description": "the data limit",
1432
+ "in": "query",
1433
+ "name": "count",
1434
+ "type": "string"
1435
+ },
1436
+ {
1437
+ "description": "the data offset",
1438
+ "in": "query",
1439
+ "name": "offset",
1440
+ "type": "integer"
1441
+ }
1442
+ ],
1443
+ "produces": ["application/json"],
1444
+ "responses": {
1445
+ "200": {
1446
+ "description": "success",
1447
+ "schema": {
1448
+ "$ref": "#/definitions/api.FleetServersResponse"
1449
+ }
1450
+ },
1451
+ "400": {
1452
+ "description": "bad request",
1453
+ "schema": {
1454
+ "$ref": "#/definitions/response.ErrorResponse"
1455
+ }
1456
+ },
1457
+ "401": {
1458
+ "description": "no authorization provided",
1459
+ "schema": {
1460
+ "$ref": "#/definitions/response.ErrorResponse"
1461
+ }
1462
+ },
1463
+ "403": {
1464
+ "description": "insufficient permissions",
1465
+ "schema": {
1466
+ "$ref": "#/definitions/response.ErrorResponse"
1467
+ }
1468
+ },
1469
+ "404": {
1470
+ "description": "fleet not found",
1471
+ "schema": {
1472
+ "$ref": "#/definitions/response.ErrorResponse"
1473
+ }
1474
+ },
1475
+ "500": {
1476
+ "description": "internal server error",
1477
+ "schema": {
1478
+ "$ref": "#/definitions/response.ErrorResponse"
1479
+ }
1480
+ }
1481
+ },
1482
+ "security": [
1483
+ {
1484
+ "authorization": []
1485
+ }
1486
+ ],
1487
+ "summary": "get server details \u0026 counts for a fleet",
1488
+ "tags": ["Fleets"],
1489
+ "x-errorCodes": {}
1490
+ }
1491
+ },
1492
+ "/ams/v1/admin/namespaces/{namespace}/fleets/{fleetID}/servers/history": {
1493
+ "get": {
1494
+ "consumes": ["application/json"],
1495
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
1496
+ "operationId": "FleetServerHistory",
1497
+ "parameters": [
1498
+ {
1499
+ "description": "ID of the fleet",
1500
+ "in": "path",
1501
+ "name": "fleetID",
1502
+ "required": true,
1503
+ "type": "string"
1504
+ },
1505
+ {
1506
+ "description": "namespace of the game",
1507
+ "in": "path",
1508
+ "name": "namespace",
1509
+ "required": true,
1510
+ "type": "string"
1511
+ },
1512
+ {
1513
+ "description": "Defines the maximum number of records returned in one page. Default is 1000 when not provided.",
1514
+ "in": "query",
1515
+ "name": "count",
1516
+ "type": "integer"
1517
+ },
1518
+ {
1519
+ "description": "Specifies the start index for the records returned. Useful for implementing pagination. Default is 0 when not provided.",
1520
+ "in": "query",
1521
+ "name": "offset",
1522
+ "type": "integer"
1523
+ },
1524
+ {
1525
+ "description": "Exit reason",
1526
+ "in": "query",
1527
+ "name": "reason",
1528
+ "type": "string"
1529
+ },
1530
+ {
1531
+ "description": "Region",
1532
+ "in": "query",
1533
+ "name": "region",
1534
+ "type": "string"
1535
+ },
1536
+ {
1537
+ "description": "Dedicated server ID",
1538
+ "in": "query",
1539
+ "name": "serverId",
1540
+ "type": "string"
1541
+ },
1542
+ {
1543
+ "description": "The direction of the sort on the 'createdAt' column, 'asc' for ascending and 'desc' for descending. Defaults to 'asc' when not provided.",
1544
+ "in": "query",
1545
+ "name": "sortDirection",
1546
+ "type": "string"
1547
+ },
1548
+ {
1549
+ "description": "Status of the dedicated server",
1550
+ "in": "query",
1551
+ "name": "status",
1552
+ "type": "string"
1553
+ }
1554
+ ],
1555
+ "produces": ["application/json"],
1556
+ "responses": {
1557
+ "200": {
1558
+ "description": "success",
1559
+ "schema": {
1560
+ "$ref": "#/definitions/api.DSHistoryList"
1561
+ }
1562
+ },
1563
+ "400": {
1564
+ "description": "bad request",
1565
+ "schema": {
1566
+ "$ref": "#/definitions/response.ErrorResponse"
1567
+ }
1568
+ },
1569
+ "401": {
1570
+ "description": "no authorization provided",
1571
+ "schema": {
1572
+ "$ref": "#/definitions/response.ErrorResponse"
1573
+ }
1574
+ },
1575
+ "403": {
1576
+ "description": "insufficient permissions",
1577
+ "schema": {
1578
+ "$ref": "#/definitions/response.ErrorResponse"
1579
+ }
1580
+ },
1581
+ "500": {
1582
+ "description": "internal server error",
1583
+ "schema": {
1584
+ "$ref": "#/definitions/response.ErrorResponse"
1585
+ }
1586
+ }
1587
+ },
1588
+ "security": [
1589
+ {
1590
+ "authorization": []
1591
+ }
1592
+ ],
1593
+ "summary": "get history records of a dedicated server in a fleet",
1594
+ "tags": ["Servers"],
1595
+ "x-errorCodes": {}
1596
+ }
1597
+ },
1598
+ "/ams/v1/admin/namespaces/{namespace}/images": {
1599
+ "get": {
1600
+ "consumes": ["application/json"],
1601
+ "description": "Returns images which exist (uploaded, uploading, or building) in the linked account. This route fails if no account is linked\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]",
1602
+ "operationId": "ImageList",
1603
+ "parameters": [
1604
+ {
1605
+ "description": "namespace of the game",
1606
+ "in": "path",
1607
+ "name": "namespace",
1608
+ "required": true,
1609
+ "type": "string"
1610
+ }
1611
+ ],
1612
+ "produces": ["application/json"],
1613
+ "responses": {
1614
+ "200": {
1615
+ "description": "success",
1616
+ "schema": {
1617
+ "$ref": "#/definitions/api.ImageList"
1618
+ }
1619
+ },
1620
+ "401": {
1621
+ "description": "no authorization provided",
1622
+ "schema": {
1623
+ "$ref": "#/definitions/response.ErrorResponse"
1624
+ }
1625
+ },
1626
+ "403": {
1627
+ "description": "insufficient permissions",
1628
+ "schema": {
1629
+ "$ref": "#/definitions/response.ErrorResponse"
1630
+ }
1631
+ },
1632
+ "404": {
1633
+ "description": "account not linked",
1634
+ "schema": {
1635
+ "$ref": "#/definitions/response.ErrorResponse"
1636
+ }
1637
+ },
1638
+ "500": {
1639
+ "description": "internal server error",
1640
+ "schema": {
1641
+ "$ref": "#/definitions/response.ErrorResponse"
1642
+ }
1643
+ }
1644
+ },
1645
+ "security": [
1646
+ {
1647
+ "authorization": []
1648
+ }
1649
+ ],
1650
+ "summary": "get a list of existing images",
1651
+ "tags": ["Images"],
1652
+ "x-errorCodes": {}
1653
+ }
1654
+ },
1655
+ "/ams/v1/admin/namespaces/{namespace}/images-storage": {
1656
+ "get": {
1657
+ "consumes": ["application/json"],
1658
+ "description": "Returns information regarding the account\u0026#39;s usage for images storage including the free tier quota\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]",
1659
+ "operationId": "ImagesStorage",
1660
+ "parameters": [
1661
+ {
1662
+ "description": "namespace of the game",
1663
+ "in": "path",
1664
+ "name": "namespace",
1665
+ "required": true,
1666
+ "type": "string"
1667
+ }
1668
+ ],
1669
+ "produces": ["application/json"],
1670
+ "responses": {
1671
+ "200": {
1672
+ "description": "success",
1673
+ "schema": {
1674
+ "$ref": "#/definitions/api.ImageStorage"
1675
+ }
1676
+ },
1677
+ "401": {
1678
+ "description": "no authorization provided",
1679
+ "schema": {
1680
+ "$ref": "#/definitions/response.ErrorResponse"
1681
+ }
1682
+ },
1683
+ "403": {
1684
+ "description": "insufficient permissions",
1685
+ "schema": {
1686
+ "$ref": "#/definitions/response.ErrorResponse"
1687
+ }
1688
+ },
1689
+ "404": {
1690
+ "description": "account not linked",
1691
+ "schema": {
1692
+ "$ref": "#/definitions/response.ErrorResponse"
1693
+ }
1694
+ },
1695
+ "500": {
1696
+ "description": "internal server error",
1697
+ "schema": {
1698
+ "$ref": "#/definitions/response.ErrorResponse"
1699
+ }
1700
+ }
1701
+ },
1702
+ "security": [
1703
+ {
1704
+ "authorization": []
1705
+ }
1706
+ ],
1707
+ "summary": "get current usage for images storage",
1708
+ "tags": ["Images"],
1709
+ "x-errorCodes": {}
1710
+ }
1711
+ },
1712
+ "/ams/v1/admin/namespaces/{namespace}/images/{imageID}": {
1713
+ "delete": {
1714
+ "consumes": ["application/json"],
1715
+ "description": "Marks an image for deletion. The image will stop being available for fleets and will eventually be deleted.\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]",
1716
+ "operationId": "ImageMarkForDeletion",
1717
+ "parameters": [
1718
+ {
1719
+ "description": "the id of the image",
1720
+ "in": "path",
1721
+ "name": "imageID",
1722
+ "required": true,
1723
+ "type": "string"
1724
+ },
1725
+ {
1726
+ "description": "namespace of the game",
1727
+ "in": "path",
1728
+ "name": "namespace",
1729
+ "required": true,
1730
+ "type": "string"
1731
+ }
1732
+ ],
1733
+ "produces": ["application/json"],
1734
+ "responses": {
1735
+ "202": {
1736
+ "description": "success"
1737
+ },
1738
+ "401": {
1739
+ "description": "no authorization provided",
1740
+ "schema": {
1741
+ "$ref": "#/definitions/response.ErrorResponse"
1742
+ }
1743
+ },
1744
+ "403": {
1745
+ "description": "insufficient permissions",
1746
+ "schema": {
1747
+ "$ref": "#/definitions/response.ErrorResponse"
1748
+ }
1749
+ },
1750
+ "404": {
1751
+ "description": "image doesn't exist",
1752
+ "schema": {
1753
+ "$ref": "#/definitions/response.ErrorResponse"
1754
+ }
1755
+ },
1756
+ "412": {
1757
+ "description": "image is being used by 1 or more fleets",
1758
+ "schema": {
1759
+ "$ref": "#/definitions/response.ErrorResponse"
1760
+ }
1761
+ },
1762
+ "500": {
1763
+ "description": "internal server error",
1764
+ "schema": {
1765
+ "$ref": "#/definitions/response.ErrorResponse"
1766
+ }
1767
+ }
1768
+ },
1769
+ "security": [
1770
+ {
1771
+ "authorization": []
1772
+ }
1773
+ ],
1774
+ "summary": "mark the image for deletion",
1775
+ "tags": ["Images"],
1776
+ "x-errorCodes": {}
1777
+ },
1778
+ "get": {
1779
+ "consumes": ["application/json"],
1780
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [READ]",
1781
+ "operationId": "ImageGet",
1782
+ "parameters": [
1783
+ {
1784
+ "description": "the id of the image",
1785
+ "in": "path",
1786
+ "name": "imageID",
1787
+ "required": true,
1788
+ "type": "string"
1789
+ },
1790
+ {
1791
+ "description": "namespace of the game",
1792
+ "in": "path",
1793
+ "name": "namespace",
1794
+ "required": true,
1795
+ "type": "string"
1796
+ }
1797
+ ],
1798
+ "produces": ["application/json"],
1799
+ "responses": {
1800
+ "200": {
1801
+ "description": "success",
1802
+ "schema": {
1803
+ "$ref": "#/definitions/api.ImageDetails"
1804
+ }
1805
+ },
1806
+ "401": {
1807
+ "description": "no authorization provided",
1808
+ "schema": {
1809
+ "$ref": "#/definitions/response.ErrorResponse"
1810
+ }
1811
+ },
1812
+ "403": {
1813
+ "description": "insufficient permissions",
1814
+ "schema": {
1815
+ "$ref": "#/definitions/response.ErrorResponse"
1816
+ }
1817
+ },
1818
+ "404": {
1819
+ "description": "account not linked",
1820
+ "schema": {
1821
+ "$ref": "#/definitions/response.ErrorResponse"
1822
+ }
1823
+ },
1824
+ "500": {
1825
+ "description": "internal server error",
1826
+ "schema": {
1827
+ "$ref": "#/definitions/response.ErrorResponse"
1828
+ }
1829
+ }
1830
+ },
1831
+ "security": [
1832
+ {
1833
+ "authorization": []
1834
+ }
1835
+ ],
1836
+ "summary": "get image details.",
1837
+ "tags": ["Images"],
1838
+ "x-errorCodes": {}
1839
+ },
1840
+ "patch": {
1841
+ "consumes": ["application/json"],
1842
+ "description": "This allows editing of the image name, toggling `IsProtected`, or adding \u0026amp; removal of tags\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [UPDATE]",
1843
+ "operationId": "ImagePatch",
1844
+ "parameters": [
1845
+ {
1846
+ "in": "body",
1847
+ "name": "body",
1848
+ "required": true,
1849
+ "schema": {
1850
+ "$ref": "#/definitions/api.ImageUpdate"
1851
+ }
1852
+ },
1853
+ {
1854
+ "description": "the id of the image",
1855
+ "in": "path",
1856
+ "name": "imageID",
1857
+ "required": true,
1858
+ "type": "string"
1859
+ },
1860
+ {
1861
+ "description": "namespace of the game",
1862
+ "in": "path",
1863
+ "name": "namespace",
1864
+ "required": true,
1865
+ "type": "string"
1866
+ }
1867
+ ],
1868
+ "produces": ["application/json"],
1869
+ "responses": {
1870
+ "200": {
1871
+ "description": "success",
1872
+ "schema": {
1873
+ "$ref": "#/definitions/api.ImageDetails"
1874
+ }
1875
+ },
1876
+ "401": {
1877
+ "description": "no authorization provided",
1878
+ "schema": {
1879
+ "$ref": "#/definitions/response.ErrorResponse"
1880
+ }
1881
+ },
1882
+ "403": {
1883
+ "description": "insufficient permissions",
1884
+ "schema": {
1885
+ "$ref": "#/definitions/response.ErrorResponse"
1886
+ }
1887
+ },
1888
+ "404": {
1889
+ "description": "account not linked",
1890
+ "schema": {
1891
+ "$ref": "#/definitions/response.ErrorResponse"
1892
+ }
1893
+ },
1894
+ "500": {
1895
+ "description": "internal server error",
1896
+ "schema": {
1897
+ "$ref": "#/definitions/response.ErrorResponse"
1898
+ }
1899
+ }
1900
+ },
1901
+ "security": [
1902
+ {
1903
+ "authorization": []
1904
+ }
1905
+ ],
1906
+ "summary": "edit the image",
1907
+ "tags": ["Images"],
1908
+ "x-errorCodes": {}
1909
+ }
1910
+ },
1911
+ "/ams/v1/admin/namespaces/{namespace}/images/{imageID}/restore": {
1912
+ "post": {
1913
+ "description": "Unmarks an image for deletion. The image will be available for fleets.\n\nRequired Permission: ADMIN:NAMESPACE:{namespace}:AMS:IMAGE [DELETE]",
1914
+ "operationId": "ImageUnmarkForDeletion",
1915
+ "parameters": [
1916
+ {
1917
+ "description": "the id of the image",
1918
+ "in": "path",
1919
+ "name": "imageID",
1920
+ "required": true,
1921
+ "type": "string"
1922
+ },
1923
+ {
1924
+ "description": "namespace of the game",
1925
+ "in": "path",
1926
+ "name": "namespace",
1927
+ "required": true,
1928
+ "type": "string"
1929
+ }
1930
+ ],
1931
+ "produces": ["application/json"],
1932
+ "responses": {
1933
+ "202": {
1934
+ "description": "success"
1935
+ },
1936
+ "401": {
1937
+ "description": "no authorization provided",
1938
+ "schema": {
1939
+ "$ref": "#/definitions/response.ErrorResponse"
1940
+ }
1941
+ },
1942
+ "403": {
1943
+ "description": "insufficient permissions",
1944
+ "schema": {
1945
+ "$ref": "#/definitions/response.ErrorResponse"
1946
+ }
1947
+ },
1948
+ "404": {
1949
+ "description": "image doesn't exist",
1950
+ "schema": {
1951
+ "$ref": "#/definitions/response.ErrorResponse"
1952
+ }
1953
+ },
1954
+ "412": {
1955
+ "description": "image wasn't marked for deletion",
1956
+ "schema": {
1957
+ "$ref": "#/definitions/response.ErrorResponse"
1958
+ }
1959
+ },
1960
+ "500": {
1961
+ "description": "internal server error",
1962
+ "schema": {
1963
+ "$ref": "#/definitions/response.ErrorResponse"
1964
+ }
1965
+ }
1966
+ },
1967
+ "security": [
1968
+ {
1969
+ "authorization": []
1970
+ }
1971
+ ],
1972
+ "summary": "unmarks the image for deletion",
1973
+ "tags": ["Images"],
1974
+ "x-errorCodes": {}
1975
+ }
1976
+ },
1977
+ "/ams/v1/admin/namespaces/{namespace}/qos": {
1978
+ "get": {
1979
+ "consumes": ["application/json"],
1980
+ "description": "```\n\t\t\tRequired Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [READ]\n\n\t\t\tThis endpoint lists all QoS services available in all regions.\n\n\t\t\tThis endpoint is intended to be called by game client to find out all available regions.\n\t\t\tAfter getting a list of QoS on each region, game client is expected to ping each one with UDP\n\t\t\tconnection as described below:\n\n\t\t\t1. Make UDP connection to each QoS\u0026#39;s IP:Port\n\t\t\t2. Send string \u0026#34;PING\u0026#34; after connection established\n\t\t\t3. Wait for string \u0026#34;PONG\u0026#34; response\n\t\t\t4. Note the request-response latency for each QoS in each region\n\n\t\t\tThe game then can use ping latency information to either:\n\t\t\t1. Inform the player on these latencies and let player choose preferred region\n\t\t\t2. Send the latency list to Matchmaking Service so that player can be matched with other players\n\t\t\t in nearby regions\n\t\t\t",
1981
+ "operationId": "QoSRegionsGet",
1982
+ "parameters": [
1983
+ {
1984
+ "description": "namespace of the game",
1985
+ "in": "path",
1986
+ "name": "namespace",
1987
+ "required": true,
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "description": "QoS status, available value: ACTIVE, INACTIVE",
1992
+ "in": "query",
1993
+ "name": "status",
1994
+ "type": "string"
1995
+ }
1996
+ ],
1997
+ "produces": ["application/json"],
1998
+ "responses": {
1999
+ "200": {
2000
+ "description": "success",
2001
+ "schema": {
2002
+ "$ref": "#/definitions/api.QoSEndpointResponse"
2003
+ }
2004
+ },
2005
+ "400": {
2006
+ "description": "bad request",
2007
+ "schema": {
2008
+ "$ref": "#/definitions/response.ErrorResponse"
2009
+ }
2010
+ },
2011
+ "401": {
2012
+ "description": "no authorization provided",
2013
+ "schema": {
2014
+ "$ref": "#/definitions/response.ErrorResponse"
2015
+ }
2016
+ },
2017
+ "403": {
2018
+ "description": "insufficient permissions",
2019
+ "schema": {
2020
+ "$ref": "#/definitions/response.ErrorResponse"
2021
+ }
2022
+ },
2023
+ "500": {
2024
+ "description": "internal server error",
2025
+ "schema": {
2026
+ "$ref": "#/definitions/response.ErrorResponse"
2027
+ }
2028
+ }
2029
+ },
2030
+ "security": [
2031
+ {
2032
+ "authorization": []
2033
+ }
2034
+ ],
2035
+ "summary": "get a list of available AMS QoS regions",
2036
+ "tags": ["AMS QoS"],
2037
+ "x-errorCodes": {}
2038
+ }
2039
+ },
2040
+ "/ams/v1/admin/namespaces/{namespace}/qos/{region}": {
2041
+ "patch": {
2042
+ "consumes": ["application/json"],
2043
+ "description": "```\n\t\t\tRequired Permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE]\n\n\t\t\tThis endpoint updates the registered QoS service\u0026#39;s configurable configuration.\n\t\t\t",
2044
+ "operationId": "QoSRegionsUpdate",
2045
+ "parameters": [
2046
+ {
2047
+ "in": "body",
2048
+ "name": "body",
2049
+ "required": true,
2050
+ "schema": {
2051
+ "$ref": "#/definitions/api.UpdateServerRequest"
2052
+ }
2053
+ },
2054
+ {
2055
+ "description": "namespace of the game",
2056
+ "in": "path",
2057
+ "name": "namespace",
2058
+ "required": true,
2059
+ "type": "string"
2060
+ },
2061
+ {
2062
+ "description": "region of the QoS",
2063
+ "in": "path",
2064
+ "name": "region",
2065
+ "required": true,
2066
+ "type": "string"
2067
+ }
2068
+ ],
2069
+ "produces": ["application/json"],
2070
+ "responses": {
2071
+ "204": {
2072
+ "description": "record updated"
2073
+ },
2074
+ "400": {
2075
+ "description": "malformed request",
2076
+ "schema": {
2077
+ "$ref": "#/definitions/response.ErrorResponse"
2078
+ }
2079
+ },
2080
+ "401": {
2081
+ "description": "no authorization provided",
2082
+ "schema": {
2083
+ "$ref": "#/definitions/response.ErrorResponse"
2084
+ }
2085
+ },
2086
+ "403": {
2087
+ "description": "insufficient permissions",
2088
+ "schema": {
2089
+ "$ref": "#/definitions/response.ErrorResponse"
2090
+ }
2091
+ },
2092
+ "404": {
2093
+ "description": "regionial QoS record not found",
2094
+ "schema": {
2095
+ "$ref": "#/definitions/response.ErrorResponse"
2096
+ }
2097
+ },
2098
+ "500": {
2099
+ "description": "Internal Server Error",
2100
+ "schema": {
2101
+ "$ref": "#/definitions/response.ErrorResponse"
2102
+ }
2103
+ }
2104
+ },
2105
+ "security": [
2106
+ {
2107
+ "authorization": []
2108
+ }
2109
+ ],
2110
+ "summary": "update the status of a QoS region",
2111
+ "tags": ["AMS QoS"],
2112
+ "x-errorCodes": {}
2113
+ }
2114
+ },
2115
+ "/ams/v1/admin/namespaces/{namespace}/regions": {
2116
+ "get": {
2117
+ "consumes": ["application/json"],
2118
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]",
2119
+ "operationId": "InfoRegions",
2120
+ "parameters": [
2121
+ {
2122
+ "description": "namespace of the game",
2123
+ "in": "path",
2124
+ "name": "namespace",
2125
+ "required": true,
2126
+ "type": "string"
2127
+ }
2128
+ ],
2129
+ "produces": ["application/json"],
2130
+ "responses": {
2131
+ "200": {
2132
+ "description": "success",
2133
+ "schema": {
2134
+ "$ref": "#/definitions/api.AMSRegionsResponse"
2135
+ }
2136
+ },
2137
+ "401": {
2138
+ "description": "no authorization provided",
2139
+ "schema": {
2140
+ "$ref": "#/definitions/response.ErrorResponse"
2141
+ }
2142
+ },
2143
+ "403": {
2144
+ "description": "insufficient permissions",
2145
+ "schema": {
2146
+ "$ref": "#/definitions/response.ErrorResponse"
2147
+ }
2148
+ },
2149
+ "500": {
2150
+ "description": "internal server error",
2151
+ "schema": {
2152
+ "$ref": "#/definitions/response.ErrorResponse"
2153
+ }
2154
+ }
2155
+ },
2156
+ "security": [
2157
+ {
2158
+ "authorization": []
2159
+ }
2160
+ ],
2161
+ "summary": "get a list of the available AMS regions",
2162
+ "tags": ["AMS Info"],
2163
+ "x-errorCodes": {}
2164
+ }
2165
+ },
2166
+ "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}": {
2167
+ "get": {
2168
+ "consumes": ["application/json"],
2169
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
2170
+ "operationId": "FleetServerInfo",
2171
+ "parameters": [
2172
+ {
2173
+ "description": "namespace of the game",
2174
+ "in": "path",
2175
+ "name": "namespace",
2176
+ "required": true,
2177
+ "type": "string"
2178
+ },
2179
+ {
2180
+ "description": "the id of the dedicated server",
2181
+ "in": "path",
2182
+ "name": "serverID",
2183
+ "required": true,
2184
+ "type": "string"
2185
+ }
2186
+ ],
2187
+ "produces": ["application/json"],
2188
+ "responses": {
2189
+ "200": {
2190
+ "description": "success",
2191
+ "schema": {
2192
+ "$ref": "#/definitions/api.FleetServerInfoResponse"
2193
+ }
2194
+ },
2195
+ "401": {
2196
+ "description": "no authorization provided",
2197
+ "schema": {
2198
+ "$ref": "#/definitions/response.ErrorResponse"
2199
+ }
2200
+ },
2201
+ "403": {
2202
+ "description": "insufficient permissions",
2203
+ "schema": {
2204
+ "$ref": "#/definitions/response.ErrorResponse"
2205
+ }
2206
+ },
2207
+ "404": {
2208
+ "description": "dedicated server not found",
2209
+ "schema": {
2210
+ "$ref": "#/definitions/response.ErrorResponse"
2211
+ }
2212
+ },
2213
+ "500": {
2214
+ "description": "internal server error",
2215
+ "schema": {
2216
+ "$ref": "#/definitions/response.ErrorResponse"
2217
+ }
2218
+ }
2219
+ },
2220
+ "security": [
2221
+ {
2222
+ "authorization": []
2223
+ }
2224
+ ],
2225
+ "summary": "get information about a dedicated server",
2226
+ "tags": ["Servers"],
2227
+ "x-errorCodes": {}
2228
+ }
2229
+ },
2230
+ "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/connectioninfo": {
2231
+ "get": {
2232
+ "consumes": ["application/json"],
2233
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:DS:LOGS [READ]",
2234
+ "operationId": "FleetServerConnectionInfo",
2235
+ "parameters": [
2236
+ {
2237
+ "description": "namespace of the game",
2238
+ "in": "path",
2239
+ "name": "namespace",
2240
+ "required": true,
2241
+ "type": "string"
2242
+ },
2243
+ {
2244
+ "description": "the ID of the dedicated server",
2245
+ "in": "path",
2246
+ "name": "serverID",
2247
+ "required": true,
2248
+ "type": "string"
2249
+ }
2250
+ ],
2251
+ "produces": ["application/json"],
2252
+ "responses": {
2253
+ "200": {
2254
+ "description": "success",
2255
+ "schema": {
2256
+ "$ref": "#/definitions/api.FleetServerConnectionInfoResponse"
2257
+ }
2258
+ },
2259
+ "401": {
2260
+ "description": "no authorization provided",
2261
+ "schema": {
2262
+ "$ref": "#/definitions/response.ErrorResponse"
2263
+ }
2264
+ },
2265
+ "403": {
2266
+ "description": "insufficient permissions",
2267
+ "schema": {
2268
+ "$ref": "#/definitions/response.ErrorResponse"
2269
+ }
2270
+ },
2271
+ "404": {
2272
+ "description": "dedicated server not found",
2273
+ "schema": {
2274
+ "$ref": "#/definitions/response.ErrorResponse"
2275
+ }
2276
+ },
2277
+ "500": {
2278
+ "description": "internal server error",
2279
+ "schema": {
2280
+ "$ref": "#/definitions/response.ErrorResponse"
2281
+ }
2282
+ }
2283
+ },
2284
+ "security": [
2285
+ {
2286
+ "authorization": []
2287
+ }
2288
+ ],
2289
+ "summary": "get connection info for a dedicated server",
2290
+ "tags": ["Servers"],
2291
+ "x-errorCodes": {}
2292
+ }
2293
+ },
2294
+ "/ams/v1/admin/namespaces/{namespace}/servers/{serverID}/history": {
2295
+ "get": {
2296
+ "consumes": ["application/json"],
2297
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]",
2298
+ "operationId": "ServerHistory",
2299
+ "parameters": [
2300
+ {
2301
+ "description": "namespace of the game",
2302
+ "in": "path",
2303
+ "name": "namespace",
2304
+ "required": true,
2305
+ "type": "string"
2306
+ },
2307
+ {
2308
+ "description": "the id of the dedicated server",
2309
+ "in": "path",
2310
+ "name": "serverID",
2311
+ "required": true,
2312
+ "type": "string"
2313
+ }
2314
+ ],
2315
+ "produces": ["application/json"],
2316
+ "responses": {
2317
+ "200": {
2318
+ "description": "success",
2319
+ "schema": {
2320
+ "$ref": "#/definitions/api.FleetServerHistoryResponse"
2321
+ }
2322
+ },
2323
+ "400": {
2324
+ "description": "bad request",
2325
+ "schema": {
2326
+ "$ref": "#/definitions/response.ErrorResponse"
2327
+ }
2328
+ },
2329
+ "401": {
2330
+ "description": "no authorization provided",
2331
+ "schema": {
2332
+ "$ref": "#/definitions/response.ErrorResponse"
2333
+ }
2334
+ },
2335
+ "403": {
2336
+ "description": "insufficient permissions",
2337
+ "schema": {
2338
+ "$ref": "#/definitions/response.ErrorResponse"
2339
+ }
2340
+ },
2341
+ "500": {
2342
+ "description": "internal server error",
2343
+ "schema": {
2344
+ "$ref": "#/definitions/response.ErrorResponse"
2345
+ }
2346
+ }
2347
+ },
2348
+ "security": [
2349
+ {
2350
+ "authorization": []
2351
+ }
2352
+ ],
2353
+ "summary": "get history records of a dedicated server",
2354
+ "tags": ["Servers"],
2355
+ "x-errorCodes": {}
2356
+ }
2357
+ },
2358
+ "/ams/v1/admin/namespaces/{namespace}/supported-instances": {
2359
+ "get": {
2360
+ "consumes": ["application/json"],
2361
+ "description": "Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]",
2362
+ "operationId": "InfoSupportedInstances",
2363
+ "parameters": [
2364
+ {
2365
+ "description": "namespace of the game",
2366
+ "in": "path",
2367
+ "name": "namespace",
2368
+ "required": true,
2369
+ "type": "string"
2370
+ }
2371
+ ],
2372
+ "produces": ["application/json"],
2373
+ "responses": {
2374
+ "200": {
2375
+ "description": "success",
2376
+ "schema": {
2377
+ "$ref": "#/definitions/api.AvailableInstanceTypesResponse"
2378
+ }
2379
+ },
2380
+ "401": {
2381
+ "description": "no authorization provided",
2382
+ "schema": {
2383
+ "$ref": "#/definitions/response.ErrorResponse"
2384
+ }
2385
+ },
2386
+ "403": {
2387
+ "description": "insufficient permissions",
2388
+ "schema": {
2389
+ "$ref": "#/definitions/response.ErrorResponse"
2390
+ }
2391
+ },
2392
+ "500": {
2393
+ "description": "internal server error",
2394
+ "schema": {
2395
+ "$ref": "#/definitions/response.ErrorResponse"
2396
+ }
2397
+ }
2398
+ },
2399
+ "security": [
2400
+ {
2401
+ "authorization": []
2402
+ }
2403
+ ],
2404
+ "summary": "get a list of available VM configurations",
2405
+ "tags": ["AMS Info"],
2406
+ "x-errorCodes": {}
2407
+ }
2408
+ },
2409
+ "/ams/v1/namespaces/{namespace}/account": {
2410
+ "get": {
2411
+ "consumes": ["application/json"],
2412
+ "description": "Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]",
2413
+ "operationId": "AccountGet",
2414
+ "parameters": [
2415
+ {
2416
+ "description": "namespace of the game",
2417
+ "in": "path",
2418
+ "name": "namespace",
2419
+ "required": true,
2420
+ "type": "string"
2421
+ }
2422
+ ],
2423
+ "produces": ["application/json"],
2424
+ "responses": {
2425
+ "200": {
2426
+ "description": "success",
2427
+ "schema": {
2428
+ "$ref": "#/definitions/api.AccountResponse"
2429
+ }
2430
+ },
2431
+ "401": {
2432
+ "description": "no authorization provided",
2433
+ "schema": {
2434
+ "$ref": "#/definitions/response.ErrorResponse"
2435
+ }
2436
+ },
2437
+ "403": {
2438
+ "description": "insufficient permissions",
2439
+ "schema": {
2440
+ "$ref": "#/definitions/response.ErrorResponse"
2441
+ }
2442
+ },
2443
+ "404": {
2444
+ "description": "account not linked",
2445
+ "schema": {
2446
+ "$ref": "#/definitions/response.ErrorResponse"
2447
+ }
2448
+ },
2449
+ "500": {
2450
+ "description": "internal server error",
2451
+ "schema": {
2452
+ "$ref": "#/definitions/response.ErrorResponse"
2453
+ }
2454
+ }
2455
+ },
2456
+ "security": [
2457
+ {
2458
+ "authorization": []
2459
+ }
2460
+ ],
2461
+ "summary": "get the account associated with the namespace",
2462
+ "tags": ["Account"],
2463
+ "x-errorCodes": {}
2464
+ }
2465
+ },
2466
+ "/ams/v1/namespaces/{namespace}/fleets/{fleetID}/claim": {
2467
+ "put": {
2468
+ "consumes": ["application/json"],
2469
+ "description": "Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]",
2470
+ "operationId": "FleetClaimByID",
2471
+ "parameters": [
2472
+ {
2473
+ "in": "body",
2474
+ "name": "body",
2475
+ "required": true,
2476
+ "schema": {
2477
+ "$ref": "#/definitions/api.FleetClaimReq"
2478
+ }
2479
+ },
2480
+ {
2481
+ "description": "the id of the fleet",
2482
+ "in": "path",
2483
+ "name": "fleetID",
2484
+ "required": true,
2485
+ "type": "string"
2486
+ },
2487
+ {
2488
+ "description": "namespace of the game",
2489
+ "in": "path",
2490
+ "name": "namespace",
2491
+ "required": true,
2492
+ "type": "string"
2493
+ }
2494
+ ],
2495
+ "produces": ["application/json"],
2496
+ "responses": {
2497
+ "200": {
2498
+ "description": "success",
2499
+ "schema": {
2500
+ "$ref": "#/definitions/api.FleetClaimResponse"
2501
+ }
2502
+ },
2503
+ "400": {
2504
+ "description": "bad request",
2505
+ "schema": {
2506
+ "$ref": "#/definitions/response.ErrorResponse"
2507
+ }
2508
+ },
2509
+ "401": {
2510
+ "description": "no authorization provided",
2511
+ "schema": {
2512
+ "$ref": "#/definitions/response.ErrorResponse"
2513
+ }
2514
+ },
2515
+ "403": {
2516
+ "description": "insufficient permissions",
2517
+ "schema": {
2518
+ "$ref": "#/definitions/response.ErrorResponse"
2519
+ }
2520
+ },
2521
+ "404": {
2522
+ "description": "fleet not found",
2523
+ "schema": {
2524
+ "$ref": "#/definitions/response.ErrorResponse"
2525
+ }
2526
+ },
2527
+ "500": {
2528
+ "description": "internal server error",
2529
+ "schema": {
2530
+ "$ref": "#/definitions/response.ErrorResponse"
2531
+ }
2532
+ }
2533
+ },
2534
+ "security": [
2535
+ {
2536
+ "authorization": []
2537
+ }
2538
+ ],
2539
+ "summary": "claim a dedicated server from a fleet",
2540
+ "tags": ["Fleets"],
2541
+ "x-errorCodes": {}
2542
+ }
2543
+ },
2544
+ "/ams/v1/namespaces/{namespace}/local/{watchdogID}/connect": {
2545
+ "get": {
2546
+ "description": "This is to support local ds development scenarios\n\nRequired Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]",
2547
+ "operationId": "LocalWatchdogConnect",
2548
+ "parameters": [
2549
+ {
2550
+ "description": "namespace of the game",
2551
+ "in": "path",
2552
+ "name": "namespace",
2553
+ "required": true,
2554
+ "type": "string"
2555
+ },
2556
+ {
2557
+ "description": "the id of the watchdog",
2558
+ "in": "path",
2559
+ "name": "watchdogID",
2560
+ "required": true,
2561
+ "type": "string"
2562
+ }
2563
+ ],
2564
+ "produces": ["application/json"],
2565
+ "responses": {
2566
+ "200": {
2567
+ "description": "OK"
2568
+ }
2569
+ },
2570
+ "security": [
2571
+ {
2572
+ "authorization": []
2573
+ }
2574
+ ],
2575
+ "summary": "connect a local watchdog",
2576
+ "tags": ["Watchdogs"],
2577
+ "x-errorCodes": {}
2578
+ }
2579
+ },
2580
+ "/ams/v1/namespaces/{namespace}/servers/claim": {
2581
+ "put": {
2582
+ "consumes": ["application/json"],
2583
+ "description": "Claim a dedicated server from fleets with matching claim keys\n\nRequired Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]",
2584
+ "operationId": "FleetClaimByKeys",
2585
+ "parameters": [
2586
+ {
2587
+ "in": "body",
2588
+ "name": "body",
2589
+ "required": true,
2590
+ "schema": {
2591
+ "$ref": "#/definitions/api.FleetClaimByKeysReq"
2592
+ }
2593
+ },
2594
+ {
2595
+ "description": "namespace of the game",
2596
+ "in": "path",
2597
+ "name": "namespace",
2598
+ "required": true,
2599
+ "type": "string"
2600
+ }
2601
+ ],
2602
+ "produces": ["application/json"],
2603
+ "responses": {
2604
+ "200": {
2605
+ "description": "success",
2606
+ "schema": {
2607
+ "$ref": "#/definitions/api.FleetClaimResponse"
2608
+ }
2609
+ },
2610
+ "400": {
2611
+ "description": "bad request",
2612
+ "schema": {
2613
+ "$ref": "#/definitions/response.ErrorResponse"
2614
+ }
2615
+ },
2616
+ "401": {
2617
+ "description": "no authorization provided",
2618
+ "schema": {
2619
+ "$ref": "#/definitions/response.ErrorResponse"
2620
+ }
2621
+ },
2622
+ "403": {
2623
+ "description": "insufficient permissions",
2624
+ "schema": {
2625
+ "$ref": "#/definitions/response.ErrorResponse"
2626
+ }
2627
+ },
2628
+ "404": {
2629
+ "description": "no matching DS available",
2630
+ "schema": {
2631
+ "$ref": "#/definitions/response.ErrorResponse"
2632
+ }
2633
+ },
2634
+ "500": {
2635
+ "description": "internal server error",
2636
+ "schema": {
2637
+ "$ref": "#/definitions/response.ErrorResponse"
2638
+ }
2639
+ }
2640
+ },
2641
+ "security": [
2642
+ {
2643
+ "authorization": []
2644
+ }
2645
+ ],
2646
+ "summary": "claim a dedicated server",
2647
+ "tags": ["Fleets"],
2648
+ "x-errorCodes": {}
2649
+ }
2650
+ },
2651
+ "/ams/v1/namespaces/{namespace}/watchdogs/{watchdogID}/connect": {
2652
+ "get": {
2653
+ "description": "Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]",
2654
+ "operationId": "WatchdogConnect",
2655
+ "parameters": [
2656
+ {
2657
+ "description": "namespace of the game",
2658
+ "in": "path",
2659
+ "name": "namespace",
2660
+ "required": true,
2661
+ "type": "string"
2662
+ },
2663
+ {
2664
+ "description": "the id of the watchdog",
2665
+ "in": "path",
2666
+ "name": "watchdogID",
2667
+ "required": true,
2668
+ "type": "string"
2669
+ }
2670
+ ],
2671
+ "produces": ["application/json"],
2672
+ "responses": {
2673
+ "200": {
2674
+ "description": "OK"
2675
+ }
2676
+ },
2677
+ "security": [
2678
+ {
2679
+ "authorization": []
2680
+ }
2681
+ ],
2682
+ "summary": "connect a watchdog",
2683
+ "tags": ["Watchdogs"],
2684
+ "x-errorCodes": {}
2685
+ }
2686
+ },
2687
+ "/ams/v1/upload-url": {
2688
+ "get": {
2689
+ "operationId": "UploadURLGet",
2690
+ "produces": ["application/json"],
2691
+ "responses": {
2692
+ "200": {
2693
+ "description": "success"
2694
+ }
2695
+ },
2696
+ "security": [
2697
+ {
2698
+ "authorization": []
2699
+ }
2700
+ ],
2701
+ "summary": "get an URL for uploading an image",
2702
+ "tags": ["AMS Info"],
2703
+ "x-errorCodes": {}
2704
+ }
2705
+ },
2706
+ "/ams/version": {
2707
+ "get": {
2708
+ "operationId": "func1",
2709
+ "produces": ["application/json"],
2710
+ "responses": {
2711
+ "200": {
2712
+ "description": "OK"
2713
+ }
2714
+ },
2715
+ "security": [
2716
+ {
2717
+ "authorization": []
2718
+ }
2719
+ ],
2720
+ "summary": "Version info",
2721
+ "tags": ["Fleet Commander"],
2722
+ "x-errorCodes": {}
2723
+ }
2724
+ },
2725
+ "/healthz": {
2726
+ "get": {
2727
+ "operationId": "BasicHealthCheck",
2728
+ "produces": ["application/json"],
2729
+ "responses": {
2730
+ "200": {
2731
+ "description": "OK"
2732
+ }
2733
+ },
2734
+ "security": [
2735
+ {
2736
+ "authorization": []
2737
+ }
2738
+ ],
2739
+ "summary": "Health check",
2740
+ "tags": ["Fleet Commander"],
2741
+ "x-errorCodes": {}
2742
+ }
2743
+ }
2744
+ },
2745
+ "definitions": {
2746
+ "api.AMSRegionsResponse": {
2747
+ "properties": {
2748
+ "regions": {
2749
+ "items": {
2750
+ "type": "string"
2751
+ },
2752
+ "type": "array"
2753
+ }
2754
+ }
2755
+ },
2756
+ "api.AccountCreateRequest": {
2757
+ "properties": {
2758
+ "name": {
2759
+ "type": "string"
2760
+ }
2761
+ },
2762
+ "required": ["name"]
2763
+ },
2764
+ "api.AccountCreateResponse": {
2765
+ "properties": {
2766
+ "Limits": {
2767
+ "$ref": "#/definitions/api.AccountLimits"
2768
+ },
2769
+ "id": {
2770
+ "type": "string"
2771
+ },
2772
+ "name": {
2773
+ "type": "string"
2774
+ },
2775
+ "namespaces": {
2776
+ "items": {
2777
+ "type": "string"
2778
+ },
2779
+ "type": "array"
2780
+ }
2781
+ },
2782
+ "required": ["Limits", "id", "name", "namespaces"]
2783
+ },
2784
+ "api.AccountLimits": {
2785
+ "properties": {
2786
+ "allowedNodeClasses": {
2787
+ "items": {
2788
+ "type": "string"
2789
+ },
2790
+ "type": "array"
2791
+ },
2792
+ "allowedRegions": {
2793
+ "items": {
2794
+ "type": "string"
2795
+ },
2796
+ "type": "array"
2797
+ },
2798
+ "fleetCount": {
2799
+ "format": "int32",
2800
+ "type": "integer"
2801
+ },
2802
+ "fleetVmCount": {
2803
+ "format": "int32",
2804
+ "type": "integer"
2805
+ },
2806
+ "imageStorageQuotaBytes": {
2807
+ "format": "int64",
2808
+ "type": "integer"
2809
+ }
2810
+ }
2811
+ },
2812
+ "api.AccountLinkRequest": {
2813
+ "properties": {
2814
+ "token": {
2815
+ "type": "string"
2816
+ }
2817
+ },
2818
+ "required": ["token"]
2819
+ },
2820
+ "api.AccountLinkResponse": {
2821
+ "properties": {
2822
+ "Limits": {
2823
+ "$ref": "#/definitions/api.AccountLimits"
2824
+ },
2825
+ "id": {
2826
+ "type": "string"
2827
+ },
2828
+ "name": {
2829
+ "type": "string"
2830
+ },
2831
+ "namespaces": {
2832
+ "items": {
2833
+ "type": "string"
2834
+ },
2835
+ "type": "array"
2836
+ }
2837
+ },
2838
+ "required": ["Limits", "id", "name", "namespaces"]
2839
+ },
2840
+ "api.AccountLinkTokenResponse": {
2841
+ "properties": {
2842
+ "token": {
2843
+ "type": "string"
2844
+ }
2845
+ },
2846
+ "required": ["token"]
2847
+ },
2848
+ "api.AccountResponse": {
2849
+ "properties": {
2850
+ "Limits": {
2851
+ "$ref": "#/definitions/api.AccountLimits"
2852
+ },
2853
+ "id": {
2854
+ "type": "string"
2855
+ },
2856
+ "name": {
2857
+ "type": "string"
2858
+ },
2859
+ "namespaces": {
2860
+ "items": {
2861
+ "type": "string"
2862
+ },
2863
+ "type": "array"
2864
+ }
2865
+ },
2866
+ "required": ["Limits", "id", "name", "namespaces"]
2867
+ },
2868
+ "api.ArtifactListResponse": {
2869
+ "properties": {
2870
+ "data": {
2871
+ "items": {
2872
+ "$ref": "#/definitions/api.ArtifactResponse"
2873
+ },
2874
+ "type": "array"
2875
+ },
2876
+ "totalData": {
2877
+ "format": "int32",
2878
+ "type": "integer"
2879
+ }
2880
+ },
2881
+ "required": ["data", "totalData"]
2882
+ },
2883
+ "api.ArtifactResponse": {
2884
+ "properties": {
2885
+ "artifactType": {
2886
+ "type": "string"
2887
+ },
2888
+ "createdOn": {
2889
+ "$ref": "#/definitions/time.Time"
2890
+ },
2891
+ "dsId": {
2892
+ "type": "string"
2893
+ },
2894
+ "expiresOn": {
2895
+ "$ref": "#/definitions/time.Time"
2896
+ },
2897
+ "filename": {
2898
+ "type": "string"
2899
+ },
2900
+ "fleetId": {
2901
+ "type": "string"
2902
+ },
2903
+ "id": {
2904
+ "type": "string"
2905
+ },
2906
+ "imageId": {
2907
+ "type": "string"
2908
+ },
2909
+ "namespace": {
2910
+ "type": "string"
2911
+ },
2912
+ "region": {
2913
+ "type": "string"
2914
+ },
2915
+ "sizeBytes": {
2916
+ "format": "int64",
2917
+ "type": "integer"
2918
+ },
2919
+ "status": {
2920
+ "type": "string"
2921
+ }
2922
+ },
2923
+ "required": [
2924
+ "artifactType",
2925
+ "createdOn",
2926
+ "dsId",
2927
+ "expiresOn",
2928
+ "filename",
2929
+ "fleetId",
2930
+ "id",
2931
+ "imageId",
2932
+ "namespace",
2933
+ "region",
2934
+ "sizeBytes",
2935
+ "status"
2936
+ ]
2937
+ },
2938
+ "api.ArtifactSamplingRule": {
2939
+ "properties": {
2940
+ "collect": {
2941
+ "type": "boolean",
2942
+ "x-omitempty": false
2943
+ },
2944
+ "percentage": {
2945
+ "format": "int64",
2946
+ "type": "integer"
2947
+ }
2948
+ },
2949
+ "required": ["collect", "percentage"]
2950
+ },
2951
+ "api.ArtifactTypeSamplingRules": {
2952
+ "properties": {
2953
+ "crashed": {
2954
+ "$ref": "#/definitions/api.ArtifactSamplingRule"
2955
+ },
2956
+ "success": {
2957
+ "$ref": "#/definitions/api.ArtifactSamplingRule"
2958
+ }
2959
+ },
2960
+ "required": ["crashed", "success"]
2961
+ },
2962
+ "api.ArtifactURLResponse": {
2963
+ "properties": {
2964
+ "url": {
2965
+ "type": "string"
2966
+ }
2967
+ },
2968
+ "required": ["url"]
2969
+ },
2970
+ "api.ArtifactUsageResponse": {
2971
+ "properties": {
2972
+ "quotaBytes": {
2973
+ "format": "int64",
2974
+ "type": "integer"
2975
+ },
2976
+ "remainingBytes": {
2977
+ "format": "int64",
2978
+ "type": "integer"
2979
+ },
2980
+ "usedBytes": {
2981
+ "format": "int64",
2982
+ "type": "integer"
2983
+ }
2984
+ },
2985
+ "required": ["quotaBytes", "remainingBytes", "usedBytes"]
2986
+ },
2987
+ "api.AvailableInstanceTypesResponse": {
2988
+ "properties": {
2989
+ "availableInstanceTypes": {
2990
+ "items": {
2991
+ "$ref": "#/definitions/api.InstanceTypeDescriptionResponse"
2992
+ },
2993
+ "type": "array"
2994
+ }
2995
+ },
2996
+ "required": ["availableInstanceTypes"]
2997
+ },
2998
+ "api.DSHistoryEvent": {
2999
+ "properties": {
3000
+ "createdAt": {
3001
+ "$ref": "#/definitions/time.Time"
3002
+ },
3003
+ "exitCode": {
3004
+ "format": "int32",
3005
+ "type": "integer"
3006
+ },
3007
+ "ipAddress": {
3008
+ "type": "string"
3009
+ },
3010
+ "reason": {
3011
+ "type": "string"
3012
+ },
3013
+ "region": {
3014
+ "type": "string"
3015
+ },
3016
+ "serverId": {
3017
+ "type": "string"
3018
+ },
3019
+ "status": {
3020
+ "type": "string"
3021
+ }
3022
+ },
3023
+ "required": ["createdAt", "exitCode", "ipAddress", "reason", "region", "serverId", "status"]
3024
+ },
3025
+ "api.DSHistoryList": {
3026
+ "properties": {
3027
+ "events": {
3028
+ "items": {
3029
+ "$ref": "#/definitions/api.DSHistoryEvent"
3030
+ },
3031
+ "type": "array"
3032
+ },
3033
+ "paging": {
3034
+ "$ref": "#/definitions/api.PagingInfo"
3035
+ }
3036
+ },
3037
+ "required": ["events", "paging"]
3038
+ },
3039
+ "api.DSHostConfiguration": {
3040
+ "properties": {
3041
+ "instanceId": {
3042
+ "type": "string"
3043
+ },
3044
+ "instanceType": {
3045
+ "type": "string"
3046
+ },
3047
+ "serversPerVm": {
3048
+ "format": "int32",
3049
+ "type": "integer"
3050
+ }
3051
+ },
3052
+ "required": ["instanceId", "instanceType", "serversPerVm"]
3053
+ },
3054
+ "api.DevelopmentServerConfigurationCreateRequest": {
3055
+ "properties": {
3056
+ "commandLineArguments": {
3057
+ "type": "string"
3058
+ },
3059
+ "imageId": {
3060
+ "type": "string"
3061
+ },
3062
+ "name": {
3063
+ "type": "string"
3064
+ }
3065
+ },
3066
+ "required": ["commandLineArguments", "imageId", "name"]
3067
+ },
3068
+ "api.DevelopmentServerConfigurationCreateResponse": {
3069
+ "properties": {
3070
+ "name": {
3071
+ "type": "string"
3072
+ }
3073
+ },
3074
+ "required": ["name"]
3075
+ },
3076
+ "api.DevelopmentServerConfigurationGetResponse": {
3077
+ "properties": {
3078
+ "commandLineArguments": {
3079
+ "type": "string"
3080
+ },
3081
+ "imageId": {
3082
+ "type": "string"
3083
+ },
3084
+ "name": {
3085
+ "type": "string"
3086
+ }
3087
+ },
3088
+ "required": ["commandLineArguments", "imageId", "name"]
3089
+ },
3090
+ "api.DevelopmentServerConfigurationListResponse": {
3091
+ "properties": {
3092
+ "data": {
3093
+ "items": {
3094
+ "$ref": "#/definitions/api.DevelopmentServerConfigurationGetResponse"
3095
+ },
3096
+ "type": "array"
3097
+ },
3098
+ "totalData": {
3099
+ "format": "int32",
3100
+ "type": "integer"
3101
+ }
3102
+ },
3103
+ "required": ["data", "totalData"]
3104
+ },
3105
+ "api.FleetArtifactsSampleRules": {
3106
+ "properties": {
3107
+ "coredumps": {
3108
+ "$ref": "#/definitions/api.ArtifactTypeSamplingRules"
3109
+ },
3110
+ "logs": {
3111
+ "$ref": "#/definitions/api.ArtifactTypeSamplingRules"
3112
+ }
3113
+ },
3114
+ "required": ["coredumps", "logs"]
3115
+ },
3116
+ "api.FleetClaimByKeysReq": {
3117
+ "properties": {
3118
+ "claimKeys": {
3119
+ "items": {
3120
+ "type": "string"
3121
+ },
3122
+ "type": "array"
3123
+ },
3124
+ "regions": {
3125
+ "items": {
3126
+ "type": "string"
3127
+ },
3128
+ "type": "array"
3129
+ },
3130
+ "sessionId": {
3131
+ "type": "string"
3132
+ }
3133
+ },
3134
+ "required": ["claimKeys", "regions", "sessionId"]
3135
+ },
3136
+ "api.FleetClaimReq": {
3137
+ "properties": {
3138
+ "region": {
3139
+ "type": "string"
3140
+ },
3141
+ "sessionId": {
3142
+ "type": "string"
3143
+ }
3144
+ },
3145
+ "required": ["region", "sessionId"]
3146
+ },
3147
+ "api.FleetClaimResponse": {
3148
+ "properties": {
3149
+ "ip": {
3150
+ "type": "string"
3151
+ },
3152
+ "ports": {
3153
+ "additionalProperties": {
3154
+ "type": "integer"
3155
+ },
3156
+ "type": "object"
3157
+ },
3158
+ "region": {
3159
+ "type": "string"
3160
+ },
3161
+ "serverId": {
3162
+ "type": "string"
3163
+ }
3164
+ },
3165
+ "required": ["ip", "ports", "region", "serverId"]
3166
+ },
3167
+ "api.FleetCreateResponse": {
3168
+ "properties": {
3169
+ "id": {
3170
+ "type": "string"
3171
+ }
3172
+ },
3173
+ "required": ["id"]
3174
+ },
3175
+ "api.FleetGetResponse": {
3176
+ "properties": {
3177
+ "active": {
3178
+ "type": "boolean",
3179
+ "x-omitempty": false
3180
+ },
3181
+ "claimKeys": {
3182
+ "items": {
3183
+ "type": "string"
3184
+ },
3185
+ "type": "array"
3186
+ },
3187
+ "dsHostConfiguration": {
3188
+ "$ref": "#/definitions/api.DSHostConfiguration"
3189
+ },
3190
+ "id": {
3191
+ "type": "string"
3192
+ },
3193
+ "imageDeploymentProfile": {
3194
+ "$ref": "#/definitions/api.ImageDeploymentProfile"
3195
+ },
3196
+ "isLocal": {
3197
+ "type": "boolean",
3198
+ "x-omitempty": false
3199
+ },
3200
+ "name": {
3201
+ "type": "string"
3202
+ },
3203
+ "onDemand": {
3204
+ "type": "boolean",
3205
+ "x-omitempty": false
3206
+ },
3207
+ "regions": {
3208
+ "items": {
3209
+ "$ref": "#/definitions/api.RegionConfig"
3210
+ },
3211
+ "type": "array"
3212
+ },
3213
+ "samplingRules": {
3214
+ "$ref": "#/definitions/api.FleetArtifactsSampleRules"
3215
+ }
3216
+ },
3217
+ "required": [
3218
+ "active",
3219
+ "claimKeys",
3220
+ "dsHostConfiguration",
3221
+ "id",
3222
+ "imageDeploymentProfile",
3223
+ "isLocal",
3224
+ "name",
3225
+ "onDemand",
3226
+ "regions",
3227
+ "samplingRules"
3228
+ ]
3229
+ },
3230
+ "api.FleetListItemResponse": {
3231
+ "properties": {
3232
+ "active": {
3233
+ "type": "boolean",
3234
+ "x-omitempty": false
3235
+ },
3236
+ "counts": {
3237
+ "items": {
3238
+ "$ref": "#/definitions/api.FleetRegionalServerCounts"
3239
+ },
3240
+ "type": "array"
3241
+ },
3242
+ "id": {
3243
+ "type": "string"
3244
+ },
3245
+ "image": {
3246
+ "type": "string"
3247
+ },
3248
+ "isLocal": {
3249
+ "type": "boolean",
3250
+ "x-omitempty": false
3251
+ },
3252
+ "name": {
3253
+ "type": "string"
3254
+ },
3255
+ "onDemand": {
3256
+ "type": "boolean",
3257
+ "x-omitempty": false
3258
+ },
3259
+ "regions": {
3260
+ "items": {
3261
+ "type": "string"
3262
+ },
3263
+ "type": "array"
3264
+ }
3265
+ },
3266
+ "required": ["active", "counts", "id", "image", "isLocal", "name", "onDemand", "regions"]
3267
+ },
3268
+ "api.FleetListResponse": {
3269
+ "properties": {
3270
+ "fleets": {
3271
+ "items": {
3272
+ "$ref": "#/definitions/api.FleetListItemResponse"
3273
+ },
3274
+ "type": "array"
3275
+ }
3276
+ },
3277
+ "required": ["fleets"]
3278
+ },
3279
+ "api.FleetParameters": {
3280
+ "properties": {
3281
+ "active": {
3282
+ "type": "boolean",
3283
+ "x-omitempty": false
3284
+ },
3285
+ "claimKeys": {
3286
+ "items": {
3287
+ "type": "string"
3288
+ },
3289
+ "type": "array"
3290
+ },
3291
+ "dsHostConfiguration": {
3292
+ "$ref": "#/definitions/api.DSHostConfiguration"
3293
+ },
3294
+ "imageDeploymentProfile": {
3295
+ "$ref": "#/definitions/api.ImageDeploymentProfile"
3296
+ },
3297
+ "name": {
3298
+ "type": "string"
3299
+ },
3300
+ "onDemand": {
3301
+ "type": "boolean",
3302
+ "x-omitempty": false
3303
+ },
3304
+ "regions": {
3305
+ "items": {
3306
+ "$ref": "#/definitions/api.RegionConfig"
3307
+ },
3308
+ "type": "array"
3309
+ },
3310
+ "samplingRules": {
3311
+ "$ref": "#/definitions/api.FleetArtifactsSampleRules"
3312
+ }
3313
+ },
3314
+ "required": ["active", "dsHostConfiguration", "imageDeploymentProfile", "name", "onDemand", "regions"]
3315
+ },
3316
+ "api.FleetRegionalServerCounts": {
3317
+ "properties": {
3318
+ "claimedServerCount": {
3319
+ "format": "int32",
3320
+ "type": "integer"
3321
+ },
3322
+ "readyServerCount": {
3323
+ "format": "int32",
3324
+ "type": "integer"
3325
+ },
3326
+ "region": {
3327
+ "type": "string"
3328
+ },
3329
+ "runningVmCount": {
3330
+ "format": "int32",
3331
+ "type": "integer"
3332
+ },
3333
+ "targetDsCount": {
3334
+ "format": "int32",
3335
+ "type": "integer"
3336
+ },
3337
+ "targetVmCount": {
3338
+ "format": "int32",
3339
+ "type": "integer"
3340
+ }
3341
+ },
3342
+ "required": ["claimedServerCount", "readyServerCount", "region", "runningVmCount", "targetDsCount", "targetVmCount"]
3343
+ },
3344
+ "api.FleetServerConnectionInfoResponse": {
3345
+ "properties": {
3346
+ "expiresAt": {
3347
+ "$ref": "#/definitions/api.Time"
3348
+ },
3349
+ "host": {
3350
+ "type": "string"
3351
+ },
3352
+ "logstreamPort": {
3353
+ "format": "int32",
3354
+ "type": "integer"
3355
+ },
3356
+ "secret": {
3357
+ "type": "string"
3358
+ }
3359
+ },
3360
+ "required": ["expiresAt", "host", "logstreamPort", "secret"]
3361
+ },
3362
+ "api.FleetServerHistoryEventResponse": {
3363
+ "properties": {
3364
+ "createdAt": {
3365
+ "$ref": "#/definitions/time.Time"
3366
+ },
3367
+ "exitCode": {
3368
+ "format": "int32",
3369
+ "type": "integer"
3370
+ },
3371
+ "fleetId": {
3372
+ "type": "string"
3373
+ },
3374
+ "newState": {
3375
+ "type": "string"
3376
+ },
3377
+ "oldState": {
3378
+ "type": "string"
3379
+ },
3380
+ "reason": {
3381
+ "type": "string"
3382
+ },
3383
+ "serverId": {
3384
+ "type": "string"
3385
+ }
3386
+ },
3387
+ "required": ["createdAt", "exitCode", "fleetId", "newState", "oldState", "reason", "serverId"]
3388
+ },
3389
+ "api.FleetServerHistoryResponse": {
3390
+ "properties": {
3391
+ "events": {
3392
+ "items": {
3393
+ "$ref": "#/definitions/api.FleetServerHistoryEventResponse"
3394
+ },
3395
+ "type": "array"
3396
+ }
3397
+ },
3398
+ "required": ["events"]
3399
+ },
3400
+ "api.FleetServerInfoResponse": {
3401
+ "properties": {
3402
+ "createdAt": {
3403
+ "format": "date-time",
3404
+ "type": "string",
3405
+ "x-nullable": false
3406
+ },
3407
+ "fleetId": {
3408
+ "type": "string"
3409
+ },
3410
+ "fleetName": {
3411
+ "type": "string"
3412
+ },
3413
+ "imageCmd": {
3414
+ "type": "string"
3415
+ },
3416
+ "imageId": {
3417
+ "type": "string"
3418
+ },
3419
+ "instanceType": {
3420
+ "type": "string"
3421
+ },
3422
+ "ipAddress": {
3423
+ "type": "string"
3424
+ },
3425
+ "portConfiguration": {
3426
+ "items": {
3427
+ "$ref": "#/definitions/api.PortConfiguration"
3428
+ },
3429
+ "type": "array"
3430
+ },
3431
+ "ports": {
3432
+ "additionalProperties": {
3433
+ "type": "integer"
3434
+ },
3435
+ "type": "object"
3436
+ },
3437
+ "region": {
3438
+ "type": "string"
3439
+ },
3440
+ "serverConfiguration": {
3441
+ "type": "string"
3442
+ },
3443
+ "serverId": {
3444
+ "type": "string"
3445
+ },
3446
+ "sessionId": {
3447
+ "type": "string"
3448
+ },
3449
+ "status": {
3450
+ "type": "string"
3451
+ }
3452
+ },
3453
+ "required": [
3454
+ "createdAt",
3455
+ "fleetId",
3456
+ "fleetName",
3457
+ "imageCmd",
3458
+ "imageId",
3459
+ "instanceType",
3460
+ "ipAddress",
3461
+ "portConfiguration",
3462
+ "ports",
3463
+ "region",
3464
+ "serverConfiguration",
3465
+ "serverId",
3466
+ "sessionId",
3467
+ "status"
3468
+ ]
3469
+ },
3470
+ "api.FleetServersResponse": {
3471
+ "properties": {
3472
+ "paging": {
3473
+ "$ref": "#/definitions/api.PagingInfo"
3474
+ },
3475
+ "regions": {
3476
+ "items": {
3477
+ "$ref": "#/definitions/api.FleetRegionalServerCounts"
3478
+ },
3479
+ "type": "array"
3480
+ },
3481
+ "servers": {
3482
+ "items": {
3483
+ "$ref": "#/definitions/api.FleetServerInfoResponse"
3484
+ },
3485
+ "type": "array"
3486
+ }
3487
+ },
3488
+ "required": ["paging", "regions", "servers"]
3489
+ },
3490
+ "api.ImageDeploymentProfile": {
3491
+ "properties": {
3492
+ "commandLine": {
3493
+ "type": "string"
3494
+ },
3495
+ "imageId": {
3496
+ "type": "string"
3497
+ },
3498
+ "portConfigurations": {
3499
+ "items": {
3500
+ "$ref": "#/definitions/api.PortConfiguration"
3501
+ },
3502
+ "type": "array"
3503
+ },
3504
+ "timeout": {
3505
+ "$ref": "#/definitions/api.Timeout"
3506
+ }
3507
+ },
3508
+ "required": ["commandLine", "imageId", "portConfigurations", "timeout"]
3509
+ },
3510
+ "api.ImageDetails": {
3511
+ "properties": {
3512
+ "createdAt": {
3513
+ "$ref": "#/definitions/time.Time"
3514
+ },
3515
+ "deleteAt": {
3516
+ "$ref": "#/definitions/api.Time"
3517
+ },
3518
+ "executable": {
3519
+ "type": "string"
3520
+ },
3521
+ "id": {
3522
+ "type": "string"
3523
+ },
3524
+ "isProtected": {
3525
+ "type": "boolean",
3526
+ "x-omitempty": false
3527
+ },
3528
+ "name": {
3529
+ "type": "string"
3530
+ },
3531
+ "referencingFleets": {
3532
+ "items": {
3533
+ "$ref": "#/definitions/api.ReferencingFleet"
3534
+ },
3535
+ "type": "array"
3536
+ },
3537
+ "sizeInByte": {
3538
+ "format": "int64",
3539
+ "type": "integer"
3540
+ },
3541
+ "status": {
3542
+ "type": "string"
3543
+ },
3544
+ "tags": {
3545
+ "items": {
3546
+ "type": "string"
3547
+ },
3548
+ "type": "array"
3549
+ },
3550
+ "uploadedAt": {
3551
+ "$ref": "#/definitions/time.Time"
3552
+ },
3553
+ "uploadedBy": {
3554
+ "type": "string"
3555
+ }
3556
+ },
3557
+ "required": [
3558
+ "createdAt",
3559
+ "deleteAt",
3560
+ "executable",
3561
+ "id",
3562
+ "isProtected",
3563
+ "name",
3564
+ "referencingFleets",
3565
+ "sizeInByte",
3566
+ "status",
3567
+ "tags",
3568
+ "uploadedAt",
3569
+ "uploadedBy"
3570
+ ]
3571
+ },
3572
+ "api.ImageList": {
3573
+ "properties": {
3574
+ "images": {
3575
+ "items": {
3576
+ "$ref": "#/definitions/api.ImageListItem"
3577
+ },
3578
+ "type": "array"
3579
+ }
3580
+ },
3581
+ "required": ["images"]
3582
+ },
3583
+ "api.ImageListItem": {
3584
+ "properties": {
3585
+ "createdAt": {
3586
+ "$ref": "#/definitions/time.Time"
3587
+ },
3588
+ "deleteAt": {
3589
+ "$ref": "#/definitions/api.Time"
3590
+ },
3591
+ "executable": {
3592
+ "type": "string"
3593
+ },
3594
+ "id": {
3595
+ "type": "string"
3596
+ },
3597
+ "isProtected": {
3598
+ "type": "boolean",
3599
+ "x-omitempty": false
3600
+ },
3601
+ "name": {
3602
+ "type": "string"
3603
+ },
3604
+ "referencingFleets": {
3605
+ "format": "int32",
3606
+ "type": "integer"
3607
+ },
3608
+ "sizeInByte": {
3609
+ "format": "int64",
3610
+ "type": "integer"
3611
+ },
3612
+ "status": {
3613
+ "type": "string"
3614
+ },
3615
+ "tags": {
3616
+ "items": {
3617
+ "type": "string"
3618
+ },
3619
+ "type": "array"
3620
+ },
3621
+ "uploadedAt": {
3622
+ "$ref": "#/definitions/time.Time"
3623
+ },
3624
+ "uploadedBy": {
3625
+ "type": "string"
3626
+ }
3627
+ },
3628
+ "required": [
3629
+ "createdAt",
3630
+ "deleteAt",
3631
+ "executable",
3632
+ "id",
3633
+ "isProtected",
3634
+ "name",
3635
+ "referencingFleets",
3636
+ "sizeInByte",
3637
+ "status",
3638
+ "tags",
3639
+ "uploadedAt",
3640
+ "uploadedBy"
3641
+ ]
3642
+ },
3643
+ "api.ImageStorage": {
3644
+ "properties": {
3645
+ "currentMarkedForDeletionBytes": {
3646
+ "format": "int64",
3647
+ "type": "integer"
3648
+ },
3649
+ "currentUsageBytes": {
3650
+ "format": "int64",
3651
+ "type": "integer"
3652
+ },
3653
+ "quotaBytes": {
3654
+ "format": "int64",
3655
+ "type": "integer"
3656
+ }
3657
+ },
3658
+ "required": ["currentMarkedForDeletionBytes", "currentUsageBytes", "quotaBytes"]
3659
+ },
3660
+ "api.ImageUpdate": {
3661
+ "properties": {
3662
+ "addedTags": {
3663
+ "items": {
3664
+ "type": "string"
3665
+ },
3666
+ "type": "array"
3667
+ },
3668
+ "isProtected": {
3669
+ "type": "boolean",
3670
+ "x-omitempty": false
3671
+ },
3672
+ "name": {
3673
+ "type": "string"
3674
+ },
3675
+ "removedTags": {
3676
+ "items": {
3677
+ "type": "string"
3678
+ },
3679
+ "type": "array"
3680
+ }
3681
+ },
3682
+ "required": ["addedTags", "isProtected", "name", "removedTags"]
3683
+ },
3684
+ "api.InstanceTypeDescriptionResponse": {
3685
+ "properties": {
3686
+ "description": {
3687
+ "type": "string"
3688
+ },
3689
+ "id": {
3690
+ "type": "string"
3691
+ },
3692
+ "memoryGiB": {
3693
+ "format": "double",
3694
+ "type": "number"
3695
+ },
3696
+ "minSpeed": {
3697
+ "type": "string"
3698
+ },
3699
+ "name": {
3700
+ "type": "string"
3701
+ },
3702
+ "virtualCpu": {
3703
+ "format": "int32",
3704
+ "type": "integer"
3705
+ }
3706
+ },
3707
+ "required": ["description", "id", "memoryGiB", "minSpeed", "name", "virtualCpu"]
3708
+ },
3709
+ "api.PagingInfo": {
3710
+ "properties": {
3711
+ "currentPage": {
3712
+ "format": "int32",
3713
+ "type": "integer"
3714
+ },
3715
+ "hasNext": {
3716
+ "type": "boolean",
3717
+ "x-omitempty": false
3718
+ },
3719
+ "hasPages": {
3720
+ "type": "boolean",
3721
+ "x-omitempty": false
3722
+ },
3723
+ "hasPrev": {
3724
+ "type": "boolean",
3725
+ "x-omitempty": false
3726
+ },
3727
+ "next": {
3728
+ "type": "string"
3729
+ },
3730
+ "pageNums": {
3731
+ "items": {
3732
+ "format": "int32",
3733
+ "type": "integer"
3734
+ },
3735
+ "type": "array"
3736
+ },
3737
+ "previous": {
3738
+ "type": "string"
3739
+ },
3740
+ "total": {
3741
+ "format": "int32",
3742
+ "type": "integer"
3743
+ }
3744
+ },
3745
+ "required": ["currentPage", "hasNext", "hasPages", "hasPrev", "next", "pageNums", "previous", "total"]
3746
+ },
3747
+ "api.PortConfiguration": {
3748
+ "properties": {
3749
+ "name": {
3750
+ "type": "string"
3751
+ },
3752
+ "protocol": {
3753
+ "type": "string"
3754
+ }
3755
+ },
3756
+ "required": ["name", "protocol"]
3757
+ },
3758
+ "api.QoSEndpointResponse": {
3759
+ "properties": {
3760
+ "servers": {
3761
+ "items": {
3762
+ "$ref": "#/definitions/api.QoSServer"
3763
+ },
3764
+ "type": "array"
3765
+ }
3766
+ },
3767
+ "required": ["servers"]
3768
+ },
3769
+ "api.QoSServer": {
3770
+ "properties": {
3771
+ "alias": {
3772
+ "type": "string"
3773
+ },
3774
+ "ip": {
3775
+ "type": "string"
3776
+ },
3777
+ "last_update": {
3778
+ "$ref": "#/definitions/time.Time"
3779
+ },
3780
+ "port": {
3781
+ "format": "int32",
3782
+ "type": "integer"
3783
+ },
3784
+ "region": {
3785
+ "type": "string"
3786
+ },
3787
+ "status": {
3788
+ "type": "string"
3789
+ }
3790
+ },
3791
+ "required": ["alias", "ip", "last_update", "port", "region", "status"]
3792
+ },
3793
+ "api.ReferencingFleet": {
3794
+ "properties": {
3795
+ "environment": {
3796
+ "type": "string"
3797
+ },
3798
+ "fleetId": {
3799
+ "type": "string"
3800
+ },
3801
+ "namespace": {
3802
+ "type": "string"
3803
+ }
3804
+ },
3805
+ "required": ["environment", "fleetId", "namespace"]
3806
+ },
3807
+ "api.RegionConfig": {
3808
+ "properties": {
3809
+ "bufferSize": {
3810
+ "format": "int32",
3811
+ "type": "integer"
3812
+ },
3813
+ "dynamicBuffer": {
3814
+ "type": "boolean",
3815
+ "x-omitempty": false
3816
+ },
3817
+ "maxServerCount": {
3818
+ "format": "int32",
3819
+ "type": "integer"
3820
+ },
3821
+ "minServerCount": {
3822
+ "format": "int32",
3823
+ "type": "integer"
3824
+ },
3825
+ "region": {
3826
+ "type": "string"
3827
+ }
3828
+ },
3829
+ "required": ["bufferSize", "dynamicBuffer", "maxServerCount", "minServerCount", "region"]
3830
+ },
3831
+ "api.Time": {
3832
+ "properties": {
3833
+ "ext": {
3834
+ "format": "int64",
3835
+ "type": "integer"
3836
+ },
3837
+ "loc": {
3838
+ "$ref": "#/definitions/time.Location"
3839
+ },
3840
+ "wall": {
3841
+ "format": "integer",
3842
+ "type": "integer"
3843
+ }
3844
+ },
3845
+ "required": ["ext", "loc", "wall"]
3846
+ },
3847
+ "api.Timeout": {
3848
+ "properties": {
3849
+ "creation": {
3850
+ "format": "int64",
3851
+ "type": "integer"
3852
+ },
3853
+ "drain": {
3854
+ "format": "int64",
3855
+ "type": "integer"
3856
+ },
3857
+ "session": {
3858
+ "format": "int64",
3859
+ "type": "integer"
3860
+ },
3861
+ "unresponsive": {
3862
+ "format": "int64",
3863
+ "type": "integer"
3864
+ }
3865
+ },
3866
+ "required": ["creation", "drain", "session", "unresponsive"]
3867
+ },
3868
+ "api.UpdateServerRequest": {
3869
+ "properties": {
3870
+ "status": {
3871
+ "type": "string"
3872
+ }
3873
+ },
3874
+ "required": ["status"]
3875
+ },
3876
+ "response.ErrorResponse": {
3877
+ "properties": {
3878
+ "errorMessage": {
3879
+ "type": "string"
3880
+ },
3881
+ "errorType": {
3882
+ "type": "string"
3883
+ },
3884
+ "traceId": {
3885
+ "type": "string"
3886
+ }
3887
+ },
3888
+ "required": ["errorMessage", "errorType", "traceId"]
3889
+ },
3890
+ "time.Location": {
3891
+ "properties": {
3892
+ "cacheEnd": {
3893
+ "format": "int64",
3894
+ "type": "integer"
3895
+ },
3896
+ "cacheStart": {
3897
+ "format": "int64",
3898
+ "type": "integer"
3899
+ },
3900
+ "cacheZone": {
3901
+ "$ref": "#/definitions/time.zone"
3902
+ },
3903
+ "extend": {
3904
+ "type": "string"
3905
+ },
3906
+ "name": {
3907
+ "type": "string"
3908
+ },
3909
+ "tx": {
3910
+ "items": {
3911
+ "$ref": "#/definitions/time.zoneTrans"
3912
+ },
3913
+ "type": "array"
3914
+ },
3915
+ "zone": {
3916
+ "items": {
3917
+ "$ref": "#/definitions/time.zone"
3918
+ },
3919
+ "type": "array"
3920
+ }
3921
+ },
3922
+ "required": ["cacheEnd", "cacheStart", "cacheZone", "extend", "name", "tx", "zone"]
3923
+ },
3924
+ "time.Time": {
3925
+ "format": "date-time",
3926
+ "type": "string"
3927
+ },
3928
+ "time.zone": {
3929
+ "properties": {
3930
+ "isDST": {
3931
+ "type": "boolean",
3932
+ "x-omitempty": false
3933
+ },
3934
+ "name": {
3935
+ "type": "string"
3936
+ },
3937
+ "offset": {
3938
+ "format": "int32",
3939
+ "type": "integer"
3940
+ }
3941
+ },
3942
+ "required": ["isDST", "name", "offset"]
3943
+ },
3944
+ "time.zoneTrans": {
3945
+ "properties": {
3946
+ "index": {
3947
+ "format": "byte",
3948
+ "type": "integer"
3949
+ },
3950
+ "isstd": {
3951
+ "type": "boolean",
3952
+ "x-omitempty": false
3953
+ },
3954
+ "isutc": {
3955
+ "type": "boolean",
3956
+ "x-omitempty": false
3957
+ },
3958
+ "when": {
3959
+ "format": "int64",
3960
+ "type": "integer"
3961
+ }
3962
+ },
3963
+ "required": ["index", "isstd", "isutc", "when"]
3964
+ }
3965
+ },
3966
+ "x-docs": {
3967
+ "alias": "ams",
3968
+ "host": "https://development.accelbyte.io",
3969
+ "path": "/ams/apidocs/api.json"
3970
+ },
3971
+ "x-version": {
3972
+ "buildDate": "2024-08-23T19:30:13+00:00",
3973
+ "gitHash": "217fc86de8c2dc21235ff69eb98945b499d883bf",
3974
+ "name": "fleet-commander",
3975
+ "version": "1.23.1-dev",
3976
+ "version-roles-seeding": "1.2.40"
3977
+ }
3978
+ }