@snokam/mcp-api 0.180.0 → 0.180.2

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