@snokam/mcp-api 0.14.0 → 0.15.0

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.
@@ -0,0 +1,2498 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "Events API",
5
+ "description": "Events and notifications service",
6
+ "version": "v1.0.0"
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://events.api.test.snokam.no"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/v1.0/public": {
15
+ "get": {
16
+ "tags": [
17
+ "Events"
18
+ ],
19
+ "summary": "Gets events",
20
+ "description": "Retrieves events within a date range.",
21
+ "operationId": "PublicEvents",
22
+ "parameters": [
23
+ {
24
+ "name": "from",
25
+ "in": "query",
26
+ "description": "The start date for the events",
27
+ "schema": {
28
+ "type": "string",
29
+ "format": "date-time"
30
+ },
31
+ "x-ms-summary": "Start date"
32
+ },
33
+ {
34
+ "name": "to",
35
+ "in": "query",
36
+ "description": "The end date for the events",
37
+ "schema": {
38
+ "type": "string",
39
+ "format": "date-time"
40
+ },
41
+ "x-ms-summary": "End date"
42
+ },
43
+ {
44
+ "name": "token",
45
+ "in": "query",
46
+ "description": "Bypass token",
47
+ "schema": {
48
+ "type": "string"
49
+ },
50
+ "x-ms-summary": "Token"
51
+ }
52
+ ],
53
+ "responses": {
54
+ "200": {
55
+ "description": "Events retrieved successfully",
56
+ "content": {
57
+ "application/json": {
58
+ "schema": {
59
+ "type": "array",
60
+ "items": {
61
+ "$ref": "#/components/schemas/event"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "x-ms-summary": "Success"
67
+ },
68
+ "400": {
69
+ "description": "Invalid query parameters",
70
+ "content": {
71
+ "application/json": {
72
+ "schema": {
73
+ "$ref": "#/components/schemas/badRequestResult"
74
+ }
75
+ }
76
+ },
77
+ "x-ms-summary": "Bad Request"
78
+ }
79
+ }
80
+ }
81
+ },
82
+ "/v1.0/public/{eventIdOrSlug}": {
83
+ "get": {
84
+ "tags": [
85
+ "Events"
86
+ ],
87
+ "summary": "Gets an event by slug or id",
88
+ "description": "Retrieves an event by its slug or id.",
89
+ "operationId": "PublicEvent",
90
+ "parameters": [
91
+ {
92
+ "name": "eventIdOrSlug",
93
+ "in": "path",
94
+ "description": "The slug or id of the event to retrieve",
95
+ "required": true,
96
+ "schema": {
97
+ "type": "string"
98
+ },
99
+ "x-ms-summary": "The slug or id of the event"
100
+ }
101
+ ],
102
+ "responses": {
103
+ "200": {
104
+ "description": "Event retrieved successfully",
105
+ "content": {
106
+ "application/json": {
107
+ "schema": {
108
+ "$ref": "#/components/schemas/event"
109
+ }
110
+ }
111
+ },
112
+ "x-ms-summary": "Success"
113
+ },
114
+ "401": {
115
+ "description": "User is not authorized",
116
+ "x-ms-summary": "Unauthorized"
117
+ },
118
+ "404": {
119
+ "description": "Event not found",
120
+ "x-ms-summary": "Not Found"
121
+ }
122
+ }
123
+ }
124
+ },
125
+ "/v1.0/public/random-event": {
126
+ "get": {
127
+ "tags": [
128
+ "Events"
129
+ ],
130
+ "summary": "Gets random event",
131
+ "description": "Retrieves random event",
132
+ "operationId": "GetPublicRandomEvent",
133
+ "responses": {
134
+ "200": {
135
+ "description": "Event retrieved successfully",
136
+ "content": {
137
+ "application/json": {
138
+ "schema": {
139
+ "$ref": "#/components/schemas/event"
140
+ }
141
+ }
142
+ },
143
+ "x-ms-summary": "Success"
144
+ }
145
+ }
146
+ }
147
+ },
148
+ "/v1.0/public/ongoing-event": {
149
+ "get": {
150
+ "tags": [
151
+ "Events"
152
+ ],
153
+ "summary": "Gets ongoing event",
154
+ "description": "Retrieves ongoing event",
155
+ "operationId": "GetPublicOngoingEvent",
156
+ "responses": {
157
+ "200": {
158
+ "description": "Event retrieved successfully",
159
+ "content": {
160
+ "application/json": {
161
+ "schema": {
162
+ "$ref": "#/components/schemas/event"
163
+ }
164
+ }
165
+ },
166
+ "x-ms-summary": "Success"
167
+ },
168
+ "204": {
169
+ "description": "No ongoing events",
170
+ "x-ms-summary": "Not content"
171
+ }
172
+ }
173
+ }
174
+ },
175
+ "/v1.0/public/ongoing-events": {
176
+ "get": {
177
+ "tags": [
178
+ "Events"
179
+ ],
180
+ "summary": "Gets ongoing events",
181
+ "description": "Retrieves ongoing events",
182
+ "operationId": "GetPublicOngoingEvents",
183
+ "responses": {
184
+ "200": {
185
+ "description": "Event retrieved successfully",
186
+ "content": {
187
+ "application/json": {
188
+ "schema": {
189
+ "type": "array",
190
+ "items": {
191
+ "$ref": "#/components/schemas/event"
192
+ }
193
+ }
194
+ }
195
+ },
196
+ "x-ms-summary": "Success"
197
+ },
198
+ "204": {
199
+ "description": "No ongoing events",
200
+ "x-ms-summary": "Not content"
201
+ }
202
+ }
203
+ }
204
+ },
205
+ "/v1.0/public/{eventId}/add-guest-feedback": {
206
+ "post": {
207
+ "tags": [
208
+ "Events"
209
+ ],
210
+ "summary": "Add guest feedback",
211
+ "description": "Adds guest event feedback",
212
+ "operationId": "AddGuestFeedback",
213
+ "parameters": [
214
+ {
215
+ "name": "eventId",
216
+ "in": "path",
217
+ "description": "The ID of the event to patch",
218
+ "required": true,
219
+ "schema": {
220
+ "type": "string"
221
+ },
222
+ "x-ms-summary": "The ID of the event"
223
+ }
224
+ ],
225
+ "requestBody": {
226
+ "description": "Event data to patch",
227
+ "content": {
228
+ "application/json": {
229
+ "schema": {
230
+ "$ref": "#/components/schemas/addGuestGeedback"
231
+ }
232
+ }
233
+ },
234
+ "required": true
235
+ },
236
+ "responses": {
237
+ "200": {
238
+ "description": "Event feedback sent successfully",
239
+ "x-ms-summary": "Success"
240
+ }
241
+ }
242
+ }
243
+ },
244
+ "/v1.0/public/get-guest-events-pending-feedback": {
245
+ "get": {
246
+ "tags": [
247
+ "Events"
248
+ ],
249
+ "summary": "Gets guest events pending feedback",
250
+ "description": "Gets guest events pending feedback",
251
+ "operationId": "GetGuestEventsPendingFeedback",
252
+ "parameters": [
253
+ {
254
+ "name": "token",
255
+ "in": "query",
256
+ "description": "Participation token",
257
+ "schema": {
258
+ "type": "string"
259
+ },
260
+ "x-ms-summary": "Token"
261
+ }
262
+ ],
263
+ "responses": {
264
+ "200": {
265
+ "description": "Event feedback sent successfully",
266
+ "content": {
267
+ "application/json": {
268
+ "schema": {
269
+ "type": "array",
270
+ "items": {
271
+ "$ref": "#/components/schemas/event"
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "x-ms-summary": "Success"
277
+ }
278
+ },
279
+ "security": [
280
+ {
281
+ "Implicit": [
282
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
283
+ ]
284
+ }
285
+ ]
286
+ }
287
+ },
288
+ "/v1.0/public/instagram/feed": {
289
+ "get": {
290
+ "tags": [
291
+ "Instagram"
292
+ ],
293
+ "summary": "Gets Instagram feed",
294
+ "description": "Retrieves the public Instagram feed (media posts). Cached for 1 hour.",
295
+ "operationId": "GetPublicInstagramFeed",
296
+ "responses": {
297
+ "200": {
298
+ "description": "Instagram feed retrieved successfully",
299
+ "content": {
300
+ "application/json": {
301
+ "schema": {
302
+ "$ref": "#/components/schemas/instagramFeedResponse"
303
+ }
304
+ }
305
+ },
306
+ "x-ms-summary": "Success"
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "/v1.0/public/{eventId}/memories": {
312
+ "post": {
313
+ "tags": [
314
+ "Events"
315
+ ],
316
+ "summary": "Upload my memories to an event",
317
+ "description": "Upload my memories to an event",
318
+ "operationId": "UploadGuestMemories",
319
+ "parameters": [
320
+ {
321
+ "name": "eventId",
322
+ "in": "path",
323
+ "description": "The id of the event to upload memories to",
324
+ "required": true,
325
+ "schema": {
326
+ "type": "string"
327
+ },
328
+ "x-ms-summary": "The id of the event"
329
+ }
330
+ ],
331
+ "requestBody": {
332
+ "description": "Event data to patch",
333
+ "content": {
334
+ "application/json": {
335
+ "schema": {
336
+ "type": "array",
337
+ "items": {
338
+ "$ref": "#/components/schemas/sanityCreateMemory"
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "required": true
344
+ },
345
+ "responses": {
346
+ "200": {
347
+ "description": "Memories uploaded sent successfully",
348
+ "x-ms-summary": "Success"
349
+ }
350
+ },
351
+ "security": [
352
+ {
353
+ "Implicit": [
354
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
355
+ ]
356
+ }
357
+ ]
358
+ }
359
+ },
360
+ "/v1.0/public/blob-storage": {
361
+ "get": {
362
+ "tags": [
363
+ "Tokens"
364
+ ],
365
+ "summary": "Gets blob storage and creates sas token",
366
+ "description": "Generates a sas token for use to upload image and video memories to azure blob storage",
367
+ "operationId": "GetBlobStorage",
368
+ "responses": {
369
+ "200": {
370
+ "description": "Generated token",
371
+ "content": {
372
+ "application/json": {
373
+ "schema": {
374
+ "$ref": "#/components/schemas/azureBlobStorageCredentials"
375
+ }
376
+ }
377
+ },
378
+ "x-ms-summary": "Success"
379
+ },
380
+ "401": {
381
+ "description": "User is not authorized",
382
+ "x-ms-summary": "Unauthorized"
383
+ }
384
+ }
385
+ }
386
+ },
387
+ "/v1.0/public/{eventId}/participate": {
388
+ "post": {
389
+ "tags": [
390
+ "Events"
391
+ ],
392
+ "summary": "Participates in an event",
393
+ "description": "Registers participation in an event.",
394
+ "operationId": "Participate",
395
+ "parameters": [
396
+ {
397
+ "name": "eventId",
398
+ "in": "path",
399
+ "description": "The ID of the event to patch",
400
+ "required": true,
401
+ "schema": {
402
+ "type": "string"
403
+ },
404
+ "x-ms-summary": "The ID of the event"
405
+ }
406
+ ],
407
+ "requestBody": {
408
+ "description": "Participation data",
409
+ "content": {
410
+ "application/json": {
411
+ "schema": {
412
+ "$ref": "#/components/schemas/participate"
413
+ }
414
+ }
415
+ },
416
+ "required": true
417
+ },
418
+ "responses": {
419
+ "200": {
420
+ "description": "Participation registered successfully",
421
+ "content": {
422
+ "application/json": {
423
+ "schema": {
424
+ "$ref": "#/components/schemas/participant"
425
+ }
426
+ }
427
+ },
428
+ "x-ms-summary": "Success"
429
+ },
430
+ "401": {
431
+ "description": "User is not authorized",
432
+ "x-ms-summary": "Unauthorized"
433
+ }
434
+ }
435
+ },
436
+ "delete": {
437
+ "tags": [
438
+ "Events"
439
+ ],
440
+ "summary": "Removes participation",
441
+ "description": "Removes participation from an event.",
442
+ "operationId": "RemoveParticipation",
443
+ "parameters": [
444
+ {
445
+ "name": "eventId",
446
+ "in": "path",
447
+ "description": "The ID of the event to patch",
448
+ "required": true,
449
+ "schema": {
450
+ "type": "string"
451
+ },
452
+ "x-ms-summary": "The ID of the event"
453
+ }
454
+ ],
455
+ "requestBody": {
456
+ "description": "Data to remove participation",
457
+ "content": {
458
+ "application/json": {
459
+ "schema": {
460
+ "$ref": "#/components/schemas/removeParticipation"
461
+ }
462
+ }
463
+ },
464
+ "required": true
465
+ },
466
+ "responses": {
467
+ "200": {
468
+ "description": "Participation removed successfully",
469
+ "x-ms-summary": "Success"
470
+ },
471
+ "401": {
472
+ "description": "User is not authorized",
473
+ "x-ms-summary": "Unauthorized"
474
+ }
475
+ }
476
+ }
477
+ },
478
+ "/v1.0/protected": {
479
+ "get": {
480
+ "tags": [
481
+ "Events"
482
+ ],
483
+ "summary": "Gets events",
484
+ "description": "Retrieves events within a date range.",
485
+ "operationId": "ProtectedEvents",
486
+ "parameters": [
487
+ {
488
+ "name": "from",
489
+ "in": "query",
490
+ "description": "The start date for the events",
491
+ "schema": {
492
+ "type": "string",
493
+ "format": "date-time"
494
+ },
495
+ "x-ms-summary": "Start date"
496
+ },
497
+ {
498
+ "name": "to",
499
+ "in": "query",
500
+ "description": "The end date for the events",
501
+ "schema": {
502
+ "type": "string",
503
+ "format": "date-time"
504
+ },
505
+ "x-ms-summary": "End date"
506
+ }
507
+ ],
508
+ "responses": {
509
+ "200": {
510
+ "description": "Events retrieved successfully",
511
+ "content": {
512
+ "application/json": {
513
+ "schema": {
514
+ "type": "array",
515
+ "items": {
516
+ "$ref": "#/components/schemas/event"
517
+ }
518
+ }
519
+ }
520
+ },
521
+ "x-ms-summary": "Success"
522
+ },
523
+ "400": {
524
+ "description": "Invalid query parameters",
525
+ "content": {
526
+ "application/json": {
527
+ "schema": {
528
+ "$ref": "#/components/schemas/badRequestResult"
529
+ }
530
+ }
531
+ },
532
+ "x-ms-summary": "Bad Request"
533
+ }
534
+ },
535
+ "security": [
536
+ {
537
+ "Implicit": [
538
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
539
+ ]
540
+ }
541
+ ]
542
+ },
543
+ "post": {
544
+ "tags": [
545
+ "Events"
546
+ ],
547
+ "summary": "Creates an event",
548
+ "description": "Creates a new event.",
549
+ "operationId": "Create",
550
+ "requestBody": {
551
+ "description": "Event data to create",
552
+ "content": {
553
+ "application/json": {
554
+ "schema": {
555
+ "$ref": "#/components/schemas/createEvent"
556
+ }
557
+ }
558
+ },
559
+ "required": true
560
+ },
561
+ "responses": {
562
+ "200": {
563
+ "description": "Event created successfully",
564
+ "content": {
565
+ "application/json": {
566
+ "schema": {
567
+ "$ref": "#/components/schemas/createEvent"
568
+ }
569
+ }
570
+ },
571
+ "x-ms-summary": "Success"
572
+ },
573
+ "401": {
574
+ "description": "User is not authorized",
575
+ "x-ms-summary": "Unauthorized"
576
+ }
577
+ },
578
+ "security": [
579
+ {
580
+ "Implicit": [
581
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
582
+ ]
583
+ }
584
+ ]
585
+ }
586
+ },
587
+ "/v1.0/protected/{eventIdOrSlug}": {
588
+ "get": {
589
+ "tags": [
590
+ "Events"
591
+ ],
592
+ "summary": "Gets an event by slug or id",
593
+ "description": "Retrieves an event by its slug or id.",
594
+ "operationId": "ProtectedEvent",
595
+ "parameters": [
596
+ {
597
+ "name": "eventIdOrSlug",
598
+ "in": "path",
599
+ "description": "The slug or id of the event to retrieve",
600
+ "required": true,
601
+ "schema": {
602
+ "type": "string"
603
+ },
604
+ "x-ms-summary": "The slug or id of the event"
605
+ }
606
+ ],
607
+ "responses": {
608
+ "200": {
609
+ "description": "Event retrieved successfully",
610
+ "content": {
611
+ "application/json": {
612
+ "schema": {
613
+ "$ref": "#/components/schemas/event"
614
+ }
615
+ }
616
+ },
617
+ "x-ms-summary": "Success"
618
+ },
619
+ "401": {
620
+ "description": "User is not authorized",
621
+ "x-ms-summary": "Unauthorized"
622
+ },
623
+ "404": {
624
+ "description": "Event not found",
625
+ "x-ms-summary": "Not Found"
626
+ }
627
+ },
628
+ "security": [
629
+ {
630
+ "Implicit": [
631
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
632
+ ]
633
+ }
634
+ ]
635
+ },
636
+ "patch": {
637
+ "tags": [
638
+ "Events"
639
+ ],
640
+ "summary": "Patches an event",
641
+ "description": "Patches an existing event.",
642
+ "operationId": "PatchMyEvent",
643
+ "parameters": [
644
+ {
645
+ "name": "eventIdOrSlug",
646
+ "in": "path",
647
+ "description": "The ID of the event to patch",
648
+ "required": true,
649
+ "schema": {
650
+ "type": "string"
651
+ },
652
+ "x-ms-summary": "The ID of the event"
653
+ }
654
+ ],
655
+ "requestBody": {
656
+ "description": "Event data to patch",
657
+ "content": {
658
+ "application/json": {
659
+ "schema": {
660
+ "$ref": "#/components/schemas/patchEvent"
661
+ }
662
+ }
663
+ },
664
+ "required": true
665
+ },
666
+ "responses": {
667
+ "200": {
668
+ "description": "Event patched successfully",
669
+ "content": {
670
+ "application/json": {
671
+ "schema": {
672
+ "$ref": "#/components/schemas/event"
673
+ }
674
+ }
675
+ },
676
+ "x-ms-summary": "Success"
677
+ },
678
+ "401": {
679
+ "description": "User is not authorized",
680
+ "x-ms-summary": "Unauthorized"
681
+ }
682
+ },
683
+ "security": [
684
+ {
685
+ "Implicit": [
686
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
687
+ ]
688
+ }
689
+ ]
690
+ }
691
+ },
692
+ "/v1.0/protected/random-event": {
693
+ "get": {
694
+ "tags": [
695
+ "Events"
696
+ ],
697
+ "summary": "Gets random event",
698
+ "description": "Retrieves random event",
699
+ "operationId": "GetProtectedRandomEvent",
700
+ "responses": {
701
+ "200": {
702
+ "description": "Event retrieved successfully",
703
+ "content": {
704
+ "application/json": {
705
+ "schema": {
706
+ "$ref": "#/components/schemas/event"
707
+ }
708
+ }
709
+ },
710
+ "x-ms-summary": "Success"
711
+ }
712
+ },
713
+ "security": [
714
+ {
715
+ "Implicit": [
716
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
717
+ ]
718
+ }
719
+ ]
720
+ }
721
+ },
722
+ "/v1.0/protected/ongoing-event": {
723
+ "get": {
724
+ "tags": [
725
+ "Events"
726
+ ],
727
+ "summary": "Gets ongoing event",
728
+ "description": "Retrieves ongoing event",
729
+ "operationId": "GetProtectedOngoingEvent",
730
+ "responses": {
731
+ "200": {
732
+ "description": "Event retrieved successfully",
733
+ "content": {
734
+ "application/json": {
735
+ "schema": {
736
+ "$ref": "#/components/schemas/event"
737
+ }
738
+ }
739
+ },
740
+ "x-ms-summary": "Success"
741
+ },
742
+ "204": {
743
+ "description": "No ongoing events",
744
+ "x-ms-summary": "Not content"
745
+ }
746
+ },
747
+ "security": [
748
+ {
749
+ "Implicit": [
750
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
751
+ ]
752
+ }
753
+ ]
754
+ }
755
+ },
756
+ "/v1.0/protected/{eventIdOrSlug}/invitation-preview": {
757
+ "get": {
758
+ "tags": [
759
+ "Events"
760
+ ],
761
+ "summary": "Preview invitation recipients",
762
+ "description": "Returns the list of subscriber emails that would receive an invitation for the given event type. Does not send any email.",
763
+ "operationId": "GetInvitationPreview",
764
+ "parameters": [
765
+ {
766
+ "name": "eventIdOrSlug",
767
+ "in": "path",
768
+ "description": "The slug or id of the event (for route consistency)",
769
+ "required": true,
770
+ "schema": {
771
+ "type": "string"
772
+ },
773
+ "x-ms-summary": "The slug or id of the event"
774
+ },
775
+ {
776
+ "name": "eventTypeId",
777
+ "in": "query",
778
+ "description": "The ID of the event type to preview subscribers for",
779
+ "required": true,
780
+ "schema": {
781
+ "type": "string"
782
+ },
783
+ "x-ms-summary": "The event type ID"
784
+ }
785
+ ],
786
+ "responses": {
787
+ "200": {
788
+ "description": "List of subscriber emails",
789
+ "content": {
790
+ "application/json": {
791
+ "schema": {
792
+ "$ref": "#/components/schemas/invitationPreviewResponse"
793
+ }
794
+ }
795
+ },
796
+ "x-ms-summary": "Success"
797
+ },
798
+ "400": {
799
+ "description": "Event type ID is required",
800
+ "x-ms-summary": "Bad Request"
801
+ },
802
+ "401": {
803
+ "description": "User is not authorized",
804
+ "x-ms-summary": "Unauthorized"
805
+ }
806
+ },
807
+ "security": [
808
+ {
809
+ "Implicit": [
810
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
811
+ ]
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ "/v1.0/protected/{eventIdOrSlug}/send-invitations": {
817
+ "post": {
818
+ "tags": [
819
+ "Events"
820
+ ],
821
+ "summary": "Sends email invitations",
822
+ "description": "Sends email invitations to subscribers of the specified event type and marks invitationSent as true. Cannot be called if invitations have already been sent.",
823
+ "operationId": "SendInvitations",
824
+ "parameters": [
825
+ {
826
+ "name": "eventIdOrSlug",
827
+ "in": "path",
828
+ "description": "The slug or id of the event to send invitations for",
829
+ "required": true,
830
+ "schema": {
831
+ "type": "string"
832
+ },
833
+ "x-ms-summary": "The slug or id of the event"
834
+ },
835
+ {
836
+ "name": "eventTypeId",
837
+ "in": "query",
838
+ "description": "The ID of the event type to send invitations to subscribers of",
839
+ "required": true,
840
+ "schema": {
841
+ "type": "string"
842
+ },
843
+ "x-ms-summary": "The event type ID"
844
+ }
845
+ ],
846
+ "responses": {
847
+ "200": {
848
+ "description": "Invitations sent successfully",
849
+ "content": {
850
+ "application/json": {
851
+ "schema": {
852
+ "$ref": "#/components/schemas/event"
853
+ }
854
+ }
855
+ },
856
+ "x-ms-summary": "Success"
857
+ },
858
+ "400": {
859
+ "description": "No subscribers found for event type, or invitations have already been sent",
860
+ "x-ms-summary": "Bad Request"
861
+ },
862
+ "401": {
863
+ "description": "User is not authorized",
864
+ "x-ms-summary": "Unauthorized"
865
+ },
866
+ "404": {
867
+ "description": "Event not found",
868
+ "x-ms-summary": "Not Found"
869
+ }
870
+ },
871
+ "security": [
872
+ {
873
+ "Implicit": [
874
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
875
+ ]
876
+ }
877
+ ]
878
+ }
879
+ },
880
+ "/v1.0/protected/{eventId}/add-my-feedback": {
881
+ "post": {
882
+ "tags": [
883
+ "Events"
884
+ ],
885
+ "summary": "Add my feedback",
886
+ "description": "Adds my event feedback",
887
+ "operationId": "AddMyFeedback",
888
+ "parameters": [
889
+ {
890
+ "name": "eventId",
891
+ "in": "path",
892
+ "description": "The ID of the event to patch",
893
+ "required": true,
894
+ "schema": {
895
+ "type": "string"
896
+ },
897
+ "x-ms-summary": "The ID of the event"
898
+ }
899
+ ],
900
+ "requestBody": {
901
+ "description": "Event data to patch",
902
+ "content": {
903
+ "application/json": {
904
+ "schema": {
905
+ "$ref": "#/components/schemas/addEmployeeFeedback"
906
+ }
907
+ }
908
+ },
909
+ "required": true
910
+ },
911
+ "responses": {
912
+ "200": {
913
+ "description": "Event feedback sent successfully",
914
+ "x-ms-summary": "Success"
915
+ }
916
+ },
917
+ "security": [
918
+ {
919
+ "Implicit": [
920
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
921
+ ]
922
+ }
923
+ ]
924
+ }
925
+ },
926
+ "/v1.0/protected/get-my-events-pending-feedback": {
927
+ "get": {
928
+ "tags": [
929
+ "Events"
930
+ ],
931
+ "summary": "Gets events pending feedback",
932
+ "description": "Gets events pending feedback",
933
+ "operationId": "GetMyEventsPendingFeedback",
934
+ "responses": {
935
+ "200": {
936
+ "description": "Event feedback sent successfully",
937
+ "content": {
938
+ "application/json": {
939
+ "schema": {
940
+ "type": "array",
941
+ "items": {
942
+ "$ref": "#/components/schemas/event"
943
+ }
944
+ }
945
+ }
946
+ },
947
+ "x-ms-summary": "Success"
948
+ }
949
+ },
950
+ "security": [
951
+ {
952
+ "Implicit": [
953
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
954
+ ]
955
+ }
956
+ ]
957
+ }
958
+ },
959
+ "/v1.0/protected/{eventId}/memories/{memoryKey}": {
960
+ "patch": {
961
+ "tags": [
962
+ "Events"
963
+ ],
964
+ "summary": "Reviews media",
965
+ "description": "Approves or rejects a memory.",
966
+ "operationId": "ReviewUploadedMemory",
967
+ "parameters": [
968
+ {
969
+ "name": "eventId",
970
+ "in": "path",
971
+ "description": "The id of the event to patch",
972
+ "required": true,
973
+ "schema": {
974
+ "type": "string"
975
+ },
976
+ "x-ms-summary": "The id of the event"
977
+ },
978
+ {
979
+ "name": "memoryKey",
980
+ "in": "path",
981
+ "description": "The key of the memory to patch",
982
+ "required": true,
983
+ "schema": {
984
+ "type": "string"
985
+ },
986
+ "x-ms-summary": "The key of the memory"
987
+ }
988
+ ],
989
+ "requestBody": {
990
+ "description": "Review data",
991
+ "content": {
992
+ "application/json": {
993
+ "schema": {
994
+ "$ref": "#/components/schemas/patchEventMemory"
995
+ }
996
+ }
997
+ },
998
+ "required": true
999
+ },
1000
+ "responses": {
1001
+ "200": {
1002
+ "description": "Event patched successfully",
1003
+ "content": {
1004
+ "application/json": {
1005
+ "schema": {
1006
+ "$ref": "#/components/schemas/event"
1007
+ }
1008
+ }
1009
+ },
1010
+ "x-ms-summary": "Success"
1011
+ },
1012
+ "401": {
1013
+ "description": "User is not authorized",
1014
+ "x-ms-summary": "Unauthorized"
1015
+ }
1016
+ },
1017
+ "security": [
1018
+ {
1019
+ "Implicit": [
1020
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1021
+ ]
1022
+ }
1023
+ ]
1024
+ }
1025
+ },
1026
+ "/v1.0/protected/{eventId}/memories": {
1027
+ "post": {
1028
+ "tags": [
1029
+ "Events"
1030
+ ],
1031
+ "summary": "Upload my memories to an event",
1032
+ "description": "Upload my memories to an event",
1033
+ "operationId": "UploadMyMemories",
1034
+ "parameters": [
1035
+ {
1036
+ "name": "eventId",
1037
+ "in": "path",
1038
+ "description": "The id of the event to patch",
1039
+ "required": true,
1040
+ "schema": {
1041
+ "type": "string"
1042
+ },
1043
+ "x-ms-summary": "The id of the event"
1044
+ }
1045
+ ],
1046
+ "requestBody": {
1047
+ "description": "Event data to patch",
1048
+ "content": {
1049
+ "application/json": {
1050
+ "schema": {
1051
+ "type": "array",
1052
+ "items": {
1053
+ "$ref": "#/components/schemas/sanityCreateMemory"
1054
+ }
1055
+ }
1056
+ }
1057
+ },
1058
+ "required": true
1059
+ },
1060
+ "responses": {
1061
+ "200": {
1062
+ "description": "Memories uploaded sent successfully",
1063
+ "x-ms-summary": "Success"
1064
+ }
1065
+ },
1066
+ "security": [
1067
+ {
1068
+ "Implicit": [
1069
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1070
+ ]
1071
+ }
1072
+ ]
1073
+ }
1074
+ },
1075
+ "/v1.0/protected/{eventId}/participate": {
1076
+ "post": {
1077
+ "tags": [
1078
+ "Events"
1079
+ ],
1080
+ "summary": "Participates in an event",
1081
+ "description": "Registers participation in an event.",
1082
+ "operationId": "AddMyParticipation",
1083
+ "parameters": [
1084
+ {
1085
+ "name": "eventId",
1086
+ "in": "path",
1087
+ "description": "The ID of the event to patch",
1088
+ "required": true,
1089
+ "schema": {
1090
+ "type": "string"
1091
+ },
1092
+ "x-ms-summary": "The ID of the event"
1093
+ }
1094
+ ],
1095
+ "responses": {
1096
+ "200": {
1097
+ "description": "Participation registered successfully",
1098
+ "content": {
1099
+ "application/json": {
1100
+ "schema": {
1101
+ "$ref": "#/components/schemas/participant"
1102
+ }
1103
+ }
1104
+ },
1105
+ "x-ms-summary": "Success"
1106
+ },
1107
+ "401": {
1108
+ "description": "User is not authorized",
1109
+ "x-ms-summary": "Unauthorized"
1110
+ }
1111
+ },
1112
+ "security": [
1113
+ {
1114
+ "Implicit": [
1115
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1116
+ ]
1117
+ }
1118
+ ]
1119
+ },
1120
+ "delete": {
1121
+ "tags": [
1122
+ "Events"
1123
+ ],
1124
+ "summary": "Removes participation",
1125
+ "description": "Removes participation from an event.",
1126
+ "operationId": "RemoveMyParticipation",
1127
+ "parameters": [
1128
+ {
1129
+ "name": "eventId",
1130
+ "in": "path",
1131
+ "description": "The ID of the event to patch",
1132
+ "required": true,
1133
+ "schema": {
1134
+ "type": "string"
1135
+ },
1136
+ "x-ms-summary": "The ID of the event"
1137
+ }
1138
+ ],
1139
+ "responses": {
1140
+ "200": {
1141
+ "description": "Participation removed successfully",
1142
+ "x-ms-summary": "Success"
1143
+ },
1144
+ "401": {
1145
+ "description": "User is not authorized",
1146
+ "x-ms-summary": "Unauthorized"
1147
+ }
1148
+ },
1149
+ "security": [
1150
+ {
1151
+ "Implicit": [
1152
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1153
+ ]
1154
+ }
1155
+ ]
1156
+ }
1157
+ },
1158
+ "/v1.0/protected/{eventId}/participate/employee": {
1159
+ "post": {
1160
+ "tags": [
1161
+ "Events"
1162
+ ],
1163
+ "summary": "Registers an employee as participant",
1164
+ "description": "Registers a specific employee as an internal participant in an event. Requires authentication.",
1165
+ "operationId": "AddParticipationForEmployee",
1166
+ "parameters": [
1167
+ {
1168
+ "name": "eventId",
1169
+ "in": "path",
1170
+ "description": "The ID of the event",
1171
+ "required": true,
1172
+ "schema": {
1173
+ "type": "string"
1174
+ },
1175
+ "x-ms-summary": "The ID of the event"
1176
+ }
1177
+ ],
1178
+ "requestBody": {
1179
+ "description": "Employee participation data",
1180
+ "content": {
1181
+ "application/json": {
1182
+ "schema": {
1183
+ "$ref": "#/components/schemas/participateEmployee"
1184
+ }
1185
+ }
1186
+ },
1187
+ "required": true
1188
+ },
1189
+ "responses": {
1190
+ "200": {
1191
+ "description": "Participation registered successfully",
1192
+ "content": {
1193
+ "application/json": {
1194
+ "schema": {
1195
+ "$ref": "#/components/schemas/participant"
1196
+ }
1197
+ }
1198
+ },
1199
+ "x-ms-summary": "Success"
1200
+ },
1201
+ "401": {
1202
+ "description": "User is not authorized",
1203
+ "x-ms-summary": "Unauthorized"
1204
+ }
1205
+ },
1206
+ "security": [
1207
+ {
1208
+ "Implicit": [
1209
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1210
+ ]
1211
+ }
1212
+ ]
1213
+ }
1214
+ },
1215
+ "/v1.0/protected/instagram": {
1216
+ "post": {
1217
+ "tags": [
1218
+ "Social Media"
1219
+ ],
1220
+ "summary": "Posts images to Instagram",
1221
+ "description": "Posts images to Instagram.",
1222
+ "operationId": "PostToInstagram",
1223
+ "requestBody": {
1224
+ "description": "Data to post images to Instagram",
1225
+ "content": {
1226
+ "application/json": {
1227
+ "schema": {
1228
+ "$ref": "#/components/schemas/postToInstagram"
1229
+ }
1230
+ }
1231
+ },
1232
+ "required": true
1233
+ },
1234
+ "responses": {
1235
+ "200": {
1236
+ "description": "Images posted to Instagram successfully",
1237
+ "content": {
1238
+ "application/json": {
1239
+ "schema": {
1240
+ "type": "string"
1241
+ }
1242
+ }
1243
+ },
1244
+ "x-ms-summary": "Success"
1245
+ },
1246
+ "401": {
1247
+ "description": "User is not authorized",
1248
+ "x-ms-summary": "Unauthorized"
1249
+ }
1250
+ },
1251
+ "security": [
1252
+ {
1253
+ "Implicit": [
1254
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default"
1255
+ ]
1256
+ }
1257
+ ]
1258
+ }
1259
+ }
1260
+ },
1261
+ "components": {
1262
+ "schemas": {
1263
+ "addEmployeeFeedback": {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "sanityType": {
1267
+ "enum": [
1268
+ "response"
1269
+ ],
1270
+ "type": "string",
1271
+ "default": "response"
1272
+ },
1273
+ "comment": {
1274
+ "type": "string"
1275
+ },
1276
+ "foodAndDrinkRating": {
1277
+ "type": "number",
1278
+ "format": "double"
1279
+ },
1280
+ "locationRating": {
1281
+ "type": "number",
1282
+ "format": "double"
1283
+ },
1284
+ "organizationRating": {
1285
+ "type": "number",
1286
+ "format": "double"
1287
+ },
1288
+ "overallRating": {
1289
+ "type": "number",
1290
+ "format": "double"
1291
+ },
1292
+ "additionalProperties": {
1293
+ "type": "object",
1294
+ "additionalProperties": {
1295
+ "type": "object"
1296
+ }
1297
+ }
1298
+ }
1299
+ },
1300
+ "addGuestGeedback": {
1301
+ "required": [
1302
+ "token"
1303
+ ],
1304
+ "type": "object",
1305
+ "properties": {
1306
+ "token": {
1307
+ "minLength": 1,
1308
+ "type": "string",
1309
+ "nullable": true
1310
+ },
1311
+ "sanityType": {
1312
+ "enum": [
1313
+ "response"
1314
+ ],
1315
+ "type": "string",
1316
+ "default": "response"
1317
+ },
1318
+ "comment": {
1319
+ "type": "string"
1320
+ },
1321
+ "foodAndDrinkRating": {
1322
+ "type": "number",
1323
+ "format": "double"
1324
+ },
1325
+ "locationRating": {
1326
+ "type": "number",
1327
+ "format": "double"
1328
+ },
1329
+ "organizationRating": {
1330
+ "type": "number",
1331
+ "format": "double"
1332
+ },
1333
+ "overallRating": {
1334
+ "type": "number",
1335
+ "format": "double"
1336
+ },
1337
+ "additionalProperties": {
1338
+ "type": "object",
1339
+ "additionalProperties": {
1340
+ "type": "object"
1341
+ }
1342
+ }
1343
+ }
1344
+ },
1345
+ "azureBlobStorageCredentials": {
1346
+ "type": "object",
1347
+ "properties": {
1348
+ "blobUrl": {
1349
+ "type": "string"
1350
+ },
1351
+ "sasToken": {
1352
+ "type": "string"
1353
+ },
1354
+ "additionalProperties": {
1355
+ "type": "object",
1356
+ "additionalProperties": {
1357
+ "type": "object"
1358
+ }
1359
+ }
1360
+ }
1361
+ },
1362
+ "badRequestResult": {
1363
+ "type": "object",
1364
+ "properties": {
1365
+ "statusCode": {
1366
+ "type": "integer",
1367
+ "format": "int32"
1368
+ }
1369
+ }
1370
+ },
1371
+ "componentMedia": {
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "sanityType": {
1375
+ "enum": [
1376
+ "component.media"
1377
+ ],
1378
+ "type": "string",
1379
+ "default": "component.media"
1380
+ },
1381
+ "type": {
1382
+ "enum": [
1383
+ "image",
1384
+ "video"
1385
+ ],
1386
+ "type": "string",
1387
+ "default": "image"
1388
+ },
1389
+ "image": {
1390
+ "$ref": "#/components/schemas/componentMediaImage"
1391
+ },
1392
+ "video": {
1393
+ "$ref": "#/components/schemas/muxVideo"
1394
+ }
1395
+ }
1396
+ },
1397
+ "componentMediaImage": {
1398
+ "type": "object",
1399
+ "properties": {
1400
+ "sanityType": {
1401
+ "enum": [
1402
+ "image"
1403
+ ],
1404
+ "type": "string",
1405
+ "default": "image"
1406
+ },
1407
+ "asset": {
1408
+ "$ref": "#/components/schemas/sanityImageAssetReference"
1409
+ },
1410
+ "crop": {
1411
+ "$ref": "#/components/schemas/sanityImageCrop"
1412
+ },
1413
+ "hotspot": {
1414
+ "$ref": "#/components/schemas/sanityImageHotspot"
1415
+ },
1416
+ "media": {
1417
+ "type": "object"
1418
+ }
1419
+ }
1420
+ },
1421
+ "createEvent": {
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "status": {
1425
+ "enum": [
1426
+ "active",
1427
+ "cancelled"
1428
+ ],
1429
+ "type": "string",
1430
+ "default": "active"
1431
+ },
1432
+ "dates": {
1433
+ "type": "array",
1434
+ "items": {
1435
+ "type": "string",
1436
+ "format": "date-time"
1437
+ }
1438
+ },
1439
+ "file": {
1440
+ "$ref": "#/components/schemas/createEventFile"
1441
+ },
1442
+ "sanityType": {
1443
+ "enum": [
1444
+ "event"
1445
+ ],
1446
+ "type": "string",
1447
+ "default": "event"
1448
+ },
1449
+ "allowDigitalParticipation": {
1450
+ "type": "boolean"
1451
+ },
1452
+ "askForFeedback": {
1453
+ "type": "boolean"
1454
+ },
1455
+ "category": {
1456
+ "type": "array",
1457
+ "items": {
1458
+ "type": "string"
1459
+ }
1460
+ },
1461
+ "creator": {
1462
+ "$ref": "#/components/schemas/employeeReference"
1463
+ },
1464
+ "description": {
1465
+ "type": "string"
1466
+ },
1467
+ "endTime": {
1468
+ "type": "string"
1469
+ },
1470
+ "eventType": {
1471
+ "type": "array",
1472
+ "items": {
1473
+ "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
1474
+ }
1475
+ },
1476
+ "feedback": {
1477
+ "type": "array",
1478
+ "items": {
1479
+ "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
1480
+ }
1481
+ },
1482
+ "invitationSent": {
1483
+ "type": "boolean"
1484
+ },
1485
+ "isServingFood": {
1486
+ "type": "boolean"
1487
+ },
1488
+ "linkOnly": {
1489
+ "type": "boolean"
1490
+ },
1491
+ "manualMemoriesApproval": {
1492
+ "type": "boolean"
1493
+ },
1494
+ "maxParticipants": {
1495
+ "type": "number",
1496
+ "format": "double"
1497
+ },
1498
+ "media": {
1499
+ "$ref": "#/components/schemas/componentMedia"
1500
+ },
1501
+ "memories": {
1502
+ "type": "array",
1503
+ "items": {
1504
+ "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
1505
+ }
1506
+ },
1507
+ "participants": {
1508
+ "type": "array",
1509
+ "items": {
1510
+ "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
1511
+ }
1512
+ },
1513
+ "participationStart": {
1514
+ "type": "string"
1515
+ },
1516
+ "place": {
1517
+ "type": "string"
1518
+ },
1519
+ "public": {
1520
+ "type": "boolean"
1521
+ },
1522
+ "recurringId": {
1523
+ "type": "string"
1524
+ },
1525
+ "slug": {
1526
+ "$ref": "#/components/schemas/slug"
1527
+ },
1528
+ "teamsLink": {
1529
+ "type": "string"
1530
+ },
1531
+ "time": {
1532
+ "type": "string"
1533
+ },
1534
+ "title": {
1535
+ "type": "string"
1536
+ },
1537
+ "additionalProperties": {
1538
+ "type": "object",
1539
+ "additionalProperties": {
1540
+ "type": "object"
1541
+ }
1542
+ }
1543
+ }
1544
+ },
1545
+ "createEventFile": {
1546
+ "type": "object",
1547
+ "properties": {
1548
+ "type": {
1549
+ "type": "string",
1550
+ "nullable": true
1551
+ },
1552
+ "url": {
1553
+ "type": "string",
1554
+ "nullable": true
1555
+ },
1556
+ "filename": {
1557
+ "type": "string",
1558
+ "nullable": true
1559
+ }
1560
+ }
1561
+ },
1562
+ "employeeReference": {
1563
+ "type": "object",
1564
+ "properties": {
1565
+ "sanityType": {
1566
+ "enum": [
1567
+ "reference"
1568
+ ],
1569
+ "type": "string",
1570
+ "default": "reference"
1571
+ },
1572
+ "sanityRef": {
1573
+ "type": "string"
1574
+ },
1575
+ "sanityWeak": {
1576
+ "type": "boolean"
1577
+ }
1578
+ }
1579
+ },
1580
+ "event": {
1581
+ "required": [
1582
+ "sanityId",
1583
+ "sanityType",
1584
+ "sanityRev",
1585
+ "sanityCreatedAt",
1586
+ "sanityUpdatedAt",
1587
+ "creator",
1588
+ "title",
1589
+ "slug",
1590
+ "description",
1591
+ "eventTypes",
1592
+ "time"
1593
+ ],
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "sanityId": {
1597
+ "minLength": 1,
1598
+ "type": "string"
1599
+ },
1600
+ "sanityType": {
1601
+ "minLength": 1,
1602
+ "type": "string"
1603
+ },
1604
+ "sanityRev": {
1605
+ "minLength": 1,
1606
+ "type": "string"
1607
+ },
1608
+ "sanityCreatedAt": {
1609
+ "minLength": 1,
1610
+ "type": "string"
1611
+ },
1612
+ "sanityUpdatedAt": {
1613
+ "minLength": 1,
1614
+ "type": "string"
1615
+ },
1616
+ "creator": {
1617
+ "$ref": "#/components/schemas/sanityOrderEmployee"
1618
+ },
1619
+ "participants": {
1620
+ "type": "array",
1621
+ "items": {
1622
+ "$ref": "#/components/schemas/participant"
1623
+ }
1624
+ },
1625
+ "memories": {
1626
+ "type": "array",
1627
+ "items": {
1628
+ "$ref": "#/components/schemas/sanityEventMemoriesInner"
1629
+ }
1630
+ },
1631
+ "media": {
1632
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
1633
+ },
1634
+ "unapprovedMediaCount": {
1635
+ "type": "integer",
1636
+ "format": "int32"
1637
+ },
1638
+ "recurringId": {
1639
+ "type": "string"
1640
+ },
1641
+ "public": {
1642
+ "type": "boolean"
1643
+ },
1644
+ "linkOnly": {
1645
+ "type": "boolean"
1646
+ },
1647
+ "status": {
1648
+ "type": "string"
1649
+ },
1650
+ "askForFeedback": {
1651
+ "type": "boolean"
1652
+ },
1653
+ "title": {
1654
+ "minLength": 1,
1655
+ "type": "string"
1656
+ },
1657
+ "slug": {
1658
+ "$ref": "#/components/schemas/slug"
1659
+ },
1660
+ "description": {
1661
+ "minLength": 1,
1662
+ "type": "string"
1663
+ },
1664
+ "isServingFood": {
1665
+ "type": "boolean",
1666
+ "nullable": true
1667
+ },
1668
+ "eventTypes": {
1669
+ "type": "array",
1670
+ "items": {
1671
+ "$ref": "#/components/schemas/eventType"
1672
+ }
1673
+ },
1674
+ "endTime": {
1675
+ "type": "string"
1676
+ },
1677
+ "place": {
1678
+ "type": "string"
1679
+ },
1680
+ "maxParticipants": {
1681
+ "type": "number",
1682
+ "format": "double",
1683
+ "nullable": true
1684
+ },
1685
+ "time": {
1686
+ "minLength": 1,
1687
+ "type": "string"
1688
+ },
1689
+ "participationStart": {
1690
+ "type": "string"
1691
+ },
1692
+ "manualMemoriesApproval": {
1693
+ "type": "boolean"
1694
+ },
1695
+ "feedback": {
1696
+ "type": "array",
1697
+ "items": {
1698
+ "$ref": "#/components/schemas/sanityEventFeedbackInner"
1699
+ }
1700
+ },
1701
+ "invitationSent": {
1702
+ "type": "boolean",
1703
+ "nullable": true
1704
+ },
1705
+ "allowDigitalParticipation": {
1706
+ "type": "boolean",
1707
+ "nullable": true
1708
+ },
1709
+ "teamsLink": {
1710
+ "type": "string"
1711
+ }
1712
+ }
1713
+ },
1714
+ "eventType": {
1715
+ "type": "object",
1716
+ "properties": {
1717
+ "sanityId": {
1718
+ "type": "string"
1719
+ },
1720
+ "sanityType": {
1721
+ "type": "string"
1722
+ },
1723
+ "name": {
1724
+ "type": "string"
1725
+ },
1726
+ "slug": {
1727
+ "$ref": "#/components/schemas/slug"
1728
+ },
1729
+ "canSubscribe": {
1730
+ "type": "boolean"
1731
+ }
1732
+ }
1733
+ },
1734
+ "image": {
1735
+ "type": "object",
1736
+ "properties": {
1737
+ "url": {
1738
+ "type": "string"
1739
+ },
1740
+ "tags": {
1741
+ "type": "array",
1742
+ "items": {
1743
+ "$ref": "#/components/schemas/tag"
1744
+ }
1745
+ }
1746
+ }
1747
+ },
1748
+ "instagramFeedResponse": {
1749
+ "type": "object",
1750
+ "properties": {
1751
+ "username": {
1752
+ "type": "string"
1753
+ },
1754
+ "name": {
1755
+ "type": "string"
1756
+ },
1757
+ "profileUrl": {
1758
+ "type": "string"
1759
+ },
1760
+ "profilePictureUrl": {
1761
+ "type": "string"
1762
+ },
1763
+ "mediaCount": {
1764
+ "type": "integer",
1765
+ "format": "int32"
1766
+ },
1767
+ "followersCount": {
1768
+ "type": "integer",
1769
+ "format": "int32"
1770
+ },
1771
+ "followsCount": {
1772
+ "type": "integer",
1773
+ "format": "int32"
1774
+ },
1775
+ "media": {
1776
+ "type": "array",
1777
+ "items": {
1778
+ "$ref": "#/components/schemas/instagramMedia"
1779
+ }
1780
+ }
1781
+ }
1782
+ },
1783
+ "instagramMedia": {
1784
+ "type": "object",
1785
+ "properties": {
1786
+ "id": {
1787
+ "type": "string"
1788
+ },
1789
+ "caption": {
1790
+ "type": "string"
1791
+ },
1792
+ "mediaType": {
1793
+ "type": "string"
1794
+ },
1795
+ "mediaUrl": {
1796
+ "type": "string"
1797
+ },
1798
+ "thumbnailUrl": {
1799
+ "type": "string"
1800
+ },
1801
+ "permalink": {
1802
+ "type": "string"
1803
+ },
1804
+ "timestamp": {
1805
+ "type": "string"
1806
+ }
1807
+ }
1808
+ },
1809
+ "invitationPreviewResponse": {
1810
+ "type": "object",
1811
+ "properties": {
1812
+ "emails": {
1813
+ "type": "array",
1814
+ "items": {
1815
+ "type": "string"
1816
+ }
1817
+ }
1818
+ }
1819
+ },
1820
+ "muxVideo": {
1821
+ "type": "object",
1822
+ "properties": {
1823
+ "sanityType": {
1824
+ "enum": [
1825
+ "mux.video"
1826
+ ],
1827
+ "type": "string",
1828
+ "default": "mux.video"
1829
+ },
1830
+ "asset": {
1831
+ "$ref": "#/components/schemas/muxVideoAssetReference"
1832
+ }
1833
+ }
1834
+ },
1835
+ "muxVideoAssetReference": {
1836
+ "type": "object",
1837
+ "properties": {
1838
+ "sanityType": {
1839
+ "enum": [
1840
+ "reference"
1841
+ ],
1842
+ "type": "string",
1843
+ "default": "reference"
1844
+ },
1845
+ "sanityRef": {
1846
+ "type": "string"
1847
+ },
1848
+ "sanityWeak": {
1849
+ "type": "boolean"
1850
+ }
1851
+ }
1852
+ },
1853
+ "participant": {
1854
+ "required": [
1855
+ "sanityKey",
1856
+ "sanityType",
1857
+ "name",
1858
+ "email",
1859
+ "token",
1860
+ "feedbackSubmitted"
1861
+ ],
1862
+ "type": "object",
1863
+ "properties": {
1864
+ "sanityKey": {
1865
+ "minLength": 1,
1866
+ "type": "string"
1867
+ },
1868
+ "sanityType": {
1869
+ "minLength": 1,
1870
+ "type": "string"
1871
+ },
1872
+ "image": {
1873
+ "type": "string"
1874
+ },
1875
+ "name": {
1876
+ "minLength": 1,
1877
+ "type": "string"
1878
+ },
1879
+ "email": {
1880
+ "minLength": 1,
1881
+ "type": "string"
1882
+ },
1883
+ "registered": {
1884
+ "type": "string"
1885
+ },
1886
+ "details": {
1887
+ "type": "string"
1888
+ },
1889
+ "token": {
1890
+ "minLength": 1,
1891
+ "type": "string"
1892
+ },
1893
+ "feedbackSubmitted": {
1894
+ "type": "boolean"
1895
+ }
1896
+ }
1897
+ },
1898
+ "participate": {
1899
+ "required": [
1900
+ "name",
1901
+ "email"
1902
+ ],
1903
+ "type": "object",
1904
+ "properties": {
1905
+ "name": {
1906
+ "minLength": 1,
1907
+ "type": "string"
1908
+ },
1909
+ "email": {
1910
+ "minLength": 1,
1911
+ "type": "string"
1912
+ },
1913
+ "details": {
1914
+ "type": "string"
1915
+ }
1916
+ }
1917
+ },
1918
+ "participateEmployee": {
1919
+ "required": [
1920
+ "email"
1921
+ ],
1922
+ "type": "object",
1923
+ "properties": {
1924
+ "email": {
1925
+ "minLength": 1,
1926
+ "type": "string"
1927
+ },
1928
+ "details": {
1929
+ "type": "string"
1930
+ }
1931
+ }
1932
+ },
1933
+ "patchEvent": {
1934
+ "type": "object",
1935
+ "properties": {
1936
+ "file": {
1937
+ "$ref": "#/components/schemas/createEventFile"
1938
+ },
1939
+ "invitationSent": {
1940
+ "type": "boolean",
1941
+ "nullable": true
1942
+ },
1943
+ "sanityType": {
1944
+ "enum": [
1945
+ "event"
1946
+ ],
1947
+ "type": "string",
1948
+ "default": "event",
1949
+ "nullable": true
1950
+ },
1951
+ "status": {
1952
+ "enum": [
1953
+ "active",
1954
+ "cancelled"
1955
+ ],
1956
+ "type": "string",
1957
+ "default": "active",
1958
+ "nullable": true
1959
+ },
1960
+ "allowDigitalParticipation": {
1961
+ "type": "boolean",
1962
+ "nullable": true
1963
+ },
1964
+ "askForFeedback": {
1965
+ "type": "boolean",
1966
+ "nullable": true
1967
+ },
1968
+ "category": {
1969
+ "type": "array",
1970
+ "items": {
1971
+ "type": "string"
1972
+ }
1973
+ },
1974
+ "creator": {
1975
+ "$ref": "#/components/schemas/employeeReference"
1976
+ },
1977
+ "description": {
1978
+ "type": "string"
1979
+ },
1980
+ "endTime": {
1981
+ "type": "string"
1982
+ },
1983
+ "eventType": {
1984
+ "type": "array",
1985
+ "items": {
1986
+ "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
1987
+ }
1988
+ },
1989
+ "feedback": {
1990
+ "type": "array",
1991
+ "items": {
1992
+ "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
1993
+ }
1994
+ },
1995
+ "isServingFood": {
1996
+ "type": "boolean",
1997
+ "nullable": true
1998
+ },
1999
+ "linkOnly": {
2000
+ "type": "boolean",
2001
+ "nullable": true
2002
+ },
2003
+ "manualMemoriesApproval": {
2004
+ "type": "boolean",
2005
+ "nullable": true
2006
+ },
2007
+ "maxParticipants": {
2008
+ "type": "number",
2009
+ "format": "double",
2010
+ "nullable": true
2011
+ },
2012
+ "media": {
2013
+ "$ref": "#/components/schemas/componentMedia"
2014
+ },
2015
+ "memories": {
2016
+ "type": "array",
2017
+ "items": {
2018
+ "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
2019
+ }
2020
+ },
2021
+ "participants": {
2022
+ "type": "array",
2023
+ "items": {
2024
+ "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
2025
+ }
2026
+ },
2027
+ "participationStart": {
2028
+ "type": "string"
2029
+ },
2030
+ "place": {
2031
+ "type": "string"
2032
+ },
2033
+ "public": {
2034
+ "type": "boolean",
2035
+ "nullable": true
2036
+ },
2037
+ "recurringId": {
2038
+ "type": "string"
2039
+ },
2040
+ "slug": {
2041
+ "$ref": "#/components/schemas/slug"
2042
+ },
2043
+ "teamsLink": {
2044
+ "type": "string"
2045
+ },
2046
+ "time": {
2047
+ "type": "string"
2048
+ },
2049
+ "title": {
2050
+ "type": "string"
2051
+ },
2052
+ "additionalProperties": {
2053
+ "type": "object",
2054
+ "additionalProperties": {
2055
+ "type": "object"
2056
+ }
2057
+ }
2058
+ }
2059
+ },
2060
+ "patchEventMemory": {
2061
+ "type": "object",
2062
+ "properties": {
2063
+ "approved": {
2064
+ "type": "boolean"
2065
+ },
2066
+ "additionalProperties": {
2067
+ "type": "object",
2068
+ "additionalProperties": {
2069
+ "type": "object"
2070
+ }
2071
+ }
2072
+ }
2073
+ },
2074
+ "postToInstagram": {
2075
+ "required": [
2076
+ "eventId"
2077
+ ],
2078
+ "type": "object",
2079
+ "properties": {
2080
+ "eventId": {
2081
+ "minLength": 1,
2082
+ "type": "string"
2083
+ },
2084
+ "description": {
2085
+ "type": "string"
2086
+ },
2087
+ "images": {
2088
+ "type": "array",
2089
+ "items": {
2090
+ "$ref": "#/components/schemas/image"
2091
+ }
2092
+ }
2093
+ }
2094
+ },
2095
+ "removeParticipation": {
2096
+ "required": [
2097
+ "token"
2098
+ ],
2099
+ "type": "object",
2100
+ "properties": {
2101
+ "token": {
2102
+ "minLength": 1,
2103
+ "type": "string"
2104
+ }
2105
+ }
2106
+ },
2107
+ "sanityCreateEventEventTypeInner": {
2108
+ "type": "object",
2109
+ "properties": {
2110
+ "sanityType": {
2111
+ "enum": [
2112
+ "reference"
2113
+ ],
2114
+ "type": "string",
2115
+ "default": "reference"
2116
+ },
2117
+ "sanityKey": {
2118
+ "type": "string"
2119
+ },
2120
+ "sanityRef": {
2121
+ "type": "string"
2122
+ },
2123
+ "sanityWeak": {
2124
+ "type": "boolean"
2125
+ }
2126
+ }
2127
+ },
2128
+ "sanityCreateEventFeedbackInner": {
2129
+ "type": "object",
2130
+ "properties": {
2131
+ "sanityType": {
2132
+ "enum": [
2133
+ "response"
2134
+ ],
2135
+ "type": "string",
2136
+ "default": "response"
2137
+ },
2138
+ "comment": {
2139
+ "type": "string"
2140
+ },
2141
+ "foodAndDrinkRating": {
2142
+ "type": "number",
2143
+ "format": "double"
2144
+ },
2145
+ "locationRating": {
2146
+ "type": "number",
2147
+ "format": "double"
2148
+ },
2149
+ "organizationRating": {
2150
+ "type": "number",
2151
+ "format": "double"
2152
+ },
2153
+ "overallRating": {
2154
+ "type": "number",
2155
+ "format": "double"
2156
+ },
2157
+ "sanityKey": {
2158
+ "type": "string"
2159
+ }
2160
+ }
2161
+ },
2162
+ "sanityCreateEventMemoriesInner": {
2163
+ "type": "object",
2164
+ "properties": {
2165
+ "actualInstance": {
2166
+ "type": "object"
2167
+ },
2168
+ "isNullable": {
2169
+ "type": "boolean"
2170
+ },
2171
+ "schemaType": {
2172
+ "type": "string"
2173
+ }
2174
+ }
2175
+ },
2176
+ "sanityCreateEventParticipantsInner": {
2177
+ "type": "object",
2178
+ "properties": {
2179
+ "actualInstance": {
2180
+ "type": "object"
2181
+ },
2182
+ "isNullable": {
2183
+ "type": "boolean"
2184
+ },
2185
+ "schemaType": {
2186
+ "type": "string"
2187
+ }
2188
+ }
2189
+ },
2190
+ "sanityCreateMemory": {
2191
+ "type": "object",
2192
+ "properties": {
2193
+ "sanityType": {
2194
+ "enum": [
2195
+ "memory.image",
2196
+ "memory.video"
2197
+ ],
2198
+ "type": "string",
2199
+ "default": "memory.image"
2200
+ },
2201
+ "filename": {
2202
+ "type": "string"
2203
+ },
2204
+ "mediaUrl": {
2205
+ "type": "string"
2206
+ },
2207
+ "additionalProperties": {
2208
+ "type": "object",
2209
+ "additionalProperties": {
2210
+ "type": "object"
2211
+ }
2212
+ }
2213
+ }
2214
+ },
2215
+ "sanityEventFeedbackInner": {
2216
+ "type": "object",
2217
+ "properties": {
2218
+ "sanityType": {
2219
+ "enum": [
2220
+ "response"
2221
+ ],
2222
+ "type": "string",
2223
+ "default": "response"
2224
+ },
2225
+ "comment": {
2226
+ "type": "string"
2227
+ },
2228
+ "foodAndDrinkRating": {
2229
+ "type": "number",
2230
+ "format": "double"
2231
+ },
2232
+ "locationRating": {
2233
+ "type": "number",
2234
+ "format": "double"
2235
+ },
2236
+ "organizationRating": {
2237
+ "type": "number",
2238
+ "format": "double"
2239
+ },
2240
+ "overallRating": {
2241
+ "type": "number",
2242
+ "format": "double"
2243
+ },
2244
+ "sanityKey": {
2245
+ "type": "string"
2246
+ }
2247
+ }
2248
+ },
2249
+ "sanityEventMemoriesInner": {
2250
+ "type": "object",
2251
+ "properties": {
2252
+ "actualInstance": {
2253
+ "type": "object"
2254
+ },
2255
+ "isNullable": {
2256
+ "type": "boolean"
2257
+ },
2258
+ "schemaType": {
2259
+ "type": "string"
2260
+ }
2261
+ }
2262
+ },
2263
+ "sanityImageAssetReference": {
2264
+ "type": "object",
2265
+ "properties": {
2266
+ "sanityType": {
2267
+ "enum": [
2268
+ "reference"
2269
+ ],
2270
+ "type": "string",
2271
+ "default": "reference"
2272
+ },
2273
+ "sanityRef": {
2274
+ "type": "string"
2275
+ },
2276
+ "sanityWeak": {
2277
+ "type": "boolean"
2278
+ }
2279
+ }
2280
+ },
2281
+ "sanityImageCrop": {
2282
+ "type": "object",
2283
+ "properties": {
2284
+ "sanityType": {
2285
+ "enum": [
2286
+ "sanity.imageCrop"
2287
+ ],
2288
+ "type": "string",
2289
+ "default": "sanity.imageCrop"
2290
+ },
2291
+ "bottom": {
2292
+ "type": "number",
2293
+ "format": "double"
2294
+ },
2295
+ "left": {
2296
+ "type": "number",
2297
+ "format": "double"
2298
+ },
2299
+ "right": {
2300
+ "type": "number",
2301
+ "format": "double"
2302
+ },
2303
+ "top": {
2304
+ "type": "number",
2305
+ "format": "double"
2306
+ }
2307
+ }
2308
+ },
2309
+ "sanityImageHotspot": {
2310
+ "type": "object",
2311
+ "properties": {
2312
+ "sanityType": {
2313
+ "enum": [
2314
+ "sanity.imageHotspot"
2315
+ ],
2316
+ "type": "string",
2317
+ "default": "sanity.imageHotspot"
2318
+ },
2319
+ "height": {
2320
+ "type": "number",
2321
+ "format": "double"
2322
+ },
2323
+ "width": {
2324
+ "type": "number",
2325
+ "format": "double"
2326
+ },
2327
+ "x": {
2328
+ "type": "number",
2329
+ "format": "double"
2330
+ },
2331
+ "y": {
2332
+ "type": "number",
2333
+ "format": "double"
2334
+ }
2335
+ }
2336
+ },
2337
+ "sanityOrderEmployee": {
2338
+ "type": "object",
2339
+ "properties": {
2340
+ "sanityType": {
2341
+ "enum": [
2342
+ "employee"
2343
+ ],
2344
+ "type": "string",
2345
+ "default": "employee"
2346
+ },
2347
+ "email": {
2348
+ "type": "string"
2349
+ },
2350
+ "image": {
2351
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2352
+ },
2353
+ "name": {
2354
+ "type": "string"
2355
+ },
2356
+ "sanityId": {
2357
+ "type": "string"
2358
+ },
2359
+ "slug": {
2360
+ "$ref": "#/components/schemas/slug"
2361
+ },
2362
+ "tags": {
2363
+ "type": "array",
2364
+ "items": {
2365
+ "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
2366
+ }
2367
+ },
2368
+ "telephone": {
2369
+ "type": "string"
2370
+ }
2371
+ }
2372
+ },
2373
+ "sanityTechnologyWithRelationsArticlesInnerMedia": {
2374
+ "type": "object",
2375
+ "properties": {
2376
+ "actualInstance": {
2377
+ "type": "object"
2378
+ },
2379
+ "isNullable": {
2380
+ "type": "boolean"
2381
+ },
2382
+ "schemaType": {
2383
+ "type": "string"
2384
+ }
2385
+ }
2386
+ },
2387
+ "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
2388
+ "type": "object",
2389
+ "properties": {
2390
+ "sanityType": {
2391
+ "enum": [
2392
+ "tag"
2393
+ ],
2394
+ "type": "string",
2395
+ "default": "tag"
2396
+ },
2397
+ "name": {
2398
+ "type": "string"
2399
+ },
2400
+ "sanityId": {
2401
+ "type": "string"
2402
+ },
2403
+ "slug": {
2404
+ "$ref": "#/components/schemas/slug"
2405
+ }
2406
+ }
2407
+ },
2408
+ "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
2409
+ "type": "object",
2410
+ "properties": {
2411
+ "sanityType": {
2412
+ "enum": [
2413
+ "image"
2414
+ ],
2415
+ "type": "string",
2416
+ "default": "image"
2417
+ },
2418
+ "asset": {
2419
+ "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
2420
+ }
2421
+ }
2422
+ },
2423
+ "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
2424
+ "type": "object",
2425
+ "properties": {
2426
+ "sanityType": {
2427
+ "enum": [
2428
+ "sanity.imageAsset"
2429
+ ],
2430
+ "type": "string",
2431
+ "default": "sanity.imageAsset"
2432
+ },
2433
+ "mimeType": {
2434
+ "type": "string"
2435
+ },
2436
+ "originalFilename": {
2437
+ "type": "string"
2438
+ },
2439
+ "sanityId": {
2440
+ "type": "string"
2441
+ },
2442
+ "url": {
2443
+ "type": "string"
2444
+ }
2445
+ }
2446
+ },
2447
+ "slug": {
2448
+ "type": "object",
2449
+ "properties": {
2450
+ "sanityType": {
2451
+ "enum": [
2452
+ "slug"
2453
+ ],
2454
+ "type": "string",
2455
+ "default": "slug"
2456
+ },
2457
+ "current": {
2458
+ "type": "string"
2459
+ },
2460
+ "source": {
2461
+ "type": "string"
2462
+ }
2463
+ }
2464
+ },
2465
+ "tag": {
2466
+ "type": "object",
2467
+ "properties": {
2468
+ "username": {
2469
+ "type": "string"
2470
+ },
2471
+ "x": {
2472
+ "type": "number",
2473
+ "format": "float"
2474
+ },
2475
+ "y": {
2476
+ "type": "number",
2477
+ "format": "float"
2478
+ }
2479
+ }
2480
+ }
2481
+ },
2482
+ "securitySchemes": {
2483
+ "Implicit": {
2484
+ "type": "oauth2",
2485
+ "flows": {
2486
+ "implicit": {
2487
+ "authorizationUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/authorize",
2488
+ "tokenUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
2489
+ "refreshUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
2490
+ "scopes": {
2491
+ "api://096d39ef-7b0b-4b72-82ea-7064c15ec318/.default": "Default function scope"
2492
+ }
2493
+ }
2494
+ }
2495
+ }
2496
+ }
2497
+ }
2498
+ }