@gitbook/api 0.174.0 → 0.176.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/dist/client.d.ts +155 -50
- package/dist/constants.d.ts +10 -3
- package/dist/index.cjs +60 -27
- package/dist/index.js +50 -26
- package/package.json +1 -1
- package/spec/openapi.json +412 -147
- package/spec/openapi.yaml +272 -86
package/spec/openapi.json
CHANGED
|
@@ -504,6 +504,33 @@
|
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
},
|
|
507
|
+
"/user/notifications/token": {
|
|
508
|
+
"post": {
|
|
509
|
+
"operationId": "createUserNotificationsToken",
|
|
510
|
+
"summary": "Create a JWT to access the in-app notifications service",
|
|
511
|
+
"description": "Generates a JWT for the authenticated user. This token is used by the frontend notifications client to access user endpoints.\n",
|
|
512
|
+
"tags": [
|
|
513
|
+
"users"
|
|
514
|
+
],
|
|
515
|
+
"security": [
|
|
516
|
+
{
|
|
517
|
+
"user-internal": []
|
|
518
|
+
}
|
|
519
|
+
],
|
|
520
|
+
"responses": {
|
|
521
|
+
"200": {
|
|
522
|
+
"description": "The notifications service User JWT",
|
|
523
|
+
"content": {
|
|
524
|
+
"application/json": {
|
|
525
|
+
"schema": {
|
|
526
|
+
"$ref": "#/components/schemas/APITemporaryToken"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
507
534
|
"/users/{userId}": {
|
|
508
535
|
"get": {
|
|
509
536
|
"operationId": "getUserById",
|
|
@@ -2467,6 +2494,9 @@
|
|
|
2467
2494
|
"description": {
|
|
2468
2495
|
"$ref": "#/components/schemas/JSONDocument"
|
|
2469
2496
|
},
|
|
2497
|
+
"links": {
|
|
2498
|
+
"$ref": "#/components/schemas/ChangeRequestLinks"
|
|
2499
|
+
},
|
|
2470
2500
|
"status": {
|
|
2471
2501
|
"type": "string",
|
|
2472
2502
|
"enum": [
|
|
@@ -13181,108 +13211,6 @@
|
|
|
13181
13211
|
}
|
|
13182
13212
|
}
|
|
13183
13213
|
},
|
|
13184
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections": {
|
|
13185
|
-
"post": {
|
|
13186
|
-
"operationId": "addSectionToGroup",
|
|
13187
|
-
"deprecated": true,
|
|
13188
|
-
"summary": "Add a section to a section group",
|
|
13189
|
-
"tags": [
|
|
13190
|
-
"site-section-groups"
|
|
13191
|
-
],
|
|
13192
|
-
"security": [
|
|
13193
|
-
{
|
|
13194
|
-
"user": []
|
|
13195
|
-
}
|
|
13196
|
-
],
|
|
13197
|
-
"parameters": [
|
|
13198
|
-
{
|
|
13199
|
-
"$ref": "#/components/parameters/organizationId"
|
|
13200
|
-
},
|
|
13201
|
-
{
|
|
13202
|
-
"$ref": "#/components/parameters/siteId"
|
|
13203
|
-
},
|
|
13204
|
-
{
|
|
13205
|
-
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
13206
|
-
}
|
|
13207
|
-
],
|
|
13208
|
-
"requestBody": {
|
|
13209
|
-
"required": true,
|
|
13210
|
-
"content": {
|
|
13211
|
-
"application/json": {
|
|
13212
|
-
"schema": {
|
|
13213
|
-
"type": "object",
|
|
13214
|
-
"properties": {
|
|
13215
|
-
"sectionId": {
|
|
13216
|
-
"type": "string",
|
|
13217
|
-
"description": "ID of the section to add to the section group"
|
|
13218
|
-
}
|
|
13219
|
-
},
|
|
13220
|
-
"required": [
|
|
13221
|
-
"sectionId"
|
|
13222
|
-
]
|
|
13223
|
-
}
|
|
13224
|
-
}
|
|
13225
|
-
}
|
|
13226
|
-
},
|
|
13227
|
-
"responses": {
|
|
13228
|
-
"201": {
|
|
13229
|
-
"description": "Section added to the section group",
|
|
13230
|
-
"headers": {
|
|
13231
|
-
"Location": {
|
|
13232
|
-
"description": "API URL for the newly created site-section-group relationship",
|
|
13233
|
-
"schema": {
|
|
13234
|
-
"type": "string"
|
|
13235
|
-
}
|
|
13236
|
-
}
|
|
13237
|
-
},
|
|
13238
|
-
"content": {
|
|
13239
|
-
"application/json": {
|
|
13240
|
-
"schema": {
|
|
13241
|
-
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
13242
|
-
}
|
|
13243
|
-
}
|
|
13244
|
-
}
|
|
13245
|
-
}
|
|
13246
|
-
}
|
|
13247
|
-
}
|
|
13248
|
-
},
|
|
13249
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}": {
|
|
13250
|
-
"delete": {
|
|
13251
|
-
"operationId": "removeSectionFromGroup",
|
|
13252
|
-
"deprecated": true,
|
|
13253
|
-
"summary": "Remove a section from a section group",
|
|
13254
|
-
"tags": [
|
|
13255
|
-
"site-section-groups"
|
|
13256
|
-
],
|
|
13257
|
-
"security": [
|
|
13258
|
-
{
|
|
13259
|
-
"user": []
|
|
13260
|
-
}
|
|
13261
|
-
],
|
|
13262
|
-
"parameters": [
|
|
13263
|
-
{
|
|
13264
|
-
"$ref": "#/components/parameters/organizationId"
|
|
13265
|
-
},
|
|
13266
|
-
{
|
|
13267
|
-
"$ref": "#/components/parameters/siteId"
|
|
13268
|
-
},
|
|
13269
|
-
{
|
|
13270
|
-
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
13271
|
-
},
|
|
13272
|
-
{
|
|
13273
|
-
"$ref": "#/components/parameters/siteSectionId"
|
|
13274
|
-
}
|
|
13275
|
-
],
|
|
13276
|
-
"responses": {
|
|
13277
|
-
"204": {
|
|
13278
|
-
"description": "Section was not part of the group"
|
|
13279
|
-
},
|
|
13280
|
-
"205": {
|
|
13281
|
-
"description": "Section has been removed from the section group"
|
|
13282
|
-
}
|
|
13283
|
-
}
|
|
13284
|
-
}
|
|
13285
|
-
},
|
|
13286
13214
|
"/orgs/{organizationId}/sites/{siteId}/sections": {
|
|
13287
13215
|
"post": {
|
|
13288
13216
|
"operationId": "addSectionToSite",
|
|
@@ -15170,9 +15098,12 @@
|
|
|
15170
15098
|
{
|
|
15171
15099
|
"name": "topic",
|
|
15172
15100
|
"in": "query",
|
|
15173
|
-
"description": "Filter questions by associated site topic
|
|
15101
|
+
"description": "Filter questions by associated site topic IDs.",
|
|
15174
15102
|
"schema": {
|
|
15175
|
-
"type": "
|
|
15103
|
+
"type": "array",
|
|
15104
|
+
"items": {
|
|
15105
|
+
"type": "string"
|
|
15106
|
+
}
|
|
15176
15107
|
}
|
|
15177
15108
|
},
|
|
15178
15109
|
{
|
|
@@ -15187,7 +15118,8 @@
|
|
|
15187
15118
|
"enum": [
|
|
15188
15119
|
"askedAt",
|
|
15189
15120
|
"stats.answered",
|
|
15190
|
-
"stats.feedback"
|
|
15121
|
+
"stats.feedback",
|
|
15122
|
+
"stats.answers"
|
|
15191
15123
|
]
|
|
15192
15124
|
}
|
|
15193
15125
|
},
|
|
@@ -15251,6 +15183,44 @@
|
|
|
15251
15183
|
},
|
|
15252
15184
|
{
|
|
15253
15185
|
"$ref": "#/components/parameters/siteQuestionId"
|
|
15186
|
+
},
|
|
15187
|
+
{
|
|
15188
|
+
"name": "from",
|
|
15189
|
+
"in": "query",
|
|
15190
|
+
"description": "Filter stats to answers created at or after this timestamp.",
|
|
15191
|
+
"schema": {
|
|
15192
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15193
|
+
}
|
|
15194
|
+
},
|
|
15195
|
+
{
|
|
15196
|
+
"name": "to",
|
|
15197
|
+
"in": "query",
|
|
15198
|
+
"description": "Filter stats to answers created at or before this timestamp.",
|
|
15199
|
+
"schema": {
|
|
15200
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15201
|
+
}
|
|
15202
|
+
},
|
|
15203
|
+
{
|
|
15204
|
+
"name": "relevance",
|
|
15205
|
+
"in": "query",
|
|
15206
|
+
"description": "Filter stats by question relevance.",
|
|
15207
|
+
"schema": {
|
|
15208
|
+
"type": "array",
|
|
15209
|
+
"items": {
|
|
15210
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15211
|
+
}
|
|
15212
|
+
}
|
|
15213
|
+
},
|
|
15214
|
+
{
|
|
15215
|
+
"name": "answered",
|
|
15216
|
+
"in": "query",
|
|
15217
|
+
"description": "Filter stats by answer resolution.",
|
|
15218
|
+
"schema": {
|
|
15219
|
+
"type": "array",
|
|
15220
|
+
"items": {
|
|
15221
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15222
|
+
}
|
|
15223
|
+
}
|
|
15254
15224
|
}
|
|
15255
15225
|
],
|
|
15256
15226
|
"responses": {
|
|
@@ -15294,6 +15264,44 @@
|
|
|
15294
15264
|
},
|
|
15295
15265
|
{
|
|
15296
15266
|
"$ref": "#/components/parameters/listLimit"
|
|
15267
|
+
},
|
|
15268
|
+
{
|
|
15269
|
+
"name": "from",
|
|
15270
|
+
"in": "query",
|
|
15271
|
+
"description": "Filter sources to answers created at or after this timestamp.",
|
|
15272
|
+
"schema": {
|
|
15273
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15274
|
+
}
|
|
15275
|
+
},
|
|
15276
|
+
{
|
|
15277
|
+
"name": "to",
|
|
15278
|
+
"in": "query",
|
|
15279
|
+
"description": "Filter sources to answers created at or before this timestamp.",
|
|
15280
|
+
"schema": {
|
|
15281
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15282
|
+
}
|
|
15283
|
+
},
|
|
15284
|
+
{
|
|
15285
|
+
"name": "relevance",
|
|
15286
|
+
"in": "query",
|
|
15287
|
+
"description": "Filter answer sources by question relevance.",
|
|
15288
|
+
"schema": {
|
|
15289
|
+
"type": "array",
|
|
15290
|
+
"items": {
|
|
15291
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15292
|
+
}
|
|
15293
|
+
}
|
|
15294
|
+
},
|
|
15295
|
+
{
|
|
15296
|
+
"name": "answered",
|
|
15297
|
+
"in": "query",
|
|
15298
|
+
"description": "Filter answer sources by answer resolution.",
|
|
15299
|
+
"schema": {
|
|
15300
|
+
"type": "array",
|
|
15301
|
+
"items": {
|
|
15302
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15303
|
+
}
|
|
15304
|
+
}
|
|
15297
15305
|
}
|
|
15298
15306
|
],
|
|
15299
15307
|
"responses": {
|
|
@@ -15438,6 +15446,22 @@
|
|
|
15438
15446
|
"type": "string"
|
|
15439
15447
|
}
|
|
15440
15448
|
},
|
|
15449
|
+
{
|
|
15450
|
+
"name": "from",
|
|
15451
|
+
"in": "query",
|
|
15452
|
+
"description": "Filter answers created at or after this timestamp.",
|
|
15453
|
+
"schema": {
|
|
15454
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15455
|
+
}
|
|
15456
|
+
},
|
|
15457
|
+
{
|
|
15458
|
+
"name": "to",
|
|
15459
|
+
"in": "query",
|
|
15460
|
+
"description": "Filter answers created at or before this timestamp.",
|
|
15461
|
+
"schema": {
|
|
15462
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15463
|
+
}
|
|
15464
|
+
},
|
|
15441
15465
|
{
|
|
15442
15466
|
"name": "language",
|
|
15443
15467
|
"in": "query",
|
|
@@ -15451,7 +15475,10 @@
|
|
|
15451
15475
|
"in": "query",
|
|
15452
15476
|
"description": "Filter answers by answered resolution.",
|
|
15453
15477
|
"schema": {
|
|
15454
|
-
"
|
|
15478
|
+
"type": "array",
|
|
15479
|
+
"items": {
|
|
15480
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15481
|
+
}
|
|
15455
15482
|
}
|
|
15456
15483
|
},
|
|
15457
15484
|
{
|
|
@@ -15467,7 +15494,10 @@
|
|
|
15467
15494
|
"in": "query",
|
|
15468
15495
|
"description": "Filter answers by question relevance.",
|
|
15469
15496
|
"schema": {
|
|
15470
|
-
"
|
|
15497
|
+
"type": "array",
|
|
15498
|
+
"items": {
|
|
15499
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15500
|
+
}
|
|
15471
15501
|
}
|
|
15472
15502
|
},
|
|
15473
15503
|
{
|
|
@@ -16216,7 +16246,7 @@
|
|
|
16216
16246
|
"description": "The theme mode default value. Set to null to reset the override.",
|
|
16217
16247
|
"oneOf": [
|
|
16218
16248
|
{
|
|
16219
|
-
"$ref": "#/components/schemas/
|
|
16249
|
+
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
16220
16250
|
},
|
|
16221
16251
|
{
|
|
16222
16252
|
"type": "null"
|
|
@@ -17984,6 +18014,17 @@
|
|
|
17984
18014
|
},
|
|
17985
18015
|
"headers": {
|
|
17986
18016
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
18017
|
+
},
|
|
18018
|
+
"condition": {
|
|
18019
|
+
"description": "Conditional expression used to evaluate whether the MCP server should be available to the site's visitor (should evaluate to a boolean). If set to null, the condition will be removed.",
|
|
18020
|
+
"oneOf": [
|
|
18021
|
+
{
|
|
18022
|
+
"$ref": "#/components/schemas/Expression"
|
|
18023
|
+
},
|
|
18024
|
+
{
|
|
18025
|
+
"type": "null"
|
|
18026
|
+
}
|
|
18027
|
+
]
|
|
17987
18028
|
}
|
|
17988
18029
|
},
|
|
17989
18030
|
"required": [
|
|
@@ -18084,6 +18125,17 @@
|
|
|
18084
18125
|
},
|
|
18085
18126
|
"headers": {
|
|
18086
18127
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
18128
|
+
},
|
|
18129
|
+
"condition": {
|
|
18130
|
+
"description": "Conditional expression used to evaluate whether the MCP server should be available to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.",
|
|
18131
|
+
"oneOf": [
|
|
18132
|
+
{
|
|
18133
|
+
"$ref": "#/components/schemas/Expression"
|
|
18134
|
+
},
|
|
18135
|
+
{
|
|
18136
|
+
"type": "null"
|
|
18137
|
+
}
|
|
18138
|
+
]
|
|
18087
18139
|
}
|
|
18088
18140
|
}
|
|
18089
18141
|
}
|
|
@@ -19757,6 +19809,18 @@
|
|
|
19757
19809
|
"urls"
|
|
19758
19810
|
]
|
|
19759
19811
|
},
|
|
19812
|
+
"APITemporaryToken": {
|
|
19813
|
+
"type": "object",
|
|
19814
|
+
"properties": {
|
|
19815
|
+
"token": {
|
|
19816
|
+
"type": "string",
|
|
19817
|
+
"description": "Temporary access token to authenticate with the API"
|
|
19818
|
+
}
|
|
19819
|
+
},
|
|
19820
|
+
"required": [
|
|
19821
|
+
"token"
|
|
19822
|
+
]
|
|
19823
|
+
},
|
|
19760
19824
|
"List": {
|
|
19761
19825
|
"type": "object",
|
|
19762
19826
|
"properties": {
|
|
@@ -22450,6 +22514,10 @@
|
|
|
22450
22514
|
"type": "boolean",
|
|
22451
22515
|
"description": "Should we keep the table header sticky while the page scrolls"
|
|
22452
22516
|
},
|
|
22517
|
+
"stickyFirstColumn": {
|
|
22518
|
+
"type": "boolean",
|
|
22519
|
+
"description": "Should we keep the first visible table column sticky while horizontally scrolling"
|
|
22520
|
+
},
|
|
22453
22521
|
"useNewSizing": {
|
|
22454
22522
|
"type": "boolean",
|
|
22455
22523
|
"description": "Tables in GitBook originally used a scaled width approach i.e. the width defined\nin columnWidths would be scaled to ensure a 100% width table.\n\nWe later changed this to treat the widths in columnWidths as exact values - they are\nnever scaled. A columnWidth of 50 is rendered as 50px.\n\nIn order to maintain backwards compatibility, we track whether or not we\nuse the new system here.\n\nAll new tables should have this value set to true, older tables will have it set\nto undefined.\n"
|
|
@@ -26641,6 +26709,33 @@
|
|
|
26641
26709
|
"minLength": 0,
|
|
26642
26710
|
"maxLength": 100
|
|
26643
26711
|
},
|
|
26712
|
+
"ChangeRequestLinkTitle": {
|
|
26713
|
+
"type": "string",
|
|
26714
|
+
"description": "Optional title to display for the link.",
|
|
26715
|
+
"maxLength": 128
|
|
26716
|
+
},
|
|
26717
|
+
"ChangeRequestLink": {
|
|
26718
|
+
"type": "object",
|
|
26719
|
+
"properties": {
|
|
26720
|
+
"ref": {
|
|
26721
|
+
"$ref": "#/components/schemas/ContentRefURL"
|
|
26722
|
+
},
|
|
26723
|
+
"title": {
|
|
26724
|
+
"$ref": "#/components/schemas/ChangeRequestLinkTitle"
|
|
26725
|
+
}
|
|
26726
|
+
},
|
|
26727
|
+
"required": [
|
|
26728
|
+
"ref"
|
|
26729
|
+
]
|
|
26730
|
+
},
|
|
26731
|
+
"ChangeRequestLinks": {
|
|
26732
|
+
"type": "array",
|
|
26733
|
+
"description": "External links associated with the change request.",
|
|
26734
|
+
"items": {
|
|
26735
|
+
"$ref": "#/components/schemas/ChangeRequestLink"
|
|
26736
|
+
},
|
|
26737
|
+
"maxItems": 10
|
|
26738
|
+
},
|
|
26644
26739
|
"ChangeRequest": {
|
|
26645
26740
|
"type": "object",
|
|
26646
26741
|
"properties": {
|
|
@@ -26727,6 +26822,9 @@
|
|
|
26727
26822
|
"type": "boolean",
|
|
26728
26823
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
26729
26824
|
},
|
|
26825
|
+
"links": {
|
|
26826
|
+
"$ref": "#/components/schemas/ChangeRequestLinks"
|
|
26827
|
+
},
|
|
26730
26828
|
"urls": {
|
|
26731
26829
|
"type": "object",
|
|
26732
26830
|
"description": "URLs associated with the object",
|
|
@@ -31792,6 +31890,8 @@
|
|
|
31792
31890
|
"sites-ads",
|
|
31793
31891
|
"sites-ai-search",
|
|
31794
31892
|
"sites-ai-assistant",
|
|
31893
|
+
"sites-connections",
|
|
31894
|
+
"sites-channels",
|
|
31795
31895
|
"sites-embed",
|
|
31796
31896
|
"sites-api-playground",
|
|
31797
31897
|
"sites-basic-customization",
|
|
@@ -33372,18 +33472,6 @@
|
|
|
33372
33472
|
}
|
|
33373
33473
|
}
|
|
33374
33474
|
},
|
|
33375
|
-
"APITemporaryToken": {
|
|
33376
|
-
"type": "object",
|
|
33377
|
-
"properties": {
|
|
33378
|
-
"token": {
|
|
33379
|
-
"type": "string",
|
|
33380
|
-
"description": "Temporary access token to authenticate with the API"
|
|
33381
|
-
}
|
|
33382
|
-
},
|
|
33383
|
-
"required": [
|
|
33384
|
-
"token"
|
|
33385
|
-
]
|
|
33386
|
-
},
|
|
33387
33475
|
"UpdateIntegrationSpaceInstallation": {
|
|
33388
33476
|
"type": "object",
|
|
33389
33477
|
"properties": {
|
|
@@ -36761,11 +36849,12 @@
|
|
|
36761
36849
|
"style"
|
|
36762
36850
|
]
|
|
36763
36851
|
},
|
|
36764
|
-
"
|
|
36852
|
+
"CustomizationDefaultThemeMode": {
|
|
36765
36853
|
"type": "string",
|
|
36766
36854
|
"enum": [
|
|
36767
36855
|
"light",
|
|
36768
|
-
"dark"
|
|
36856
|
+
"dark",
|
|
36857
|
+
"system"
|
|
36769
36858
|
]
|
|
36770
36859
|
},
|
|
36771
36860
|
"CustomizationAIMode": {
|
|
@@ -37053,7 +37142,7 @@
|
|
|
37053
37142
|
"type": "object",
|
|
37054
37143
|
"properties": {
|
|
37055
37144
|
"default": {
|
|
37056
|
-
"$ref": "#/components/schemas/
|
|
37145
|
+
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
37057
37146
|
},
|
|
37058
37147
|
"toggeable": {
|
|
37059
37148
|
"description": "Should the reader be able to switch between dark and light mode",
|
|
@@ -37481,6 +37570,9 @@
|
|
|
37481
37570
|
{
|
|
37482
37571
|
"$ref": "#/components/schemas/SiteFeatureKey"
|
|
37483
37572
|
},
|
|
37573
|
+
{
|
|
37574
|
+
"$ref": "#/components/schemas/BillingMeter"
|
|
37575
|
+
},
|
|
37484
37576
|
{
|
|
37485
37577
|
"type": "string",
|
|
37486
37578
|
"enum": [
|
|
@@ -38351,6 +38443,27 @@
|
|
|
38351
38443
|
"searchBoost"
|
|
38352
38444
|
]
|
|
38353
38445
|
},
|
|
38446
|
+
"YoutubeChannelId": {
|
|
38447
|
+
"type": "string",
|
|
38448
|
+
"description": "A YouTube channel ID starting with \"UC\".",
|
|
38449
|
+
"pattern": "^UC[A-Za-z0-9_-]{22}$"
|
|
38450
|
+
},
|
|
38451
|
+
"YoutubeChannelName": {
|
|
38452
|
+
"type": "string",
|
|
38453
|
+
"description": "A YouTube channel handle starting with \"@\".",
|
|
38454
|
+
"pattern": "^@[A-Za-z0-9._-]{3,100}$"
|
|
38455
|
+
},
|
|
38456
|
+
"YoutubeChannelPattern": {
|
|
38457
|
+
"description": "A YouTube channel identifier, either a channel ID or a channel handle.",
|
|
38458
|
+
"oneOf": [
|
|
38459
|
+
{
|
|
38460
|
+
"$ref": "#/components/schemas/YoutubeChannelId"
|
|
38461
|
+
},
|
|
38462
|
+
{
|
|
38463
|
+
"$ref": "#/components/schemas/YoutubeChannelName"
|
|
38464
|
+
}
|
|
38465
|
+
]
|
|
38466
|
+
},
|
|
38354
38467
|
"ContextConnectorSetup": {
|
|
38355
38468
|
"oneOf": [
|
|
38356
38469
|
{
|
|
@@ -38434,8 +38547,7 @@
|
|
|
38434
38547
|
"type": "object",
|
|
38435
38548
|
"properties": {
|
|
38436
38549
|
"channelId": {
|
|
38437
|
-
"
|
|
38438
|
-
"pattern": "^UC[A-Za-z0-9_-]{22}$"
|
|
38550
|
+
"$ref": "#/components/schemas/YoutubeChannelPattern"
|
|
38439
38551
|
}
|
|
38440
38552
|
},
|
|
38441
38553
|
"required": [
|
|
@@ -38924,7 +39036,9 @@
|
|
|
38924
39036
|
"type": "string",
|
|
38925
39037
|
"enum": [
|
|
38926
39038
|
"builtin:slack",
|
|
38927
|
-
"builtin:discord"
|
|
39039
|
+
"builtin:discord",
|
|
39040
|
+
"builtin:github",
|
|
39041
|
+
"builtin:linear"
|
|
38928
39042
|
]
|
|
38929
39043
|
},
|
|
38930
39044
|
"SiteQuestionAnswer": {
|
|
@@ -39879,6 +39993,14 @@
|
|
|
39879
39993
|
}
|
|
39880
39994
|
]
|
|
39881
39995
|
},
|
|
39996
|
+
"AIMessageStepPhase": {
|
|
39997
|
+
"type": "string",
|
|
39998
|
+
"description": "The phase of a step in a message from the AI agent.",
|
|
39999
|
+
"enum": [
|
|
40000
|
+
"commentary",
|
|
40001
|
+
"final_answer"
|
|
40002
|
+
]
|
|
40003
|
+
},
|
|
39882
40004
|
"Timerange": {
|
|
39883
40005
|
"type": "object",
|
|
39884
40006
|
"properties": {
|
|
@@ -39968,6 +40090,9 @@
|
|
|
39968
40090
|
"$ref": "#/components/schemas/AIToolCall"
|
|
39969
40091
|
}
|
|
39970
40092
|
},
|
|
40093
|
+
"phase": {
|
|
40094
|
+
"$ref": "#/components/schemas/AIMessageStepPhase"
|
|
40095
|
+
},
|
|
39971
40096
|
"timing": {
|
|
39972
40097
|
"type": "object",
|
|
39973
40098
|
"description": "The timing of the step.",
|
|
@@ -39983,10 +40108,7 @@
|
|
|
39983
40108
|
"$ref": "#/components/schemas/AIAttachment"
|
|
39984
40109
|
}
|
|
39985
40110
|
}
|
|
39986
|
-
}
|
|
39987
|
-
"required": [
|
|
39988
|
-
"content"
|
|
39989
|
-
]
|
|
40111
|
+
}
|
|
39990
40112
|
},
|
|
39991
40113
|
"AIMessageTask": {
|
|
39992
40114
|
"oneOf": [
|
|
@@ -40316,6 +40438,54 @@
|
|
|
40316
40438
|
"organization"
|
|
40317
40439
|
]
|
|
40318
40440
|
},
|
|
40441
|
+
"UserSitePermissionSiteOrigin": {
|
|
40442
|
+
"type": "object",
|
|
40443
|
+
"description": "Direct site permission origin.",
|
|
40444
|
+
"properties": {
|
|
40445
|
+
"type": {
|
|
40446
|
+
"type": "string",
|
|
40447
|
+
"enum": [
|
|
40448
|
+
"site"
|
|
40449
|
+
]
|
|
40450
|
+
},
|
|
40451
|
+
"site": {
|
|
40452
|
+
"type": "string",
|
|
40453
|
+
"description": "Unique identifier for the site"
|
|
40454
|
+
},
|
|
40455
|
+
"reason": {
|
|
40456
|
+
"type": "string",
|
|
40457
|
+
"description": "Why the permission was enforced at the site level.",
|
|
40458
|
+
"enum": [
|
|
40459
|
+
"member",
|
|
40460
|
+
"team",
|
|
40461
|
+
"default"
|
|
40462
|
+
]
|
|
40463
|
+
},
|
|
40464
|
+
"team": {
|
|
40465
|
+
"type": "string",
|
|
40466
|
+
"description": "Unique identifier for the team when the permission comes from a team override."
|
|
40467
|
+
}
|
|
40468
|
+
},
|
|
40469
|
+
"required": [
|
|
40470
|
+
"type",
|
|
40471
|
+
"site",
|
|
40472
|
+
"reason"
|
|
40473
|
+
]
|
|
40474
|
+
},
|
|
40475
|
+
"UserSitePermissionOrigin": {
|
|
40476
|
+
"description": "The origin that enforced the effective permission level for a user in a site.",
|
|
40477
|
+
"oneOf": [
|
|
40478
|
+
{
|
|
40479
|
+
"$ref": "#/components/schemas/SpacePointer"
|
|
40480
|
+
},
|
|
40481
|
+
{
|
|
40482
|
+
"$ref": "#/components/schemas/OrganizationPointer"
|
|
40483
|
+
},
|
|
40484
|
+
{
|
|
40485
|
+
"$ref": "#/components/schemas/UserSitePermissionSiteOrigin"
|
|
40486
|
+
}
|
|
40487
|
+
]
|
|
40488
|
+
},
|
|
40319
40489
|
"UserSitePermission": {
|
|
40320
40490
|
"type": "object",
|
|
40321
40491
|
"description": "Permission of a user in a site.",
|
|
@@ -40327,15 +40497,7 @@
|
|
|
40327
40497
|
"$ref": "#/components/schemas/User"
|
|
40328
40498
|
},
|
|
40329
40499
|
"origin": {
|
|
40330
|
-
"
|
|
40331
|
-
"oneOf": [
|
|
40332
|
-
{
|
|
40333
|
-
"$ref": "#/components/schemas/SpacePointer"
|
|
40334
|
-
},
|
|
40335
|
-
{
|
|
40336
|
-
"$ref": "#/components/schemas/OrganizationPointer"
|
|
40337
|
-
}
|
|
40338
|
-
]
|
|
40500
|
+
"$ref": "#/components/schemas/UserSitePermissionOrigin"
|
|
40339
40501
|
}
|
|
40340
40502
|
},
|
|
40341
40503
|
"required": [
|
|
@@ -40404,10 +40566,7 @@
|
|
|
40404
40566
|
"description": "Input version of an AI message.",
|
|
40405
40567
|
"properties": {
|
|
40406
40568
|
"role": {
|
|
40407
|
-
"
|
|
40408
|
-
"enum": [
|
|
40409
|
-
"user"
|
|
40410
|
-
]
|
|
40569
|
+
"$ref": "#/components/schemas/AIMessageRole"
|
|
40411
40570
|
},
|
|
40412
40571
|
"content": {
|
|
40413
40572
|
"oneOf": [
|
|
@@ -40554,6 +40713,34 @@
|
|
|
40554
40713
|
"messageId"
|
|
40555
40714
|
]
|
|
40556
40715
|
},
|
|
40716
|
+
"AIStreamResponseStepStart": {
|
|
40717
|
+
"type": "object",
|
|
40718
|
+
"description": "Message emitted by the server to indicate the start of a step in the AI response.\n",
|
|
40719
|
+
"properties": {
|
|
40720
|
+
"type": {
|
|
40721
|
+
"type": "string",
|
|
40722
|
+
"enum": [
|
|
40723
|
+
"response_step_start"
|
|
40724
|
+
]
|
|
40725
|
+
},
|
|
40726
|
+
"messageId": {
|
|
40727
|
+
"type": "string",
|
|
40728
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
40729
|
+
},
|
|
40730
|
+
"stepIndex": {
|
|
40731
|
+
"type": "integer",
|
|
40732
|
+
"description": "The index of the step of the message that this event is composing.\n"
|
|
40733
|
+
},
|
|
40734
|
+
"phase": {
|
|
40735
|
+
"$ref": "#/components/schemas/AIMessageStepPhase"
|
|
40736
|
+
}
|
|
40737
|
+
},
|
|
40738
|
+
"required": [
|
|
40739
|
+
"type",
|
|
40740
|
+
"messageId",
|
|
40741
|
+
"stepIndex"
|
|
40742
|
+
]
|
|
40743
|
+
},
|
|
40557
40744
|
"AIStreamResponseFinish": {
|
|
40558
40745
|
"type": "object",
|
|
40559
40746
|
"description": "Message emitted by the server to indicate the end of the AI response. It contains the ID of the response to be referenced for followup requests.\n",
|
|
@@ -40790,6 +40977,9 @@
|
|
|
40790
40977
|
{
|
|
40791
40978
|
"$ref": "#/components/schemas/AIStreamResponseStart"
|
|
40792
40979
|
},
|
|
40980
|
+
{
|
|
40981
|
+
"$ref": "#/components/schemas/AIStreamResponseStepStart"
|
|
40982
|
+
},
|
|
40793
40983
|
{
|
|
40794
40984
|
"$ref": "#/components/schemas/AIStreamResponseFinish"
|
|
40795
40985
|
},
|
|
@@ -43905,6 +44095,10 @@
|
|
|
43905
44095
|
"headers": {
|
|
43906
44096
|
"$ref": "#/components/schemas/SiteMcpServerHeaders"
|
|
43907
44097
|
},
|
|
44098
|
+
"condition": {
|
|
44099
|
+
"description": "Conditional expression used to evaluate whether the MCP server should be available to the site's visitor.",
|
|
44100
|
+
"$ref": "#/components/schemas/Expression"
|
|
44101
|
+
},
|
|
43908
44102
|
"urls": {
|
|
43909
44103
|
"type": "object",
|
|
43910
44104
|
"description": "URLs associated with the object",
|
|
@@ -43929,6 +44123,16 @@
|
|
|
43929
44123
|
"urls"
|
|
43930
44124
|
]
|
|
43931
44125
|
},
|
|
44126
|
+
"GenericChannelPattern": {
|
|
44127
|
+
"type": "string",
|
|
44128
|
+
"description": "A generic channel name or pattern. For example, \"general\" or \"support-*\".",
|
|
44129
|
+
"pattern": "^[a-zA-Z0-9_\\*-]+$"
|
|
44130
|
+
},
|
|
44131
|
+
"GitHubRepositoryPattern": {
|
|
44132
|
+
"type": "string",
|
|
44133
|
+
"description": "A GitHub repository name or pattern in the format \"owner/repository\". For example, \"my-org/my-repo\" or \"my-org/*\" to allow all repositories under \"my-org\".",
|
|
44134
|
+
"pattern": "^[a-zA-Z0-9._*-]+\\/[a-zA-Z0-9._*-]+$"
|
|
44135
|
+
},
|
|
43932
44136
|
"SiteChannelSetup": {
|
|
43933
44137
|
"oneOf": [
|
|
43934
44138
|
{
|
|
@@ -43948,8 +44152,63 @@
|
|
|
43948
44152
|
"description": "List of allowed Slack channel names or patterns. If empty, all channels are allowed.",
|
|
43949
44153
|
"type": "array",
|
|
43950
44154
|
"items": {
|
|
43951
|
-
"
|
|
43952
|
-
|
|
44155
|
+
"$ref": "#/components/schemas/GenericChannelPattern"
|
|
44156
|
+
}
|
|
44157
|
+
}
|
|
44158
|
+
}
|
|
44159
|
+
}
|
|
44160
|
+
},
|
|
44161
|
+
"required": [
|
|
44162
|
+
"type",
|
|
44163
|
+
"setupSettings"
|
|
44164
|
+
]
|
|
44165
|
+
},
|
|
44166
|
+
{
|
|
44167
|
+
"type": "object",
|
|
44168
|
+
"properties": {
|
|
44169
|
+
"type": {
|
|
44170
|
+
"type": "string",
|
|
44171
|
+
"enum": [
|
|
44172
|
+
"builtin:linear"
|
|
44173
|
+
]
|
|
44174
|
+
},
|
|
44175
|
+
"setupSettings": {
|
|
44176
|
+
"type": "object",
|
|
44177
|
+
"additionalProperties": false,
|
|
44178
|
+
"properties": {
|
|
44179
|
+
"allowedTeams": {
|
|
44180
|
+
"description": "List of allowed Linear team keys or patterns. If empty, all teams are allowed.",
|
|
44181
|
+
"type": "array",
|
|
44182
|
+
"items": {
|
|
44183
|
+
"$ref": "#/components/schemas/GenericChannelPattern"
|
|
44184
|
+
}
|
|
44185
|
+
}
|
|
44186
|
+
}
|
|
44187
|
+
}
|
|
44188
|
+
},
|
|
44189
|
+
"required": [
|
|
44190
|
+
"type",
|
|
44191
|
+
"setupSettings"
|
|
44192
|
+
]
|
|
44193
|
+
},
|
|
44194
|
+
{
|
|
44195
|
+
"type": "object",
|
|
44196
|
+
"properties": {
|
|
44197
|
+
"type": {
|
|
44198
|
+
"type": "string",
|
|
44199
|
+
"enum": [
|
|
44200
|
+
"builtin:github"
|
|
44201
|
+
]
|
|
44202
|
+
},
|
|
44203
|
+
"setupSettings": {
|
|
44204
|
+
"type": "object",
|
|
44205
|
+
"additionalProperties": false,
|
|
44206
|
+
"properties": {
|
|
44207
|
+
"allowedRepositories": {
|
|
44208
|
+
"description": "List of allowed GitHub repository names or patterns. If empty, all repositories are allowed.",
|
|
44209
|
+
"type": "array",
|
|
44210
|
+
"items": {
|
|
44211
|
+
"$ref": "#/components/schemas/GitHubRepositoryPattern"
|
|
43953
44212
|
}
|
|
43954
44213
|
}
|
|
43955
44214
|
}
|
|
@@ -43977,8 +44236,7 @@
|
|
|
43977
44236
|
"description": "List of allowed Discord channel names or patterns. If empty, all channels are allowed.",
|
|
43978
44237
|
"type": "array",
|
|
43979
44238
|
"items": {
|
|
43980
|
-
"
|
|
43981
|
-
"pattern": "^[a-zA-Z0-9_\\*-]+$"
|
|
44239
|
+
"$ref": "#/components/schemas/GenericChannelPattern"
|
|
43982
44240
|
}
|
|
43983
44241
|
}
|
|
43984
44242
|
}
|
|
@@ -47559,6 +47817,13 @@
|
|
|
47559
47817
|
"propertyName": "channel"
|
|
47560
47818
|
}
|
|
47561
47819
|
},
|
|
47820
|
+
"CustomizationThemeMode": {
|
|
47821
|
+
"type": "string",
|
|
47822
|
+
"enum": [
|
|
47823
|
+
"light",
|
|
47824
|
+
"dark"
|
|
47825
|
+
]
|
|
47826
|
+
},
|
|
47562
47827
|
"SiteAdaptiveDeterministicJSONSchemaClaimsProperties": {
|
|
47563
47828
|
"oneOf": [
|
|
47564
47829
|
{
|