@proxima-nexus/openapi 1.0.0 → 2.0.1
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.
- package/CHANGELOG.md +81 -0
- package/openapi.json +722 -148
- package/openapi.yaml +563 -134
- package/package.json +23 -21
package/openapi.json
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"get": {
|
|
41
41
|
"operationId": "UserController_search",
|
|
42
42
|
"summary": "Search users",
|
|
43
|
+
"description": "Search for users. When requesterUserId is provided, HIDDEN users are filtered out unless the requester is connected to them, and users who have blocked the requester are also filtered out. When requesterUserId is not provided, all users are returned without visibility filtering.",
|
|
43
44
|
"parameters": [
|
|
44
45
|
{
|
|
45
46
|
"name": "displayName",
|
|
@@ -130,6 +131,15 @@
|
|
|
130
131
|
"example": 100,
|
|
131
132
|
"type": "number"
|
|
132
133
|
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
137
|
+
"in": "header",
|
|
138
|
+
"description": "ID of the user searching for users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.",
|
|
139
|
+
"required": false,
|
|
140
|
+
"schema": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
}
|
|
133
143
|
}
|
|
134
144
|
],
|
|
135
145
|
"responses": {
|
|
@@ -159,7 +169,7 @@
|
|
|
159
169
|
},
|
|
160
170
|
"/user/{userId}": {
|
|
161
171
|
"get": {
|
|
162
|
-
"operationId": "
|
|
172
|
+
"operationId": "UserController_get",
|
|
163
173
|
"summary": "Get a user by ID",
|
|
164
174
|
"parameters": [
|
|
165
175
|
{
|
|
@@ -169,6 +179,15 @@
|
|
|
169
179
|
"schema": {
|
|
170
180
|
"type": "string"
|
|
171
181
|
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
185
|
+
"in": "header",
|
|
186
|
+
"description": "ID of the user getting a user by ID. If set, 401 may be returned if the user cannot view the user, otherwise requesterConnection will be set on the result.",
|
|
187
|
+
"required": false,
|
|
188
|
+
"schema": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
}
|
|
172
191
|
}
|
|
173
192
|
],
|
|
174
193
|
"responses": {
|
|
@@ -203,6 +222,15 @@
|
|
|
203
222
|
"schema": {
|
|
204
223
|
"type": "string"
|
|
205
224
|
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
228
|
+
"in": "header",
|
|
229
|
+
"description": "ID of the user updating the user",
|
|
230
|
+
"required": true,
|
|
231
|
+
"schema": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
}
|
|
206
234
|
}
|
|
207
235
|
],
|
|
208
236
|
"requestBody": {
|
|
@@ -247,6 +275,15 @@
|
|
|
247
275
|
"schema": {
|
|
248
276
|
"type": "string"
|
|
249
277
|
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
281
|
+
"in": "header",
|
|
282
|
+
"description": "ID of the user deleting the user",
|
|
283
|
+
"required": true,
|
|
284
|
+
"schema": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
}
|
|
250
287
|
}
|
|
251
288
|
],
|
|
252
289
|
"responses": {
|
|
@@ -264,10 +301,11 @@
|
|
|
264
301
|
]
|
|
265
302
|
}
|
|
266
303
|
},
|
|
267
|
-
"/user/{userId}/
|
|
304
|
+
"/user/{userId}/connections/{targetUserId}": {
|
|
268
305
|
"put": {
|
|
269
|
-
"operationId": "
|
|
270
|
-
"summary": "
|
|
306
|
+
"operationId": "UserController_putConnection",
|
|
307
|
+
"summary": "Create or update a connection with another user",
|
|
308
|
+
"description": "Create a friend request, accept a pending request, or block a user. For FRIEND type: creates REQUESTED state if no connection exists; target user can accept by setting state to ACTIVE. For BLOCKED type: creates a mutual block.",
|
|
271
309
|
"parameters": [
|
|
272
310
|
{
|
|
273
311
|
"name": "userId",
|
|
@@ -278,17 +316,36 @@
|
|
|
278
316
|
}
|
|
279
317
|
},
|
|
280
318
|
{
|
|
281
|
-
"name": "
|
|
319
|
+
"name": "targetUserId",
|
|
282
320
|
"required": true,
|
|
283
321
|
"in": "path",
|
|
284
322
|
"schema": {
|
|
285
323
|
"type": "string"
|
|
286
324
|
}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
328
|
+
"in": "header",
|
|
329
|
+
"description": "ID of the user creating/modifying the connection (must match userId)",
|
|
330
|
+
"required": true,
|
|
331
|
+
"schema": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
287
334
|
}
|
|
288
335
|
],
|
|
336
|
+
"requestBody": {
|
|
337
|
+
"required": true,
|
|
338
|
+
"content": {
|
|
339
|
+
"application/json": {
|
|
340
|
+
"schema": {
|
|
341
|
+
"$ref": "#/components/schemas/MutateUserConnectionDto"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
289
346
|
"responses": {
|
|
290
347
|
"200": {
|
|
291
|
-
"description": "
|
|
348
|
+
"description": "Connection created or updated",
|
|
292
349
|
"content": {
|
|
293
350
|
"application/json": {
|
|
294
351
|
"schema": {
|
|
@@ -308,8 +365,9 @@
|
|
|
308
365
|
]
|
|
309
366
|
},
|
|
310
367
|
"delete": {
|
|
311
|
-
"operationId": "
|
|
312
|
-
"summary": "
|
|
368
|
+
"operationId": "UserController_deleteConnection",
|
|
369
|
+
"summary": "Delete a connection with another user",
|
|
370
|
+
"description": "Remove a friend connection or unblock a user. For BLOCKED connections, only the user who initiated the block can unblock.",
|
|
313
371
|
"parameters": [
|
|
314
372
|
{
|
|
315
373
|
"name": "userId",
|
|
@@ -320,17 +378,39 @@
|
|
|
320
378
|
}
|
|
321
379
|
},
|
|
322
380
|
{
|
|
323
|
-
"name": "
|
|
381
|
+
"name": "targetUserId",
|
|
324
382
|
"required": true,
|
|
325
383
|
"in": "path",
|
|
326
384
|
"schema": {
|
|
327
385
|
"type": "string"
|
|
328
386
|
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "type",
|
|
390
|
+
"required": true,
|
|
391
|
+
"in": "query",
|
|
392
|
+
"description": "Type of connection to delete",
|
|
393
|
+
"schema": {
|
|
394
|
+
"enum": [
|
|
395
|
+
"friend",
|
|
396
|
+
"blocked"
|
|
397
|
+
],
|
|
398
|
+
"type": "string"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
403
|
+
"in": "header",
|
|
404
|
+
"description": "ID of the user deleting the connection",
|
|
405
|
+
"required": true,
|
|
406
|
+
"schema": {
|
|
407
|
+
"type": "string"
|
|
408
|
+
}
|
|
329
409
|
}
|
|
330
410
|
],
|
|
331
411
|
"responses": {
|
|
332
|
-
"
|
|
333
|
-
"description": "
|
|
412
|
+
"204": {
|
|
413
|
+
"description": "Connection deleted"
|
|
334
414
|
}
|
|
335
415
|
},
|
|
336
416
|
"tags": [
|
|
@@ -343,10 +423,11 @@
|
|
|
343
423
|
]
|
|
344
424
|
}
|
|
345
425
|
},
|
|
346
|
-
"/user/{userId}/
|
|
426
|
+
"/user/{userId}/connections": {
|
|
347
427
|
"get": {
|
|
348
|
-
"operationId": "
|
|
349
|
-
"summary": "Get
|
|
428
|
+
"operationId": "UserController_getConnections",
|
|
429
|
+
"summary": "Get connections of a user",
|
|
430
|
+
"description": "Get user connections with optional type and state filters. Visibility rules apply: HIDDEN/CONNECTIONS users only show connections to self or connected users. Only the user themselves can see BLOCKED connections or non-ACTIVE states.",
|
|
350
431
|
"parameters": [
|
|
351
432
|
{
|
|
352
433
|
"name": "userId",
|
|
@@ -355,11 +436,55 @@
|
|
|
355
436
|
"schema": {
|
|
356
437
|
"type": "string"
|
|
357
438
|
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "state",
|
|
442
|
+
"required": false,
|
|
443
|
+
"in": "query",
|
|
444
|
+
"description": "Filter connections by state. Can be multiple values. Non-self requesters can only see ACTIVE connections.",
|
|
445
|
+
"explode": true,
|
|
446
|
+
"schema": {
|
|
447
|
+
"type": "array",
|
|
448
|
+
"items": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"enum": [
|
|
451
|
+
"incoming_request",
|
|
452
|
+
"outgoing_request",
|
|
453
|
+
"active"
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "type",
|
|
460
|
+
"required": false,
|
|
461
|
+
"in": "query",
|
|
462
|
+
"description": "Filter connections by type. Can be multiple values.",
|
|
463
|
+
"explode": true,
|
|
464
|
+
"schema": {
|
|
465
|
+
"type": "array",
|
|
466
|
+
"items": {
|
|
467
|
+
"type": "string",
|
|
468
|
+
"enum": [
|
|
469
|
+
"friend",
|
|
470
|
+
"blocked"
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
477
|
+
"in": "header",
|
|
478
|
+
"description": "ID of the user viewing connections. Required for non-PUBLIC users. Only the user themselves can view BLOCKED or non-ACTIVE connections.",
|
|
479
|
+
"required": false,
|
|
480
|
+
"schema": {
|
|
481
|
+
"type": "string"
|
|
482
|
+
}
|
|
358
483
|
}
|
|
359
484
|
],
|
|
360
485
|
"responses": {
|
|
361
486
|
"200": {
|
|
362
|
-
"description": "
|
|
487
|
+
"description": "Connections returned",
|
|
363
488
|
"content": {
|
|
364
489
|
"application/json": {
|
|
365
490
|
"schema": {
|
|
@@ -386,7 +511,17 @@
|
|
|
386
511
|
"post": {
|
|
387
512
|
"operationId": "UserController_getBatch",
|
|
388
513
|
"summary": "Get a batch of users by IDs",
|
|
389
|
-
"parameters": [
|
|
514
|
+
"parameters": [
|
|
515
|
+
{
|
|
516
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
517
|
+
"in": "header",
|
|
518
|
+
"description": "ID of the user getting a batch of users. If set, users will be filtered to only include users that the user can see, and requesterConnection will be set on the results.",
|
|
519
|
+
"required": false,
|
|
520
|
+
"schema": {
|
|
521
|
+
"type": "string"
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
],
|
|
390
525
|
"requestBody": {
|
|
391
526
|
"required": true,
|
|
392
527
|
"content": {
|
|
@@ -434,6 +569,15 @@
|
|
|
434
569
|
"schema": {
|
|
435
570
|
"type": "string"
|
|
436
571
|
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
575
|
+
"in": "header",
|
|
576
|
+
"description": "ID of the user getting groups of a user. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.",
|
|
577
|
+
"required": false,
|
|
578
|
+
"schema": {
|
|
579
|
+
"type": "string"
|
|
580
|
+
}
|
|
437
581
|
}
|
|
438
582
|
],
|
|
439
583
|
"responses": {
|
|
@@ -473,6 +617,15 @@
|
|
|
473
617
|
"schema": {
|
|
474
618
|
"type": "string"
|
|
475
619
|
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
623
|
+
"in": "header",
|
|
624
|
+
"description": "ID of the user getting events of a user. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.",
|
|
625
|
+
"required": false,
|
|
626
|
+
"schema": {
|
|
627
|
+
"type": "string"
|
|
628
|
+
}
|
|
476
629
|
}
|
|
477
630
|
],
|
|
478
631
|
"responses": {
|
|
@@ -503,8 +656,18 @@
|
|
|
503
656
|
"/event": {
|
|
504
657
|
"post": {
|
|
505
658
|
"operationId": "EventController_create",
|
|
506
|
-
"summary": "Create an event",
|
|
507
|
-
"parameters": [
|
|
659
|
+
"summary": "Create an event. Owner will be the user creating the event or the group associated with the event (if set)",
|
|
660
|
+
"parameters": [
|
|
661
|
+
{
|
|
662
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
663
|
+
"in": "header",
|
|
664
|
+
"description": "ID of the user creating the event",
|
|
665
|
+
"required": true,
|
|
666
|
+
"schema": {
|
|
667
|
+
"type": "string"
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
],
|
|
508
671
|
"requestBody": {
|
|
509
672
|
"required": true,
|
|
510
673
|
"content": {
|
|
@@ -525,6 +688,12 @@
|
|
|
525
688
|
}
|
|
526
689
|
}
|
|
527
690
|
}
|
|
691
|
+
},
|
|
692
|
+
"400": {
|
|
693
|
+
"description": "Requester user not found, or associated group not found"
|
|
694
|
+
},
|
|
695
|
+
"401": {
|
|
696
|
+
"description": "User cannot create events for the associated group"
|
|
528
697
|
}
|
|
529
698
|
},
|
|
530
699
|
"tags": [
|
|
@@ -532,7 +701,7 @@
|
|
|
532
701
|
],
|
|
533
702
|
"security": [
|
|
534
703
|
{
|
|
535
|
-
"
|
|
704
|
+
"api_key": []
|
|
536
705
|
}
|
|
537
706
|
]
|
|
538
707
|
},
|
|
@@ -629,6 +798,15 @@
|
|
|
629
798
|
"example": 100,
|
|
630
799
|
"type": "number"
|
|
631
800
|
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
804
|
+
"in": "header",
|
|
805
|
+
"description": "ID of the user searching for events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.",
|
|
806
|
+
"required": false,
|
|
807
|
+
"schema": {
|
|
808
|
+
"type": "string"
|
|
809
|
+
}
|
|
632
810
|
}
|
|
633
811
|
],
|
|
634
812
|
"responses": {
|
|
@@ -651,14 +829,14 @@
|
|
|
651
829
|
],
|
|
652
830
|
"security": [
|
|
653
831
|
{
|
|
654
|
-
"
|
|
832
|
+
"api_key": []
|
|
655
833
|
}
|
|
656
834
|
]
|
|
657
835
|
}
|
|
658
836
|
},
|
|
659
837
|
"/event/{eventId}": {
|
|
660
838
|
"get": {
|
|
661
|
-
"operationId": "
|
|
839
|
+
"operationId": "EventController_get",
|
|
662
840
|
"summary": "Get an event by ID",
|
|
663
841
|
"parameters": [
|
|
664
842
|
{
|
|
@@ -668,6 +846,15 @@
|
|
|
668
846
|
"schema": {
|
|
669
847
|
"type": "string"
|
|
670
848
|
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
852
|
+
"in": "header",
|
|
853
|
+
"description": "ID of the user searching for events. If set, 401 may be returned if the user cannot view the event, otherwise requesterConnection will be set on the result.",
|
|
854
|
+
"required": false,
|
|
855
|
+
"schema": {
|
|
856
|
+
"type": "string"
|
|
857
|
+
}
|
|
671
858
|
}
|
|
672
859
|
],
|
|
673
860
|
"responses": {
|
|
@@ -687,7 +874,7 @@
|
|
|
687
874
|
],
|
|
688
875
|
"security": [
|
|
689
876
|
{
|
|
690
|
-
"
|
|
877
|
+
"api_key": []
|
|
691
878
|
}
|
|
692
879
|
]
|
|
693
880
|
},
|
|
@@ -702,6 +889,15 @@
|
|
|
702
889
|
"schema": {
|
|
703
890
|
"type": "string"
|
|
704
891
|
}
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
895
|
+
"in": "header",
|
|
896
|
+
"description": "ID of the user updating the event",
|
|
897
|
+
"required": true,
|
|
898
|
+
"schema": {
|
|
899
|
+
"type": "string"
|
|
900
|
+
}
|
|
705
901
|
}
|
|
706
902
|
],
|
|
707
903
|
"requestBody": {
|
|
@@ -731,7 +927,7 @@
|
|
|
731
927
|
],
|
|
732
928
|
"security": [
|
|
733
929
|
{
|
|
734
|
-
"
|
|
930
|
+
"api_key": []
|
|
735
931
|
}
|
|
736
932
|
]
|
|
737
933
|
},
|
|
@@ -750,7 +946,7 @@
|
|
|
750
946
|
{
|
|
751
947
|
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
752
948
|
"in": "header",
|
|
753
|
-
"description": "
|
|
949
|
+
"description": "ID of the user deleting the event",
|
|
754
950
|
"required": true,
|
|
755
951
|
"schema": {
|
|
756
952
|
"type": "string"
|
|
@@ -767,14 +963,14 @@
|
|
|
767
963
|
],
|
|
768
964
|
"security": [
|
|
769
965
|
{
|
|
770
|
-
"
|
|
966
|
+
"api_key": []
|
|
771
967
|
}
|
|
772
968
|
]
|
|
773
969
|
}
|
|
774
970
|
},
|
|
775
|
-
"/event/{eventId}/
|
|
971
|
+
"/event/{eventId}/connection/{userId}": {
|
|
776
972
|
"put": {
|
|
777
|
-
"operationId": "
|
|
973
|
+
"operationId": "EventController_addConnection",
|
|
778
974
|
"summary": "Add an attendee to an event",
|
|
779
975
|
"parameters": [
|
|
780
976
|
{
|
|
@@ -792,8 +988,27 @@
|
|
|
792
988
|
"schema": {
|
|
793
989
|
"type": "string"
|
|
794
990
|
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
994
|
+
"in": "header",
|
|
995
|
+
"description": "ID of the user removing an attendee from the event",
|
|
996
|
+
"required": true,
|
|
997
|
+
"schema": {
|
|
998
|
+
"type": "string"
|
|
999
|
+
}
|
|
795
1000
|
}
|
|
796
1001
|
],
|
|
1002
|
+
"requestBody": {
|
|
1003
|
+
"required": true,
|
|
1004
|
+
"content": {
|
|
1005
|
+
"application/json": {
|
|
1006
|
+
"schema": {
|
|
1007
|
+
"$ref": "#/components/schemas/MutateEventEntityConnectionDto"
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
797
1012
|
"responses": {
|
|
798
1013
|
"200": {
|
|
799
1014
|
"description": "Attendee added",
|
|
@@ -811,15 +1026,69 @@
|
|
|
811
1026
|
],
|
|
812
1027
|
"security": [
|
|
813
1028
|
{
|
|
814
|
-
"
|
|
1029
|
+
"api_key": []
|
|
1030
|
+
}
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"delete": {
|
|
1034
|
+
"operationId": "EventController_removeConnection",
|
|
1035
|
+
"summary": "Remove an attendee from an event",
|
|
1036
|
+
"parameters": [
|
|
1037
|
+
{
|
|
1038
|
+
"name": "eventId",
|
|
1039
|
+
"required": true,
|
|
1040
|
+
"in": "path",
|
|
1041
|
+
"schema": {
|
|
1042
|
+
"type": "string"
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "userId",
|
|
1047
|
+
"required": true,
|
|
1048
|
+
"in": "path",
|
|
1049
|
+
"schema": {
|
|
1050
|
+
"type": "string"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1055
|
+
"in": "header",
|
|
1056
|
+
"description": "ID of the user removing an attendee from the event",
|
|
1057
|
+
"required": true,
|
|
1058
|
+
"schema": {
|
|
1059
|
+
"type": "string"
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
],
|
|
1063
|
+
"requestBody": {
|
|
1064
|
+
"required": true,
|
|
1065
|
+
"content": {
|
|
1066
|
+
"application/json": {
|
|
1067
|
+
"schema": {
|
|
1068
|
+
"$ref": "#/components/schemas/MutateEventEntityConnectionDto"
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"responses": {
|
|
1074
|
+
"204": {
|
|
1075
|
+
"description": "Attendee removed"
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
"tags": [
|
|
1079
|
+
"event"
|
|
1080
|
+
],
|
|
1081
|
+
"security": [
|
|
1082
|
+
{
|
|
1083
|
+
"api_key": []
|
|
815
1084
|
}
|
|
816
1085
|
]
|
|
817
1086
|
}
|
|
818
1087
|
},
|
|
819
|
-
"/event/{eventId}/
|
|
1088
|
+
"/event/{eventId}/connections": {
|
|
820
1089
|
"get": {
|
|
821
|
-
"operationId": "
|
|
822
|
-
"summary": "Get
|
|
1090
|
+
"operationId": "EventController_getConnections",
|
|
1091
|
+
"summary": "Get connections of an event",
|
|
823
1092
|
"parameters": [
|
|
824
1093
|
{
|
|
825
1094
|
"name": "eventId",
|
|
@@ -828,11 +1097,38 @@
|
|
|
828
1097
|
"schema": {
|
|
829
1098
|
"type": "string"
|
|
830
1099
|
}
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "type",
|
|
1103
|
+
"required": false,
|
|
1104
|
+
"in": "query",
|
|
1105
|
+
"description": "Filter connections by type. Can be a single type or multiple types (comma-separated or array)",
|
|
1106
|
+
"explode": true,
|
|
1107
|
+
"schema": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "string",
|
|
1111
|
+
"enum": [
|
|
1112
|
+
"attendee",
|
|
1113
|
+
"admin",
|
|
1114
|
+
"owner"
|
|
1115
|
+
]
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1121
|
+
"in": "header",
|
|
1122
|
+
"description": "ID of the user getting connections of the event. If set, 401 may be returned if the user cannot view the event connections.",
|
|
1123
|
+
"required": false,
|
|
1124
|
+
"schema": {
|
|
1125
|
+
"type": "string"
|
|
1126
|
+
}
|
|
831
1127
|
}
|
|
832
1128
|
],
|
|
833
1129
|
"responses": {
|
|
834
1130
|
"200": {
|
|
835
|
-
"description": "
|
|
1131
|
+
"description": "Connections returned",
|
|
836
1132
|
"content": {
|
|
837
1133
|
"application/json": {
|
|
838
1134
|
"schema": {
|
|
@@ -850,7 +1146,7 @@
|
|
|
850
1146
|
],
|
|
851
1147
|
"security": [
|
|
852
1148
|
{
|
|
853
|
-
"
|
|
1149
|
+
"api_key": []
|
|
854
1150
|
}
|
|
855
1151
|
]
|
|
856
1152
|
}
|
|
@@ -859,7 +1155,17 @@
|
|
|
859
1155
|
"post": {
|
|
860
1156
|
"operationId": "EventController_getBatch",
|
|
861
1157
|
"summary": "Get a batch of events by IDs",
|
|
862
|
-
"parameters": [
|
|
1158
|
+
"parameters": [
|
|
1159
|
+
{
|
|
1160
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1161
|
+
"in": "header",
|
|
1162
|
+
"description": "ID of the user getting a batch of events. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.",
|
|
1163
|
+
"required": false,
|
|
1164
|
+
"schema": {
|
|
1165
|
+
"type": "string"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
863
1169
|
"requestBody": {
|
|
864
1170
|
"required": true,
|
|
865
1171
|
"content": {
|
|
@@ -890,7 +1196,7 @@
|
|
|
890
1196
|
],
|
|
891
1197
|
"security": [
|
|
892
1198
|
{
|
|
893
|
-
"
|
|
1199
|
+
"api_key": []
|
|
894
1200
|
}
|
|
895
1201
|
]
|
|
896
1202
|
}
|
|
@@ -899,7 +1205,17 @@
|
|
|
899
1205
|
"post": {
|
|
900
1206
|
"operationId": "GroupController_create",
|
|
901
1207
|
"summary": "Create a group",
|
|
902
|
-
"parameters": [
|
|
1208
|
+
"parameters": [
|
|
1209
|
+
{
|
|
1210
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1211
|
+
"in": "header",
|
|
1212
|
+
"description": "ID of the user creating the group",
|
|
1213
|
+
"required": true,
|
|
1214
|
+
"schema": {
|
|
1215
|
+
"type": "string"
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
903
1219
|
"requestBody": {
|
|
904
1220
|
"required": true,
|
|
905
1221
|
"content": {
|
|
@@ -927,7 +1243,7 @@
|
|
|
927
1243
|
],
|
|
928
1244
|
"security": [
|
|
929
1245
|
{
|
|
930
|
-
"
|
|
1246
|
+
"api_key": []
|
|
931
1247
|
}
|
|
932
1248
|
]
|
|
933
1249
|
},
|
|
@@ -1024,6 +1340,15 @@
|
|
|
1024
1340
|
"example": 100,
|
|
1025
1341
|
"type": "number"
|
|
1026
1342
|
}
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1346
|
+
"in": "header",
|
|
1347
|
+
"description": "ID of the user searching for groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.",
|
|
1348
|
+
"required": false,
|
|
1349
|
+
"schema": {
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
}
|
|
1027
1352
|
}
|
|
1028
1353
|
],
|
|
1029
1354
|
"responses": {
|
|
@@ -1046,14 +1371,14 @@
|
|
|
1046
1371
|
],
|
|
1047
1372
|
"security": [
|
|
1048
1373
|
{
|
|
1049
|
-
"
|
|
1374
|
+
"api_key": []
|
|
1050
1375
|
}
|
|
1051
1376
|
]
|
|
1052
1377
|
}
|
|
1053
1378
|
},
|
|
1054
1379
|
"/group/{groupId}": {
|
|
1055
1380
|
"get": {
|
|
1056
|
-
"operationId": "
|
|
1381
|
+
"operationId": "GroupController_get",
|
|
1057
1382
|
"summary": "Get a group by ID",
|
|
1058
1383
|
"parameters": [
|
|
1059
1384
|
{
|
|
@@ -1063,6 +1388,15 @@
|
|
|
1063
1388
|
"schema": {
|
|
1064
1389
|
"type": "string"
|
|
1065
1390
|
}
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1394
|
+
"in": "header",
|
|
1395
|
+
"description": "ID of the user getting a group by ID. If set, 401 may be returned if the user cannot view the group, otherwise requesterConnection will be set on the result.",
|
|
1396
|
+
"required": false,
|
|
1397
|
+
"schema": {
|
|
1398
|
+
"type": "string"
|
|
1399
|
+
}
|
|
1066
1400
|
}
|
|
1067
1401
|
],
|
|
1068
1402
|
"responses": {
|
|
@@ -1075,6 +1409,9 @@
|
|
|
1075
1409
|
}
|
|
1076
1410
|
}
|
|
1077
1411
|
}
|
|
1412
|
+
},
|
|
1413
|
+
"401": {
|
|
1414
|
+
"description": "User cannot view this group"
|
|
1078
1415
|
}
|
|
1079
1416
|
},
|
|
1080
1417
|
"tags": [
|
|
@@ -1082,7 +1419,7 @@
|
|
|
1082
1419
|
],
|
|
1083
1420
|
"security": [
|
|
1084
1421
|
{
|
|
1085
|
-
"
|
|
1422
|
+
"api_key": []
|
|
1086
1423
|
}
|
|
1087
1424
|
]
|
|
1088
1425
|
},
|
|
@@ -1097,6 +1434,15 @@
|
|
|
1097
1434
|
"schema": {
|
|
1098
1435
|
"type": "string"
|
|
1099
1436
|
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1440
|
+
"in": "header",
|
|
1441
|
+
"description": "ID of the user updating the group",
|
|
1442
|
+
"required": true,
|
|
1443
|
+
"schema": {
|
|
1444
|
+
"type": "string"
|
|
1445
|
+
}
|
|
1100
1446
|
}
|
|
1101
1447
|
],
|
|
1102
1448
|
"requestBody": {
|
|
@@ -1126,7 +1472,7 @@
|
|
|
1126
1472
|
],
|
|
1127
1473
|
"security": [
|
|
1128
1474
|
{
|
|
1129
|
-
"
|
|
1475
|
+
"api_key": []
|
|
1130
1476
|
}
|
|
1131
1477
|
]
|
|
1132
1478
|
},
|
|
@@ -1145,7 +1491,7 @@
|
|
|
1145
1491
|
{
|
|
1146
1492
|
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1147
1493
|
"in": "header",
|
|
1148
|
-
"description": "
|
|
1494
|
+
"description": "ID of the user deleting the group",
|
|
1149
1495
|
"required": true,
|
|
1150
1496
|
"schema": {
|
|
1151
1497
|
"type": "string"
|
|
@@ -1162,15 +1508,15 @@
|
|
|
1162
1508
|
],
|
|
1163
1509
|
"security": [
|
|
1164
1510
|
{
|
|
1165
|
-
"
|
|
1511
|
+
"api_key": []
|
|
1166
1512
|
}
|
|
1167
1513
|
]
|
|
1168
1514
|
}
|
|
1169
1515
|
},
|
|
1170
|
-
"/group/{groupId}/
|
|
1516
|
+
"/group/{groupId}/connection/{userId}": {
|
|
1171
1517
|
"put": {
|
|
1172
|
-
"operationId": "
|
|
1173
|
-
"summary": "Add a
|
|
1518
|
+
"operationId": "GroupController_addConnection",
|
|
1519
|
+
"summary": "Add or update a connection to a group (member, admin, or owner)",
|
|
1174
1520
|
"parameters": [
|
|
1175
1521
|
{
|
|
1176
1522
|
"name": "groupId",
|
|
@@ -1187,11 +1533,30 @@
|
|
|
1187
1533
|
"schema": {
|
|
1188
1534
|
"type": "string"
|
|
1189
1535
|
}
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1539
|
+
"in": "header",
|
|
1540
|
+
"description": "ID of the user adding a connection to the group",
|
|
1541
|
+
"required": true,
|
|
1542
|
+
"schema": {
|
|
1543
|
+
"type": "string"
|
|
1544
|
+
}
|
|
1190
1545
|
}
|
|
1191
1546
|
],
|
|
1547
|
+
"requestBody": {
|
|
1548
|
+
"required": true,
|
|
1549
|
+
"content": {
|
|
1550
|
+
"application/json": {
|
|
1551
|
+
"schema": {
|
|
1552
|
+
"$ref": "#/components/schemas/MutateGroupEntityConnectionDto"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1192
1557
|
"responses": {
|
|
1193
1558
|
"200": {
|
|
1194
|
-
"description": "
|
|
1559
|
+
"description": "Connection added/updated",
|
|
1195
1560
|
"content": {
|
|
1196
1561
|
"application/json": {
|
|
1197
1562
|
"schema": {
|
|
@@ -1199,6 +1564,9 @@
|
|
|
1199
1564
|
}
|
|
1200
1565
|
}
|
|
1201
1566
|
}
|
|
1567
|
+
},
|
|
1568
|
+
"401": {
|
|
1569
|
+
"description": "User cannot add this connection"
|
|
1202
1570
|
}
|
|
1203
1571
|
},
|
|
1204
1572
|
"tags": [
|
|
@@ -1206,13 +1574,13 @@
|
|
|
1206
1574
|
],
|
|
1207
1575
|
"security": [
|
|
1208
1576
|
{
|
|
1209
|
-
"
|
|
1577
|
+
"api_key": []
|
|
1210
1578
|
}
|
|
1211
1579
|
]
|
|
1212
1580
|
},
|
|
1213
1581
|
"delete": {
|
|
1214
|
-
"operationId": "
|
|
1215
|
-
"summary": "Remove a
|
|
1582
|
+
"operationId": "GroupController_removeConnection",
|
|
1583
|
+
"summary": "Remove a connection from a group",
|
|
1216
1584
|
"parameters": [
|
|
1217
1585
|
{
|
|
1218
1586
|
"name": "groupId",
|
|
@@ -1229,34 +1597,49 @@
|
|
|
1229
1597
|
"schema": {
|
|
1230
1598
|
"type": "string"
|
|
1231
1599
|
}
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1603
|
+
"in": "header",
|
|
1604
|
+
"description": "ID of the user removing a connection from the group",
|
|
1605
|
+
"required": true,
|
|
1606
|
+
"schema": {
|
|
1607
|
+
"type": "string"
|
|
1608
|
+
}
|
|
1232
1609
|
}
|
|
1233
1610
|
],
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1236
|
-
|
|
1237
|
-
"
|
|
1238
|
-
"
|
|
1239
|
-
"
|
|
1240
|
-
"type": "string"
|
|
1241
|
-
}
|
|
1611
|
+
"requestBody": {
|
|
1612
|
+
"required": true,
|
|
1613
|
+
"content": {
|
|
1614
|
+
"application/json": {
|
|
1615
|
+
"schema": {
|
|
1616
|
+
"$ref": "#/components/schemas/MutateGroupEntityConnectionDto"
|
|
1242
1617
|
}
|
|
1243
1618
|
}
|
|
1244
1619
|
}
|
|
1245
1620
|
},
|
|
1621
|
+
"responses": {
|
|
1622
|
+
"204": {
|
|
1623
|
+
"description": "Connection removed"
|
|
1624
|
+
},
|
|
1625
|
+
"401": {
|
|
1626
|
+
"description": "User cannot remove this connection"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1246
1629
|
"tags": [
|
|
1247
1630
|
"group"
|
|
1248
1631
|
],
|
|
1249
1632
|
"security": [
|
|
1250
1633
|
{
|
|
1251
|
-
"
|
|
1634
|
+
"api_key": []
|
|
1252
1635
|
}
|
|
1253
1636
|
]
|
|
1254
1637
|
}
|
|
1255
1638
|
},
|
|
1256
|
-
"/group/{groupId}/
|
|
1639
|
+
"/group/{groupId}/connections": {
|
|
1257
1640
|
"get": {
|
|
1258
|
-
"operationId": "
|
|
1259
|
-
"summary": "Get
|
|
1641
|
+
"operationId": "GroupController_getConnections",
|
|
1642
|
+
"summary": "Get connections of a group",
|
|
1260
1643
|
"parameters": [
|
|
1261
1644
|
{
|
|
1262
1645
|
"name": "groupId",
|
|
@@ -1265,11 +1648,56 @@
|
|
|
1265
1648
|
"schema": {
|
|
1266
1649
|
"type": "string"
|
|
1267
1650
|
}
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "state",
|
|
1654
|
+
"required": false,
|
|
1655
|
+
"in": "query",
|
|
1656
|
+
"description": "Filter connections by state (e.g., requested for pending approvals)",
|
|
1657
|
+
"explode": true,
|
|
1658
|
+
"schema": {
|
|
1659
|
+
"type": "array",
|
|
1660
|
+
"items": {
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"enum": [
|
|
1663
|
+
"requested",
|
|
1664
|
+
"active",
|
|
1665
|
+
"invited"
|
|
1666
|
+
]
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"name": "type",
|
|
1672
|
+
"required": false,
|
|
1673
|
+
"in": "query",
|
|
1674
|
+
"description": "Filter connections by type. Can be a single type or multiple types (comma-separated or array)",
|
|
1675
|
+
"explode": true,
|
|
1676
|
+
"schema": {
|
|
1677
|
+
"type": "array",
|
|
1678
|
+
"items": {
|
|
1679
|
+
"type": "string",
|
|
1680
|
+
"enum": [
|
|
1681
|
+
"member",
|
|
1682
|
+
"admin",
|
|
1683
|
+
"owner"
|
|
1684
|
+
]
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1690
|
+
"in": "header",
|
|
1691
|
+
"description": "ID of the user getting connections of the group. If set, 401 may be returned if the user cannot view the group connections.",
|
|
1692
|
+
"required": false,
|
|
1693
|
+
"schema": {
|
|
1694
|
+
"type": "string"
|
|
1695
|
+
}
|
|
1268
1696
|
}
|
|
1269
1697
|
],
|
|
1270
1698
|
"responses": {
|
|
1271
1699
|
"200": {
|
|
1272
|
-
"description": "
|
|
1700
|
+
"description": "Connections returned",
|
|
1273
1701
|
"content": {
|
|
1274
1702
|
"application/json": {
|
|
1275
1703
|
"schema": {
|
|
@@ -1280,6 +1708,9 @@
|
|
|
1280
1708
|
}
|
|
1281
1709
|
}
|
|
1282
1710
|
}
|
|
1711
|
+
},
|
|
1712
|
+
"401": {
|
|
1713
|
+
"description": "User cannot view connections of this group"
|
|
1283
1714
|
}
|
|
1284
1715
|
},
|
|
1285
1716
|
"tags": [
|
|
@@ -1287,7 +1718,7 @@
|
|
|
1287
1718
|
],
|
|
1288
1719
|
"security": [
|
|
1289
1720
|
{
|
|
1290
|
-
"
|
|
1721
|
+
"api_key": []
|
|
1291
1722
|
}
|
|
1292
1723
|
]
|
|
1293
1724
|
}
|
|
@@ -1304,6 +1735,15 @@
|
|
|
1304
1735
|
"schema": {
|
|
1305
1736
|
"type": "string"
|
|
1306
1737
|
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1741
|
+
"in": "header",
|
|
1742
|
+
"description": "ID of the user getting events of the group. If set, events will be filtered to only include events that the user can see, and requesterConnection will be set on the results.",
|
|
1743
|
+
"required": false,
|
|
1744
|
+
"schema": {
|
|
1745
|
+
"type": "string"
|
|
1746
|
+
}
|
|
1307
1747
|
}
|
|
1308
1748
|
],
|
|
1309
1749
|
"responses": {
|
|
@@ -1326,7 +1766,7 @@
|
|
|
1326
1766
|
],
|
|
1327
1767
|
"security": [
|
|
1328
1768
|
{
|
|
1329
|
-
"
|
|
1769
|
+
"api_key": []
|
|
1330
1770
|
}
|
|
1331
1771
|
]
|
|
1332
1772
|
}
|
|
@@ -1335,7 +1775,17 @@
|
|
|
1335
1775
|
"post": {
|
|
1336
1776
|
"operationId": "GroupController_getBatch",
|
|
1337
1777
|
"summary": "Get a batch of groups by IDs",
|
|
1338
|
-
"parameters": [
|
|
1778
|
+
"parameters": [
|
|
1779
|
+
{
|
|
1780
|
+
"name": "X-Proxima-Nexus-Requester-User-Id",
|
|
1781
|
+
"in": "header",
|
|
1782
|
+
"description": "ID of the user getting a batch of groups. If set, groups will be filtered to only include groups that the user can see, and requesterConnection will be set on the results.",
|
|
1783
|
+
"required": false,
|
|
1784
|
+
"schema": {
|
|
1785
|
+
"type": "string"
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
],
|
|
1339
1789
|
"requestBody": {
|
|
1340
1790
|
"required": true,
|
|
1341
1791
|
"content": {
|
|
@@ -1366,7 +1816,7 @@
|
|
|
1366
1816
|
],
|
|
1367
1817
|
"security": [
|
|
1368
1818
|
{
|
|
1369
|
-
"
|
|
1819
|
+
"api_key": []
|
|
1370
1820
|
}
|
|
1371
1821
|
]
|
|
1372
1822
|
}
|
|
@@ -1417,11 +1867,6 @@
|
|
|
1417
1867
|
"description": "Display name",
|
|
1418
1868
|
"example": "Display Name"
|
|
1419
1869
|
},
|
|
1420
|
-
"requesterUserId": {
|
|
1421
|
-
"type": "string",
|
|
1422
|
-
"description": "User ID of the requester",
|
|
1423
|
-
"example": "user-123"
|
|
1424
|
-
},
|
|
1425
1870
|
"visibility": {
|
|
1426
1871
|
"type": "string",
|
|
1427
1872
|
"description": "Visibility of the entity",
|
|
@@ -1474,7 +1919,6 @@
|
|
|
1474
1919
|
},
|
|
1475
1920
|
"required": [
|
|
1476
1921
|
"displayName",
|
|
1477
|
-
"requesterUserId",
|
|
1478
1922
|
"visibility",
|
|
1479
1923
|
"userId",
|
|
1480
1924
|
"gender",
|
|
@@ -1494,6 +1938,48 @@
|
|
|
1494
1938
|
"userId"
|
|
1495
1939
|
]
|
|
1496
1940
|
},
|
|
1941
|
+
"EntityConnectionDto": {
|
|
1942
|
+
"type": "object",
|
|
1943
|
+
"properties": {
|
|
1944
|
+
"createdAt": {
|
|
1945
|
+
"type": "string",
|
|
1946
|
+
"description": "Date/time the connection was created (ISO string)",
|
|
1947
|
+
"example": "2024-05-01T12:34:56.789Z"
|
|
1948
|
+
},
|
|
1949
|
+
"updatedAt": {
|
|
1950
|
+
"type": "string",
|
|
1951
|
+
"description": "Date/time the connection was last updated (ISO string)",
|
|
1952
|
+
"example": "2024-05-02T12:34:56.789Z"
|
|
1953
|
+
},
|
|
1954
|
+
"type": {
|
|
1955
|
+
"type": "string",
|
|
1956
|
+
"description": "Connection type",
|
|
1957
|
+
"enum": [
|
|
1958
|
+
"attendee",
|
|
1959
|
+
"admin",
|
|
1960
|
+
"owner",
|
|
1961
|
+
"member",
|
|
1962
|
+
"friend",
|
|
1963
|
+
"blocked",
|
|
1964
|
+
"none"
|
|
1965
|
+
]
|
|
1966
|
+
},
|
|
1967
|
+
"state": {
|
|
1968
|
+
"type": "string",
|
|
1969
|
+
"description": "Connection state",
|
|
1970
|
+
"enum": [
|
|
1971
|
+
"incoming_request",
|
|
1972
|
+
"outgoing_request",
|
|
1973
|
+
"active",
|
|
1974
|
+
"requested",
|
|
1975
|
+
"invited"
|
|
1976
|
+
]
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
"required": [
|
|
1980
|
+
"type"
|
|
1981
|
+
]
|
|
1982
|
+
},
|
|
1497
1983
|
"UserDto": {
|
|
1498
1984
|
"type": "object",
|
|
1499
1985
|
"properties": {
|
|
@@ -1502,11 +1988,6 @@
|
|
|
1502
1988
|
"description": "Unique identifier for the entity",
|
|
1503
1989
|
"example": "entity-123"
|
|
1504
1990
|
},
|
|
1505
|
-
"tenantId": {
|
|
1506
|
-
"type": "string",
|
|
1507
|
-
"description": "Tenant identifier the entity belongs to",
|
|
1508
|
-
"example": "tenant-abc"
|
|
1509
|
-
},
|
|
1510
1991
|
"displayName": {
|
|
1511
1992
|
"type": "string",
|
|
1512
1993
|
"description": "Display name of the entity",
|
|
@@ -1555,6 +2036,14 @@
|
|
|
1555
2036
|
}
|
|
1556
2037
|
]
|
|
1557
2038
|
},
|
|
2039
|
+
"requesterConnection": {
|
|
2040
|
+
"description": "Connection to the requester",
|
|
2041
|
+
"allOf": [
|
|
2042
|
+
{
|
|
2043
|
+
"$ref": "#/components/schemas/EntityConnectionDto"
|
|
2044
|
+
}
|
|
2045
|
+
]
|
|
2046
|
+
},
|
|
1558
2047
|
"gender": {
|
|
1559
2048
|
"type": "string",
|
|
1560
2049
|
"description": "Gender",
|
|
@@ -1574,11 +2063,6 @@
|
|
|
1574
2063
|
"UpdateUserDto": {
|
|
1575
2064
|
"type": "object",
|
|
1576
2065
|
"properties": {
|
|
1577
|
-
"requesterUserId": {
|
|
1578
|
-
"type": "string",
|
|
1579
|
-
"description": "User ID of the requester",
|
|
1580
|
-
"example": "user-123"
|
|
1581
|
-
},
|
|
1582
2066
|
"visibility": {
|
|
1583
2067
|
"type": "string",
|
|
1584
2068
|
"description": "Visibility of the entity",
|
|
@@ -1630,37 +2114,26 @@
|
|
|
1630
2114
|
}
|
|
1631
2115
|
},
|
|
1632
2116
|
"required": [
|
|
1633
|
-
"requesterUserId",
|
|
1634
2117
|
"displayName",
|
|
1635
2118
|
"gender",
|
|
1636
2119
|
"birthDate"
|
|
1637
2120
|
]
|
|
1638
2121
|
},
|
|
1639
|
-
"
|
|
2122
|
+
"MutateUserConnectionDto": {
|
|
1640
2123
|
"type": "object",
|
|
1641
2124
|
"properties": {
|
|
1642
|
-
"
|
|
1643
|
-
"type": "string",
|
|
1644
|
-
"description": "Date/time the connection was created (ISO string)",
|
|
1645
|
-
"example": "2024-05-01T12:34:56.789Z"
|
|
1646
|
-
},
|
|
1647
|
-
"updatedAt": {
|
|
1648
|
-
"type": "string",
|
|
1649
|
-
"description": "Date/time the connection was last updated (ISO string)",
|
|
1650
|
-
"example": "2024-05-02T12:34:56.789Z"
|
|
1651
|
-
},
|
|
1652
|
-
"state": {
|
|
2125
|
+
"type": {
|
|
1653
2126
|
"type": "string",
|
|
1654
|
-
"description": "
|
|
2127
|
+
"description": "Type of connection to create or modify",
|
|
1655
2128
|
"enum": [
|
|
1656
|
-
"
|
|
1657
|
-
"
|
|
1658
|
-
|
|
1659
|
-
|
|
2129
|
+
"friend",
|
|
2130
|
+
"blocked"
|
|
2131
|
+
],
|
|
2132
|
+
"example": "friend"
|
|
1660
2133
|
}
|
|
1661
2134
|
},
|
|
1662
2135
|
"required": [
|
|
1663
|
-
"
|
|
2136
|
+
"type"
|
|
1664
2137
|
]
|
|
1665
2138
|
},
|
|
1666
2139
|
"UserEntityConnectionDto": {
|
|
@@ -1676,13 +2149,28 @@
|
|
|
1676
2149
|
"description": "Date/time the connection was last updated (ISO string)",
|
|
1677
2150
|
"example": "2024-05-02T12:34:56.789Z"
|
|
1678
2151
|
},
|
|
2152
|
+
"type": {
|
|
2153
|
+
"type": "string",
|
|
2154
|
+
"description": "Connection type",
|
|
2155
|
+
"enum": [
|
|
2156
|
+
"attendee",
|
|
2157
|
+
"admin",
|
|
2158
|
+
"owner",
|
|
2159
|
+
"member",
|
|
2160
|
+
"friend",
|
|
2161
|
+
"blocked",
|
|
2162
|
+
"none"
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
1679
2165
|
"state": {
|
|
1680
2166
|
"type": "string",
|
|
1681
2167
|
"description": "Connection state",
|
|
1682
2168
|
"enum": [
|
|
1683
|
-
"
|
|
2169
|
+
"incoming_request",
|
|
2170
|
+
"outgoing_request",
|
|
1684
2171
|
"active",
|
|
1685
|
-
"
|
|
2172
|
+
"requested",
|
|
2173
|
+
"invited"
|
|
1686
2174
|
]
|
|
1687
2175
|
},
|
|
1688
2176
|
"userId": {
|
|
@@ -1692,7 +2180,7 @@
|
|
|
1692
2180
|
}
|
|
1693
2181
|
},
|
|
1694
2182
|
"required": [
|
|
1695
|
-
"
|
|
2183
|
+
"type",
|
|
1696
2184
|
"userId"
|
|
1697
2185
|
]
|
|
1698
2186
|
},
|
|
@@ -1728,13 +2216,28 @@
|
|
|
1728
2216
|
"description": "Date/time the connection was last updated (ISO string)",
|
|
1729
2217
|
"example": "2024-05-02T12:34:56.789Z"
|
|
1730
2218
|
},
|
|
2219
|
+
"type": {
|
|
2220
|
+
"type": "string",
|
|
2221
|
+
"description": "Connection type",
|
|
2222
|
+
"enum": [
|
|
2223
|
+
"attendee",
|
|
2224
|
+
"admin",
|
|
2225
|
+
"owner",
|
|
2226
|
+
"member",
|
|
2227
|
+
"friend",
|
|
2228
|
+
"blocked",
|
|
2229
|
+
"none"
|
|
2230
|
+
]
|
|
2231
|
+
},
|
|
1731
2232
|
"state": {
|
|
1732
2233
|
"type": "string",
|
|
1733
2234
|
"description": "Connection state",
|
|
1734
2235
|
"enum": [
|
|
1735
|
-
"
|
|
2236
|
+
"incoming_request",
|
|
2237
|
+
"outgoing_request",
|
|
1736
2238
|
"active",
|
|
1737
|
-
"
|
|
2239
|
+
"requested",
|
|
2240
|
+
"invited"
|
|
1738
2241
|
]
|
|
1739
2242
|
},
|
|
1740
2243
|
"groupId": {
|
|
@@ -1744,7 +2247,7 @@
|
|
|
1744
2247
|
}
|
|
1745
2248
|
},
|
|
1746
2249
|
"required": [
|
|
1747
|
-
"
|
|
2250
|
+
"type",
|
|
1748
2251
|
"groupId"
|
|
1749
2252
|
]
|
|
1750
2253
|
},
|
|
@@ -1761,13 +2264,28 @@
|
|
|
1761
2264
|
"description": "Date/time the connection was last updated (ISO string)",
|
|
1762
2265
|
"example": "2024-05-02T12:34:56.789Z"
|
|
1763
2266
|
},
|
|
2267
|
+
"type": {
|
|
2268
|
+
"type": "string",
|
|
2269
|
+
"description": "Connection type",
|
|
2270
|
+
"enum": [
|
|
2271
|
+
"attendee",
|
|
2272
|
+
"admin",
|
|
2273
|
+
"owner",
|
|
2274
|
+
"member",
|
|
2275
|
+
"friend",
|
|
2276
|
+
"blocked",
|
|
2277
|
+
"none"
|
|
2278
|
+
]
|
|
2279
|
+
},
|
|
1764
2280
|
"state": {
|
|
1765
2281
|
"type": "string",
|
|
1766
2282
|
"description": "Connection state",
|
|
1767
2283
|
"enum": [
|
|
1768
|
-
"
|
|
2284
|
+
"incoming_request",
|
|
2285
|
+
"outgoing_request",
|
|
1769
2286
|
"active",
|
|
1770
|
-
"
|
|
2287
|
+
"requested",
|
|
2288
|
+
"invited"
|
|
1771
2289
|
]
|
|
1772
2290
|
},
|
|
1773
2291
|
"eventId": {
|
|
@@ -1777,7 +2295,7 @@
|
|
|
1777
2295
|
}
|
|
1778
2296
|
},
|
|
1779
2297
|
"required": [
|
|
1780
|
-
"
|
|
2298
|
+
"type",
|
|
1781
2299
|
"eventId"
|
|
1782
2300
|
]
|
|
1783
2301
|
},
|
|
@@ -1789,11 +2307,6 @@
|
|
|
1789
2307
|
"description": "Display name",
|
|
1790
2308
|
"example": "Display Name"
|
|
1791
2309
|
},
|
|
1792
|
-
"requesterUserId": {
|
|
1793
|
-
"type": "string",
|
|
1794
|
-
"description": "User ID of the requester",
|
|
1795
|
-
"example": "user-123"
|
|
1796
|
-
},
|
|
1797
2310
|
"visibility": {
|
|
1798
2311
|
"type": "string",
|
|
1799
2312
|
"description": "Visibility of the entity",
|
|
@@ -1852,11 +2365,15 @@
|
|
|
1852
2365
|
"type": "string",
|
|
1853
2366
|
"description": "Identifier of associated group which owns the event. Owners/admins of the group will be admins of the event.",
|
|
1854
2367
|
"example": "group-123"
|
|
2368
|
+
},
|
|
2369
|
+
"maxNumAttendees": {
|
|
2370
|
+
"type": "number",
|
|
2371
|
+
"description": "Maximum number of attendees allowed (null = unlimited)",
|
|
2372
|
+
"example": 100
|
|
1855
2373
|
}
|
|
1856
2374
|
},
|
|
1857
2375
|
"required": [
|
|
1858
2376
|
"displayName",
|
|
1859
|
-
"requesterUserId",
|
|
1860
2377
|
"visibility",
|
|
1861
2378
|
"eventId",
|
|
1862
2379
|
"startTime",
|
|
@@ -1872,11 +2389,6 @@
|
|
|
1872
2389
|
"description": "Unique identifier for the entity",
|
|
1873
2390
|
"example": "entity-123"
|
|
1874
2391
|
},
|
|
1875
|
-
"tenantId": {
|
|
1876
|
-
"type": "string",
|
|
1877
|
-
"description": "Tenant identifier the entity belongs to",
|
|
1878
|
-
"example": "tenant-abc"
|
|
1879
|
-
},
|
|
1880
2392
|
"displayName": {
|
|
1881
2393
|
"type": "string",
|
|
1882
2394
|
"description": "Display name of the entity",
|
|
@@ -1925,6 +2437,14 @@
|
|
|
1925
2437
|
}
|
|
1926
2438
|
]
|
|
1927
2439
|
},
|
|
2440
|
+
"requesterConnection": {
|
|
2441
|
+
"description": "Connection to the requester",
|
|
2442
|
+
"allOf": [
|
|
2443
|
+
{
|
|
2444
|
+
"$ref": "#/components/schemas/EntityConnectionDto"
|
|
2445
|
+
}
|
|
2446
|
+
]
|
|
2447
|
+
},
|
|
1928
2448
|
"startTime": {
|
|
1929
2449
|
"type": "string",
|
|
1930
2450
|
"description": "Start time (ISO 8601)",
|
|
@@ -1944,6 +2464,16 @@
|
|
|
1944
2464
|
"type": "string",
|
|
1945
2465
|
"description": "Identifier of associated group which owns the event. Owners/admins of the group will be admins of the event.",
|
|
1946
2466
|
"example": "group-123"
|
|
2467
|
+
},
|
|
2468
|
+
"numAttendees": {
|
|
2469
|
+
"type": "number",
|
|
2470
|
+
"description": "Number of active attendees",
|
|
2471
|
+
"example": 42
|
|
2472
|
+
},
|
|
2473
|
+
"maxNumAttendees": {
|
|
2474
|
+
"type": "number",
|
|
2475
|
+
"description": "Maximum number of attendees allowed (null = unlimited)",
|
|
2476
|
+
"example": 100
|
|
1947
2477
|
}
|
|
1948
2478
|
},
|
|
1949
2479
|
"required": [
|
|
@@ -1955,11 +2485,6 @@
|
|
|
1955
2485
|
"UpdateEventDto": {
|
|
1956
2486
|
"type": "object",
|
|
1957
2487
|
"properties": {
|
|
1958
|
-
"requesterUserId": {
|
|
1959
|
-
"type": "string",
|
|
1960
|
-
"description": "User ID of the requester",
|
|
1961
|
-
"example": "user-123"
|
|
1962
|
-
},
|
|
1963
2488
|
"visibility": {
|
|
1964
2489
|
"type": "string",
|
|
1965
2490
|
"description": "Visibility of the entity",
|
|
@@ -2013,16 +2538,37 @@
|
|
|
2013
2538
|
"type": "string",
|
|
2014
2539
|
"description": "Event type",
|
|
2015
2540
|
"example": "concert"
|
|
2541
|
+
},
|
|
2542
|
+
"maxNumAttendees": {
|
|
2543
|
+
"type": "number",
|
|
2544
|
+
"description": "Maximum number of attendees allowed (null = unlimited)",
|
|
2545
|
+
"example": 100
|
|
2016
2546
|
}
|
|
2017
2547
|
},
|
|
2018
2548
|
"required": [
|
|
2019
|
-
"requesterUserId",
|
|
2020
2549
|
"displayName",
|
|
2021
2550
|
"startTime",
|
|
2022
2551
|
"endTime",
|
|
2023
2552
|
"type"
|
|
2024
2553
|
]
|
|
2025
2554
|
},
|
|
2555
|
+
"MutateEventEntityConnectionDto": {
|
|
2556
|
+
"type": "object",
|
|
2557
|
+
"properties": {
|
|
2558
|
+
"type": {
|
|
2559
|
+
"type": "string",
|
|
2560
|
+
"description": "Connection type",
|
|
2561
|
+
"enum": [
|
|
2562
|
+
"attendee",
|
|
2563
|
+
"admin",
|
|
2564
|
+
"owner"
|
|
2565
|
+
]
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
"required": [
|
|
2569
|
+
"type"
|
|
2570
|
+
]
|
|
2571
|
+
},
|
|
2026
2572
|
"GetEventsDto": {
|
|
2027
2573
|
"type": "object",
|
|
2028
2574
|
"properties": {
|
|
@@ -2050,11 +2596,6 @@
|
|
|
2050
2596
|
"description": "Display name",
|
|
2051
2597
|
"example": "Display Name"
|
|
2052
2598
|
},
|
|
2053
|
-
"requesterUserId": {
|
|
2054
|
-
"type": "string",
|
|
2055
|
-
"description": "User ID of the requester",
|
|
2056
|
-
"example": "user-123"
|
|
2057
|
-
},
|
|
2058
2599
|
"visibility": {
|
|
2059
2600
|
"type": "string",
|
|
2060
2601
|
"description": "Visibility of the entity",
|
|
@@ -2097,12 +2638,16 @@
|
|
|
2097
2638
|
"type": {
|
|
2098
2639
|
"type": "string",
|
|
2099
2640
|
"description": "Group type",
|
|
2100
|
-
"
|
|
2641
|
+
"enum": [
|
|
2642
|
+
"open",
|
|
2643
|
+
"request",
|
|
2644
|
+
"invite"
|
|
2645
|
+
],
|
|
2646
|
+
"example": "open"
|
|
2101
2647
|
}
|
|
2102
2648
|
},
|
|
2103
2649
|
"required": [
|
|
2104
2650
|
"displayName",
|
|
2105
|
-
"requesterUserId",
|
|
2106
2651
|
"visibility",
|
|
2107
2652
|
"groupId",
|
|
2108
2653
|
"type"
|
|
@@ -2116,11 +2661,6 @@
|
|
|
2116
2661
|
"description": "Unique identifier for the entity",
|
|
2117
2662
|
"example": "entity-123"
|
|
2118
2663
|
},
|
|
2119
|
-
"tenantId": {
|
|
2120
|
-
"type": "string",
|
|
2121
|
-
"description": "Tenant identifier the entity belongs to",
|
|
2122
|
-
"example": "tenant-abc"
|
|
2123
|
-
},
|
|
2124
2664
|
"displayName": {
|
|
2125
2665
|
"type": "string",
|
|
2126
2666
|
"description": "Display name of the entity",
|
|
@@ -2169,10 +2709,28 @@
|
|
|
2169
2709
|
}
|
|
2170
2710
|
]
|
|
2171
2711
|
},
|
|
2712
|
+
"requesterConnection": {
|
|
2713
|
+
"description": "Connection to the requester",
|
|
2714
|
+
"allOf": [
|
|
2715
|
+
{
|
|
2716
|
+
"$ref": "#/components/schemas/EntityConnectionDto"
|
|
2717
|
+
}
|
|
2718
|
+
]
|
|
2719
|
+
},
|
|
2172
2720
|
"type": {
|
|
2173
2721
|
"type": "string",
|
|
2174
2722
|
"description": "Group type",
|
|
2175
|
-
"
|
|
2723
|
+
"enum": [
|
|
2724
|
+
"open",
|
|
2725
|
+
"request",
|
|
2726
|
+
"invite"
|
|
2727
|
+
],
|
|
2728
|
+
"example": "open"
|
|
2729
|
+
},
|
|
2730
|
+
"numMembers": {
|
|
2731
|
+
"type": "number",
|
|
2732
|
+
"description": "Number of active members",
|
|
2733
|
+
"example": 150
|
|
2176
2734
|
}
|
|
2177
2735
|
},
|
|
2178
2736
|
"required": [
|
|
@@ -2182,11 +2740,6 @@
|
|
|
2182
2740
|
"UpdateGroupDto": {
|
|
2183
2741
|
"type": "object",
|
|
2184
2742
|
"properties": {
|
|
2185
|
-
"requesterUserId": {
|
|
2186
|
-
"type": "string",
|
|
2187
|
-
"description": "User ID of the requester",
|
|
2188
|
-
"example": "user-123"
|
|
2189
|
-
},
|
|
2190
2743
|
"visibility": {
|
|
2191
2744
|
"type": "string",
|
|
2192
2745
|
"description": "Visibility of the entity",
|
|
@@ -2229,15 +2782,36 @@
|
|
|
2229
2782
|
"type": {
|
|
2230
2783
|
"type": "string",
|
|
2231
2784
|
"description": "Group type",
|
|
2232
|
-
"
|
|
2785
|
+
"enum": [
|
|
2786
|
+
"open",
|
|
2787
|
+
"request",
|
|
2788
|
+
"invite"
|
|
2789
|
+
],
|
|
2790
|
+
"example": "open"
|
|
2233
2791
|
}
|
|
2234
2792
|
},
|
|
2235
2793
|
"required": [
|
|
2236
|
-
"requesterUserId",
|
|
2237
2794
|
"displayName",
|
|
2238
2795
|
"type"
|
|
2239
2796
|
]
|
|
2240
2797
|
},
|
|
2798
|
+
"MutateGroupEntityConnectionDto": {
|
|
2799
|
+
"type": "object",
|
|
2800
|
+
"properties": {
|
|
2801
|
+
"type": {
|
|
2802
|
+
"type": "string",
|
|
2803
|
+
"description": "Connection type",
|
|
2804
|
+
"enum": [
|
|
2805
|
+
"member",
|
|
2806
|
+
"admin",
|
|
2807
|
+
"owner"
|
|
2808
|
+
]
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"required": [
|
|
2812
|
+
"type"
|
|
2813
|
+
]
|
|
2814
|
+
},
|
|
2241
2815
|
"GetGroupsDto": {
|
|
2242
2816
|
"type": "object",
|
|
2243
2817
|
"properties": {
|