@snokam/mcp-api 2.40.0 → 2.43.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.
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"Notifications"
|
|
18
18
|
],
|
|
19
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
|
|
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
21
|
"operationId": "TriggerKnowledgeSummarizer",
|
|
22
22
|
"responses": {
|
|
23
23
|
"200": {
|
|
@@ -19879,6 +19879,9 @@
|
|
|
19879
19879
|
"slackChannel": {
|
|
19880
19880
|
"type": "string"
|
|
19881
19881
|
},
|
|
19882
|
+
"sendEmails": {
|
|
19883
|
+
"type": "boolean"
|
|
19884
|
+
},
|
|
19882
19885
|
"active": {
|
|
19883
19886
|
"type": "boolean"
|
|
19884
19887
|
},
|
|
@@ -19902,6 +19905,7 @@
|
|
|
19902
19905
|
"required": [
|
|
19903
19906
|
"tag",
|
|
19904
19907
|
"slackChannel",
|
|
19908
|
+
"sendEmails",
|
|
19905
19909
|
"active",
|
|
19906
19910
|
"topic",
|
|
19907
19911
|
"name",
|
|
@@ -19994,6 +19998,9 @@
|
|
|
19994
19998
|
"slackChannel": {
|
|
19995
19999
|
"type": "string"
|
|
19996
20000
|
},
|
|
20001
|
+
"sendEmails": {
|
|
20002
|
+
"type": "boolean"
|
|
20003
|
+
},
|
|
19997
20004
|
"active": {
|
|
19998
20005
|
"type": "boolean"
|
|
19999
20006
|
},
|
|
@@ -20017,6 +20024,7 @@
|
|
|
20017
20024
|
"required": [
|
|
20018
20025
|
"tag",
|
|
20019
20026
|
"slackChannel",
|
|
20027
|
+
"sendEmails",
|
|
20020
20028
|
"active",
|
|
20021
20029
|
"topic",
|
|
20022
20030
|
"name",
|
|
@@ -20201,6 +20209,9 @@
|
|
|
20201
20209
|
"slackChannel": {
|
|
20202
20210
|
"type": "string"
|
|
20203
20211
|
},
|
|
20212
|
+
"sendEmails": {
|
|
20213
|
+
"type": "boolean"
|
|
20214
|
+
},
|
|
20204
20215
|
"active": {
|
|
20205
20216
|
"type": "boolean"
|
|
20206
20217
|
},
|
|
@@ -20224,6 +20235,7 @@
|
|
|
20224
20235
|
"required": [
|
|
20225
20236
|
"tag",
|
|
20226
20237
|
"slackChannel",
|
|
20238
|
+
"sendEmails",
|
|
20227
20239
|
"active",
|
|
20228
20240
|
"topic",
|
|
20229
20241
|
"name",
|
|
@@ -20266,6 +20278,9 @@
|
|
|
20266
20278
|
"slackChannel": {
|
|
20267
20279
|
"type": "string"
|
|
20268
20280
|
},
|
|
20281
|
+
"sendEmails": {
|
|
20282
|
+
"type": "boolean"
|
|
20283
|
+
},
|
|
20269
20284
|
"active": {
|
|
20270
20285
|
"type": "boolean"
|
|
20271
20286
|
},
|
|
@@ -20289,6 +20304,7 @@
|
|
|
20289
20304
|
"required": [
|
|
20290
20305
|
"tag",
|
|
20291
20306
|
"slackChannel",
|
|
20307
|
+
"sendEmails",
|
|
20292
20308
|
"active",
|
|
20293
20309
|
"topic",
|
|
20294
20310
|
"name",
|
|
@@ -49854,6 +49870,7 @@
|
|
|
49854
49870
|
}
|
|
49855
49871
|
}
|
|
49856
49872
|
},
|
|
49873
|
+
"description": "Returns the published article list.\n\n`includeInactive=true` drops the `active == true` filter so\nadmins can see articles they've taken offline (\"Ikke live\").\nCallers decide whether to request it based on the viewer's\nsession — the public blog route leaves it false, admin routes\npass true.",
|
|
49857
49874
|
"tags": [
|
|
49858
49875
|
"Articles"
|
|
49859
49876
|
],
|
|
@@ -49882,6 +49899,15 @@
|
|
|
49882
49899
|
"default": false,
|
|
49883
49900
|
"type": "boolean"
|
|
49884
49901
|
}
|
|
49902
|
+
},
|
|
49903
|
+
{
|
|
49904
|
+
"in": "query",
|
|
49905
|
+
"name": "includeInactive",
|
|
49906
|
+
"required": false,
|
|
49907
|
+
"schema": {
|
|
49908
|
+
"default": false,
|
|
49909
|
+
"type": "boolean"
|
|
49910
|
+
}
|
|
49885
49911
|
}
|
|
49886
49912
|
]
|
|
49887
49913
|
}
|
|
@@ -49936,6 +49962,7 @@
|
|
|
49936
49962
|
}
|
|
49937
49963
|
}
|
|
49938
49964
|
},
|
|
49965
|
+
"description": "Single published article by slug or id.\n\n`includeInactive=true` removes the `active == true` requirement\nfrom the slug-match path so admins can open \"Ikke live\"\narticles by URL. Without it, slug lookups only return live\narticles (public behaviour). Id lookups are unaffected either\nway — if the caller already knows the sanity id, active is\nimmaterial.",
|
|
49939
49966
|
"tags": [
|
|
49940
49967
|
"Articles"
|
|
49941
49968
|
],
|
|
@@ -49972,6 +49999,15 @@
|
|
|
49972
49999
|
"default": false,
|
|
49973
50000
|
"type": "boolean"
|
|
49974
50001
|
}
|
|
50002
|
+
},
|
|
50003
|
+
{
|
|
50004
|
+
"in": "query",
|
|
50005
|
+
"name": "includeInactive",
|
|
50006
|
+
"required": false,
|
|
50007
|
+
"schema": {
|
|
50008
|
+
"default": false,
|
|
50009
|
+
"type": "boolean"
|
|
50010
|
+
}
|
|
49975
50011
|
}
|
|
49976
50012
|
]
|
|
49977
50013
|
},
|
|
@@ -50021,6 +50057,54 @@
|
|
|
50021
50057
|
}
|
|
50022
50058
|
}
|
|
50023
50059
|
},
|
|
50060
|
+
"/v1.0/articles/all": {
|
|
50061
|
+
"get": {
|
|
50062
|
+
"operationId": "GetAllPublishedArticles",
|
|
50063
|
+
"responses": {
|
|
50064
|
+
"200": {
|
|
50065
|
+
"description": "Ok",
|
|
50066
|
+
"content": {
|
|
50067
|
+
"application/json": {
|
|
50068
|
+
"schema": {
|
|
50069
|
+
"$ref": "#/components/schemas/GetArticlesResult"
|
|
50070
|
+
}
|
|
50071
|
+
}
|
|
50072
|
+
}
|
|
50073
|
+
}
|
|
50074
|
+
},
|
|
50075
|
+
"description": "Every published article regardless of the `active` flag. Used by\nthe admin list so editors can see articles they've taken offline\n(\"Ikke live\"). Public callers should stay on `GetArticles`,\nwhich filters to `active == true`.",
|
|
50076
|
+
"tags": [
|
|
50077
|
+
"Articles"
|
|
50078
|
+
],
|
|
50079
|
+
"security": [
|
|
50080
|
+
{
|
|
50081
|
+
"Implicit": [
|
|
50082
|
+
"api://3358ac8e-681e-4aeb-bfbf-bb008913c423/.default"
|
|
50083
|
+
]
|
|
50084
|
+
}
|
|
50085
|
+
],
|
|
50086
|
+
"parameters": [
|
|
50087
|
+
{
|
|
50088
|
+
"in": "query",
|
|
50089
|
+
"name": "useCache",
|
|
50090
|
+
"required": false,
|
|
50091
|
+
"schema": {
|
|
50092
|
+
"default": false,
|
|
50093
|
+
"type": "boolean"
|
|
50094
|
+
}
|
|
50095
|
+
},
|
|
50096
|
+
{
|
|
50097
|
+
"in": "query",
|
|
50098
|
+
"name": "useCdn",
|
|
50099
|
+
"required": false,
|
|
50100
|
+
"schema": {
|
|
50101
|
+
"default": false,
|
|
50102
|
+
"type": "boolean"
|
|
50103
|
+
}
|
|
50104
|
+
}
|
|
50105
|
+
]
|
|
50106
|
+
}
|
|
50107
|
+
},
|
|
50024
50108
|
"/v1.0/articles/drafts": {
|
|
50025
50109
|
"get": {
|
|
50026
50110
|
"operationId": "GetDraftOnlyArticles",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"Notifications"
|
|
18
18
|
],
|
|
19
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
|
|
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
21
|
"operationId": "TriggerKnowledgeSummarizer",
|
|
22
22
|
"responses": {
|
|
23
23
|
"200": {
|
package/specs/test/sanity.json
CHANGED
|
@@ -19879,6 +19879,9 @@
|
|
|
19879
19879
|
"slackChannel": {
|
|
19880
19880
|
"type": "string"
|
|
19881
19881
|
},
|
|
19882
|
+
"sendEmails": {
|
|
19883
|
+
"type": "boolean"
|
|
19884
|
+
},
|
|
19882
19885
|
"active": {
|
|
19883
19886
|
"type": "boolean"
|
|
19884
19887
|
},
|
|
@@ -19902,6 +19905,7 @@
|
|
|
19902
19905
|
"required": [
|
|
19903
19906
|
"tag",
|
|
19904
19907
|
"slackChannel",
|
|
19908
|
+
"sendEmails",
|
|
19905
19909
|
"active",
|
|
19906
19910
|
"topic",
|
|
19907
19911
|
"name",
|
|
@@ -19994,6 +19998,9 @@
|
|
|
19994
19998
|
"slackChannel": {
|
|
19995
19999
|
"type": "string"
|
|
19996
20000
|
},
|
|
20001
|
+
"sendEmails": {
|
|
20002
|
+
"type": "boolean"
|
|
20003
|
+
},
|
|
19997
20004
|
"active": {
|
|
19998
20005
|
"type": "boolean"
|
|
19999
20006
|
},
|
|
@@ -20017,6 +20024,7 @@
|
|
|
20017
20024
|
"required": [
|
|
20018
20025
|
"tag",
|
|
20019
20026
|
"slackChannel",
|
|
20027
|
+
"sendEmails",
|
|
20020
20028
|
"active",
|
|
20021
20029
|
"topic",
|
|
20022
20030
|
"name",
|
|
@@ -20201,6 +20209,9 @@
|
|
|
20201
20209
|
"slackChannel": {
|
|
20202
20210
|
"type": "string"
|
|
20203
20211
|
},
|
|
20212
|
+
"sendEmails": {
|
|
20213
|
+
"type": "boolean"
|
|
20214
|
+
},
|
|
20204
20215
|
"active": {
|
|
20205
20216
|
"type": "boolean"
|
|
20206
20217
|
},
|
|
@@ -20224,6 +20235,7 @@
|
|
|
20224
20235
|
"required": [
|
|
20225
20236
|
"tag",
|
|
20226
20237
|
"slackChannel",
|
|
20238
|
+
"sendEmails",
|
|
20227
20239
|
"active",
|
|
20228
20240
|
"topic",
|
|
20229
20241
|
"name",
|
|
@@ -20266,6 +20278,9 @@
|
|
|
20266
20278
|
"slackChannel": {
|
|
20267
20279
|
"type": "string"
|
|
20268
20280
|
},
|
|
20281
|
+
"sendEmails": {
|
|
20282
|
+
"type": "boolean"
|
|
20283
|
+
},
|
|
20269
20284
|
"active": {
|
|
20270
20285
|
"type": "boolean"
|
|
20271
20286
|
},
|
|
@@ -20289,6 +20304,7 @@
|
|
|
20289
20304
|
"required": [
|
|
20290
20305
|
"tag",
|
|
20291
20306
|
"slackChannel",
|
|
20307
|
+
"sendEmails",
|
|
20292
20308
|
"active",
|
|
20293
20309
|
"topic",
|
|
20294
20310
|
"name",
|
|
@@ -49854,6 +49870,7 @@
|
|
|
49854
49870
|
}
|
|
49855
49871
|
}
|
|
49856
49872
|
},
|
|
49873
|
+
"description": "Returns the published article list.\n\n`includeInactive=true` drops the `active == true` filter so\nadmins can see articles they've taken offline (\"Ikke live\").\nCallers decide whether to request it based on the viewer's\nsession — the public blog route leaves it false, admin routes\npass true.",
|
|
49857
49874
|
"tags": [
|
|
49858
49875
|
"Articles"
|
|
49859
49876
|
],
|
|
@@ -49882,6 +49899,15 @@
|
|
|
49882
49899
|
"default": false,
|
|
49883
49900
|
"type": "boolean"
|
|
49884
49901
|
}
|
|
49902
|
+
},
|
|
49903
|
+
{
|
|
49904
|
+
"in": "query",
|
|
49905
|
+
"name": "includeInactive",
|
|
49906
|
+
"required": false,
|
|
49907
|
+
"schema": {
|
|
49908
|
+
"default": false,
|
|
49909
|
+
"type": "boolean"
|
|
49910
|
+
}
|
|
49885
49911
|
}
|
|
49886
49912
|
]
|
|
49887
49913
|
}
|
|
@@ -49936,6 +49962,7 @@
|
|
|
49936
49962
|
}
|
|
49937
49963
|
}
|
|
49938
49964
|
},
|
|
49965
|
+
"description": "Single published article by slug or id.\n\n`includeInactive=true` removes the `active == true` requirement\nfrom the slug-match path so admins can open \"Ikke live\"\narticles by URL. Without it, slug lookups only return live\narticles (public behaviour). Id lookups are unaffected either\nway — if the caller already knows the sanity id, active is\nimmaterial.",
|
|
49939
49966
|
"tags": [
|
|
49940
49967
|
"Articles"
|
|
49941
49968
|
],
|
|
@@ -49972,6 +49999,15 @@
|
|
|
49972
49999
|
"default": false,
|
|
49973
50000
|
"type": "boolean"
|
|
49974
50001
|
}
|
|
50002
|
+
},
|
|
50003
|
+
{
|
|
50004
|
+
"in": "query",
|
|
50005
|
+
"name": "includeInactive",
|
|
50006
|
+
"required": false,
|
|
50007
|
+
"schema": {
|
|
50008
|
+
"default": false,
|
|
50009
|
+
"type": "boolean"
|
|
50010
|
+
}
|
|
49975
50011
|
}
|
|
49976
50012
|
]
|
|
49977
50013
|
},
|
|
@@ -50021,6 +50057,54 @@
|
|
|
50021
50057
|
}
|
|
50022
50058
|
}
|
|
50023
50059
|
},
|
|
50060
|
+
"/v1.0/articles/all": {
|
|
50061
|
+
"get": {
|
|
50062
|
+
"operationId": "GetAllPublishedArticles",
|
|
50063
|
+
"responses": {
|
|
50064
|
+
"200": {
|
|
50065
|
+
"description": "Ok",
|
|
50066
|
+
"content": {
|
|
50067
|
+
"application/json": {
|
|
50068
|
+
"schema": {
|
|
50069
|
+
"$ref": "#/components/schemas/GetArticlesResult"
|
|
50070
|
+
}
|
|
50071
|
+
}
|
|
50072
|
+
}
|
|
50073
|
+
}
|
|
50074
|
+
},
|
|
50075
|
+
"description": "Every published article regardless of the `active` flag. Used by\nthe admin list so editors can see articles they've taken offline\n(\"Ikke live\"). Public callers should stay on `GetArticles`,\nwhich filters to `active == true`.",
|
|
50076
|
+
"tags": [
|
|
50077
|
+
"Articles"
|
|
50078
|
+
],
|
|
50079
|
+
"security": [
|
|
50080
|
+
{
|
|
50081
|
+
"Implicit": [
|
|
50082
|
+
"api://5dc55e32-6742-4fe9-b8b6-581cf56af144/.default"
|
|
50083
|
+
]
|
|
50084
|
+
}
|
|
50085
|
+
],
|
|
50086
|
+
"parameters": [
|
|
50087
|
+
{
|
|
50088
|
+
"in": "query",
|
|
50089
|
+
"name": "useCache",
|
|
50090
|
+
"required": false,
|
|
50091
|
+
"schema": {
|
|
50092
|
+
"default": false,
|
|
50093
|
+
"type": "boolean"
|
|
50094
|
+
}
|
|
50095
|
+
},
|
|
50096
|
+
{
|
|
50097
|
+
"in": "query",
|
|
50098
|
+
"name": "useCdn",
|
|
50099
|
+
"required": false,
|
|
50100
|
+
"schema": {
|
|
50101
|
+
"default": false,
|
|
50102
|
+
"type": "boolean"
|
|
50103
|
+
}
|
|
50104
|
+
}
|
|
50105
|
+
]
|
|
50106
|
+
}
|
|
50107
|
+
},
|
|
50024
50108
|
"/v1.0/articles/drafts": {
|
|
50025
50109
|
"get": {
|
|
50026
50110
|
"operationId": "GetDraftOnlyArticles",
|