-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsession.json
9712 lines (9712 loc) · 287 KB
/
session.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"host": "demo.accelbyte.io",
"info": {
"description": "Justice Session Service",
"title": "justice-session-service",
"version": "3.21.1"
},
"schemes": [
"https"
],
"externalDocs": {
"description": "API Docs",
"url": "https://stage.accelbyte.io/session/apidocs"
},
"securityDefinitions": {
"authorization": {
"in": "header",
"name": "Authorization",
"type": "apiKey"
}
},
"swagger": "2.0",
"paths": {
"/healthz": {
"get": {
"operationId": "GetHealthcheckInfo",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"authorization": []
}
],
"x-errorCodes": {}
}
},
"/session/healthz": {
"get": {
"operationId": "GetHealthcheckInfoV1",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK"
}
},
"security": [
{
"authorization": []
}
],
"x-errorCodes": {}
}
},
"/session/v1/admin/config/log": {
"get": {
"consumes": [
"application/json"
],
"description": "Get Log Configuration.\u0026lt;br\u0026gt;",
"operationId": "adminGetLogConfig",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/logconfig.Configuration"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Get Log Configuration",
"tags": [
"Config"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:CONFIG:LOG [READ]"
]
}
]
},
"patch": {
"consumes": [
"application/json"
],
"description": "Update Log Configuration.\u0026lt;br\u0026gt;",
"operationId": "adminPatchUpdateLogConfig",
"parameters": [
{
"description": "Optional values can be omitted and will update partially",
"in": "body",
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/logconfig.Configuration"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/logconfig.Configuration"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Patch Update Log Configuration",
"tags": [
"Config"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:CONFIG:LOG [UPDATE]"
]
}
]
}
},
"/session/v1/admin/dsconfigs/default": {
"get": {
"consumes": [
"application/json"
],
"description": "Get dsmc default configuration.",
"operationId": "adminGetDSMCConfigurationDefault",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Created",
"schema": {
"$ref": "#/definitions/models.DefaultDSMCConfig"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Get dsmc default configuration.",
"tags": [
"DSMC Default Configuration"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [READ]"
]
}
]
}
},
"/session/v1/admin/environment-variables": {
"get": {
"consumes": [
"application/json"
],
"description": "List of environment variables.",
"operationId": "adminListEnvironmentVariables",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/apimodels.EnvironmentVariableListResponse"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "List of environment variables.",
"tags": [
"Environment Variable"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:SESSION:CONFIGURATION:ENVIRONMENTVARIABLE [READ]"
]
}
]
}
},
"/session/v1/admin/global-configurations": {
"delete": {
"consumes": [
"application/json"
],
"description": "Delete of global configuration data.",
"operationId": "adminDeleteGlobalConfiguration",
"produces": [
"application/json"
],
"responses": {
"204": {
"description": "No Content",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Delete of global configuration data.",
"tags": [
"Global Configuration"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:SESSION:CONFIGURATION [DELETE]"
]
}
]
},
"get": {
"consumes": [
"application/json"
],
"description": "Record of global configuration data.",
"operationId": "adminListGlobalConfiguration",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/apimodels.GlobalConfigurationResponse"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Record of global configuration data.",
"tags": [
"Global Configuration"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:SESSION:CONFIGURATION [READ]"
]
}
]
},
"put": {
"consumes": [
"application/json"
],
"description": "Upsert global configuration data.",
"operationId": "adminUpdateGlobalConfiguration",
"parameters": [
{
"description": "Update global configuration",
"in": "body",
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apimodels.PutGlobalConfigurationRequest"
}
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/apimodels.GlobalConfigurationResponse"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Upsert global configuration data.",
"tags": [
"Global Configuration"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:SESSION:CONFIGURATION [UPDATE]"
]
}
]
}
},
"/session/v1/admin/namespaces/{namespace}/alerts-configuration": {
"delete": {
"consumes": [
"application/json"
],
"description": "Delete configuration alert.",
"operationId": "adminDeleteConfigurationAlertV1",
"parameters": [
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Delete configuration alert.",
"tags": [
"Configuration Template"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [DELETE]"
]
}
]
},
"get": {
"consumes": [
"application/json"
],
"description": "Get a configuration alert.",
"operationId": "adminGetConfigurationAlertV1",
"parameters": [
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Created",
"schema": {
"$ref": "#/definitions/apimodels.ConfigAlertResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Get configuration alert.",
"tags": [
"Configuration Template"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [READ]"
]
}
]
},
"post": {
"consumes": [
"application/json"
],
"description": "Create configuration alert\nconfiguration alert mandatory :\n- namespace\n- durationDays must be greater than 0\n",
"operationId": "adminCreateConfigurationAlertV1",
"parameters": [
{
"description": "Create configuration alert request",
"in": "body",
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apimodels.ConfigAlertRequestCreate"
}
},
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/apimodels.ConfigAlertResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"409": {
"description": "Conflict",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Create configuration alert.",
"tags": [
"Configuration Template"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [UPDATE]"
]
}
]
},
"put": {
"consumes": [
"application/json"
],
"description": "Update configuration alert\nconfiguration alert mandatory :\n- namespace\n- durationDays must be greater than 0\n",
"operationId": "adminUpdateConfigurationAlertV1",
"parameters": [
{
"description": "Update configuration alert request",
"in": "body",
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apimodels.ConfigAlertRequestCreate"
}
},
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/apimodels.ConfigAlertResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Update configuration alert.",
"tags": [
"Configuration Template"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [UPDATE]"
]
}
]
}
},
"/session/v1/admin/namespaces/{namespace}/certificates/pfx/platforms/xbl": {
"put": {
"consumes": [
"multipart/form-data"
],
"deprecated": true,
"description": "Upload certificates for XBox. Certificate must be in the valid form of PFX format. \u0026#39;certname\u0026#39;\u0026#39; must be specified to \u0026#39;xbl-pfx\u0026#39; for Session Sync to work",
"operationId": "adminUploadXBoxCertificate",
"parameters": [
{
"description": "the file to upload",
"in": "formData",
"name": "file",
"required": true,
"type": "file"
},
{
"description": "the uploaded file password",
"in": "formData",
"name": "password",
"required": true,
"type": "string"
},
{
"description": "certificate name",
"in": "formData",
"name": "certname",
"required": true,
"type": "string"
},
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
},
{
"description": "the description of the uploaded file",
"in": "formData",
"name": "description",
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/models.PlatformCredentials"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Upload certificates for XBox.",
"tags": [
"Certificate"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CERTIFICATES [UPDATE]"
]
}
]
}
},
"/session/v1/admin/namespaces/{namespace}/configuration": {
"post": {
"consumes": [
"application/json"
],
"description": "Create template configuration to be applied across party and session.\nSession configuration mandatory :\n- name\n- joinability. supported values:\n\t- OPEN: user can join or rejoin the session without an invite\n\t- CLOSED: once a CLOSED session is created or a session joinability is updated to CLOSED, any change to session members is not allowed and remaining invites will all be canceled.\n\t- INVITE_ONLY: to join the session, user whether needs to be invited, or have the code (for join by code). when a user is KICKED/LEFT/REJECTED from this session, they will need to be re-invited to join.\n\t- FRIENDS_OF_MEMBERS: only if a user is friend with at least one of the session members, they can join via code.\n\t- FRIENDS_OF_LEADER: only if a user is friend with the session leader, they can join via code.\n\t- FRIENDS_OF_FRIENDS: only friends of the leader OR friends of friends of the leader can join via code.\n- autoJoin: when enabled, players will automatically join the initial game session creation. Game session will not send any invite and players dont need to act upon it. default: false (disabled)\n- Type (example value : P2P, DS, NONE) if type empty, type will be assign to NONE\n- MinPlayers (must greater or equal 0)\n- MaxPlayers (must greater than 0)\n- InviteTimeout (must greater or equal 0) if InviteTimeout equal 0 will be use default DefaultTimeoutSecond (60s)\n- InactiveTimeout (must greater or equal 0) if InactiveTimeout equal 0 will be use default DefaultTimeoutSecond (60s)\n- Persistent will only applies to session with type DS (example value true or false, default: false)\n\t- If Persistent True the session always active even DS removing or terminate and Session will be request DS again until DS Ready or Busy.\n\t- To Stop Session Not request again to DS or want Delete Session can Delete Session using endpoint DELETE /session/v1/public/namespaces/{namespace}/gamesessions/{sessionId}\n\t- If Persistent False the session will be inactive if all member left and DS terminate or removing\n- nativeSessionSetting:\n\t- XboxSessionTemplateName: the XBox session template name that correspondent to the AB session template, and is needed to define XBox session\u0026#39;s joinRestriction and maxMembersCount when doing the session sync.\n\t- XboxServiceConfigID: the XBox service configuration ID.\n\t- PSNServiceLabel: the PSN service label.\n\t- SessionTitle: the session title. In PSN, this will be used to define name of the session thats displayed on PlayStation system UI.\n\t- ShouldSync: to define whether the service needs to do session sync with native platform(s). Default: false (disabled).\n\t- PSNSupportedPlatforms: the PSN supported platforms. In PSN, if ShouldSync true and PSNSupportedPlatforms is empty, then PS5 will be set as default value.\n- PSNBaseUrl this is for base URL PSN if not set will be default value https://s2s.sp-int.playstation.net. In a single namespace only 1 PSN Env that can be used. Multiple session template should refers to the same PSN Env as we have in IAM Service.\n\t- https://s2s.sp-int.playstation.net (DEV, need IP Whitelist)\n\t- https://s2s.prod-qa.playstation.net (QA Environment/PSN Certification)\n\t- https://s2s.np.playstation.net (Production)\n\t- localizedSessionName : for localized name and default language\n\t\texample payload :\n\t\t\u0026#34;localizedSessionName\u0026#34;:{\n\t\t\t\u0026#34;defaultLanguage\u0026#34; : \u0026#34;en-US\u0026#34;\n\t\t\t\u0026#34;localizedText\u0026#34; :{\n\t\t\t\t\u0026#34;en-US\u0026#34; : \u0026#34;title\u0026#34;\n\t\t\t}\n\t\t}\n\t- if the game client wants to enable push context to PSN, game client will need to store PSN_PUSH_CONTEXT_ID on the player attributes, otherwise Session service will try to populate from the session attributes or auto generate with random UUID if empty.\n- TieTeamsSessionLifetime (optional, default: false): If it is set to true, the lifetime of any partyId session inside teams attribute will be tied to the game session. Only applies when the teams partyId is game session.\n- DisableCodeGeneration (optional, default: false): If it is set to true, code will not be generated for party session automatically. \n- DSManualSetReady (optional, default: false): The DS need to call specific end point to flag the DS for game session is ready to accept client connection. \n- EnableSecret (optional, default: false): if configuration template is created with TypeDS and EnableSecret is True, A secret will be created\n- LeaderElectionGracePeriod this is on second (optional, default:0) this is only use for party session, if value \u0026gt; 0 if leader disconnect will be wait until value reach and leader will be change after reach\n- ManualRejoin (optional, default: false): indicates if game client will handle manual rejoin upon websocket reconnection when enabled.\n- DisableResendInvite (optional, default: false): by default, the service will be sending invites until the user reacts to it. enabling this flag will prohibit the service to send reminder invites\u0026#39;.\n- appName (optional, default: empty string). Extend application name that uploaded to AccelByte extends deployment. The application is for custom/external DS management.\n- customURLGRPC (optional: default: empty string). Url for grpc server that server custom/external DS management. This value will be ignore when appName is filled. Value formatted as host:port. Example: yourdomain.com:9989 \n- grpcSessionConfig (optional, default: empty object). Setting for grpc session extends. Session service will calls the grpc when any activity for the game sessions.\n\t- appName (required when customURL is empty) The extends app name that created and uploaded to AccelByte extends deployment.\n\t- customURL (required when appName is empty) The url for grpc server. Format is host:port. Example: mycustomdomain.com:9889. This will be ignore when appName is filled.\n\t- functionFlag (optional, default: -1) Flag to enable which function to calls when any event on the game sessions. The value is bitwise integer.\n\t\t- 0x1 is for created event. Event is sync, anything return from create event will be overide the final game session.\n\t\t- 0x2 is for updated event. Event is async. Called when any update on the game session.\n\t\t- 0x4 is for deleted event. Event is async. Callen when game session got deleted.\n\t\tExample: \n\t\t\t- value 3: enable for created and updated\n\t\t\t- value 7: enable for created, updated, and deleted, etc\n",
"operationId": "adminCreateConfigurationTemplateV1",
"parameters": [
{
"description": "Create configuration template request",
"in": "body",
"name": "body",
"required": true,
"schema": {
"$ref": "#/definitions/apimodels.CreateConfigurationTemplateRequest"
}
},
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/apimodels.ConfigurationTemplateResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"409": {
"description": "Conflict",
"schema": {
"$ref": "#/definitions/response.Error"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Error"
}
}
},
"security": [
{
"authorization": []
}
],
"summary": "Create configuration template.",
"tags": [
"Configuration Template"
],
"x-errorCodes": {},
"x-security": [
{
"userPermissions": [
"ADMIN:NAMESPACE:{namespace}:SESSION:CONFIGURATION [CREATE]"
]
}
]
}
},
"/session/v1/admin/namespaces/{namespace}/configurations": {
"get": {
"consumes": [
"application/json"
],
"description": "Get all template configurations in specified namespace.",
"operationId": "adminGetAllConfigurationTemplatesV1",
"parameters": [
{
"description": "namespace of the game",
"in": "path",
"name": "namespace",
"required": true,
"type": "string"
},
{
"default": 20,
"description": "Pagination limit",
"in": "query",
"name": "limit",
"type": "integer"
},
{
"description": "Configuration name",
"in": "query",
"name": "name",
"type": "string"
},
{
"default": 0,
"description": "Pagination offset",
"in": "query",
"name": "offset",
"type": "integer"
},
{
"description": "Order of the result. Supported: desc (default), asc",
"in": "query",
"name": "order",
"type": "string"
},
{
"description": "Order result by specific attribute. Supported: createdAt (default), updatedAt",
"in": "query",
"name": "orderBy",
"type": "string"
}
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/apimodels.ConfigurationTemplatesResponse"
}
},
"400": {
"description": "Bad Request",