@snokam/mcp-api 0.156.1 → 0.156.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.
- package/package.json +1 -1
- package/specs/production/employees.json +39 -39
- package/specs/production/events.json +23 -23
- package/specs/production/notifications.json +36 -36
- package/specs/test/employees.json +39 -39
- package/specs/test/events.json +23 -23
- package/specs/test/notifications.json +36 -36
package/package.json
CHANGED
|
@@ -637,6 +637,45 @@
|
|
|
637
637
|
]
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
|
+
"/v1.0/public/{slugOrId}/cv": {
|
|
641
|
+
"get": {
|
|
642
|
+
"tags": [
|
|
643
|
+
"Public"
|
|
644
|
+
],
|
|
645
|
+
"summary": "Gets the full CV for a public employee by slug or id",
|
|
646
|
+
"description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
|
|
647
|
+
"operationId": "GetPublicEmployeeCv",
|
|
648
|
+
"parameters": [
|
|
649
|
+
{
|
|
650
|
+
"name": "slugOrId",
|
|
651
|
+
"in": "path",
|
|
652
|
+
"description": "The slug or id of the public employee whose CV to retrieve",
|
|
653
|
+
"required": true,
|
|
654
|
+
"schema": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"x-ms-summary": "The slug or id of the employee"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"responses": {
|
|
661
|
+
"200": {
|
|
662
|
+
"description": "Raw CvPartner CV payload retrieved successfully",
|
|
663
|
+
"content": {
|
|
664
|
+
"application/json": {
|
|
665
|
+
"schema": {
|
|
666
|
+
"type": "object"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"x-ms-summary": "Success"
|
|
671
|
+
},
|
|
672
|
+
"404": {
|
|
673
|
+
"description": "Employee or CV not found",
|
|
674
|
+
"x-ms-summary": "Not Found"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
640
679
|
"/v1.0/protected": {
|
|
641
680
|
"get": {
|
|
642
681
|
"tags": [
|
|
@@ -1136,45 +1175,6 @@
|
|
|
1136
1175
|
}
|
|
1137
1176
|
}
|
|
1138
1177
|
}
|
|
1139
|
-
},
|
|
1140
|
-
"/v1.0/public/{slugOrId}/cv": {
|
|
1141
|
-
"get": {
|
|
1142
|
-
"tags": [
|
|
1143
|
-
"Public"
|
|
1144
|
-
],
|
|
1145
|
-
"summary": "Gets the full CV for a public employee by slug or id",
|
|
1146
|
-
"description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
|
|
1147
|
-
"operationId": "GetPublicEmployeeCv",
|
|
1148
|
-
"parameters": [
|
|
1149
|
-
{
|
|
1150
|
-
"name": "slugOrId",
|
|
1151
|
-
"in": "path",
|
|
1152
|
-
"description": "The slug or id of the public employee whose CV to retrieve",
|
|
1153
|
-
"required": true,
|
|
1154
|
-
"schema": {
|
|
1155
|
-
"type": "string"
|
|
1156
|
-
},
|
|
1157
|
-
"x-ms-summary": "The slug or id of the employee"
|
|
1158
|
-
}
|
|
1159
|
-
],
|
|
1160
|
-
"responses": {
|
|
1161
|
-
"200": {
|
|
1162
|
-
"description": "Raw CvPartner CV payload retrieved successfully",
|
|
1163
|
-
"content": {
|
|
1164
|
-
"application/json": {
|
|
1165
|
-
"schema": {
|
|
1166
|
-
"type": "object"
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"x-ms-summary": "Success"
|
|
1171
|
-
},
|
|
1172
|
-
"404": {
|
|
1173
|
-
"description": "Employee or CV not found",
|
|
1174
|
-
"x-ms-summary": "Not Found"
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
1180
|
"components": {
|
|
@@ -294,29 +294,6 @@
|
|
|
294
294
|
]
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
|
-
"/v1.0/public/instagram/feed": {
|
|
298
|
-
"get": {
|
|
299
|
-
"tags": [
|
|
300
|
-
"Instagram"
|
|
301
|
-
],
|
|
302
|
-
"summary": "Gets Instagram feed",
|
|
303
|
-
"description": "Retrieves the public Instagram feed (media posts). Cached for 1 hour.",
|
|
304
|
-
"operationId": "GetPublicInstagramFeed",
|
|
305
|
-
"responses": {
|
|
306
|
-
"200": {
|
|
307
|
-
"description": "Instagram feed retrieved successfully",
|
|
308
|
-
"content": {
|
|
309
|
-
"application/json": {
|
|
310
|
-
"schema": {
|
|
311
|
-
"$ref": "#/components/schemas/instagramFeedResponse"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"x-ms-summary": "Success"
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
297
|
"/v1.0/public/{eventId}/memories": {
|
|
321
298
|
"post": {
|
|
322
299
|
"tags": [
|
|
@@ -484,6 +461,29 @@
|
|
|
484
461
|
}
|
|
485
462
|
}
|
|
486
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
487
|
"/v1.0/protected": {
|
|
488
488
|
"get": {
|
|
489
489
|
"tags": [
|
|
@@ -11,42 +11,6 @@
|
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"paths": {
|
|
14
|
-
"/v1.0/protected/alerts/azure": {
|
|
15
|
-
"post": {
|
|
16
|
-
"tags": [
|
|
17
|
-
"Alerts"
|
|
18
|
-
],
|
|
19
|
-
"summary": "Receive Azure Monitor alert",
|
|
20
|
-
"description": "Action Group webhook receiver for the Azure Monitor common alert schema. Posts a formatted summary to the channel given by ?channel= (defaults to #feed-errors).",
|
|
21
|
-
"operationId": "ReceiveAzureAlert",
|
|
22
|
-
"parameters": [
|
|
23
|
-
{
|
|
24
|
-
"name": "channel",
|
|
25
|
-
"in": "query",
|
|
26
|
-
"schema": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"x-ms-summary": "Slack channel including the leading # (defaults to #feed-errors)"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"responses": {
|
|
33
|
-
"200": {
|
|
34
|
-
"description": "Alert relayed",
|
|
35
|
-
"x-ms-summary": "Success"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"security": [
|
|
39
|
-
{
|
|
40
|
-
"Implicit": [
|
|
41
|
-
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"ApiKey": []
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
14
|
"/v1.0/protected/health/{provider}": {
|
|
51
15
|
"get": {
|
|
52
16
|
"tags": [
|
|
@@ -157,6 +121,42 @@
|
|
|
157
121
|
]
|
|
158
122
|
}
|
|
159
123
|
},
|
|
124
|
+
"/v1.0/protected/alerts/azure": {
|
|
125
|
+
"post": {
|
|
126
|
+
"tags": [
|
|
127
|
+
"Alerts"
|
|
128
|
+
],
|
|
129
|
+
"summary": "Receive Azure Monitor alert",
|
|
130
|
+
"description": "Action Group webhook receiver for the Azure Monitor common alert schema. Posts a formatted summary to the channel given by ?channel= (defaults to #feed-errors).",
|
|
131
|
+
"operationId": "ReceiveAzureAlert",
|
|
132
|
+
"parameters": [
|
|
133
|
+
{
|
|
134
|
+
"name": "channel",
|
|
135
|
+
"in": "query",
|
|
136
|
+
"schema": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"x-ms-summary": "Slack channel including the leading # (defaults to #feed-errors)"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"responses": {
|
|
143
|
+
"200": {
|
|
144
|
+
"description": "Alert relayed",
|
|
145
|
+
"x-ms-summary": "Success"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"security": [
|
|
149
|
+
{
|
|
150
|
+
"Implicit": [
|
|
151
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"ApiKey": []
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
160
|
"/v1.0/protected/routing": {
|
|
161
161
|
"get": {
|
|
162
162
|
"tags": [
|
|
@@ -637,6 +637,45 @@
|
|
|
637
637
|
]
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
|
+
"/v1.0/public/{slugOrId}/cv": {
|
|
641
|
+
"get": {
|
|
642
|
+
"tags": [
|
|
643
|
+
"Public"
|
|
644
|
+
],
|
|
645
|
+
"summary": "Gets the full CV for a public employee by slug or id",
|
|
646
|
+
"description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
|
|
647
|
+
"operationId": "GetPublicEmployeeCv",
|
|
648
|
+
"parameters": [
|
|
649
|
+
{
|
|
650
|
+
"name": "slugOrId",
|
|
651
|
+
"in": "path",
|
|
652
|
+
"description": "The slug or id of the public employee whose CV to retrieve",
|
|
653
|
+
"required": true,
|
|
654
|
+
"schema": {
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
"x-ms-summary": "The slug or id of the employee"
|
|
658
|
+
}
|
|
659
|
+
],
|
|
660
|
+
"responses": {
|
|
661
|
+
"200": {
|
|
662
|
+
"description": "Raw CvPartner CV payload retrieved successfully",
|
|
663
|
+
"content": {
|
|
664
|
+
"application/json": {
|
|
665
|
+
"schema": {
|
|
666
|
+
"type": "object"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"x-ms-summary": "Success"
|
|
671
|
+
},
|
|
672
|
+
"404": {
|
|
673
|
+
"description": "Employee or CV not found",
|
|
674
|
+
"x-ms-summary": "Not Found"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
},
|
|
640
679
|
"/v1.0/protected": {
|
|
641
680
|
"get": {
|
|
642
681
|
"tags": [
|
|
@@ -1136,45 +1175,6 @@
|
|
|
1136
1175
|
}
|
|
1137
1176
|
}
|
|
1138
1177
|
}
|
|
1139
|
-
},
|
|
1140
|
-
"/v1.0/public/{slugOrId}/cv": {
|
|
1141
|
-
"get": {
|
|
1142
|
-
"tags": [
|
|
1143
|
-
"Public"
|
|
1144
|
-
],
|
|
1145
|
-
"summary": "Gets the full CV for a public employee by slug or id",
|
|
1146
|
-
"description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
|
|
1147
|
-
"operationId": "GetPublicEmployeeCv",
|
|
1148
|
-
"parameters": [
|
|
1149
|
-
{
|
|
1150
|
-
"name": "slugOrId",
|
|
1151
|
-
"in": "path",
|
|
1152
|
-
"description": "The slug or id of the public employee whose CV to retrieve",
|
|
1153
|
-
"required": true,
|
|
1154
|
-
"schema": {
|
|
1155
|
-
"type": "string"
|
|
1156
|
-
},
|
|
1157
|
-
"x-ms-summary": "The slug or id of the employee"
|
|
1158
|
-
}
|
|
1159
|
-
],
|
|
1160
|
-
"responses": {
|
|
1161
|
-
"200": {
|
|
1162
|
-
"description": "Raw CvPartner CV payload retrieved successfully",
|
|
1163
|
-
"content": {
|
|
1164
|
-
"application/json": {
|
|
1165
|
-
"schema": {
|
|
1166
|
-
"type": "object"
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"x-ms-summary": "Success"
|
|
1171
|
-
},
|
|
1172
|
-
"404": {
|
|
1173
|
-
"description": "Employee or CV not found",
|
|
1174
|
-
"x-ms-summary": "Not Found"
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
1178
|
}
|
|
1179
1179
|
},
|
|
1180
1180
|
"components": {
|
package/specs/test/events.json
CHANGED
|
@@ -294,29 +294,6 @@
|
|
|
294
294
|
]
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
|
-
"/v1.0/public/instagram/feed": {
|
|
298
|
-
"get": {
|
|
299
|
-
"tags": [
|
|
300
|
-
"Instagram"
|
|
301
|
-
],
|
|
302
|
-
"summary": "Gets Instagram feed",
|
|
303
|
-
"description": "Retrieves the public Instagram feed (media posts). Cached for 1 hour.",
|
|
304
|
-
"operationId": "GetPublicInstagramFeed",
|
|
305
|
-
"responses": {
|
|
306
|
-
"200": {
|
|
307
|
-
"description": "Instagram feed retrieved successfully",
|
|
308
|
-
"content": {
|
|
309
|
-
"application/json": {
|
|
310
|
-
"schema": {
|
|
311
|
-
"$ref": "#/components/schemas/instagramFeedResponse"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"x-ms-summary": "Success"
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
297
|
"/v1.0/public/{eventId}/memories": {
|
|
321
298
|
"post": {
|
|
322
299
|
"tags": [
|
|
@@ -484,6 +461,29 @@
|
|
|
484
461
|
}
|
|
485
462
|
}
|
|
486
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
487
|
"/v1.0/protected": {
|
|
488
488
|
"get": {
|
|
489
489
|
"tags": [
|
|
@@ -11,42 +11,6 @@
|
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"paths": {
|
|
14
|
-
"/v1.0/protected/alerts/azure": {
|
|
15
|
-
"post": {
|
|
16
|
-
"tags": [
|
|
17
|
-
"Alerts"
|
|
18
|
-
],
|
|
19
|
-
"summary": "Receive Azure Monitor alert",
|
|
20
|
-
"description": "Action Group webhook receiver for the Azure Monitor common alert schema. Posts a formatted summary to the channel given by ?channel= (defaults to #feed-errors).",
|
|
21
|
-
"operationId": "ReceiveAzureAlert",
|
|
22
|
-
"parameters": [
|
|
23
|
-
{
|
|
24
|
-
"name": "channel",
|
|
25
|
-
"in": "query",
|
|
26
|
-
"schema": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"x-ms-summary": "Slack channel including the leading # (defaults to #feed-errors)"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"responses": {
|
|
33
|
-
"200": {
|
|
34
|
-
"description": "Alert relayed",
|
|
35
|
-
"x-ms-summary": "Success"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"security": [
|
|
39
|
-
{
|
|
40
|
-
"Implicit": [
|
|
41
|
-
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"ApiKey": []
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
14
|
"/v1.0/protected/health/{provider}": {
|
|
51
15
|
"get": {
|
|
52
16
|
"tags": [
|
|
@@ -157,6 +121,42 @@
|
|
|
157
121
|
]
|
|
158
122
|
}
|
|
159
123
|
},
|
|
124
|
+
"/v1.0/protected/alerts/azure": {
|
|
125
|
+
"post": {
|
|
126
|
+
"tags": [
|
|
127
|
+
"Alerts"
|
|
128
|
+
],
|
|
129
|
+
"summary": "Receive Azure Monitor alert",
|
|
130
|
+
"description": "Action Group webhook receiver for the Azure Monitor common alert schema. Posts a formatted summary to the channel given by ?channel= (defaults to #feed-errors).",
|
|
131
|
+
"operationId": "ReceiveAzureAlert",
|
|
132
|
+
"parameters": [
|
|
133
|
+
{
|
|
134
|
+
"name": "channel",
|
|
135
|
+
"in": "query",
|
|
136
|
+
"schema": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"x-ms-summary": "Slack channel including the leading # (defaults to #feed-errors)"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"responses": {
|
|
143
|
+
"200": {
|
|
144
|
+
"description": "Alert relayed",
|
|
145
|
+
"x-ms-summary": "Success"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"security": [
|
|
149
|
+
{
|
|
150
|
+
"Implicit": [
|
|
151
|
+
"api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"ApiKey": []
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
160
|
"/v1.0/protected/routing": {
|
|
161
161
|
"get": {
|
|
162
162
|
"tags": [
|