@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.
@@ -11,6 +11,69 @@
11
11
  }
12
12
  ],
13
13
  "paths": {
14
+ "/v1.0/protected/newsletter/trigger": {
15
+ "post": {
16
+ "tags": [
17
+ "Notifications"
18
+ ],
19
+ "summary": "Trigger newsletter summarizer",
20
+ "description": "Manually runs the weekly knowledge-summarizer cron (iterates active newsletterSeries, posts Olaf's summary to the configured Slack channel per series, and emails subscribers for series with sendEmails=true).",
21
+ "operationId": "TriggerKnowledgeSummarizer",
22
+ "responses": {
23
+ "200": {
24
+ "description": "Summarizer run completed",
25
+ "x-ms-summary": "Success"
26
+ }
27
+ },
28
+ "security": [
29
+ {
30
+ "Implicit": [
31
+ "api://246713d5-cd48-4a00-84dd-7fc7ae290a62/.default"
32
+ ]
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ "/v1.0/protected/newsletter/debug": {
38
+ "post": {
39
+ "tags": [
40
+ "Notifications"
41
+ ],
42
+ "summary": "Preview newsletters by email",
43
+ "description": "Generates Olaf's summary for each active newsletterSeries and emails the rendered body (same composition the real cron uses) to the caller-supplied address. Skips Sanity persistence, Slack posts, and the 7-day dedup check — subscribers are never touched. Defaults to utvikling@snokam.no.",
44
+ "operationId": "DebugNewsletterEmail",
45
+ "parameters": [
46
+ {
47
+ "name": "to",
48
+ "in": "query",
49
+ "schema": {
50
+ "type": "string"
51
+ },
52
+ "x-ms-summary": "Recipient email (defaults to utvikling@snokam.no)"
53
+ }
54
+ ],
55
+ "responses": {
56
+ "200": {
57
+ "description": "Payload of Object",
58
+ "content": {
59
+ "application/json": {
60
+ "schema": {
61
+ "type": "object"
62
+ }
63
+ }
64
+ },
65
+ "x-ms-summary": "Preview sent"
66
+ }
67
+ },
68
+ "security": [
69
+ {
70
+ "Implicit": [
71
+ "api://246713d5-cd48-4a00-84dd-7fc7ae290a62/.default"
72
+ ]
73
+ }
74
+ ]
75
+ }
76
+ },
14
77
  "/v1.0/protected/push/register": {
15
78
  "post": {
16
79
  "tags": [
@@ -237,6 +300,59 @@
237
300
  }
238
301
  ]
239
302
  }
303
+ },
304
+ "/v1.0/protected/sprint-notification/trigger": {
305
+ "post": {
306
+ "tags": [
307
+ "Notifications"
308
+ ],
309
+ "summary": "Trigger weekly sprint summary",
310
+ "description": "Manually triggers the weekly sprint summary notification to Slack #general",
311
+ "operationId": "TriggerSprintNotification",
312
+ "responses": {
313
+ "200": {
314
+ "description": "Summary sent successfully",
315
+ "x-ms-summary": "Success"
316
+ }
317
+ },
318
+ "security": [
319
+ {
320
+ "Implicit": [
321
+ "api://246713d5-cd48-4a00-84dd-7fc7ae290a62/.default"
322
+ ]
323
+ }
324
+ ]
325
+ }
326
+ },
327
+ "/v1.0/protected/sprint-notification/debug": {
328
+ "get": {
329
+ "tags": [
330
+ "Notifications"
331
+ ],
332
+ "summary": "Debug friday summary",
333
+ "description": "Returns the full friday summary including ChatGPT output for debugging",
334
+ "operationId": "DebugSprintSummary",
335
+ "responses": {
336
+ "200": {
337
+ "description": "Payload of Object",
338
+ "content": {
339
+ "application/json": {
340
+ "schema": {
341
+ "type": "object"
342
+ }
343
+ }
344
+ },
345
+ "x-ms-summary": "Debug data"
346
+ }
347
+ },
348
+ "security": [
349
+ {
350
+ "Implicit": [
351
+ "api://246713d5-cd48-4a00-84dd-7fc7ae290a62/.default"
352
+ ]
353
+ }
354
+ ]
355
+ }
240
356
  }
241
357
  },
242
358
  "components": {