@gitbook/api 0.173.0 → 0.175.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 +154 -107
- package/dist/constants.d.ts +9 -4
- package/dist/index.cjs +65 -42
- package/dist/index.js +57 -42
- package/package.json +1 -1
- package/spec/openapi.json +414 -221
- package/spec/openapi.yaml +275 -140
package/spec/openapi.json
CHANGED
|
@@ -897,69 +897,6 @@
|
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
},
|
|
900
|
-
"/spaces/{spaceId}/transfer": {
|
|
901
|
-
"post": {
|
|
902
|
-
"operationId": "transferSpace",
|
|
903
|
-
"summary": "Transfer a space",
|
|
904
|
-
"description": "Transfer a space to another organization, collection or both.",
|
|
905
|
-
"tags": [
|
|
906
|
-
"spaces"
|
|
907
|
-
],
|
|
908
|
-
"security": [
|
|
909
|
-
{
|
|
910
|
-
"user": []
|
|
911
|
-
}
|
|
912
|
-
],
|
|
913
|
-
"parameters": [
|
|
914
|
-
{
|
|
915
|
-
"$ref": "#/components/parameters/spaceId"
|
|
916
|
-
}
|
|
917
|
-
],
|
|
918
|
-
"requestBody": {
|
|
919
|
-
"required": true,
|
|
920
|
-
"content": {
|
|
921
|
-
"application/json": {
|
|
922
|
-
"schema": {
|
|
923
|
-
"type": "object",
|
|
924
|
-
"properties": {
|
|
925
|
-
"organization": {
|
|
926
|
-
"type": "string",
|
|
927
|
-
"description": "The unique id of the target organization"
|
|
928
|
-
}
|
|
929
|
-
},
|
|
930
|
-
"required": [
|
|
931
|
-
"organization"
|
|
932
|
-
]
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
},
|
|
937
|
-
"responses": {
|
|
938
|
-
"200": {
|
|
939
|
-
"description": "Space transferred",
|
|
940
|
-
"content": {
|
|
941
|
-
"application/json": {
|
|
942
|
-
"schema": {
|
|
943
|
-
"$ref": "#/components/schemas/Space"
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
},
|
|
948
|
-
"404": {
|
|
949
|
-
"description": "No matching Space found for given ID",
|
|
950
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
951
|
-
},
|
|
952
|
-
"409": {
|
|
953
|
-
"description": "Transfer would not result in any update",
|
|
954
|
-
"$ref": "#/components/responses/ConflictError"
|
|
955
|
-
},
|
|
956
|
-
"412": {
|
|
957
|
-
"description": "The space cannot be moved.",
|
|
958
|
-
"$ref": "#/components/responses/PreconditionFailedError"
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
900
|
"/spaces/{spaceId}/embed": {
|
|
964
901
|
"get": {
|
|
965
902
|
"operationId": "getEmbedByUrlInSpace",
|
|
@@ -13178,7 +13115,7 @@
|
|
|
13178
13115
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
13179
13116
|
},
|
|
13180
13117
|
"localizedTitle": {
|
|
13181
|
-
"$ref": "#/components/schemas/
|
|
13118
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
13182
13119
|
},
|
|
13183
13120
|
"icon": {
|
|
13184
13121
|
"oneOf": [
|
|
@@ -13244,108 +13181,6 @@
|
|
|
13244
13181
|
}
|
|
13245
13182
|
}
|
|
13246
13183
|
},
|
|
13247
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections": {
|
|
13248
|
-
"post": {
|
|
13249
|
-
"operationId": "addSectionToGroup",
|
|
13250
|
-
"deprecated": true,
|
|
13251
|
-
"summary": "Add a section to a section group",
|
|
13252
|
-
"tags": [
|
|
13253
|
-
"site-section-groups"
|
|
13254
|
-
],
|
|
13255
|
-
"security": [
|
|
13256
|
-
{
|
|
13257
|
-
"user": []
|
|
13258
|
-
}
|
|
13259
|
-
],
|
|
13260
|
-
"parameters": [
|
|
13261
|
-
{
|
|
13262
|
-
"$ref": "#/components/parameters/organizationId"
|
|
13263
|
-
},
|
|
13264
|
-
{
|
|
13265
|
-
"$ref": "#/components/parameters/siteId"
|
|
13266
|
-
},
|
|
13267
|
-
{
|
|
13268
|
-
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
13269
|
-
}
|
|
13270
|
-
],
|
|
13271
|
-
"requestBody": {
|
|
13272
|
-
"required": true,
|
|
13273
|
-
"content": {
|
|
13274
|
-
"application/json": {
|
|
13275
|
-
"schema": {
|
|
13276
|
-
"type": "object",
|
|
13277
|
-
"properties": {
|
|
13278
|
-
"sectionId": {
|
|
13279
|
-
"type": "string",
|
|
13280
|
-
"description": "ID of the section to add to the section group"
|
|
13281
|
-
}
|
|
13282
|
-
},
|
|
13283
|
-
"required": [
|
|
13284
|
-
"sectionId"
|
|
13285
|
-
]
|
|
13286
|
-
}
|
|
13287
|
-
}
|
|
13288
|
-
}
|
|
13289
|
-
},
|
|
13290
|
-
"responses": {
|
|
13291
|
-
"201": {
|
|
13292
|
-
"description": "Section added to the section group",
|
|
13293
|
-
"headers": {
|
|
13294
|
-
"Location": {
|
|
13295
|
-
"description": "API URL for the newly created site-section-group relationship",
|
|
13296
|
-
"schema": {
|
|
13297
|
-
"type": "string"
|
|
13298
|
-
}
|
|
13299
|
-
}
|
|
13300
|
-
},
|
|
13301
|
-
"content": {
|
|
13302
|
-
"application/json": {
|
|
13303
|
-
"schema": {
|
|
13304
|
-
"$ref": "#/components/schemas/SiteSectionGroup"
|
|
13305
|
-
}
|
|
13306
|
-
}
|
|
13307
|
-
}
|
|
13308
|
-
}
|
|
13309
|
-
}
|
|
13310
|
-
}
|
|
13311
|
-
},
|
|
13312
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}": {
|
|
13313
|
-
"delete": {
|
|
13314
|
-
"operationId": "removeSectionFromGroup",
|
|
13315
|
-
"deprecated": true,
|
|
13316
|
-
"summary": "Remove a section from a section group",
|
|
13317
|
-
"tags": [
|
|
13318
|
-
"site-section-groups"
|
|
13319
|
-
],
|
|
13320
|
-
"security": [
|
|
13321
|
-
{
|
|
13322
|
-
"user": []
|
|
13323
|
-
}
|
|
13324
|
-
],
|
|
13325
|
-
"parameters": [
|
|
13326
|
-
{
|
|
13327
|
-
"$ref": "#/components/parameters/organizationId"
|
|
13328
|
-
},
|
|
13329
|
-
{
|
|
13330
|
-
"$ref": "#/components/parameters/siteId"
|
|
13331
|
-
},
|
|
13332
|
-
{
|
|
13333
|
-
"$ref": "#/components/parameters/siteSectionGroupId"
|
|
13334
|
-
},
|
|
13335
|
-
{
|
|
13336
|
-
"$ref": "#/components/parameters/siteSectionId"
|
|
13337
|
-
}
|
|
13338
|
-
],
|
|
13339
|
-
"responses": {
|
|
13340
|
-
"204": {
|
|
13341
|
-
"description": "Section was not part of the group"
|
|
13342
|
-
},
|
|
13343
|
-
"205": {
|
|
13344
|
-
"description": "Section has been removed from the section group"
|
|
13345
|
-
}
|
|
13346
|
-
}
|
|
13347
|
-
}
|
|
13348
|
-
},
|
|
13349
13184
|
"/orgs/{organizationId}/sites/{siteId}/sections": {
|
|
13350
13185
|
"post": {
|
|
13351
13186
|
"operationId": "addSectionToSite",
|
|
@@ -13528,7 +13363,7 @@
|
|
|
13528
13363
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
13529
13364
|
},
|
|
13530
13365
|
"localizedTitle": {
|
|
13531
|
-
"$ref": "#/components/schemas/
|
|
13366
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
13532
13367
|
},
|
|
13533
13368
|
"path": {
|
|
13534
13369
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
@@ -13573,7 +13408,7 @@
|
|
|
13573
13408
|
]
|
|
13574
13409
|
},
|
|
13575
13410
|
"localizedDescription": {
|
|
13576
|
-
"$ref": "#/components/schemas/
|
|
13411
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
13577
13412
|
},
|
|
13578
13413
|
"siteSectionGroupId": {
|
|
13579
13414
|
"description": "ID of the section group to move the section into. Set to null to move the section to the root of the site.",
|
|
@@ -15208,20 +15043,53 @@
|
|
|
15208
15043
|
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15209
15044
|
}
|
|
15210
15045
|
},
|
|
15046
|
+
{
|
|
15047
|
+
"name": "relevance",
|
|
15048
|
+
"in": "query",
|
|
15049
|
+
"description": "Filter questions by question relevance.",
|
|
15050
|
+
"schema": {
|
|
15051
|
+
"type": "array",
|
|
15052
|
+
"items": {
|
|
15053
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15054
|
+
}
|
|
15055
|
+
}
|
|
15056
|
+
},
|
|
15211
15057
|
{
|
|
15212
15058
|
"name": "answered",
|
|
15213
15059
|
"in": "query",
|
|
15214
15060
|
"description": "Filter questions by answer resolution.",
|
|
15215
15061
|
"schema": {
|
|
15216
|
-
"
|
|
15062
|
+
"type": "array",
|
|
15063
|
+
"items": {
|
|
15064
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15065
|
+
}
|
|
15217
15066
|
}
|
|
15218
15067
|
},
|
|
15219
15068
|
{
|
|
15220
15069
|
"name": "topic",
|
|
15221
15070
|
"in": "query",
|
|
15222
|
-
"description": "Filter questions by associated site topic
|
|
15071
|
+
"description": "Filter questions by associated site topic IDs.",
|
|
15223
15072
|
"schema": {
|
|
15224
|
-
"type": "
|
|
15073
|
+
"type": "array",
|
|
15074
|
+
"items": {
|
|
15075
|
+
"type": "string"
|
|
15076
|
+
}
|
|
15077
|
+
}
|
|
15078
|
+
},
|
|
15079
|
+
{
|
|
15080
|
+
"$ref": "#/components/parameters/listOrder"
|
|
15081
|
+
},
|
|
15082
|
+
{
|
|
15083
|
+
"name": "sort",
|
|
15084
|
+
"in": "query",
|
|
15085
|
+
"description": "Sort questions by latest ask activity, answered rate, or positive feedback rate. If omitted, ordering stays on canonical question creation date to preserve current behavior.",
|
|
15086
|
+
"schema": {
|
|
15087
|
+
"type": "string",
|
|
15088
|
+
"enum": [
|
|
15089
|
+
"askedAt",
|
|
15090
|
+
"stats.answered",
|
|
15091
|
+
"stats.feedback"
|
|
15092
|
+
]
|
|
15225
15093
|
}
|
|
15226
15094
|
},
|
|
15227
15095
|
{
|
|
@@ -15284,6 +15152,44 @@
|
|
|
15284
15152
|
},
|
|
15285
15153
|
{
|
|
15286
15154
|
"$ref": "#/components/parameters/siteQuestionId"
|
|
15155
|
+
},
|
|
15156
|
+
{
|
|
15157
|
+
"name": "from",
|
|
15158
|
+
"in": "query",
|
|
15159
|
+
"description": "Filter stats to answers created at or after this timestamp.",
|
|
15160
|
+
"schema": {
|
|
15161
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15162
|
+
}
|
|
15163
|
+
},
|
|
15164
|
+
{
|
|
15165
|
+
"name": "to",
|
|
15166
|
+
"in": "query",
|
|
15167
|
+
"description": "Filter stats to answers created at or before this timestamp.",
|
|
15168
|
+
"schema": {
|
|
15169
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15170
|
+
}
|
|
15171
|
+
},
|
|
15172
|
+
{
|
|
15173
|
+
"name": "relevance",
|
|
15174
|
+
"in": "query",
|
|
15175
|
+
"description": "Filter stats by question relevance.",
|
|
15176
|
+
"schema": {
|
|
15177
|
+
"type": "array",
|
|
15178
|
+
"items": {
|
|
15179
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15180
|
+
}
|
|
15181
|
+
}
|
|
15182
|
+
},
|
|
15183
|
+
{
|
|
15184
|
+
"name": "answered",
|
|
15185
|
+
"in": "query",
|
|
15186
|
+
"description": "Filter stats by answer resolution.",
|
|
15187
|
+
"schema": {
|
|
15188
|
+
"type": "array",
|
|
15189
|
+
"items": {
|
|
15190
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15191
|
+
}
|
|
15192
|
+
}
|
|
15287
15193
|
}
|
|
15288
15194
|
],
|
|
15289
15195
|
"responses": {
|
|
@@ -15327,6 +15233,44 @@
|
|
|
15327
15233
|
},
|
|
15328
15234
|
{
|
|
15329
15235
|
"$ref": "#/components/parameters/listLimit"
|
|
15236
|
+
},
|
|
15237
|
+
{
|
|
15238
|
+
"name": "from",
|
|
15239
|
+
"in": "query",
|
|
15240
|
+
"description": "Filter sources to answers created at or after this timestamp.",
|
|
15241
|
+
"schema": {
|
|
15242
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15243
|
+
}
|
|
15244
|
+
},
|
|
15245
|
+
{
|
|
15246
|
+
"name": "to",
|
|
15247
|
+
"in": "query",
|
|
15248
|
+
"description": "Filter sources to answers created at or before this timestamp.",
|
|
15249
|
+
"schema": {
|
|
15250
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15251
|
+
}
|
|
15252
|
+
},
|
|
15253
|
+
{
|
|
15254
|
+
"name": "relevance",
|
|
15255
|
+
"in": "query",
|
|
15256
|
+
"description": "Filter answer sources by question relevance.",
|
|
15257
|
+
"schema": {
|
|
15258
|
+
"type": "array",
|
|
15259
|
+
"items": {
|
|
15260
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15261
|
+
}
|
|
15262
|
+
}
|
|
15263
|
+
},
|
|
15264
|
+
{
|
|
15265
|
+
"name": "answered",
|
|
15266
|
+
"in": "query",
|
|
15267
|
+
"description": "Filter answer sources by answer resolution.",
|
|
15268
|
+
"schema": {
|
|
15269
|
+
"type": "array",
|
|
15270
|
+
"items": {
|
|
15271
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15272
|
+
}
|
|
15273
|
+
}
|
|
15330
15274
|
}
|
|
15331
15275
|
],
|
|
15332
15276
|
"responses": {
|
|
@@ -15417,6 +15361,17 @@
|
|
|
15417
15361
|
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15418
15362
|
}
|
|
15419
15363
|
}
|
|
15364
|
+
},
|
|
15365
|
+
{
|
|
15366
|
+
"name": "answered",
|
|
15367
|
+
"in": "query",
|
|
15368
|
+
"description": "Filter stats by answer resolution.",
|
|
15369
|
+
"schema": {
|
|
15370
|
+
"type": "array",
|
|
15371
|
+
"items": {
|
|
15372
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15373
|
+
}
|
|
15374
|
+
}
|
|
15420
15375
|
}
|
|
15421
15376
|
],
|
|
15422
15377
|
"responses": {
|
|
@@ -15460,6 +15415,22 @@
|
|
|
15460
15415
|
"type": "string"
|
|
15461
15416
|
}
|
|
15462
15417
|
},
|
|
15418
|
+
{
|
|
15419
|
+
"name": "from",
|
|
15420
|
+
"in": "query",
|
|
15421
|
+
"description": "Filter answers created at or after this timestamp.",
|
|
15422
|
+
"schema": {
|
|
15423
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15424
|
+
}
|
|
15425
|
+
},
|
|
15426
|
+
{
|
|
15427
|
+
"name": "to",
|
|
15428
|
+
"in": "query",
|
|
15429
|
+
"description": "Filter answers created at or before this timestamp.",
|
|
15430
|
+
"schema": {
|
|
15431
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
15432
|
+
}
|
|
15433
|
+
},
|
|
15463
15434
|
{
|
|
15464
15435
|
"name": "language",
|
|
15465
15436
|
"in": "query",
|
|
@@ -15473,7 +15444,10 @@
|
|
|
15473
15444
|
"in": "query",
|
|
15474
15445
|
"description": "Filter answers by answered resolution.",
|
|
15475
15446
|
"schema": {
|
|
15476
|
-
"
|
|
15447
|
+
"type": "array",
|
|
15448
|
+
"items": {
|
|
15449
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15450
|
+
}
|
|
15477
15451
|
}
|
|
15478
15452
|
},
|
|
15479
15453
|
{
|
|
@@ -15489,7 +15463,10 @@
|
|
|
15489
15463
|
"in": "query",
|
|
15490
15464
|
"description": "Filter answers by question relevance.",
|
|
15491
15465
|
"schema": {
|
|
15492
|
-
"
|
|
15466
|
+
"type": "array",
|
|
15467
|
+
"items": {
|
|
15468
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15469
|
+
}
|
|
15493
15470
|
}
|
|
15494
15471
|
},
|
|
15495
15472
|
{
|
|
@@ -15886,7 +15863,7 @@
|
|
|
15886
15863
|
"description": "Localized titles for the site variant, keyed by locale. If not defined, the localized title will not be changed. If set to null, all localized titles will be removed.",
|
|
15887
15864
|
"oneOf": [
|
|
15888
15865
|
{
|
|
15889
|
-
"$ref": "#/components/schemas/
|
|
15866
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
15890
15867
|
},
|
|
15891
15868
|
{
|
|
15892
15869
|
"type": "null"
|
|
@@ -16238,7 +16215,7 @@
|
|
|
16238
16215
|
"description": "The theme mode default value. Set to null to reset the override.",
|
|
16239
16216
|
"oneOf": [
|
|
16240
16217
|
{
|
|
16241
|
-
"$ref": "#/components/schemas/
|
|
16218
|
+
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
16242
16219
|
},
|
|
16243
16220
|
{
|
|
16244
16221
|
"type": "null"
|
|
@@ -18245,8 +18222,8 @@
|
|
|
18245
18222
|
{
|
|
18246
18223
|
"type": "object",
|
|
18247
18224
|
"properties": {
|
|
18248
|
-
"
|
|
18249
|
-
"$ref": "#/components/schemas/
|
|
18225
|
+
"role": {
|
|
18226
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
18250
18227
|
}
|
|
18251
18228
|
}
|
|
18252
18229
|
}
|
|
@@ -18305,6 +18282,63 @@
|
|
|
18305
18282
|
}
|
|
18306
18283
|
}
|
|
18307
18284
|
},
|
|
18285
|
+
"patch": {
|
|
18286
|
+
"operationId": "updateSiteChannelById",
|
|
18287
|
+
"summary": "Update a site channel",
|
|
18288
|
+
"tags": [
|
|
18289
|
+
"site-channels"
|
|
18290
|
+
],
|
|
18291
|
+
"security": [
|
|
18292
|
+
{
|
|
18293
|
+
"user": []
|
|
18294
|
+
}
|
|
18295
|
+
],
|
|
18296
|
+
"parameters": [
|
|
18297
|
+
{
|
|
18298
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18299
|
+
},
|
|
18300
|
+
{
|
|
18301
|
+
"$ref": "#/components/parameters/siteId"
|
|
18302
|
+
},
|
|
18303
|
+
{
|
|
18304
|
+
"$ref": "#/components/parameters/siteChannelId"
|
|
18305
|
+
}
|
|
18306
|
+
],
|
|
18307
|
+
"requestBody": {
|
|
18308
|
+
"required": true,
|
|
18309
|
+
"content": {
|
|
18310
|
+
"application/json": {
|
|
18311
|
+
"schema": {
|
|
18312
|
+
"anyOf": [
|
|
18313
|
+
{
|
|
18314
|
+
"$ref": "#/components/schemas/SiteChannelSetup"
|
|
18315
|
+
},
|
|
18316
|
+
{
|
|
18317
|
+
"type": "object",
|
|
18318
|
+
"properties": {
|
|
18319
|
+
"role": {
|
|
18320
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
18321
|
+
}
|
|
18322
|
+
}
|
|
18323
|
+
}
|
|
18324
|
+
]
|
|
18325
|
+
}
|
|
18326
|
+
}
|
|
18327
|
+
}
|
|
18328
|
+
},
|
|
18329
|
+
"responses": {
|
|
18330
|
+
"200": {
|
|
18331
|
+
"description": "OK",
|
|
18332
|
+
"content": {
|
|
18333
|
+
"application/json": {
|
|
18334
|
+
"schema": {
|
|
18335
|
+
"$ref": "#/components/schemas/SiteChannel"
|
|
18336
|
+
}
|
|
18337
|
+
}
|
|
18338
|
+
}
|
|
18339
|
+
}
|
|
18340
|
+
}
|
|
18341
|
+
},
|
|
18308
18342
|
"delete": {
|
|
18309
18343
|
"operationId": "deleteSiteChannelById",
|
|
18310
18344
|
"summary": "Delete a site channel",
|
|
@@ -26666,6 +26700,28 @@
|
|
|
26666
26700
|
"type": "number",
|
|
26667
26701
|
"description": "Count of opened comments on the change request."
|
|
26668
26702
|
},
|
|
26703
|
+
"siteTopic": {
|
|
26704
|
+
"type": "object",
|
|
26705
|
+
"description": "Site context associated with the change request when it was created from a site topic or finding.",
|
|
26706
|
+
"properties": {
|
|
26707
|
+
"site": {
|
|
26708
|
+
"type": "string",
|
|
26709
|
+
"description": "ID of the site associated with the change request."
|
|
26710
|
+
},
|
|
26711
|
+
"topic": {
|
|
26712
|
+
"type": "string",
|
|
26713
|
+
"description": "ID of the site topic associated with the change request."
|
|
26714
|
+
},
|
|
26715
|
+
"finding": {
|
|
26716
|
+
"type": "string",
|
|
26717
|
+
"description": "ID of the site finding associated with the change request, when applicable."
|
|
26718
|
+
}
|
|
26719
|
+
},
|
|
26720
|
+
"required": [
|
|
26721
|
+
"site",
|
|
26722
|
+
"topic"
|
|
26723
|
+
]
|
|
26724
|
+
},
|
|
26669
26725
|
"outdated": {
|
|
26670
26726
|
"type": "boolean",
|
|
26671
26727
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
@@ -33375,9 +33431,9 @@
|
|
|
33375
33431
|
"minLength": 2,
|
|
33376
33432
|
"maxLength": 128
|
|
33377
33433
|
},
|
|
33378
|
-
"
|
|
33434
|
+
"LocalizedString128": {
|
|
33379
33435
|
"type": "object",
|
|
33380
|
-
"description": "Localized
|
|
33436
|
+
"description": "Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
33381
33437
|
"additionalProperties": {
|
|
33382
33438
|
"type": "string",
|
|
33383
33439
|
"maxLength": 128
|
|
@@ -33392,9 +33448,9 @@
|
|
|
33392
33448
|
"minLength": 0,
|
|
33393
33449
|
"maxLength": 256
|
|
33394
33450
|
},
|
|
33395
|
-
"
|
|
33451
|
+
"LocalizedString256": {
|
|
33396
33452
|
"type": "object",
|
|
33397
|
-
"description": "Localized
|
|
33453
|
+
"description": "Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
33398
33454
|
"additionalProperties": {
|
|
33399
33455
|
"type": "string",
|
|
33400
33456
|
"maxLength": 256
|
|
@@ -33443,7 +33499,7 @@
|
|
|
33443
33499
|
"type": "string"
|
|
33444
33500
|
},
|
|
33445
33501
|
"localizedTitle": {
|
|
33446
|
-
"$ref": "#/components/schemas/
|
|
33502
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33447
33503
|
},
|
|
33448
33504
|
"default": {
|
|
33449
33505
|
"type": "boolean",
|
|
@@ -33505,13 +33561,13 @@
|
|
|
33505
33561
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
33506
33562
|
},
|
|
33507
33563
|
"localizedTitle": {
|
|
33508
|
-
"$ref": "#/components/schemas/
|
|
33564
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33509
33565
|
},
|
|
33510
33566
|
"description": {
|
|
33511
33567
|
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
33512
33568
|
},
|
|
33513
33569
|
"localizedDescription": {
|
|
33514
|
-
"$ref": "#/components/schemas/
|
|
33570
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
33515
33571
|
},
|
|
33516
33572
|
"default": {
|
|
33517
33573
|
"type": "boolean",
|
|
@@ -33587,7 +33643,7 @@
|
|
|
33587
33643
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
33588
33644
|
},
|
|
33589
33645
|
"localizedTitle": {
|
|
33590
|
-
"$ref": "#/components/schemas/
|
|
33646
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33591
33647
|
},
|
|
33592
33648
|
"sections": {
|
|
33593
33649
|
"type": "array",
|
|
@@ -36552,16 +36608,41 @@
|
|
|
36552
36608
|
"none"
|
|
36553
36609
|
]
|
|
36554
36610
|
},
|
|
36611
|
+
"LocalizedString": {
|
|
36612
|
+
"type": "object",
|
|
36613
|
+
"description": "Localized string value, keyed by locale. Contains overrides for non-default languages only.",
|
|
36614
|
+
"propertyNames": {
|
|
36615
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
36616
|
+
},
|
|
36617
|
+
"additionalProperties": {
|
|
36618
|
+
"type": "string"
|
|
36619
|
+
}
|
|
36620
|
+
},
|
|
36555
36621
|
"CustomizationContentLinkTitle": {
|
|
36556
36622
|
"type": "string",
|
|
36557
36623
|
"maxLength": 64
|
|
36558
36624
|
},
|
|
36625
|
+
"LocalizedString64": {
|
|
36626
|
+
"type": "object",
|
|
36627
|
+
"description": "Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
36628
|
+
"additionalProperties": {
|
|
36629
|
+
"type": "string",
|
|
36630
|
+
"maxLength": 64
|
|
36631
|
+
},
|
|
36632
|
+
"propertyNames": {
|
|
36633
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
36634
|
+
}
|
|
36635
|
+
},
|
|
36559
36636
|
"CustomizationContentLink": {
|
|
36560
36637
|
"type": "object",
|
|
36561
36638
|
"properties": {
|
|
36562
36639
|
"title": {
|
|
36563
36640
|
"$ref": "#/components/schemas/CustomizationContentLinkTitle"
|
|
36564
36641
|
},
|
|
36642
|
+
"localizedTitle": {
|
|
36643
|
+
"description": "Localized overrides for the link title, keyed by locale.",
|
|
36644
|
+
"$ref": "#/components/schemas/LocalizedString64"
|
|
36645
|
+
},
|
|
36565
36646
|
"to": {
|
|
36566
36647
|
"$ref": "#/components/schemas/ContentRef"
|
|
36567
36648
|
}
|
|
@@ -36577,6 +36658,10 @@
|
|
|
36577
36658
|
"title": {
|
|
36578
36659
|
"type": "string"
|
|
36579
36660
|
},
|
|
36661
|
+
"localizedTitle": {
|
|
36662
|
+
"description": "Localized overrides for the header item title, keyed by locale.",
|
|
36663
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
36664
|
+
},
|
|
36580
36665
|
"style": {
|
|
36581
36666
|
"type": "string",
|
|
36582
36667
|
"enum": [
|
|
@@ -36618,6 +36703,10 @@
|
|
|
36618
36703
|
"title": {
|
|
36619
36704
|
"type": "string"
|
|
36620
36705
|
},
|
|
36706
|
+
"localizedTitle": {
|
|
36707
|
+
"description": "Localized overrides for the footer group title, keyed by locale.",
|
|
36708
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
36709
|
+
},
|
|
36621
36710
|
"links": {
|
|
36622
36711
|
"type": "array",
|
|
36623
36712
|
"items": {
|
|
@@ -36646,6 +36735,10 @@
|
|
|
36646
36735
|
"message": {
|
|
36647
36736
|
"$ref": "#/components/schemas/CustomizationAnnouncementMessage"
|
|
36648
36737
|
},
|
|
36738
|
+
"localizedMessage": {
|
|
36739
|
+
"description": "Localized overrides for the announcement message, keyed by locale.",
|
|
36740
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
36741
|
+
},
|
|
36649
36742
|
"link": {
|
|
36650
36743
|
"description": "The content or URL the announcement links to when clicked.",
|
|
36651
36744
|
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
@@ -36667,11 +36760,12 @@
|
|
|
36667
36760
|
"style"
|
|
36668
36761
|
]
|
|
36669
36762
|
},
|
|
36670
|
-
"
|
|
36763
|
+
"CustomizationDefaultThemeMode": {
|
|
36671
36764
|
"type": "string",
|
|
36672
36765
|
"enum": [
|
|
36673
36766
|
"light",
|
|
36674
|
-
"dark"
|
|
36767
|
+
"dark",
|
|
36768
|
+
"system"
|
|
36675
36769
|
]
|
|
36676
36770
|
},
|
|
36677
36771
|
"CustomizationAIMode": {
|
|
@@ -36779,7 +36873,7 @@
|
|
|
36779
36873
|
},
|
|
36780
36874
|
"localizedTitle": {
|
|
36781
36875
|
"description": "Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.",
|
|
36782
|
-
"$ref": "#/components/schemas/
|
|
36876
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
36783
36877
|
},
|
|
36784
36878
|
"styling": {
|
|
36785
36879
|
"type": "object",
|
|
@@ -36959,7 +37053,7 @@
|
|
|
36959
37053
|
"type": "object",
|
|
36960
37054
|
"properties": {
|
|
36961
37055
|
"default": {
|
|
36962
|
-
"$ref": "#/components/schemas/
|
|
37056
|
+
"$ref": "#/components/schemas/CustomizationDefaultThemeMode"
|
|
36963
37057
|
},
|
|
36964
37058
|
"toggeable": {
|
|
36965
37059
|
"description": "Should the reader be able to switch between dark and light mode",
|
|
@@ -38180,6 +38274,9 @@
|
|
|
38180
38274
|
"createdAt": {
|
|
38181
38275
|
"$ref": "#/components/schemas/Timestamp"
|
|
38182
38276
|
},
|
|
38277
|
+
"askedAt": {
|
|
38278
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
38279
|
+
},
|
|
38183
38280
|
"stats": {
|
|
38184
38281
|
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
38185
38282
|
},
|
|
@@ -38204,6 +38301,7 @@
|
|
|
38204
38301
|
"question",
|
|
38205
38302
|
"type",
|
|
38206
38303
|
"createdAt",
|
|
38304
|
+
"askedAt",
|
|
38207
38305
|
"stats",
|
|
38208
38306
|
"urls"
|
|
38209
38307
|
]
|
|
@@ -38644,6 +38742,16 @@
|
|
|
38644
38742
|
"urls"
|
|
38645
38743
|
]
|
|
38646
38744
|
},
|
|
38745
|
+
"SiteQuestionAnswerRelevance": {
|
|
38746
|
+
"type": "string",
|
|
38747
|
+
"description": "Relevance classification of the user question.",
|
|
38748
|
+
"enum": [
|
|
38749
|
+
"relevant",
|
|
38750
|
+
"spam",
|
|
38751
|
+
"off-topic",
|
|
38752
|
+
"unclear"
|
|
38753
|
+
]
|
|
38754
|
+
},
|
|
38647
38755
|
"SiteQuestionAnswerResolution": {
|
|
38648
38756
|
"type": "string",
|
|
38649
38757
|
"description": "Whether the response answered the question.",
|
|
@@ -38777,16 +38885,6 @@
|
|
|
38777
38885
|
"propertyName": "type"
|
|
38778
38886
|
}
|
|
38779
38887
|
},
|
|
38780
|
-
"SiteQuestionAnswerRelevance": {
|
|
38781
|
-
"type": "string",
|
|
38782
|
-
"description": "Relevance classification of the user question.",
|
|
38783
|
-
"enum": [
|
|
38784
|
-
"relevant",
|
|
38785
|
-
"spam",
|
|
38786
|
-
"off-topic",
|
|
38787
|
-
"unclear"
|
|
38788
|
-
]
|
|
38789
|
-
},
|
|
38790
38888
|
"SiteQuestionAnswerHelpfulness": {
|
|
38791
38889
|
"type": "string",
|
|
38792
38890
|
"description": "Helpfulness of the response for the end user need.",
|
|
@@ -38826,7 +38924,8 @@
|
|
|
38826
38924
|
"type": "string",
|
|
38827
38925
|
"enum": [
|
|
38828
38926
|
"builtin:slack",
|
|
38829
|
-
"builtin:discord"
|
|
38927
|
+
"builtin:discord",
|
|
38928
|
+
"builtin:github"
|
|
38830
38929
|
]
|
|
38831
38930
|
},
|
|
38832
38931
|
"SiteQuestionAnswer": {
|
|
@@ -39010,8 +39109,7 @@
|
|
|
39010
39109
|
"type": "string",
|
|
39011
39110
|
"enum": [
|
|
39012
39111
|
"user",
|
|
39013
|
-
"assistant"
|
|
39014
|
-
"developer"
|
|
39112
|
+
"assistant"
|
|
39015
39113
|
]
|
|
39016
39114
|
},
|
|
39017
39115
|
"AIToolCallGetPageContent": {
|
|
@@ -40306,10 +40404,7 @@
|
|
|
40306
40404
|
"description": "Input version of an AI message.",
|
|
40307
40405
|
"properties": {
|
|
40308
40406
|
"role": {
|
|
40309
|
-
"
|
|
40310
|
-
"enum": [
|
|
40311
|
-
"user"
|
|
40312
|
-
]
|
|
40407
|
+
"$ref": "#/components/schemas/AIMessageRole"
|
|
40313
40408
|
},
|
|
40314
40409
|
"content": {
|
|
40315
40410
|
"oneOf": [
|
|
@@ -43831,6 +43926,16 @@
|
|
|
43831
43926
|
"urls"
|
|
43832
43927
|
]
|
|
43833
43928
|
},
|
|
43929
|
+
"GenericChannelPattern": {
|
|
43930
|
+
"type": "string",
|
|
43931
|
+
"description": "A generic channel name or pattern. For example, \"general\" or \"support-*\".",
|
|
43932
|
+
"pattern": "^[a-zA-Z0-9_\\*-]+$"
|
|
43933
|
+
},
|
|
43934
|
+
"GitHubRepositoryPattern": {
|
|
43935
|
+
"type": "string",
|
|
43936
|
+
"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\".",
|
|
43937
|
+
"pattern": "^[a-zA-Z0-9._*-]+\\/[a-zA-Z0-9._*-]+$"
|
|
43938
|
+
},
|
|
43834
43939
|
"SiteChannelSetup": {
|
|
43835
43940
|
"oneOf": [
|
|
43836
43941
|
{
|
|
@@ -43844,7 +43949,44 @@
|
|
|
43844
43949
|
},
|
|
43845
43950
|
"setupSettings": {
|
|
43846
43951
|
"type": "object",
|
|
43847
|
-
"additionalProperties": false
|
|
43952
|
+
"additionalProperties": false,
|
|
43953
|
+
"properties": {
|
|
43954
|
+
"allowedChannels": {
|
|
43955
|
+
"description": "List of allowed Slack channel names or patterns. If empty, all channels are allowed.",
|
|
43956
|
+
"type": "array",
|
|
43957
|
+
"items": {
|
|
43958
|
+
"$ref": "#/components/schemas/GenericChannelPattern"
|
|
43959
|
+
}
|
|
43960
|
+
}
|
|
43961
|
+
}
|
|
43962
|
+
}
|
|
43963
|
+
},
|
|
43964
|
+
"required": [
|
|
43965
|
+
"type",
|
|
43966
|
+
"setupSettings"
|
|
43967
|
+
]
|
|
43968
|
+
},
|
|
43969
|
+
{
|
|
43970
|
+
"type": "object",
|
|
43971
|
+
"properties": {
|
|
43972
|
+
"type": {
|
|
43973
|
+
"type": "string",
|
|
43974
|
+
"enum": [
|
|
43975
|
+
"builtin:github"
|
|
43976
|
+
]
|
|
43977
|
+
},
|
|
43978
|
+
"setupSettings": {
|
|
43979
|
+
"type": "object",
|
|
43980
|
+
"additionalProperties": false,
|
|
43981
|
+
"properties": {
|
|
43982
|
+
"allowedRepositories": {
|
|
43983
|
+
"description": "List of allowed GitHub repository names or patterns. If empty, all repositories are allowed.",
|
|
43984
|
+
"type": "array",
|
|
43985
|
+
"items": {
|
|
43986
|
+
"$ref": "#/components/schemas/GitHubRepositoryPattern"
|
|
43987
|
+
}
|
|
43988
|
+
}
|
|
43989
|
+
}
|
|
43848
43990
|
}
|
|
43849
43991
|
},
|
|
43850
43992
|
"required": [
|
|
@@ -43863,7 +44005,16 @@
|
|
|
43863
44005
|
},
|
|
43864
44006
|
"setupSettings": {
|
|
43865
44007
|
"type": "object",
|
|
43866
|
-
"additionalProperties": false
|
|
44008
|
+
"additionalProperties": false,
|
|
44009
|
+
"properties": {
|
|
44010
|
+
"allowedChannels": {
|
|
44011
|
+
"description": "List of allowed Discord channel names or patterns. If empty, all channels are allowed.",
|
|
44012
|
+
"type": "array",
|
|
44013
|
+
"items": {
|
|
44014
|
+
"$ref": "#/components/schemas/GenericChannelPattern"
|
|
44015
|
+
}
|
|
44016
|
+
}
|
|
44017
|
+
}
|
|
43867
44018
|
}
|
|
43868
44019
|
},
|
|
43869
44020
|
"required": [
|
|
@@ -43873,10 +44024,19 @@
|
|
|
43873
44024
|
}
|
|
43874
44025
|
]
|
|
43875
44026
|
},
|
|
43876
|
-
"
|
|
43877
|
-
"type": "
|
|
43878
|
-
"
|
|
43879
|
-
|
|
44027
|
+
"SiteChannelStatus": {
|
|
44028
|
+
"type": "string",
|
|
44029
|
+
"enum": [
|
|
44030
|
+
"active",
|
|
44031
|
+
"pending"
|
|
44032
|
+
]
|
|
44033
|
+
},
|
|
44034
|
+
"SiteChannelRole": {
|
|
44035
|
+
"type": "string",
|
|
44036
|
+
"enum": [
|
|
44037
|
+
"collaborator",
|
|
44038
|
+
"support"
|
|
44039
|
+
]
|
|
43880
44040
|
},
|
|
43881
44041
|
"SiteChannel": {
|
|
43882
44042
|
"allOf": [
|
|
@@ -43896,14 +44056,17 @@
|
|
|
43896
44056
|
"type": "string",
|
|
43897
44057
|
"description": "Unique identifier for the site channel."
|
|
43898
44058
|
},
|
|
44059
|
+
"status": {
|
|
44060
|
+
"$ref": "#/components/schemas/SiteChannelStatus"
|
|
44061
|
+
},
|
|
44062
|
+
"role": {
|
|
44063
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
44064
|
+
},
|
|
43899
44065
|
"answers": {
|
|
43900
44066
|
"type": "integer",
|
|
43901
44067
|
"minimum": 0,
|
|
43902
44068
|
"description": "Number of answers linked to this channel."
|
|
43903
44069
|
},
|
|
43904
|
-
"usageSettings": {
|
|
43905
|
-
"$ref": "#/components/schemas/SiteChannelUsageSettings"
|
|
43906
|
-
},
|
|
43907
44070
|
"createdAt": {
|
|
43908
44071
|
"$ref": "#/components/schemas/Timestamp"
|
|
43909
44072
|
},
|
|
@@ -43924,8 +44087,9 @@
|
|
|
43924
44087
|
"required": [
|
|
43925
44088
|
"object",
|
|
43926
44089
|
"id",
|
|
44090
|
+
"status",
|
|
44091
|
+
"role",
|
|
43927
44092
|
"answers",
|
|
43928
|
-
"usageSettings",
|
|
43929
44093
|
"createdAt",
|
|
43930
44094
|
"urls"
|
|
43931
44095
|
]
|
|
@@ -46594,6 +46758,25 @@
|
|
|
46594
46758
|
"site"
|
|
46595
46759
|
]
|
|
46596
46760
|
},
|
|
46761
|
+
"APIChannelSiteChannels": {
|
|
46762
|
+
"type": "object",
|
|
46763
|
+
"description": "Subscription channel for changes in site channels.",
|
|
46764
|
+
"properties": {
|
|
46765
|
+
"channel": {
|
|
46766
|
+
"type": "string",
|
|
46767
|
+
"enum": [
|
|
46768
|
+
"site-channels"
|
|
46769
|
+
]
|
|
46770
|
+
},
|
|
46771
|
+
"site": {
|
|
46772
|
+
"type": "string"
|
|
46773
|
+
}
|
|
46774
|
+
},
|
|
46775
|
+
"required": [
|
|
46776
|
+
"channel",
|
|
46777
|
+
"site"
|
|
46778
|
+
]
|
|
46779
|
+
},
|
|
46597
46780
|
"APIChannelSiteContext": {
|
|
46598
46781
|
"type": "object",
|
|
46599
46782
|
"description": "Subscription channel for changes in site context.",
|
|
@@ -47149,6 +47332,9 @@
|
|
|
47149
47332
|
{
|
|
47150
47333
|
"$ref": "#/components/schemas/APIChannelSite"
|
|
47151
47334
|
},
|
|
47335
|
+
{
|
|
47336
|
+
"$ref": "#/components/schemas/APIChannelSiteChannels"
|
|
47337
|
+
},
|
|
47152
47338
|
{
|
|
47153
47339
|
"$ref": "#/components/schemas/APIChannelSiteContext"
|
|
47154
47340
|
},
|
|
@@ -47406,6 +47592,13 @@
|
|
|
47406
47592
|
"propertyName": "channel"
|
|
47407
47593
|
}
|
|
47408
47594
|
},
|
|
47595
|
+
"CustomizationThemeMode": {
|
|
47596
|
+
"type": "string",
|
|
47597
|
+
"enum": [
|
|
47598
|
+
"light",
|
|
47599
|
+
"dark"
|
|
47600
|
+
]
|
|
47601
|
+
},
|
|
47409
47602
|
"SiteAdaptiveDeterministicJSONSchemaClaimsProperties": {
|
|
47410
47603
|
"oneOf": [
|
|
47411
47604
|
{
|
|
@@ -47675,14 +47868,14 @@
|
|
|
47675
47868
|
"actor"
|
|
47676
47869
|
]
|
|
47677
47870
|
},
|
|
47678
|
-
"
|
|
47871
|
+
"LocalizedContentRef": {
|
|
47872
|
+
"description": "Localized content reference, keyed by locale. Contains overrides for non-default languages only.",
|
|
47679
47873
|
"type": "object",
|
|
47680
|
-
"
|
|
47874
|
+
"additionalProperties": {
|
|
47875
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
47876
|
+
},
|
|
47681
47877
|
"propertyNames": {
|
|
47682
47878
|
"$ref": "#/components/schemas/TranslationLanguage"
|
|
47683
|
-
},
|
|
47684
|
-
"additionalProperties": {
|
|
47685
|
-
"type": "string"
|
|
47686
47879
|
}
|
|
47687
47880
|
},
|
|
47688
47881
|
"RequestSpaceTrackPageView": {
|