@snokam/mcp-api 0.12.0 → 0.14.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.
@@ -1,2406 +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.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.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://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.default"
1153
- ]
1154
- }
1155
- ]
1156
- }
1157
- },
1158
- "/v1.0/protected/instagram": {
1159
- "post": {
1160
- "tags": [
1161
- "Social Media"
1162
- ],
1163
- "summary": "Posts images to Instagram",
1164
- "description": "Posts images to Instagram.",
1165
- "operationId": "PostToInstagram",
1166
- "requestBody": {
1167
- "description": "Data to post images to Instagram",
1168
- "content": {
1169
- "application/json": {
1170
- "schema": {
1171
- "$ref": "#/components/schemas/postToInstagram"
1172
- }
1173
- }
1174
- },
1175
- "required": true
1176
- },
1177
- "responses": {
1178
- "200": {
1179
- "description": "Images posted to Instagram successfully",
1180
- "content": {
1181
- "application/json": {
1182
- "schema": {
1183
- "type": "string"
1184
- }
1185
- }
1186
- },
1187
- "x-ms-summary": "Success"
1188
- },
1189
- "401": {
1190
- "description": "User is not authorized",
1191
- "x-ms-summary": "Unauthorized"
1192
- }
1193
- },
1194
- "security": [
1195
- {
1196
- "Implicit": [
1197
- "api://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.default"
1198
- ]
1199
- }
1200
- ]
1201
- }
1202
- }
1203
- },
1204
- "components": {
1205
- "schemas": {
1206
- "addEmployeeFeedback": {
1207
- "type": "object",
1208
- "properties": {
1209
- "sanityType": {
1210
- "enum": [
1211
- "response"
1212
- ],
1213
- "type": "string",
1214
- "default": "response"
1215
- },
1216
- "comment": {
1217
- "type": "string"
1218
- },
1219
- "foodAndDrinkRating": {
1220
- "type": "number",
1221
- "format": "double"
1222
- },
1223
- "locationRating": {
1224
- "type": "number",
1225
- "format": "double"
1226
- },
1227
- "organizationRating": {
1228
- "type": "number",
1229
- "format": "double"
1230
- },
1231
- "overallRating": {
1232
- "type": "number",
1233
- "format": "double"
1234
- },
1235
- "additionalProperties": {
1236
- "type": "object",
1237
- "additionalProperties": {
1238
- "type": "object"
1239
- }
1240
- }
1241
- }
1242
- },
1243
- "addGuestGeedback": {
1244
- "required": [
1245
- "token"
1246
- ],
1247
- "type": "object",
1248
- "properties": {
1249
- "token": {
1250
- "minLength": 1,
1251
- "type": "string",
1252
- "nullable": true
1253
- },
1254
- "sanityType": {
1255
- "enum": [
1256
- "response"
1257
- ],
1258
- "type": "string",
1259
- "default": "response"
1260
- },
1261
- "comment": {
1262
- "type": "string"
1263
- },
1264
- "foodAndDrinkRating": {
1265
- "type": "number",
1266
- "format": "double"
1267
- },
1268
- "locationRating": {
1269
- "type": "number",
1270
- "format": "double"
1271
- },
1272
- "organizationRating": {
1273
- "type": "number",
1274
- "format": "double"
1275
- },
1276
- "overallRating": {
1277
- "type": "number",
1278
- "format": "double"
1279
- },
1280
- "additionalProperties": {
1281
- "type": "object",
1282
- "additionalProperties": {
1283
- "type": "object"
1284
- }
1285
- }
1286
- }
1287
- },
1288
- "azureBlobStorageCredentials": {
1289
- "type": "object",
1290
- "properties": {
1291
- "blobUrl": {
1292
- "type": "string"
1293
- },
1294
- "sasToken": {
1295
- "type": "string"
1296
- },
1297
- "additionalProperties": {
1298
- "type": "object",
1299
- "additionalProperties": {
1300
- "type": "object"
1301
- }
1302
- }
1303
- }
1304
- },
1305
- "badRequestResult": {
1306
- "type": "object",
1307
- "properties": {
1308
- "statusCode": {
1309
- "type": "integer",
1310
- "format": "int32"
1311
- }
1312
- }
1313
- },
1314
- "componentMedia": {
1315
- "type": "object",
1316
- "properties": {
1317
- "sanityType": {
1318
- "enum": [
1319
- "component.media"
1320
- ],
1321
- "type": "string",
1322
- "default": "component.media"
1323
- },
1324
- "type": {
1325
- "enum": [
1326
- "image",
1327
- "video"
1328
- ],
1329
- "type": "string",
1330
- "default": "image"
1331
- },
1332
- "image": {
1333
- "$ref": "#/components/schemas/componentMediaImage"
1334
- },
1335
- "video": {
1336
- "$ref": "#/components/schemas/muxVideo"
1337
- }
1338
- }
1339
- },
1340
- "componentMediaImage": {
1341
- "type": "object",
1342
- "properties": {
1343
- "sanityType": {
1344
- "enum": [
1345
- "image"
1346
- ],
1347
- "type": "string",
1348
- "default": "image"
1349
- },
1350
- "asset": {
1351
- "$ref": "#/components/schemas/sanityImageAssetReference"
1352
- },
1353
- "crop": {
1354
- "$ref": "#/components/schemas/sanityImageCrop"
1355
- },
1356
- "hotspot": {
1357
- "$ref": "#/components/schemas/sanityImageHotspot"
1358
- },
1359
- "media": {
1360
- "type": "object"
1361
- }
1362
- }
1363
- },
1364
- "createEvent": {
1365
- "type": "object",
1366
- "properties": {
1367
- "status": {
1368
- "enum": [
1369
- "active",
1370
- "cancelled"
1371
- ],
1372
- "type": "string",
1373
- "default": "active"
1374
- },
1375
- "dates": {
1376
- "type": "array",
1377
- "items": {
1378
- "type": "string",
1379
- "format": "date-time"
1380
- }
1381
- },
1382
- "file": {
1383
- "$ref": "#/components/schemas/createEventFile"
1384
- },
1385
- "sanityType": {
1386
- "enum": [
1387
- "event"
1388
- ],
1389
- "type": "string",
1390
- "default": "event"
1391
- },
1392
- "askForFeedback": {
1393
- "type": "boolean"
1394
- },
1395
- "category": {
1396
- "type": "array",
1397
- "items": {
1398
- "type": "string"
1399
- }
1400
- },
1401
- "creator": {
1402
- "$ref": "#/components/schemas/employeeReference"
1403
- },
1404
- "description": {
1405
- "type": "string"
1406
- },
1407
- "endTime": {
1408
- "type": "string"
1409
- },
1410
- "eventType": {
1411
- "type": "array",
1412
- "items": {
1413
- "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
1414
- }
1415
- },
1416
- "feedback": {
1417
- "type": "array",
1418
- "items": {
1419
- "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
1420
- }
1421
- },
1422
- "invitationSent": {
1423
- "type": "boolean"
1424
- },
1425
- "isServingFood": {
1426
- "type": "boolean"
1427
- },
1428
- "linkOnly": {
1429
- "type": "boolean"
1430
- },
1431
- "manualMemoriesApproval": {
1432
- "type": "boolean"
1433
- },
1434
- "maxParticipants": {
1435
- "type": "number",
1436
- "format": "double"
1437
- },
1438
- "media": {
1439
- "$ref": "#/components/schemas/componentMedia"
1440
- },
1441
- "memories": {
1442
- "type": "array",
1443
- "items": {
1444
- "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
1445
- }
1446
- },
1447
- "participants": {
1448
- "type": "array",
1449
- "items": {
1450
- "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
1451
- }
1452
- },
1453
- "participationStart": {
1454
- "type": "string"
1455
- },
1456
- "place": {
1457
- "type": "string"
1458
- },
1459
- "public": {
1460
- "type": "boolean"
1461
- },
1462
- "recurringId": {
1463
- "type": "string"
1464
- },
1465
- "slug": {
1466
- "$ref": "#/components/schemas/slug"
1467
- },
1468
- "time": {
1469
- "type": "string"
1470
- },
1471
- "title": {
1472
- "type": "string"
1473
- },
1474
- "additionalProperties": {
1475
- "type": "object",
1476
- "additionalProperties": {
1477
- "type": "object"
1478
- }
1479
- }
1480
- }
1481
- },
1482
- "createEventFile": {
1483
- "type": "object",
1484
- "properties": {
1485
- "type": {
1486
- "type": "string",
1487
- "nullable": true
1488
- },
1489
- "url": {
1490
- "type": "string",
1491
- "nullable": true
1492
- },
1493
- "filename": {
1494
- "type": "string",
1495
- "nullable": true
1496
- }
1497
- }
1498
- },
1499
- "employeeReference": {
1500
- "type": "object",
1501
- "properties": {
1502
- "sanityType": {
1503
- "enum": [
1504
- "reference"
1505
- ],
1506
- "type": "string",
1507
- "default": "reference"
1508
- },
1509
- "sanityRef": {
1510
- "type": "string"
1511
- },
1512
- "sanityWeak": {
1513
- "type": "boolean"
1514
- }
1515
- }
1516
- },
1517
- "event": {
1518
- "required": [
1519
- "sanityId",
1520
- "sanityType",
1521
- "sanityRev",
1522
- "sanityCreatedAt",
1523
- "sanityUpdatedAt",
1524
- "creator",
1525
- "title",
1526
- "slug",
1527
- "description",
1528
- "eventTypes",
1529
- "time"
1530
- ],
1531
- "type": "object",
1532
- "properties": {
1533
- "sanityId": {
1534
- "minLength": 1,
1535
- "type": "string"
1536
- },
1537
- "sanityType": {
1538
- "minLength": 1,
1539
- "type": "string"
1540
- },
1541
- "sanityRev": {
1542
- "minLength": 1,
1543
- "type": "string"
1544
- },
1545
- "sanityCreatedAt": {
1546
- "minLength": 1,
1547
- "type": "string"
1548
- },
1549
- "sanityUpdatedAt": {
1550
- "minLength": 1,
1551
- "type": "string"
1552
- },
1553
- "creator": {
1554
- "$ref": "#/components/schemas/sanityOrderEmployee"
1555
- },
1556
- "participants": {
1557
- "type": "array",
1558
- "items": {
1559
- "$ref": "#/components/schemas/participant"
1560
- }
1561
- },
1562
- "memories": {
1563
- "type": "array",
1564
- "items": {
1565
- "$ref": "#/components/schemas/sanityEventMemoriesInner"
1566
- }
1567
- },
1568
- "media": {
1569
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
1570
- },
1571
- "unapprovedMediaCount": {
1572
- "type": "integer",
1573
- "format": "int32"
1574
- },
1575
- "recurringId": {
1576
- "type": "string"
1577
- },
1578
- "public": {
1579
- "type": "boolean"
1580
- },
1581
- "linkOnly": {
1582
- "type": "boolean"
1583
- },
1584
- "status": {
1585
- "type": "string"
1586
- },
1587
- "askForFeedback": {
1588
- "type": "boolean"
1589
- },
1590
- "title": {
1591
- "minLength": 1,
1592
- "type": "string"
1593
- },
1594
- "slug": {
1595
- "$ref": "#/components/schemas/slug"
1596
- },
1597
- "description": {
1598
- "minLength": 1,
1599
- "type": "string"
1600
- },
1601
- "isServingFood": {
1602
- "type": "boolean",
1603
- "nullable": true
1604
- },
1605
- "eventTypes": {
1606
- "type": "array",
1607
- "items": {
1608
- "$ref": "#/components/schemas/eventType"
1609
- }
1610
- },
1611
- "endTime": {
1612
- "type": "string"
1613
- },
1614
- "place": {
1615
- "type": "string"
1616
- },
1617
- "maxParticipants": {
1618
- "type": "number",
1619
- "format": "double",
1620
- "nullable": true
1621
- },
1622
- "time": {
1623
- "minLength": 1,
1624
- "type": "string"
1625
- },
1626
- "participationStart": {
1627
- "type": "string"
1628
- },
1629
- "manualMemoriesApproval": {
1630
- "type": "boolean"
1631
- },
1632
- "feedback": {
1633
- "type": "array",
1634
- "items": {
1635
- "$ref": "#/components/schemas/sanityEventFeedbackInner"
1636
- }
1637
- },
1638
- "invitationSent": {
1639
- "type": "boolean",
1640
- "nullable": true
1641
- }
1642
- }
1643
- },
1644
- "eventType": {
1645
- "type": "object",
1646
- "properties": {
1647
- "sanityId": {
1648
- "type": "string"
1649
- },
1650
- "sanityType": {
1651
- "type": "string"
1652
- },
1653
- "name": {
1654
- "type": "string"
1655
- },
1656
- "slug": {
1657
- "$ref": "#/components/schemas/slug"
1658
- },
1659
- "canSubscribe": {
1660
- "type": "boolean"
1661
- }
1662
- }
1663
- },
1664
- "image": {
1665
- "type": "object",
1666
- "properties": {
1667
- "url": {
1668
- "type": "string"
1669
- },
1670
- "tags": {
1671
- "type": "array",
1672
- "items": {
1673
- "$ref": "#/components/schemas/tag"
1674
- }
1675
- }
1676
- }
1677
- },
1678
- "instagramFeedResponse": {
1679
- "type": "object",
1680
- "properties": {
1681
- "username": {
1682
- "type": "string"
1683
- },
1684
- "name": {
1685
- "type": "string"
1686
- },
1687
- "profileUrl": {
1688
- "type": "string"
1689
- },
1690
- "profilePictureUrl": {
1691
- "type": "string"
1692
- },
1693
- "mediaCount": {
1694
- "type": "integer",
1695
- "format": "int32"
1696
- },
1697
- "followersCount": {
1698
- "type": "integer",
1699
- "format": "int32"
1700
- },
1701
- "followsCount": {
1702
- "type": "integer",
1703
- "format": "int32"
1704
- },
1705
- "media": {
1706
- "type": "array",
1707
- "items": {
1708
- "$ref": "#/components/schemas/instagramMedia"
1709
- }
1710
- }
1711
- }
1712
- },
1713
- "instagramMedia": {
1714
- "type": "object",
1715
- "properties": {
1716
- "id": {
1717
- "type": "string"
1718
- },
1719
- "caption": {
1720
- "type": "string"
1721
- },
1722
- "mediaType": {
1723
- "type": "string"
1724
- },
1725
- "mediaUrl": {
1726
- "type": "string"
1727
- },
1728
- "thumbnailUrl": {
1729
- "type": "string"
1730
- },
1731
- "permalink": {
1732
- "type": "string"
1733
- },
1734
- "timestamp": {
1735
- "type": "string"
1736
- }
1737
- }
1738
- },
1739
- "invitationPreviewResponse": {
1740
- "type": "object",
1741
- "properties": {
1742
- "emails": {
1743
- "type": "array",
1744
- "items": {
1745
- "type": "string"
1746
- }
1747
- }
1748
- }
1749
- },
1750
- "muxVideo": {
1751
- "type": "object",
1752
- "properties": {
1753
- "sanityType": {
1754
- "enum": [
1755
- "mux.video"
1756
- ],
1757
- "type": "string",
1758
- "default": "mux.video"
1759
- },
1760
- "asset": {
1761
- "$ref": "#/components/schemas/muxVideoAssetReference"
1762
- }
1763
- }
1764
- },
1765
- "muxVideoAssetReference": {
1766
- "type": "object",
1767
- "properties": {
1768
- "sanityType": {
1769
- "enum": [
1770
- "reference"
1771
- ],
1772
- "type": "string",
1773
- "default": "reference"
1774
- },
1775
- "sanityRef": {
1776
- "type": "string"
1777
- },
1778
- "sanityWeak": {
1779
- "type": "boolean"
1780
- }
1781
- }
1782
- },
1783
- "participant": {
1784
- "required": [
1785
- "sanityKey",
1786
- "sanityType",
1787
- "name",
1788
- "email",
1789
- "token",
1790
- "feedbackSubmitted"
1791
- ],
1792
- "type": "object",
1793
- "properties": {
1794
- "sanityKey": {
1795
- "minLength": 1,
1796
- "type": "string"
1797
- },
1798
- "sanityType": {
1799
- "minLength": 1,
1800
- "type": "string"
1801
- },
1802
- "image": {
1803
- "type": "string"
1804
- },
1805
- "name": {
1806
- "minLength": 1,
1807
- "type": "string"
1808
- },
1809
- "email": {
1810
- "minLength": 1,
1811
- "type": "string"
1812
- },
1813
- "registered": {
1814
- "type": "string"
1815
- },
1816
- "details": {
1817
- "type": "string"
1818
- },
1819
- "token": {
1820
- "minLength": 1,
1821
- "type": "string"
1822
- },
1823
- "feedbackSubmitted": {
1824
- "type": "boolean"
1825
- }
1826
- }
1827
- },
1828
- "participate": {
1829
- "required": [
1830
- "name",
1831
- "email"
1832
- ],
1833
- "type": "object",
1834
- "properties": {
1835
- "name": {
1836
- "minLength": 1,
1837
- "type": "string"
1838
- },
1839
- "email": {
1840
- "minLength": 1,
1841
- "type": "string"
1842
- },
1843
- "details": {
1844
- "type": "string"
1845
- }
1846
- }
1847
- },
1848
- "patchEvent": {
1849
- "type": "object",
1850
- "properties": {
1851
- "file": {
1852
- "$ref": "#/components/schemas/createEventFile"
1853
- },
1854
- "invitationSent": {
1855
- "type": "boolean",
1856
- "nullable": true
1857
- },
1858
- "sanityType": {
1859
- "enum": [
1860
- "event"
1861
- ],
1862
- "type": "string",
1863
- "default": "event",
1864
- "nullable": true
1865
- },
1866
- "status": {
1867
- "enum": [
1868
- "active",
1869
- "cancelled"
1870
- ],
1871
- "type": "string",
1872
- "default": "active",
1873
- "nullable": true
1874
- },
1875
- "askForFeedback": {
1876
- "type": "boolean",
1877
- "nullable": true
1878
- },
1879
- "category": {
1880
- "type": "array",
1881
- "items": {
1882
- "type": "string"
1883
- }
1884
- },
1885
- "creator": {
1886
- "$ref": "#/components/schemas/employeeReference"
1887
- },
1888
- "description": {
1889
- "type": "string"
1890
- },
1891
- "endTime": {
1892
- "type": "string"
1893
- },
1894
- "eventType": {
1895
- "type": "array",
1896
- "items": {
1897
- "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
1898
- }
1899
- },
1900
- "feedback": {
1901
- "type": "array",
1902
- "items": {
1903
- "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
1904
- }
1905
- },
1906
- "isServingFood": {
1907
- "type": "boolean",
1908
- "nullable": true
1909
- },
1910
- "linkOnly": {
1911
- "type": "boolean",
1912
- "nullable": true
1913
- },
1914
- "manualMemoriesApproval": {
1915
- "type": "boolean",
1916
- "nullable": true
1917
- },
1918
- "maxParticipants": {
1919
- "type": "number",
1920
- "format": "double",
1921
- "nullable": true
1922
- },
1923
- "media": {
1924
- "$ref": "#/components/schemas/componentMedia"
1925
- },
1926
- "memories": {
1927
- "type": "array",
1928
- "items": {
1929
- "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
1930
- }
1931
- },
1932
- "participants": {
1933
- "type": "array",
1934
- "items": {
1935
- "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
1936
- }
1937
- },
1938
- "participationStart": {
1939
- "type": "string"
1940
- },
1941
- "place": {
1942
- "type": "string"
1943
- },
1944
- "public": {
1945
- "type": "boolean",
1946
- "nullable": true
1947
- },
1948
- "recurringId": {
1949
- "type": "string"
1950
- },
1951
- "slug": {
1952
- "$ref": "#/components/schemas/slug"
1953
- },
1954
- "time": {
1955
- "type": "string"
1956
- },
1957
- "title": {
1958
- "type": "string"
1959
- },
1960
- "additionalProperties": {
1961
- "type": "object",
1962
- "additionalProperties": {
1963
- "type": "object"
1964
- }
1965
- }
1966
- }
1967
- },
1968
- "patchEventMemory": {
1969
- "type": "object",
1970
- "properties": {
1971
- "approved": {
1972
- "type": "boolean"
1973
- },
1974
- "additionalProperties": {
1975
- "type": "object",
1976
- "additionalProperties": {
1977
- "type": "object"
1978
- }
1979
- }
1980
- }
1981
- },
1982
- "postToInstagram": {
1983
- "required": [
1984
- "eventId"
1985
- ],
1986
- "type": "object",
1987
- "properties": {
1988
- "eventId": {
1989
- "minLength": 1,
1990
- "type": "string"
1991
- },
1992
- "description": {
1993
- "type": "string"
1994
- },
1995
- "images": {
1996
- "type": "array",
1997
- "items": {
1998
- "$ref": "#/components/schemas/image"
1999
- }
2000
- }
2001
- }
2002
- },
2003
- "removeParticipation": {
2004
- "required": [
2005
- "token"
2006
- ],
2007
- "type": "object",
2008
- "properties": {
2009
- "token": {
2010
- "minLength": 1,
2011
- "type": "string"
2012
- }
2013
- }
2014
- },
2015
- "sanityCreateEventEventTypeInner": {
2016
- "type": "object",
2017
- "properties": {
2018
- "sanityType": {
2019
- "enum": [
2020
- "reference"
2021
- ],
2022
- "type": "string",
2023
- "default": "reference"
2024
- },
2025
- "sanityKey": {
2026
- "type": "string"
2027
- },
2028
- "sanityRef": {
2029
- "type": "string"
2030
- },
2031
- "sanityWeak": {
2032
- "type": "boolean"
2033
- }
2034
- }
2035
- },
2036
- "sanityCreateEventFeedbackInner": {
2037
- "type": "object",
2038
- "properties": {
2039
- "sanityType": {
2040
- "enum": [
2041
- "response"
2042
- ],
2043
- "type": "string",
2044
- "default": "response"
2045
- },
2046
- "comment": {
2047
- "type": "string"
2048
- },
2049
- "foodAndDrinkRating": {
2050
- "type": "number",
2051
- "format": "double"
2052
- },
2053
- "locationRating": {
2054
- "type": "number",
2055
- "format": "double"
2056
- },
2057
- "organizationRating": {
2058
- "type": "number",
2059
- "format": "double"
2060
- },
2061
- "overallRating": {
2062
- "type": "number",
2063
- "format": "double"
2064
- },
2065
- "sanityKey": {
2066
- "type": "string"
2067
- }
2068
- }
2069
- },
2070
- "sanityCreateEventMemoriesInner": {
2071
- "type": "object",
2072
- "properties": {
2073
- "actualInstance": {
2074
- "type": "object"
2075
- },
2076
- "isNullable": {
2077
- "type": "boolean"
2078
- },
2079
- "schemaType": {
2080
- "type": "string"
2081
- }
2082
- }
2083
- },
2084
- "sanityCreateEventParticipantsInner": {
2085
- "type": "object",
2086
- "properties": {
2087
- "actualInstance": {
2088
- "type": "object"
2089
- },
2090
- "isNullable": {
2091
- "type": "boolean"
2092
- },
2093
- "schemaType": {
2094
- "type": "string"
2095
- }
2096
- }
2097
- },
2098
- "sanityCreateMemory": {
2099
- "type": "object",
2100
- "properties": {
2101
- "sanityType": {
2102
- "enum": [
2103
- "memory.image",
2104
- "memory.video"
2105
- ],
2106
- "type": "string",
2107
- "default": "memory.image"
2108
- },
2109
- "filename": {
2110
- "type": "string"
2111
- },
2112
- "mediaUrl": {
2113
- "type": "string"
2114
- },
2115
- "additionalProperties": {
2116
- "type": "object",
2117
- "additionalProperties": {
2118
- "type": "object"
2119
- }
2120
- }
2121
- }
2122
- },
2123
- "sanityEventFeedbackInner": {
2124
- "type": "object",
2125
- "properties": {
2126
- "sanityType": {
2127
- "enum": [
2128
- "response"
2129
- ],
2130
- "type": "string",
2131
- "default": "response"
2132
- },
2133
- "comment": {
2134
- "type": "string"
2135
- },
2136
- "foodAndDrinkRating": {
2137
- "type": "number",
2138
- "format": "double"
2139
- },
2140
- "locationRating": {
2141
- "type": "number",
2142
- "format": "double"
2143
- },
2144
- "organizationRating": {
2145
- "type": "number",
2146
- "format": "double"
2147
- },
2148
- "overallRating": {
2149
- "type": "number",
2150
- "format": "double"
2151
- },
2152
- "sanityKey": {
2153
- "type": "string"
2154
- }
2155
- }
2156
- },
2157
- "sanityEventMemoriesInner": {
2158
- "type": "object",
2159
- "properties": {
2160
- "actualInstance": {
2161
- "type": "object"
2162
- },
2163
- "isNullable": {
2164
- "type": "boolean"
2165
- },
2166
- "schemaType": {
2167
- "type": "string"
2168
- }
2169
- }
2170
- },
2171
- "sanityImageAssetReference": {
2172
- "type": "object",
2173
- "properties": {
2174
- "sanityType": {
2175
- "enum": [
2176
- "reference"
2177
- ],
2178
- "type": "string",
2179
- "default": "reference"
2180
- },
2181
- "sanityRef": {
2182
- "type": "string"
2183
- },
2184
- "sanityWeak": {
2185
- "type": "boolean"
2186
- }
2187
- }
2188
- },
2189
- "sanityImageCrop": {
2190
- "type": "object",
2191
- "properties": {
2192
- "sanityType": {
2193
- "enum": [
2194
- "sanity.imageCrop"
2195
- ],
2196
- "type": "string",
2197
- "default": "sanity.imageCrop"
2198
- },
2199
- "bottom": {
2200
- "type": "number",
2201
- "format": "double"
2202
- },
2203
- "left": {
2204
- "type": "number",
2205
- "format": "double"
2206
- },
2207
- "right": {
2208
- "type": "number",
2209
- "format": "double"
2210
- },
2211
- "top": {
2212
- "type": "number",
2213
- "format": "double"
2214
- }
2215
- }
2216
- },
2217
- "sanityImageHotspot": {
2218
- "type": "object",
2219
- "properties": {
2220
- "sanityType": {
2221
- "enum": [
2222
- "sanity.imageHotspot"
2223
- ],
2224
- "type": "string",
2225
- "default": "sanity.imageHotspot"
2226
- },
2227
- "height": {
2228
- "type": "number",
2229
- "format": "double"
2230
- },
2231
- "width": {
2232
- "type": "number",
2233
- "format": "double"
2234
- },
2235
- "x": {
2236
- "type": "number",
2237
- "format": "double"
2238
- },
2239
- "y": {
2240
- "type": "number",
2241
- "format": "double"
2242
- }
2243
- }
2244
- },
2245
- "sanityOrderEmployee": {
2246
- "type": "object",
2247
- "properties": {
2248
- "sanityType": {
2249
- "enum": [
2250
- "employee"
2251
- ],
2252
- "type": "string",
2253
- "default": "employee"
2254
- },
2255
- "email": {
2256
- "type": "string"
2257
- },
2258
- "image": {
2259
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo"
2260
- },
2261
- "name": {
2262
- "type": "string"
2263
- },
2264
- "sanityId": {
2265
- "type": "string"
2266
- },
2267
- "slug": {
2268
- "$ref": "#/components/schemas/slug"
2269
- },
2270
- "tags": {
2271
- "type": "array",
2272
- "items": {
2273
- "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent"
2274
- }
2275
- },
2276
- "telephone": {
2277
- "type": "string"
2278
- }
2279
- }
2280
- },
2281
- "sanityTechnologyWithRelationsArticlesInnerMedia": {
2282
- "type": "object",
2283
- "properties": {
2284
- "actualInstance": {
2285
- "type": "object"
2286
- },
2287
- "isNullable": {
2288
- "type": "boolean"
2289
- },
2290
- "schemaType": {
2291
- "type": "string"
2292
- }
2293
- }
2294
- },
2295
- "sanityTechnologyWithRelationsProjectsInnerTechnologiesInnerParent": {
2296
- "type": "object",
2297
- "properties": {
2298
- "sanityType": {
2299
- "enum": [
2300
- "tag"
2301
- ],
2302
- "type": "string",
2303
- "default": "tag"
2304
- },
2305
- "name": {
2306
- "type": "string"
2307
- },
2308
- "sanityId": {
2309
- "type": "string"
2310
- },
2311
- "slug": {
2312
- "$ref": "#/components/schemas/slug"
2313
- }
2314
- }
2315
- },
2316
- "sanityTechnologyWithRelationsProjectsInnerTestimonialsInnerCustomerLogo": {
2317
- "type": "object",
2318
- "properties": {
2319
- "sanityType": {
2320
- "enum": [
2321
- "image"
2322
- ],
2323
- "type": "string",
2324
- "default": "image"
2325
- },
2326
- "asset": {
2327
- "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
2328
- }
2329
- }
2330
- },
2331
- "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
2332
- "type": "object",
2333
- "properties": {
2334
- "sanityType": {
2335
- "enum": [
2336
- "sanity.imageAsset"
2337
- ],
2338
- "type": "string",
2339
- "default": "sanity.imageAsset"
2340
- },
2341
- "mimeType": {
2342
- "type": "string"
2343
- },
2344
- "originalFilename": {
2345
- "type": "string"
2346
- },
2347
- "sanityId": {
2348
- "type": "string"
2349
- },
2350
- "url": {
2351
- "type": "string"
2352
- }
2353
- }
2354
- },
2355
- "slug": {
2356
- "type": "object",
2357
- "properties": {
2358
- "sanityType": {
2359
- "enum": [
2360
- "slug"
2361
- ],
2362
- "type": "string",
2363
- "default": "slug"
2364
- },
2365
- "current": {
2366
- "type": "string"
2367
- },
2368
- "source": {
2369
- "type": "string"
2370
- }
2371
- }
2372
- },
2373
- "tag": {
2374
- "type": "object",
2375
- "properties": {
2376
- "username": {
2377
- "type": "string"
2378
- },
2379
- "x": {
2380
- "type": "number",
2381
- "format": "float"
2382
- },
2383
- "y": {
2384
- "type": "number",
2385
- "format": "float"
2386
- }
2387
- }
2388
- }
2389
- },
2390
- "securitySchemes": {
2391
- "Implicit": {
2392
- "type": "oauth2",
2393
- "flows": {
2394
- "implicit": {
2395
- "authorizationUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/authorize",
2396
- "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
2397
- "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
2398
- "scopes": {
2399
- "api://c9e068a9-4a60-4b00-9982-1e9c6cdcc0a8/.default": "Default function scope"
2400
- }
2401
- }
2402
- }
2403
- }
2404
- }
2405
- }
2406
- }