@@ -227,7 +227,6 @@ paths:
227227 One of the following scopes is needed to execute the request:
228228 - `cloudnet_rest:user_read`
229229 - `cloudnet_rest:user_get_all`
230- operationId : user
231230 responses :
232231 ' 200 ' :
233232 description : All existing rest users
@@ -256,7 +255,6 @@ paths:
256255 One of the following scopes is needed to execute the request:
257256 - `cloudnet_rest:user_write`
258257 - `cloudnet_rest:user_create`
259- operationId : user
260258 requestBody :
261259 required : true
262260 description : The rest user to create
@@ -401,7 +399,6 @@ paths:
401399 One of the following scopes is needed to execute the request:
402400 - `cloudnet_rest:cluster_read`
403401 - `cloudnet_rest:cluster_node_list`
404- operationId : cluster
405402 responses :
406403 ' 200 ' :
407404 description : OK
@@ -438,7 +435,6 @@ paths:
438435 One of the following scopes is needed to execute the request:
439436 - `cloudnet_rest:cluster_write`
440437 - `cloudnet_rest:cluster_node_update`
441- operationId : clusterUpdate
442438 responses :
443439 ' 204 ' :
444440 description : The node was updated successfully
@@ -469,7 +465,6 @@ paths:
469465 One of the following scopes is needed to execute the request:
470466 - `cloudnet_rest:cluster_write`
471467 - `cloudnet_rest:cluster_node_create`
472- operationId : clusterCreate
473468 responses :
474469 ' 201 ' :
475470 description : The new node was created successfully
@@ -497,7 +492,6 @@ paths:
497492 One of the following scopes is needed to execute the request:
498493 - `cloudnet_rest:cluster_read`
499494 - `cloudnet_rest:cluster_node_get`
500- operationId : clusterInfo
501495 responses :
502496 ' 200 ' :
503497 description : OK
@@ -525,7 +519,6 @@ paths:
525519 One of the following scopes is needed to execute the request:
526520 - `cloudnet_rest:cluster_write`
527521 - `cloudnet_rest:cluster_node_delete`
528- operationId : clusterDelete
529522 responses :
530523 ' 204 ' :
531524 description : The node configuration entry was deleted successfully
@@ -566,7 +559,6 @@ paths:
566559 One of the following scopes is needed to execute the request:
567560 - `cloudnet_rest:cluster_write`
568561 - `cloudnet_rest:cluster_node_command`
569- operationId : clusterCommand
570562 responses :
571563 ' 200 ' :
572564 description : The command was executed successfully
@@ -610,7 +602,6 @@ paths:
610602 One of the following scopes is needed to execute the request:
611603 - `cloudnet_rest:cluster_write`
612604 - `cloudnet_rest:cluster_node_change_draining`
613- operationId : clusterCommand
614605 responses :
615606 ' 202 ' :
616607 description : The draining state was set successfully
@@ -635,7 +626,6 @@ paths:
635626 One of the following scopes is needed to execute the request:
636627 - `cloudnet_rest:node_read`
637628 - `cloudnet_rest:node_info`
638- operationId : generalInfo
639629 responses :
640630 ' 200 ' :
641631 description : Information about the node the request was sent to
@@ -661,7 +651,6 @@ paths:
661651 One of the following scopes is needed to execute the request:
662652 - `cloudnet_rest:node_read`
663653 - `cloudnet_rest:node_ping`
664- operationId : nodePing
665654 responses :
666655 ' 204 ' :
667656 description : The rest api is running and responding
@@ -722,8 +711,12 @@ paths:
722711 Whether to send the cached log lines as plain text or as ansi formatted text.
723712 - `raw`: The log lines are sent as plain text
724713 - `ansi`: The log lines are sent as ansi formatted text
725-
726- If no value is provided the default value is `raw`.
714+ schema :
715+ type : string
716+ enum :
717+ - raw
718+ - ansi
719+ default : raw
727720 summary : Get the cached log lines of the node the request is sent to
728721 description : |
729722 Based on the requested formatting the log lines are either returned as text only, where no color and formatting
@@ -833,7 +826,6 @@ paths:
833826 One of the following scopes is needed to execute the request:
834827 - `cloudnet_rest:database_read`
835828 - `cloudnet_rest:database_list`
836- operationId : listDatabase
837829 responses :
838830 ' 200 ' :
839831 description : All database names.
@@ -3647,8 +3639,7 @@ components:
36473639 secret :
36483640 type : string
36493641 examples :
3650- - " MTcyMDgxMDM5OTI3NTowMThmZThkOS0zYTFmLTc5ODAtYWE5OC04ODg5YTA5MWY4OWU6Y2xvdWRuZXRfcmVzdDpzZXJ2aWNlX3JlYWQ=
3651- .3ea1a7e8d81d1d28de86f378fe8c67e0c927d1bae56f915c6cb91733b62e15c5"
3642+ - " MTcyMDgxMDM5OTI3NTowMThmZThkOS0zYTFmLTc5ODAtYWE5OC04ODg5YTA5MWY4OWU6Y2xvdWRuZXRfcmVzdDpzZXJ2aWNlX3JlYWQ=.3ea1a7e8d81d1d28de86f378fe8c67e0c927d1bae56f915c6cb91733b62e15c5"
36523643 scopes :
36533644 type : array
36543645 examples :
@@ -4513,6 +4504,28 @@ components:
45134504 - 1500
45144505 eventReceivers :
45154506 type : object
4507+ propertyNames :
4508+ type : string
4509+ enum :
4510+ - CREATED
4511+ - DEFERRED
4512+ - FAILED
4513+ additionalProperties :
4514+ type : array
4515+ items :
4516+ $ref : ' #/components/schemas/ChannelMessageTarget'
4517+ examples :
4518+ - CREATED :
4519+ - type : ' SERVICE'
4520+ name : null
4521+ DEFERRED :
4522+ - type : ' NODE'
4523+ name : ' Node-b5a4c45b'
4524+ FAILED :
4525+ - type : ' SERVICE'
4526+ name : ' Lobby-1'
4527+ - type : ' SERVICES_BY_TASK'
4528+ name : ' BedWars'
45164529 ServiceCreateResult :
45174530 type : object
45184531 properties :
@@ -4753,3 +4766,27 @@ components:
47534766 type : string
47544767 examples :
47554768 - Blizzard
4769+ ChannelMessageTarget :
4770+ type : object
4771+ properties :
4772+ type :
4773+ type : string
4774+ enum :
4775+ - ALL
4776+ - NODE
4777+ - SERVICE
4778+ - SERVICES_BY_TASK
4779+ - SERVICES_BY_GROUP
4780+ - SERVICES_BY_ENV
4781+ - SERVICES_WITH_PROPERTY
4782+ name :
4783+ type :
4784+ - string
4785+ - " null"
4786+ examples :
4787+ - ' Lobby-1'
4788+ - ' Node-b5a4c45b'
4789+ description : >-
4790+ The name of the target to send the channel message to. Can be null for type 'NODE' and 'SERVICE'. In this
4791+ case the channel message is sent to all nodes and all services respectively. If provided in case of type
4792+ 'ALL' the name is ignored. A name must be given for all other target types.
0 commit comments