@snokam/mcp-api 0.73.6 → 0.74.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 +1 -1
- package/specs/production/broker.json +24 -24
- package/specs/test/broker.json +24 -24
package/package.json
CHANGED
|
@@ -11,13 +11,36 @@
|
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"paths": {
|
|
14
|
+
"/v1.0/pubsub/tv/uri": {
|
|
15
|
+
"get": {
|
|
16
|
+
"tags": [
|
|
17
|
+
"WebPubSub"
|
|
18
|
+
],
|
|
19
|
+
"summary": "Gets a Web PubSub token",
|
|
20
|
+
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
21
|
+
"operationId": "GetPubsubToken",
|
|
22
|
+
"responses": {
|
|
23
|
+
"200": {
|
|
24
|
+
"description": "Web PubSub token generated",
|
|
25
|
+
"content": {
|
|
26
|
+
"application/json": {
|
|
27
|
+
"schema": {
|
|
28
|
+
"$ref": "#/components/schemas/pubSubToken"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"x-ms-summary": "Success"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
14
37
|
"/v1.0/sanity-webhook-to-azure": {
|
|
15
38
|
"post": {
|
|
16
39
|
"tags": [
|
|
17
40
|
"Sanity"
|
|
18
41
|
],
|
|
19
42
|
"summary": "Handles Sanity webhook events",
|
|
20
|
-
"description": "
|
|
43
|
+
"description": "Forwards Sanity webhook events to Azure Web PubSub and Service Bus.",
|
|
21
44
|
"operationId": "SanityWebhookToAzure",
|
|
22
45
|
"requestBody": {
|
|
23
46
|
"description": "The Sanity webhook payload",
|
|
@@ -37,29 +60,6 @@
|
|
|
37
60
|
}
|
|
38
61
|
}
|
|
39
62
|
}
|
|
40
|
-
},
|
|
41
|
-
"/v1.0/pubsub/tv/uri": {
|
|
42
|
-
"get": {
|
|
43
|
-
"tags": [
|
|
44
|
-
"WebPubSub"
|
|
45
|
-
],
|
|
46
|
-
"summary": "Gets a Web PubSub token",
|
|
47
|
-
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
48
|
-
"operationId": "GetPubsubToken",
|
|
49
|
-
"responses": {
|
|
50
|
-
"200": {
|
|
51
|
-
"description": "Web PubSub token generated",
|
|
52
|
-
"content": {
|
|
53
|
-
"application/json": {
|
|
54
|
-
"schema": {
|
|
55
|
-
"$ref": "#/components/schemas/pubSubToken"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"x-ms-summary": "Success"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"components": {
|
package/specs/test/broker.json
CHANGED
|
@@ -11,13 +11,36 @@
|
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"paths": {
|
|
14
|
+
"/v1.0/pubsub/tv/uri": {
|
|
15
|
+
"get": {
|
|
16
|
+
"tags": [
|
|
17
|
+
"WebPubSub"
|
|
18
|
+
],
|
|
19
|
+
"summary": "Gets a Web PubSub token",
|
|
20
|
+
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
21
|
+
"operationId": "GetPubsubToken",
|
|
22
|
+
"responses": {
|
|
23
|
+
"200": {
|
|
24
|
+
"description": "Web PubSub token generated",
|
|
25
|
+
"content": {
|
|
26
|
+
"application/json": {
|
|
27
|
+
"schema": {
|
|
28
|
+
"$ref": "#/components/schemas/pubSubToken"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"x-ms-summary": "Success"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
14
37
|
"/v1.0/sanity-webhook-to-azure": {
|
|
15
38
|
"post": {
|
|
16
39
|
"tags": [
|
|
17
40
|
"Sanity"
|
|
18
41
|
],
|
|
19
42
|
"summary": "Handles Sanity webhook events",
|
|
20
|
-
"description": "
|
|
43
|
+
"description": "Forwards Sanity webhook events to Azure Web PubSub and Service Bus.",
|
|
21
44
|
"operationId": "SanityWebhookToAzure",
|
|
22
45
|
"requestBody": {
|
|
23
46
|
"description": "The Sanity webhook payload",
|
|
@@ -37,29 +60,6 @@
|
|
|
37
60
|
}
|
|
38
61
|
}
|
|
39
62
|
}
|
|
40
|
-
},
|
|
41
|
-
"/v1.0/pubsub/tv/uri": {
|
|
42
|
-
"get": {
|
|
43
|
-
"tags": [
|
|
44
|
-
"WebPubSub"
|
|
45
|
-
],
|
|
46
|
-
"summary": "Gets a Web PubSub token",
|
|
47
|
-
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
48
|
-
"operationId": "GetPubsubToken",
|
|
49
|
-
"responses": {
|
|
50
|
-
"200": {
|
|
51
|
-
"description": "Web PubSub token generated",
|
|
52
|
-
"content": {
|
|
53
|
-
"application/json": {
|
|
54
|
-
"schema": {
|
|
55
|
-
"$ref": "#/components/schemas/pubSubToken"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"x-ms-summary": "Success"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"components": {
|