@gitbook/api 0.172.0 → 0.174.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 +238 -91
- package/dist/constants.d.ts +6 -1
- package/dist/index.cjs +84 -17
- package/dist/index.js +74 -17
- package/package.json +1 -1
- package/spec/openapi.json +600 -107
- package/spec/openapi.yaml +406 -77
package/spec/openapi.json
CHANGED
|
@@ -112,6 +112,13 @@
|
|
|
112
112
|
"x-parent": "sites",
|
|
113
113
|
"description": "Update your site's branding, styling, and layout to match your organization's identity. This includes theming elements like color palette, logos, and more.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteCustomizationSettings\" grouped=\"false\" %}\n The SiteCustomizationSettings object\n{% endopenapi-schemas %}\n"
|
|
114
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"name": "site-agent-settings",
|
|
117
|
+
"x-page-title": "Site agent settings",
|
|
118
|
+
"x-page-description": "Configure site-specific issue remediation behavior and agent instructions.",
|
|
119
|
+
"x-parent": "sites",
|
|
120
|
+
"description": "Configure how site issue remediation should behave and provide site-specific instructions for the editing and topic analyst agents.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"SiteAgentSettings\" grouped=\"false\" %}\n The SiteAgentSettings object\n{% endopenapi-schemas %}\n"
|
|
121
|
+
},
|
|
115
122
|
{
|
|
116
123
|
"name": "site-spaces",
|
|
117
124
|
"x-page-title": "Site spaces",
|
|
@@ -890,69 +897,6 @@
|
|
|
890
897
|
}
|
|
891
898
|
}
|
|
892
899
|
},
|
|
893
|
-
"/spaces/{spaceId}/transfer": {
|
|
894
|
-
"post": {
|
|
895
|
-
"operationId": "transferSpace",
|
|
896
|
-
"summary": "Transfer a space",
|
|
897
|
-
"description": "Transfer a space to another organization, collection or both.",
|
|
898
|
-
"tags": [
|
|
899
|
-
"spaces"
|
|
900
|
-
],
|
|
901
|
-
"security": [
|
|
902
|
-
{
|
|
903
|
-
"user": []
|
|
904
|
-
}
|
|
905
|
-
],
|
|
906
|
-
"parameters": [
|
|
907
|
-
{
|
|
908
|
-
"$ref": "#/components/parameters/spaceId"
|
|
909
|
-
}
|
|
910
|
-
],
|
|
911
|
-
"requestBody": {
|
|
912
|
-
"required": true,
|
|
913
|
-
"content": {
|
|
914
|
-
"application/json": {
|
|
915
|
-
"schema": {
|
|
916
|
-
"type": "object",
|
|
917
|
-
"properties": {
|
|
918
|
-
"organization": {
|
|
919
|
-
"type": "string",
|
|
920
|
-
"description": "The unique id of the target organization"
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
|
-
"required": [
|
|
924
|
-
"organization"
|
|
925
|
-
]
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
},
|
|
930
|
-
"responses": {
|
|
931
|
-
"200": {
|
|
932
|
-
"description": "Space transferred",
|
|
933
|
-
"content": {
|
|
934
|
-
"application/json": {
|
|
935
|
-
"schema": {
|
|
936
|
-
"$ref": "#/components/schemas/Space"
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
"404": {
|
|
942
|
-
"description": "No matching Space found for given ID",
|
|
943
|
-
"$ref": "#/components/responses/NotFoundError"
|
|
944
|
-
},
|
|
945
|
-
"409": {
|
|
946
|
-
"description": "Transfer would not result in any update",
|
|
947
|
-
"$ref": "#/components/responses/ConflictError"
|
|
948
|
-
},
|
|
949
|
-
"412": {
|
|
950
|
-
"description": "The space cannot be moved.",
|
|
951
|
-
"$ref": "#/components/responses/PreconditionFailedError"
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
900
|
"/spaces/{spaceId}/embed": {
|
|
957
901
|
"get": {
|
|
958
902
|
"operationId": "getEmbedByUrlInSpace",
|
|
@@ -11812,6 +11756,12 @@
|
|
|
11812
11756
|
"adaptiveContent": {
|
|
11813
11757
|
"$ref": "#/components/schemas/SiteAdaptiveContent"
|
|
11814
11758
|
},
|
|
11759
|
+
"permissionsModel": {
|
|
11760
|
+
"$ref": "#/components/schemas/SitePermissionsModel"
|
|
11761
|
+
},
|
|
11762
|
+
"defaultLevel": {
|
|
11763
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
11764
|
+
},
|
|
11815
11765
|
"defaultSiteSpace": {
|
|
11816
11766
|
"type": "string",
|
|
11817
11767
|
"description": "ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section."
|
|
@@ -12886,6 +12836,11 @@
|
|
|
12886
12836
|
"sectionId": {
|
|
12887
12837
|
"type": "string",
|
|
12888
12838
|
"description": "ID of the section to add the space to. If not provided, the space will be added to the default section or at the root level if the site has no sections."
|
|
12839
|
+
},
|
|
12840
|
+
"draft": {
|
|
12841
|
+
"type": "boolean",
|
|
12842
|
+
"default": false,
|
|
12843
|
+
"description": "Whether the site space should be created as draft. Defaults to false."
|
|
12889
12844
|
}
|
|
12890
12845
|
},
|
|
12891
12846
|
"required": [
|
|
@@ -13091,6 +13046,10 @@
|
|
|
13091
13046
|
"parent": {
|
|
13092
13047
|
"type": "string",
|
|
13093
13048
|
"description": "ID of the parent section group to nest this group under. If not provided, the section group will be added at the root of the site."
|
|
13049
|
+
},
|
|
13050
|
+
"draft": {
|
|
13051
|
+
"type": "boolean",
|
|
13052
|
+
"description": "Whether the section group should be created in draft mode."
|
|
13094
13053
|
}
|
|
13095
13054
|
},
|
|
13096
13055
|
"required": [
|
|
@@ -13156,7 +13115,7 @@
|
|
|
13156
13115
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
13157
13116
|
},
|
|
13158
13117
|
"localizedTitle": {
|
|
13159
|
-
"$ref": "#/components/schemas/
|
|
13118
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
13160
13119
|
},
|
|
13161
13120
|
"icon": {
|
|
13162
13121
|
"oneOf": [
|
|
@@ -13167,6 +13126,10 @@
|
|
|
13167
13126
|
"type": "null"
|
|
13168
13127
|
}
|
|
13169
13128
|
]
|
|
13129
|
+
},
|
|
13130
|
+
"draft": {
|
|
13131
|
+
"type": "boolean",
|
|
13132
|
+
"description": "Whether the site section group is draft and not live."
|
|
13170
13133
|
}
|
|
13171
13134
|
}
|
|
13172
13135
|
}
|
|
@@ -13371,6 +13334,10 @@
|
|
|
13371
13334
|
}
|
|
13372
13335
|
]
|
|
13373
13336
|
},
|
|
13337
|
+
"draft": {
|
|
13338
|
+
"type": "boolean",
|
|
13339
|
+
"description": "Whether the section should be created in draft mode."
|
|
13340
|
+
},
|
|
13374
13341
|
"siteSectionGroupId": {
|
|
13375
13342
|
"type": "string",
|
|
13376
13343
|
"description": "ID of the section group to create the section in"
|
|
@@ -13498,7 +13465,7 @@
|
|
|
13498
13465
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
13499
13466
|
},
|
|
13500
13467
|
"localizedTitle": {
|
|
13501
|
-
"$ref": "#/components/schemas/
|
|
13468
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
13502
13469
|
},
|
|
13503
13470
|
"path": {
|
|
13504
13471
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
@@ -13528,6 +13495,10 @@
|
|
|
13528
13495
|
}
|
|
13529
13496
|
]
|
|
13530
13497
|
},
|
|
13498
|
+
"draft": {
|
|
13499
|
+
"type": "boolean",
|
|
13500
|
+
"description": "Whether the site section is draft and not live."
|
|
13501
|
+
},
|
|
13531
13502
|
"description": {
|
|
13532
13503
|
"oneOf": [
|
|
13533
13504
|
{
|
|
@@ -13539,7 +13510,7 @@
|
|
|
13539
13510
|
]
|
|
13540
13511
|
},
|
|
13541
13512
|
"localizedDescription": {
|
|
13542
|
-
"$ref": "#/components/schemas/
|
|
13513
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
13543
13514
|
},
|
|
13544
13515
|
"siteSectionGroupId": {
|
|
13545
13516
|
"description": "ID of the section group to move the section into. Set to null to move the section to the root of the site.",
|
|
@@ -15174,12 +15145,26 @@
|
|
|
15174
15145
|
"$ref": "#/components/schemas/SiteQuestionType"
|
|
15175
15146
|
}
|
|
15176
15147
|
},
|
|
15148
|
+
{
|
|
15149
|
+
"name": "relevance",
|
|
15150
|
+
"in": "query",
|
|
15151
|
+
"description": "Filter questions by question relevance.",
|
|
15152
|
+
"schema": {
|
|
15153
|
+
"type": "array",
|
|
15154
|
+
"items": {
|
|
15155
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15156
|
+
}
|
|
15157
|
+
}
|
|
15158
|
+
},
|
|
15177
15159
|
{
|
|
15178
15160
|
"name": "answered",
|
|
15179
15161
|
"in": "query",
|
|
15180
15162
|
"description": "Filter questions by answer resolution.",
|
|
15181
15163
|
"schema": {
|
|
15182
|
-
"
|
|
15164
|
+
"type": "array",
|
|
15165
|
+
"items": {
|
|
15166
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15167
|
+
}
|
|
15183
15168
|
}
|
|
15184
15169
|
},
|
|
15185
15170
|
{
|
|
@@ -15190,6 +15175,22 @@
|
|
|
15190
15175
|
"type": "string"
|
|
15191
15176
|
}
|
|
15192
15177
|
},
|
|
15178
|
+
{
|
|
15179
|
+
"$ref": "#/components/parameters/listOrder"
|
|
15180
|
+
},
|
|
15181
|
+
{
|
|
15182
|
+
"name": "sort",
|
|
15183
|
+
"in": "query",
|
|
15184
|
+
"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.",
|
|
15185
|
+
"schema": {
|
|
15186
|
+
"type": "string",
|
|
15187
|
+
"enum": [
|
|
15188
|
+
"askedAt",
|
|
15189
|
+
"stats.answered",
|
|
15190
|
+
"stats.feedback"
|
|
15191
|
+
]
|
|
15192
|
+
}
|
|
15193
|
+
},
|
|
15193
15194
|
{
|
|
15194
15195
|
"$ref": "#/components/parameters/listPage"
|
|
15195
15196
|
},
|
|
@@ -15383,6 +15384,17 @@
|
|
|
15383
15384
|
"$ref": "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
15384
15385
|
}
|
|
15385
15386
|
}
|
|
15387
|
+
},
|
|
15388
|
+
{
|
|
15389
|
+
"name": "answered",
|
|
15390
|
+
"in": "query",
|
|
15391
|
+
"description": "Filter stats by answer resolution.",
|
|
15392
|
+
"schema": {
|
|
15393
|
+
"type": "array",
|
|
15394
|
+
"items": {
|
|
15395
|
+
"$ref": "#/components/schemas/SiteQuestionAnswerResolution"
|
|
15396
|
+
}
|
|
15397
|
+
}
|
|
15386
15398
|
}
|
|
15387
15399
|
],
|
|
15388
15400
|
"responses": {
|
|
@@ -15710,6 +15722,10 @@
|
|
|
15710
15722
|
"hidden": {
|
|
15711
15723
|
"type": "boolean",
|
|
15712
15724
|
"description": "Whether the site space is hidden. If true, the site space will not be shown in the site's navigation. If not set, the hidden state will remain unchanged. If set to false, the site space will be shown in site navigation."
|
|
15725
|
+
},
|
|
15726
|
+
"draft": {
|
|
15727
|
+
"type": "boolean",
|
|
15728
|
+
"description": "Whether the site space should be kept in draft mode. Setting it to false makes the site space live."
|
|
15713
15729
|
}
|
|
15714
15730
|
}
|
|
15715
15731
|
}
|
|
@@ -15848,7 +15864,7 @@
|
|
|
15848
15864
|
"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.",
|
|
15849
15865
|
"oneOf": [
|
|
15850
15866
|
{
|
|
15851
|
-
"$ref": "#/components/schemas/
|
|
15867
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
15852
15868
|
},
|
|
15853
15869
|
{
|
|
15854
15870
|
"type": "null"
|
|
@@ -17053,6 +17069,88 @@
|
|
|
17053
17069
|
}
|
|
17054
17070
|
}
|
|
17055
17071
|
},
|
|
17072
|
+
"/orgs/{organizationId}/sites/{siteId}/agent-settings": {
|
|
17073
|
+
"get": {
|
|
17074
|
+
"operationId": "getSiteAgentSettingsById",
|
|
17075
|
+
"summary": "Get site agent settings",
|
|
17076
|
+
"tags": [
|
|
17077
|
+
"site-agent-settings"
|
|
17078
|
+
],
|
|
17079
|
+
"security": [
|
|
17080
|
+
{
|
|
17081
|
+
"user": []
|
|
17082
|
+
}
|
|
17083
|
+
],
|
|
17084
|
+
"parameters": [
|
|
17085
|
+
{
|
|
17086
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17087
|
+
},
|
|
17088
|
+
{
|
|
17089
|
+
"$ref": "#/components/parameters/siteId"
|
|
17090
|
+
}
|
|
17091
|
+
],
|
|
17092
|
+
"responses": {
|
|
17093
|
+
"200": {
|
|
17094
|
+
"description": "OK",
|
|
17095
|
+
"content": {
|
|
17096
|
+
"application/json": {
|
|
17097
|
+
"schema": {
|
|
17098
|
+
"$ref": "#/components/schemas/SiteAgentSettings"
|
|
17099
|
+
}
|
|
17100
|
+
}
|
|
17101
|
+
}
|
|
17102
|
+
},
|
|
17103
|
+
"400": {
|
|
17104
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
17105
|
+
}
|
|
17106
|
+
}
|
|
17107
|
+
},
|
|
17108
|
+
"put": {
|
|
17109
|
+
"operationId": "updateSiteAgentSettingsById",
|
|
17110
|
+
"summary": "Update site agent settings",
|
|
17111
|
+
"tags": [
|
|
17112
|
+
"site-agent-settings"
|
|
17113
|
+
],
|
|
17114
|
+
"security": [
|
|
17115
|
+
{
|
|
17116
|
+
"user": []
|
|
17117
|
+
}
|
|
17118
|
+
],
|
|
17119
|
+
"parameters": [
|
|
17120
|
+
{
|
|
17121
|
+
"$ref": "#/components/parameters/organizationId"
|
|
17122
|
+
},
|
|
17123
|
+
{
|
|
17124
|
+
"$ref": "#/components/parameters/siteId"
|
|
17125
|
+
}
|
|
17126
|
+
],
|
|
17127
|
+
"requestBody": {
|
|
17128
|
+
"required": true,
|
|
17129
|
+
"content": {
|
|
17130
|
+
"application/json": {
|
|
17131
|
+
"schema": {
|
|
17132
|
+
"$ref": "#/components/schemas/SiteAgentSettingsInput"
|
|
17133
|
+
}
|
|
17134
|
+
}
|
|
17135
|
+
}
|
|
17136
|
+
},
|
|
17137
|
+
"responses": {
|
|
17138
|
+
"200": {
|
|
17139
|
+
"description": "OK",
|
|
17140
|
+
"content": {
|
|
17141
|
+
"application/json": {
|
|
17142
|
+
"schema": {
|
|
17143
|
+
"$ref": "#/components/schemas/SiteAgentSettings"
|
|
17144
|
+
}
|
|
17145
|
+
}
|
|
17146
|
+
}
|
|
17147
|
+
},
|
|
17148
|
+
"400": {
|
|
17149
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
17150
|
+
}
|
|
17151
|
+
}
|
|
17152
|
+
}
|
|
17153
|
+
},
|
|
17056
17154
|
"/orgs/{organizationId}/sites/{siteId}/insights/events": {
|
|
17057
17155
|
"post": {
|
|
17058
17156
|
"operationId": "trackEventsInSiteById",
|
|
@@ -18125,8 +18223,8 @@
|
|
|
18125
18223
|
{
|
|
18126
18224
|
"type": "object",
|
|
18127
18225
|
"properties": {
|
|
18128
|
-
"
|
|
18129
|
-
"$ref": "#/components/schemas/
|
|
18226
|
+
"role": {
|
|
18227
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
18130
18228
|
}
|
|
18131
18229
|
}
|
|
18132
18230
|
}
|
|
@@ -18185,6 +18283,63 @@
|
|
|
18185
18283
|
}
|
|
18186
18284
|
}
|
|
18187
18285
|
},
|
|
18286
|
+
"patch": {
|
|
18287
|
+
"operationId": "updateSiteChannelById",
|
|
18288
|
+
"summary": "Update a site channel",
|
|
18289
|
+
"tags": [
|
|
18290
|
+
"site-channels"
|
|
18291
|
+
],
|
|
18292
|
+
"security": [
|
|
18293
|
+
{
|
|
18294
|
+
"user": []
|
|
18295
|
+
}
|
|
18296
|
+
],
|
|
18297
|
+
"parameters": [
|
|
18298
|
+
{
|
|
18299
|
+
"$ref": "#/components/parameters/organizationId"
|
|
18300
|
+
},
|
|
18301
|
+
{
|
|
18302
|
+
"$ref": "#/components/parameters/siteId"
|
|
18303
|
+
},
|
|
18304
|
+
{
|
|
18305
|
+
"$ref": "#/components/parameters/siteChannelId"
|
|
18306
|
+
}
|
|
18307
|
+
],
|
|
18308
|
+
"requestBody": {
|
|
18309
|
+
"required": true,
|
|
18310
|
+
"content": {
|
|
18311
|
+
"application/json": {
|
|
18312
|
+
"schema": {
|
|
18313
|
+
"anyOf": [
|
|
18314
|
+
{
|
|
18315
|
+
"$ref": "#/components/schemas/SiteChannelSetup"
|
|
18316
|
+
},
|
|
18317
|
+
{
|
|
18318
|
+
"type": "object",
|
|
18319
|
+
"properties": {
|
|
18320
|
+
"role": {
|
|
18321
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
18322
|
+
}
|
|
18323
|
+
}
|
|
18324
|
+
}
|
|
18325
|
+
]
|
|
18326
|
+
}
|
|
18327
|
+
}
|
|
18328
|
+
}
|
|
18329
|
+
},
|
|
18330
|
+
"responses": {
|
|
18331
|
+
"200": {
|
|
18332
|
+
"description": "OK",
|
|
18333
|
+
"content": {
|
|
18334
|
+
"application/json": {
|
|
18335
|
+
"schema": {
|
|
18336
|
+
"$ref": "#/components/schemas/SiteChannel"
|
|
18337
|
+
}
|
|
18338
|
+
}
|
|
18339
|
+
}
|
|
18340
|
+
}
|
|
18341
|
+
}
|
|
18342
|
+
},
|
|
18188
18343
|
"delete": {
|
|
18189
18344
|
"operationId": "deleteSiteChannelById",
|
|
18190
18345
|
"summary": "Delete a site channel",
|
|
@@ -22291,6 +22446,10 @@
|
|
|
22291
22446
|
"type": "boolean",
|
|
22292
22447
|
"description": "Should we display the header with column titles"
|
|
22293
22448
|
},
|
|
22449
|
+
"stickyHeader": {
|
|
22450
|
+
"type": "boolean",
|
|
22451
|
+
"description": "Should we keep the table header sticky while the page scrolls"
|
|
22452
|
+
},
|
|
22294
22453
|
"useNewSizing": {
|
|
22295
22454
|
"type": "boolean",
|
|
22296
22455
|
"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"
|
|
@@ -26542,6 +26701,28 @@
|
|
|
26542
26701
|
"type": "number",
|
|
26543
26702
|
"description": "Count of opened comments on the change request."
|
|
26544
26703
|
},
|
|
26704
|
+
"siteTopic": {
|
|
26705
|
+
"type": "object",
|
|
26706
|
+
"description": "Site context associated with the change request when it was created from a site topic or finding.",
|
|
26707
|
+
"properties": {
|
|
26708
|
+
"site": {
|
|
26709
|
+
"type": "string",
|
|
26710
|
+
"description": "ID of the site associated with the change request."
|
|
26711
|
+
},
|
|
26712
|
+
"topic": {
|
|
26713
|
+
"type": "string",
|
|
26714
|
+
"description": "ID of the site topic associated with the change request."
|
|
26715
|
+
},
|
|
26716
|
+
"finding": {
|
|
26717
|
+
"type": "string",
|
|
26718
|
+
"description": "ID of the site finding associated with the change request, when applicable."
|
|
26719
|
+
}
|
|
26720
|
+
},
|
|
26721
|
+
"required": [
|
|
26722
|
+
"site",
|
|
26723
|
+
"topic"
|
|
26724
|
+
]
|
|
26725
|
+
},
|
|
26545
26726
|
"outdated": {
|
|
26546
26727
|
"type": "boolean",
|
|
26547
26728
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
@@ -31490,6 +31671,14 @@
|
|
|
31490
31671
|
"visitor-auth"
|
|
31491
31672
|
]
|
|
31492
31673
|
},
|
|
31674
|
+
"SitePermissionsModel": {
|
|
31675
|
+
"type": "string",
|
|
31676
|
+
"description": "Permissions resolution mode for the site.",
|
|
31677
|
+
"enum": [
|
|
31678
|
+
"legacy",
|
|
31679
|
+
"site"
|
|
31680
|
+
]
|
|
31681
|
+
},
|
|
31493
31682
|
"SiteAdaptiveContent": {
|
|
31494
31683
|
"type": "object",
|
|
31495
31684
|
"properties": {
|
|
@@ -31716,6 +31905,12 @@
|
|
|
31716
31905
|
"visibility": {
|
|
31717
31906
|
"$ref": "#/components/schemas/SiteVisibility"
|
|
31718
31907
|
},
|
|
31908
|
+
"permissionsModel": {
|
|
31909
|
+
"$ref": "#/components/schemas/SitePermissionsModel"
|
|
31910
|
+
},
|
|
31911
|
+
"defaultLevel": {
|
|
31912
|
+
"$ref": "#/components/schemas/DefaultLevel"
|
|
31913
|
+
},
|
|
31719
31914
|
"published": {
|
|
31720
31915
|
"type": "boolean",
|
|
31721
31916
|
"description": "Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting."
|
|
@@ -31784,6 +31979,8 @@
|
|
|
31784
31979
|
"appliedType",
|
|
31785
31980
|
"title",
|
|
31786
31981
|
"visibility",
|
|
31982
|
+
"permissionsModel",
|
|
31983
|
+
"defaultLevel",
|
|
31787
31984
|
"published",
|
|
31788
31985
|
"createdAt",
|
|
31789
31986
|
"siteSpaces",
|
|
@@ -33235,9 +33432,9 @@
|
|
|
33235
33432
|
"minLength": 2,
|
|
33236
33433
|
"maxLength": 128
|
|
33237
33434
|
},
|
|
33238
|
-
"
|
|
33435
|
+
"LocalizedString128": {
|
|
33239
33436
|
"type": "object",
|
|
33240
|
-
"description": "Localized
|
|
33437
|
+
"description": "Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
33241
33438
|
"additionalProperties": {
|
|
33242
33439
|
"type": "string",
|
|
33243
33440
|
"maxLength": 128
|
|
@@ -33252,9 +33449,9 @@
|
|
|
33252
33449
|
"minLength": 0,
|
|
33253
33450
|
"maxLength": 256
|
|
33254
33451
|
},
|
|
33255
|
-
"
|
|
33452
|
+
"LocalizedString256": {
|
|
33256
33453
|
"type": "object",
|
|
33257
|
-
"description": "Localized
|
|
33454
|
+
"description": "Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
33258
33455
|
"additionalProperties": {
|
|
33259
33456
|
"type": "string",
|
|
33260
33457
|
"maxLength": 256
|
|
@@ -33303,7 +33500,7 @@
|
|
|
33303
33500
|
"type": "string"
|
|
33304
33501
|
},
|
|
33305
33502
|
"localizedTitle": {
|
|
33306
|
-
"$ref": "#/components/schemas/
|
|
33503
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33307
33504
|
},
|
|
33308
33505
|
"default": {
|
|
33309
33506
|
"type": "boolean",
|
|
@@ -33313,6 +33510,10 @@
|
|
|
33313
33510
|
"description": "Conditional expression used to evaluate whether the site space should be shown to the site's visitor.",
|
|
33314
33511
|
"$ref": "#/components/schemas/Expression"
|
|
33315
33512
|
},
|
|
33513
|
+
"draft": {
|
|
33514
|
+
"type": "boolean",
|
|
33515
|
+
"description": "Whether the site space is draft and not live."
|
|
33516
|
+
},
|
|
33316
33517
|
"hasAdvancedCustomizationFeature": {
|
|
33317
33518
|
"type": "boolean",
|
|
33318
33519
|
"description": "Whether the space has advanced customization feature enabled"
|
|
@@ -33339,6 +33540,7 @@
|
|
|
33339
33540
|
"space",
|
|
33340
33541
|
"title",
|
|
33341
33542
|
"path",
|
|
33543
|
+
"draft",
|
|
33342
33544
|
"urls"
|
|
33343
33545
|
]
|
|
33344
33546
|
},
|
|
@@ -33360,18 +33562,22 @@
|
|
|
33360
33562
|
"$ref": "#/components/schemas/SiteSectionTitle"
|
|
33361
33563
|
},
|
|
33362
33564
|
"localizedTitle": {
|
|
33363
|
-
"$ref": "#/components/schemas/
|
|
33565
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33364
33566
|
},
|
|
33365
33567
|
"description": {
|
|
33366
33568
|
"$ref": "#/components/schemas/SiteSectionDescription"
|
|
33367
33569
|
},
|
|
33368
33570
|
"localizedDescription": {
|
|
33369
|
-
"$ref": "#/components/schemas/
|
|
33571
|
+
"$ref": "#/components/schemas/LocalizedString256"
|
|
33370
33572
|
},
|
|
33371
33573
|
"default": {
|
|
33372
33574
|
"type": "boolean",
|
|
33373
33575
|
"description": "Whether this is the default section for the site"
|
|
33374
33576
|
},
|
|
33577
|
+
"draft": {
|
|
33578
|
+
"type": "boolean",
|
|
33579
|
+
"description": "Whether the site section is draft and not live."
|
|
33580
|
+
},
|
|
33375
33581
|
"path": {
|
|
33376
33582
|
"$ref": "#/components/schemas/SiteSectionPath"
|
|
33377
33583
|
},
|
|
@@ -33409,6 +33615,7 @@
|
|
|
33409
33615
|
"id",
|
|
33410
33616
|
"title",
|
|
33411
33617
|
"path",
|
|
33618
|
+
"draft",
|
|
33412
33619
|
"siteSpaces",
|
|
33413
33620
|
"urls"
|
|
33414
33621
|
]
|
|
@@ -33437,7 +33644,7 @@
|
|
|
33437
33644
|
"$ref": "#/components/schemas/SiteSectionGroupTitle"
|
|
33438
33645
|
},
|
|
33439
33646
|
"localizedTitle": {
|
|
33440
|
-
"$ref": "#/components/schemas/
|
|
33647
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
33441
33648
|
},
|
|
33442
33649
|
"sections": {
|
|
33443
33650
|
"type": "array",
|
|
@@ -33451,6 +33658,10 @@
|
|
|
33451
33658
|
"type": "string",
|
|
33452
33659
|
"description": "ID of the parent section group this group belongs to"
|
|
33453
33660
|
},
|
|
33661
|
+
"draft": {
|
|
33662
|
+
"type": "boolean",
|
|
33663
|
+
"description": "Whether the site section group is draft and not live."
|
|
33664
|
+
},
|
|
33454
33665
|
"children": {
|
|
33455
33666
|
"type": "array",
|
|
33456
33667
|
"description": "List of all child sections and groups nested under this group",
|
|
@@ -33473,6 +33684,7 @@
|
|
|
33473
33684
|
"object",
|
|
33474
33685
|
"id",
|
|
33475
33686
|
"title",
|
|
33687
|
+
"draft",
|
|
33476
33688
|
"sections",
|
|
33477
33689
|
"children"
|
|
33478
33690
|
]
|
|
@@ -36397,16 +36609,41 @@
|
|
|
36397
36609
|
"none"
|
|
36398
36610
|
]
|
|
36399
36611
|
},
|
|
36612
|
+
"LocalizedString": {
|
|
36613
|
+
"type": "object",
|
|
36614
|
+
"description": "Localized string value, keyed by locale. Contains overrides for non-default languages only.",
|
|
36615
|
+
"propertyNames": {
|
|
36616
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
36617
|
+
},
|
|
36618
|
+
"additionalProperties": {
|
|
36619
|
+
"type": "string"
|
|
36620
|
+
}
|
|
36621
|
+
},
|
|
36400
36622
|
"CustomizationContentLinkTitle": {
|
|
36401
36623
|
"type": "string",
|
|
36402
36624
|
"maxLength": 64
|
|
36403
36625
|
},
|
|
36626
|
+
"LocalizedString64": {
|
|
36627
|
+
"type": "object",
|
|
36628
|
+
"description": "Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.",
|
|
36629
|
+
"additionalProperties": {
|
|
36630
|
+
"type": "string",
|
|
36631
|
+
"maxLength": 64
|
|
36632
|
+
},
|
|
36633
|
+
"propertyNames": {
|
|
36634
|
+
"$ref": "#/components/schemas/TranslationLanguage"
|
|
36635
|
+
}
|
|
36636
|
+
},
|
|
36404
36637
|
"CustomizationContentLink": {
|
|
36405
36638
|
"type": "object",
|
|
36406
36639
|
"properties": {
|
|
36407
36640
|
"title": {
|
|
36408
36641
|
"$ref": "#/components/schemas/CustomizationContentLinkTitle"
|
|
36409
36642
|
},
|
|
36643
|
+
"localizedTitle": {
|
|
36644
|
+
"description": "Localized overrides for the link title, keyed by locale.",
|
|
36645
|
+
"$ref": "#/components/schemas/LocalizedString64"
|
|
36646
|
+
},
|
|
36410
36647
|
"to": {
|
|
36411
36648
|
"$ref": "#/components/schemas/ContentRef"
|
|
36412
36649
|
}
|
|
@@ -36422,6 +36659,10 @@
|
|
|
36422
36659
|
"title": {
|
|
36423
36660
|
"type": "string"
|
|
36424
36661
|
},
|
|
36662
|
+
"localizedTitle": {
|
|
36663
|
+
"description": "Localized overrides for the header item title, keyed by locale.",
|
|
36664
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
36665
|
+
},
|
|
36425
36666
|
"style": {
|
|
36426
36667
|
"type": "string",
|
|
36427
36668
|
"enum": [
|
|
@@ -36463,6 +36704,10 @@
|
|
|
36463
36704
|
"title": {
|
|
36464
36705
|
"type": "string"
|
|
36465
36706
|
},
|
|
36707
|
+
"localizedTitle": {
|
|
36708
|
+
"description": "Localized overrides for the footer group title, keyed by locale.",
|
|
36709
|
+
"$ref": "#/components/schemas/LocalizedString"
|
|
36710
|
+
},
|
|
36466
36711
|
"links": {
|
|
36467
36712
|
"type": "array",
|
|
36468
36713
|
"items": {
|
|
@@ -36491,6 +36736,10 @@
|
|
|
36491
36736
|
"message": {
|
|
36492
36737
|
"$ref": "#/components/schemas/CustomizationAnnouncementMessage"
|
|
36493
36738
|
},
|
|
36739
|
+
"localizedMessage": {
|
|
36740
|
+
"description": "Localized overrides for the announcement message, keyed by locale.",
|
|
36741
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
36742
|
+
},
|
|
36494
36743
|
"link": {
|
|
36495
36744
|
"description": "The content or URL the announcement links to when clicked.",
|
|
36496
36745
|
"$ref": "#/components/schemas/CustomizationContentLink"
|
|
@@ -36624,7 +36873,7 @@
|
|
|
36624
36873
|
},
|
|
36625
36874
|
"localizedTitle": {
|
|
36626
36875
|
"description": "Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.",
|
|
36627
|
-
"$ref": "#/components/schemas/
|
|
36876
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
36628
36877
|
},
|
|
36629
36878
|
"styling": {
|
|
36630
36879
|
"type": "object",
|
|
@@ -38025,6 +38274,9 @@
|
|
|
38025
38274
|
"createdAt": {
|
|
38026
38275
|
"$ref": "#/components/schemas/Timestamp"
|
|
38027
38276
|
},
|
|
38277
|
+
"askedAt": {
|
|
38278
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
38279
|
+
},
|
|
38028
38280
|
"stats": {
|
|
38029
38281
|
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
38030
38282
|
},
|
|
@@ -38049,6 +38301,7 @@
|
|
|
38049
38301
|
"question",
|
|
38050
38302
|
"type",
|
|
38051
38303
|
"createdAt",
|
|
38304
|
+
"askedAt",
|
|
38052
38305
|
"stats",
|
|
38053
38306
|
"urls"
|
|
38054
38307
|
]
|
|
@@ -38437,6 +38690,24 @@
|
|
|
38437
38690
|
"type": "number",
|
|
38438
38691
|
"description": "The number of records in the topic"
|
|
38439
38692
|
},
|
|
38693
|
+
"findings": {
|
|
38694
|
+
"type": "object",
|
|
38695
|
+
"description": "The number of findings linked to the topic",
|
|
38696
|
+
"properties": {
|
|
38697
|
+
"open": {
|
|
38698
|
+
"type": "number",
|
|
38699
|
+
"description": "The number of open findings linked to the topic"
|
|
38700
|
+
},
|
|
38701
|
+
"total": {
|
|
38702
|
+
"type": "number",
|
|
38703
|
+
"description": "The total number of findings linked to the topic"
|
|
38704
|
+
}
|
|
38705
|
+
},
|
|
38706
|
+
"required": [
|
|
38707
|
+
"open",
|
|
38708
|
+
"total"
|
|
38709
|
+
]
|
|
38710
|
+
},
|
|
38440
38711
|
"questions": {
|
|
38441
38712
|
"$ref": "#/components/schemas/SiteQuestionStats"
|
|
38442
38713
|
},
|
|
@@ -38464,12 +38735,23 @@
|
|
|
38464
38735
|
"usageSettings",
|
|
38465
38736
|
"pages",
|
|
38466
38737
|
"records",
|
|
38738
|
+
"findings",
|
|
38467
38739
|
"questions",
|
|
38468
38740
|
"createdAt",
|
|
38469
38741
|
"updatedAt",
|
|
38470
38742
|
"urls"
|
|
38471
38743
|
]
|
|
38472
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
|
+
},
|
|
38473
38755
|
"SiteQuestionAnswerResolution": {
|
|
38474
38756
|
"type": "string",
|
|
38475
38757
|
"description": "Whether the response answered the question.",
|
|
@@ -38578,6 +38860,9 @@
|
|
|
38578
38860
|
"record": {
|
|
38579
38861
|
"type": "string",
|
|
38580
38862
|
"description": "The site context record ID."
|
|
38863
|
+
},
|
|
38864
|
+
"connector": {
|
|
38865
|
+
"$ref": "#/components/schemas/ContextConnector"
|
|
38581
38866
|
}
|
|
38582
38867
|
},
|
|
38583
38868
|
"required": [
|
|
@@ -38600,16 +38885,6 @@
|
|
|
38600
38885
|
"propertyName": "type"
|
|
38601
38886
|
}
|
|
38602
38887
|
},
|
|
38603
|
-
"SiteQuestionAnswerRelevance": {
|
|
38604
|
-
"type": "string",
|
|
38605
|
-
"description": "Relevance classification of the user question.",
|
|
38606
|
-
"enum": [
|
|
38607
|
-
"relevant",
|
|
38608
|
-
"spam",
|
|
38609
|
-
"off-topic",
|
|
38610
|
-
"unclear"
|
|
38611
|
-
]
|
|
38612
|
-
},
|
|
38613
38888
|
"SiteQuestionAnswerHelpfulness": {
|
|
38614
38889
|
"type": "string",
|
|
38615
38890
|
"description": "Helpfulness of the response for the end user need.",
|
|
@@ -38865,6 +39140,41 @@
|
|
|
38865
39140
|
"revisionId"
|
|
38866
39141
|
]
|
|
38867
39142
|
},
|
|
39143
|
+
"AIToolCallGetRecordContent": {
|
|
39144
|
+
"type": "object",
|
|
39145
|
+
"description": "Tool to read the body of an external record.",
|
|
39146
|
+
"properties": {
|
|
39147
|
+
"tool": {
|
|
39148
|
+
"type": "string",
|
|
39149
|
+
"enum": [
|
|
39150
|
+
"getRecordContent"
|
|
39151
|
+
]
|
|
39152
|
+
},
|
|
39153
|
+
"siteId": {
|
|
39154
|
+
"type": "string",
|
|
39155
|
+
"description": "The ID of the site owning the context record."
|
|
39156
|
+
},
|
|
39157
|
+
"recordId": {
|
|
39158
|
+
"type": "string",
|
|
39159
|
+
"description": "The ID of the context record."
|
|
39160
|
+
},
|
|
39161
|
+
"title": {
|
|
39162
|
+
"type": "string",
|
|
39163
|
+
"description": "The title of the record."
|
|
39164
|
+
},
|
|
39165
|
+
"url": {
|
|
39166
|
+
"type": "string",
|
|
39167
|
+
"format": "uri",
|
|
39168
|
+
"description": "URL of the record in the source system."
|
|
39169
|
+
}
|
|
39170
|
+
},
|
|
39171
|
+
"required": [
|
|
39172
|
+
"tool",
|
|
39173
|
+
"siteId",
|
|
39174
|
+
"recordId",
|
|
39175
|
+
"title"
|
|
39176
|
+
]
|
|
39177
|
+
},
|
|
38868
39178
|
"AIToolCallGetPages": {
|
|
38869
39179
|
"type": "object",
|
|
38870
39180
|
"properties": {
|
|
@@ -39507,6 +39817,9 @@
|
|
|
39507
39817
|
{
|
|
39508
39818
|
"$ref": "#/components/schemas/AIToolCallGetPageContent"
|
|
39509
39819
|
},
|
|
39820
|
+
{
|
|
39821
|
+
"$ref": "#/components/schemas/AIToolCallGetRecordContent"
|
|
39822
|
+
},
|
|
39510
39823
|
{
|
|
39511
39824
|
"$ref": "#/components/schemas/AIToolCallGetPages"
|
|
39512
39825
|
},
|
|
@@ -39943,7 +40256,7 @@
|
|
|
39943
40256
|
"properties": {
|
|
39944
40257
|
"role": {
|
|
39945
40258
|
"description": "Role to set.",
|
|
39946
|
-
"$ref": "#/components/schemas/
|
|
40259
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
39947
40260
|
}
|
|
39948
40261
|
},
|
|
39949
40262
|
"anyOf": [
|
|
@@ -40036,7 +40349,7 @@
|
|
|
40036
40349
|
"description": "Permission override of a user in a site.",
|
|
40037
40350
|
"properties": {
|
|
40038
40351
|
"permission": {
|
|
40039
|
-
"$ref": "#/components/schemas/
|
|
40352
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
40040
40353
|
},
|
|
40041
40354
|
"user": {
|
|
40042
40355
|
"$ref": "#/components/schemas/User"
|
|
@@ -40052,7 +40365,7 @@
|
|
|
40052
40365
|
"description": "Permission override of a team in a site.",
|
|
40053
40366
|
"properties": {
|
|
40054
40367
|
"permission": {
|
|
40055
|
-
"$ref": "#/components/schemas/
|
|
40368
|
+
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
40056
40369
|
},
|
|
40057
40370
|
"team": {
|
|
40058
40371
|
"$ref": "#/components/schemas/OrganizationTeam"
|
|
@@ -40500,6 +40813,110 @@
|
|
|
40500
40813
|
}
|
|
40501
40814
|
]
|
|
40502
40815
|
},
|
|
40816
|
+
"SiteSettingsScanTopics": {
|
|
40817
|
+
"type": "string",
|
|
40818
|
+
"enum": [
|
|
40819
|
+
"auto",
|
|
40820
|
+
"never"
|
|
40821
|
+
],
|
|
40822
|
+
"description": "Controls when topics are being scanned for findings."
|
|
40823
|
+
},
|
|
40824
|
+
"SiteSettingsFindingChangeRequests": {
|
|
40825
|
+
"type": "string",
|
|
40826
|
+
"enum": [
|
|
40827
|
+
"always",
|
|
40828
|
+
"auto-fixable",
|
|
40829
|
+
"never"
|
|
40830
|
+
],
|
|
40831
|
+
"description": "Controls how issue remediation change requests should be handled for a site."
|
|
40832
|
+
},
|
|
40833
|
+
"SiteAgentSettingsInput": {
|
|
40834
|
+
"type": "object",
|
|
40835
|
+
"properties": {
|
|
40836
|
+
"scans": {
|
|
40837
|
+
"description": "Settings related to scanning for a site.",
|
|
40838
|
+
"type": "object",
|
|
40839
|
+
"properties": {
|
|
40840
|
+
"topics": {
|
|
40841
|
+
"$ref": "#/components/schemas/SiteSettingsScanTopics"
|
|
40842
|
+
}
|
|
40843
|
+
},
|
|
40844
|
+
"required": [
|
|
40845
|
+
"topics"
|
|
40846
|
+
]
|
|
40847
|
+
},
|
|
40848
|
+
"findings": {
|
|
40849
|
+
"description": "Settings related to processing of findings for a site.",
|
|
40850
|
+
"type": "object",
|
|
40851
|
+
"properties": {
|
|
40852
|
+
"changeRequests": {
|
|
40853
|
+
"$ref": "#/components/schemas/SiteSettingsFindingChangeRequests"
|
|
40854
|
+
}
|
|
40855
|
+
},
|
|
40856
|
+
"required": [
|
|
40857
|
+
"changeRequests"
|
|
40858
|
+
]
|
|
40859
|
+
},
|
|
40860
|
+
"editing": {
|
|
40861
|
+
"description": "Site-specific instructions for the editing agent.",
|
|
40862
|
+
"type": "object",
|
|
40863
|
+
"properties": {
|
|
40864
|
+
"customInstructions": {
|
|
40865
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
40866
|
+
}
|
|
40867
|
+
},
|
|
40868
|
+
"required": [
|
|
40869
|
+
"customInstructions"
|
|
40870
|
+
]
|
|
40871
|
+
}
|
|
40872
|
+
},
|
|
40873
|
+
"required": [
|
|
40874
|
+
"scans",
|
|
40875
|
+
"findings",
|
|
40876
|
+
"editing"
|
|
40877
|
+
]
|
|
40878
|
+
},
|
|
40879
|
+
"SiteAgentSettings": {
|
|
40880
|
+
"allOf": [
|
|
40881
|
+
{
|
|
40882
|
+
"type": "object",
|
|
40883
|
+
"properties": {
|
|
40884
|
+
"object": {
|
|
40885
|
+
"type": "string",
|
|
40886
|
+
"enum": [
|
|
40887
|
+
"site-agent-settings"
|
|
40888
|
+
]
|
|
40889
|
+
},
|
|
40890
|
+
"updatedAt": {
|
|
40891
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
40892
|
+
},
|
|
40893
|
+
"updatedBy": {
|
|
40894
|
+
"type": "string",
|
|
40895
|
+
"description": "Identifier of the member who last updated the settings."
|
|
40896
|
+
},
|
|
40897
|
+
"urls": {
|
|
40898
|
+
"type": "object",
|
|
40899
|
+
"properties": {
|
|
40900
|
+
"location": {
|
|
40901
|
+
"type": "string",
|
|
40902
|
+
"description": "Relative URL to the resource in the API."
|
|
40903
|
+
}
|
|
40904
|
+
},
|
|
40905
|
+
"required": [
|
|
40906
|
+
"location"
|
|
40907
|
+
]
|
|
40908
|
+
}
|
|
40909
|
+
},
|
|
40910
|
+
"required": [
|
|
40911
|
+
"object",
|
|
40912
|
+
"urls"
|
|
40913
|
+
]
|
|
40914
|
+
},
|
|
40915
|
+
{
|
|
40916
|
+
"$ref": "#/components/schemas/SiteAgentSettingsInput"
|
|
40917
|
+
}
|
|
40918
|
+
]
|
|
40919
|
+
},
|
|
40503
40920
|
"SiteInsightsEventSession": {
|
|
40504
40921
|
"allOf": [
|
|
40505
40922
|
{
|
|
@@ -43525,7 +43942,17 @@
|
|
|
43525
43942
|
},
|
|
43526
43943
|
"setupSettings": {
|
|
43527
43944
|
"type": "object",
|
|
43528
|
-
"additionalProperties": false
|
|
43945
|
+
"additionalProperties": false,
|
|
43946
|
+
"properties": {
|
|
43947
|
+
"allowedChannels": {
|
|
43948
|
+
"description": "List of allowed Slack channel names or patterns. If empty, all channels are allowed.",
|
|
43949
|
+
"type": "array",
|
|
43950
|
+
"items": {
|
|
43951
|
+
"type": "string",
|
|
43952
|
+
"pattern": "^[a-zA-Z0-9_\\*-]+$"
|
|
43953
|
+
}
|
|
43954
|
+
}
|
|
43955
|
+
}
|
|
43529
43956
|
}
|
|
43530
43957
|
},
|
|
43531
43958
|
"required": [
|
|
@@ -43544,7 +43971,17 @@
|
|
|
43544
43971
|
},
|
|
43545
43972
|
"setupSettings": {
|
|
43546
43973
|
"type": "object",
|
|
43547
|
-
"additionalProperties": false
|
|
43974
|
+
"additionalProperties": false,
|
|
43975
|
+
"properties": {
|
|
43976
|
+
"allowedChannels": {
|
|
43977
|
+
"description": "List of allowed Discord channel names or patterns. If empty, all channels are allowed.",
|
|
43978
|
+
"type": "array",
|
|
43979
|
+
"items": {
|
|
43980
|
+
"type": "string",
|
|
43981
|
+
"pattern": "^[a-zA-Z0-9_\\*-]+$"
|
|
43982
|
+
}
|
|
43983
|
+
}
|
|
43984
|
+
}
|
|
43548
43985
|
}
|
|
43549
43986
|
},
|
|
43550
43987
|
"required": [
|
|
@@ -43554,10 +43991,19 @@
|
|
|
43554
43991
|
}
|
|
43555
43992
|
]
|
|
43556
43993
|
},
|
|
43557
|
-
"
|
|
43558
|
-
"type": "
|
|
43559
|
-
"
|
|
43560
|
-
|
|
43994
|
+
"SiteChannelStatus": {
|
|
43995
|
+
"type": "string",
|
|
43996
|
+
"enum": [
|
|
43997
|
+
"active",
|
|
43998
|
+
"pending"
|
|
43999
|
+
]
|
|
44000
|
+
},
|
|
44001
|
+
"SiteChannelRole": {
|
|
44002
|
+
"type": "string",
|
|
44003
|
+
"enum": [
|
|
44004
|
+
"collaborator",
|
|
44005
|
+
"support"
|
|
44006
|
+
]
|
|
43561
44007
|
},
|
|
43562
44008
|
"SiteChannel": {
|
|
43563
44009
|
"allOf": [
|
|
@@ -43577,14 +44023,17 @@
|
|
|
43577
44023
|
"type": "string",
|
|
43578
44024
|
"description": "Unique identifier for the site channel."
|
|
43579
44025
|
},
|
|
44026
|
+
"status": {
|
|
44027
|
+
"$ref": "#/components/schemas/SiteChannelStatus"
|
|
44028
|
+
},
|
|
44029
|
+
"role": {
|
|
44030
|
+
"$ref": "#/components/schemas/SiteChannelRole"
|
|
44031
|
+
},
|
|
43580
44032
|
"answers": {
|
|
43581
44033
|
"type": "integer",
|
|
43582
44034
|
"minimum": 0,
|
|
43583
44035
|
"description": "Number of answers linked to this channel."
|
|
43584
44036
|
},
|
|
43585
|
-
"usageSettings": {
|
|
43586
|
-
"$ref": "#/components/schemas/SiteChannelUsageSettings"
|
|
43587
|
-
},
|
|
43588
44037
|
"createdAt": {
|
|
43589
44038
|
"$ref": "#/components/schemas/Timestamp"
|
|
43590
44039
|
},
|
|
@@ -43605,8 +44054,9 @@
|
|
|
43605
44054
|
"required": [
|
|
43606
44055
|
"object",
|
|
43607
44056
|
"id",
|
|
44057
|
+
"status",
|
|
44058
|
+
"role",
|
|
43608
44059
|
"answers",
|
|
43609
|
-
"usageSettings",
|
|
43610
44060
|
"createdAt",
|
|
43611
44061
|
"urls"
|
|
43612
44062
|
]
|
|
@@ -46275,6 +46725,25 @@
|
|
|
46275
46725
|
"site"
|
|
46276
46726
|
]
|
|
46277
46727
|
},
|
|
46728
|
+
"APIChannelSiteChannels": {
|
|
46729
|
+
"type": "object",
|
|
46730
|
+
"description": "Subscription channel for changes in site channels.",
|
|
46731
|
+
"properties": {
|
|
46732
|
+
"channel": {
|
|
46733
|
+
"type": "string",
|
|
46734
|
+
"enum": [
|
|
46735
|
+
"site-channels"
|
|
46736
|
+
]
|
|
46737
|
+
},
|
|
46738
|
+
"site": {
|
|
46739
|
+
"type": "string"
|
|
46740
|
+
}
|
|
46741
|
+
},
|
|
46742
|
+
"required": [
|
|
46743
|
+
"channel",
|
|
46744
|
+
"site"
|
|
46745
|
+
]
|
|
46746
|
+
},
|
|
46278
46747
|
"APIChannelSiteContext": {
|
|
46279
46748
|
"type": "object",
|
|
46280
46749
|
"description": "Subscription channel for changes in site context.",
|
|
@@ -46312,6 +46781,24 @@
|
|
|
46312
46781
|
"site"
|
|
46313
46782
|
]
|
|
46314
46783
|
},
|
|
46784
|
+
"APIChannelSiteAgentSettings": {
|
|
46785
|
+
"type": "object",
|
|
46786
|
+
"properties": {
|
|
46787
|
+
"channel": {
|
|
46788
|
+
"type": "string",
|
|
46789
|
+
"enum": [
|
|
46790
|
+
"site-agent-settings"
|
|
46791
|
+
]
|
|
46792
|
+
},
|
|
46793
|
+
"site": {
|
|
46794
|
+
"type": "string"
|
|
46795
|
+
}
|
|
46796
|
+
},
|
|
46797
|
+
"required": [
|
|
46798
|
+
"channel",
|
|
46799
|
+
"site"
|
|
46800
|
+
]
|
|
46801
|
+
},
|
|
46315
46802
|
"APIChannelSiteIntegrations": {
|
|
46316
46803
|
"type": "object",
|
|
46317
46804
|
"properties": {
|
|
@@ -46812,12 +47299,18 @@
|
|
|
46812
47299
|
{
|
|
46813
47300
|
"$ref": "#/components/schemas/APIChannelSite"
|
|
46814
47301
|
},
|
|
47302
|
+
{
|
|
47303
|
+
"$ref": "#/components/schemas/APIChannelSiteChannels"
|
|
47304
|
+
},
|
|
46815
47305
|
{
|
|
46816
47306
|
"$ref": "#/components/schemas/APIChannelSiteContext"
|
|
46817
47307
|
},
|
|
46818
47308
|
{
|
|
46819
47309
|
"$ref": "#/components/schemas/APIChannelSiteCustomization"
|
|
46820
47310
|
},
|
|
47311
|
+
{
|
|
47312
|
+
"$ref": "#/components/schemas/APIChannelSiteAgentSettings"
|
|
47313
|
+
},
|
|
46821
47314
|
{
|
|
46822
47315
|
"$ref": "#/components/schemas/APIChannelSiteIntegrations"
|
|
46823
47316
|
},
|
|
@@ -47335,14 +47828,14 @@
|
|
|
47335
47828
|
"actor"
|
|
47336
47829
|
]
|
|
47337
47830
|
},
|
|
47338
|
-
"
|
|
47831
|
+
"LocalizedContentRef": {
|
|
47832
|
+
"description": "Localized content reference, keyed by locale. Contains overrides for non-default languages only.",
|
|
47339
47833
|
"type": "object",
|
|
47340
|
-
"
|
|
47834
|
+
"additionalProperties": {
|
|
47835
|
+
"$ref": "#/components/schemas/ContentRef"
|
|
47836
|
+
},
|
|
47341
47837
|
"propertyNames": {
|
|
47342
47838
|
"$ref": "#/components/schemas/TranslationLanguage"
|
|
47343
|
-
},
|
|
47344
|
-
"additionalProperties": {
|
|
47345
|
-
"type": "string"
|
|
47346
47839
|
}
|
|
47347
47840
|
},
|
|
47348
47841
|
"RequestSpaceTrackPageView": {
|