@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.yaml
CHANGED
|
@@ -105,6 +105,16 @@ tags:
|
|
|
105
105
|
{% openapi-schemas spec="gitbook" schemas="SiteCustomizationSettings" grouped="false" %}
|
|
106
106
|
The SiteCustomizationSettings object
|
|
107
107
|
{% endopenapi-schemas %}
|
|
108
|
+
- name: site-agent-settings
|
|
109
|
+
x-page-title: Site agent settings
|
|
110
|
+
x-page-description: Configure site-specific issue remediation behavior and agent instructions.
|
|
111
|
+
x-parent: sites
|
|
112
|
+
description: |
|
|
113
|
+
Configure how site issue remediation should behave and provide site-specific instructions for the editing and topic analyst agents.
|
|
114
|
+
|
|
115
|
+
{% openapi-schemas spec="gitbook" schemas="SiteAgentSettings" grouped="false" %}
|
|
116
|
+
The SiteAgentSettings object
|
|
117
|
+
{% endopenapi-schemas %}
|
|
108
118
|
- name: site-spaces
|
|
109
119
|
x-page-title: Site spaces
|
|
110
120
|
x-page-description: Control which spaces are linked and displayed in a docs site.
|
|
@@ -759,45 +769,6 @@ paths:
|
|
|
759
769
|
"409":
|
|
760
770
|
description: Operation would not result in any update
|
|
761
771
|
$ref: "#/components/responses/ConflictError"
|
|
762
|
-
"/spaces/{spaceId}/transfer":
|
|
763
|
-
post:
|
|
764
|
-
operationId: transferSpace
|
|
765
|
-
summary: Transfer a space
|
|
766
|
-
description: Transfer a space to another organization, collection or both.
|
|
767
|
-
tags:
|
|
768
|
-
- spaces
|
|
769
|
-
security:
|
|
770
|
-
- user: []
|
|
771
|
-
parameters:
|
|
772
|
-
- $ref: "#/components/parameters/spaceId"
|
|
773
|
-
requestBody:
|
|
774
|
-
required: true
|
|
775
|
-
content:
|
|
776
|
-
application/json:
|
|
777
|
-
schema:
|
|
778
|
-
type: object
|
|
779
|
-
properties:
|
|
780
|
-
organization:
|
|
781
|
-
type: string
|
|
782
|
-
description: The unique id of the target organization
|
|
783
|
-
required:
|
|
784
|
-
- organization
|
|
785
|
-
responses:
|
|
786
|
-
"200":
|
|
787
|
-
description: Space transferred
|
|
788
|
-
content:
|
|
789
|
-
application/json:
|
|
790
|
-
schema:
|
|
791
|
-
$ref: "#/components/schemas/Space"
|
|
792
|
-
"404":
|
|
793
|
-
description: No matching Space found for given ID
|
|
794
|
-
$ref: "#/components/responses/NotFoundError"
|
|
795
|
-
"409":
|
|
796
|
-
description: Transfer would not result in any update
|
|
797
|
-
$ref: "#/components/responses/ConflictError"
|
|
798
|
-
"412":
|
|
799
|
-
description: The space cannot be moved.
|
|
800
|
-
$ref: "#/components/responses/PreconditionFailedError"
|
|
801
772
|
"/spaces/{spaceId}/embed":
|
|
802
773
|
get:
|
|
803
774
|
operationId: getEmbedByUrlInSpace
|
|
@@ -6725,6 +6696,10 @@ paths:
|
|
|
6725
6696
|
$ref: "#/components/schemas/SiteBasename"
|
|
6726
6697
|
adaptiveContent:
|
|
6727
6698
|
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
6699
|
+
permissionsModel:
|
|
6700
|
+
$ref: "#/components/schemas/SitePermissionsModel"
|
|
6701
|
+
defaultLevel:
|
|
6702
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
6728
6703
|
defaultSiteSpace:
|
|
6729
6704
|
type: string
|
|
6730
6705
|
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.
|
|
@@ -7325,6 +7300,10 @@ paths:
|
|
|
7325
7300
|
sectionId:
|
|
7326
7301
|
type: string
|
|
7327
7302
|
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.
|
|
7303
|
+
draft:
|
|
7304
|
+
type: boolean
|
|
7305
|
+
default: false
|
|
7306
|
+
description: Whether the site space should be created as draft. Defaults to false.
|
|
7328
7307
|
required:
|
|
7329
7308
|
- spaceId
|
|
7330
7309
|
responses:
|
|
@@ -7434,6 +7413,9 @@ paths:
|
|
|
7434
7413
|
parent:
|
|
7435
7414
|
type: string
|
|
7436
7415
|
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.
|
|
7416
|
+
draft:
|
|
7417
|
+
type: boolean
|
|
7418
|
+
description: Whether the section group should be created in draft mode.
|
|
7437
7419
|
required:
|
|
7438
7420
|
- title
|
|
7439
7421
|
responses:
|
|
@@ -7470,11 +7452,14 @@ paths:
|
|
|
7470
7452
|
title:
|
|
7471
7453
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
7472
7454
|
localizedTitle:
|
|
7473
|
-
$ref: "#/components/schemas/
|
|
7455
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
7474
7456
|
icon:
|
|
7475
7457
|
oneOf:
|
|
7476
7458
|
- $ref: "#/components/schemas/Icon"
|
|
7477
7459
|
- type: "null"
|
|
7460
|
+
draft:
|
|
7461
|
+
type: boolean
|
|
7462
|
+
description: Whether the site section group is draft and not live.
|
|
7478
7463
|
responses:
|
|
7479
7464
|
"200":
|
|
7480
7465
|
description: OK
|
|
@@ -7583,6 +7568,9 @@ paths:
|
|
|
7583
7568
|
oneOf:
|
|
7584
7569
|
- $ref: "#/components/schemas/Icon"
|
|
7585
7570
|
- type: "null"
|
|
7571
|
+
draft:
|
|
7572
|
+
type: boolean
|
|
7573
|
+
description: Whether the section should be created in draft mode.
|
|
7586
7574
|
siteSectionGroupId:
|
|
7587
7575
|
type: string
|
|
7588
7576
|
description: ID of the section group to create the section in
|
|
@@ -7651,7 +7639,7 @@ paths:
|
|
|
7651
7639
|
title:
|
|
7652
7640
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
7653
7641
|
localizedTitle:
|
|
7654
|
-
$ref: "#/components/schemas/
|
|
7642
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
7655
7643
|
path:
|
|
7656
7644
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
7657
7645
|
defaultSiteSpace:
|
|
@@ -7666,12 +7654,15 @@ paths:
|
|
|
7666
7654
|
oneOf:
|
|
7667
7655
|
- $ref: "#/components/schemas/Icon"
|
|
7668
7656
|
- type: "null"
|
|
7657
|
+
draft:
|
|
7658
|
+
type: boolean
|
|
7659
|
+
description: Whether the site section is draft and not live.
|
|
7669
7660
|
description:
|
|
7670
7661
|
oneOf:
|
|
7671
7662
|
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
7672
7663
|
- type: "null"
|
|
7673
7664
|
localizedDescription:
|
|
7674
|
-
$ref: "#/components/schemas/
|
|
7665
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
7675
7666
|
siteSectionGroupId:
|
|
7676
7667
|
description: ID of the section group to move the section into. Set to null to move the section to the root of the site.
|
|
7677
7668
|
oneOf:
|
|
@@ -8541,16 +8532,35 @@ paths:
|
|
|
8541
8532
|
description: Filter questions by question type.
|
|
8542
8533
|
schema:
|
|
8543
8534
|
$ref: "#/components/schemas/SiteQuestionType"
|
|
8535
|
+
- name: relevance
|
|
8536
|
+
in: query
|
|
8537
|
+
description: Filter questions by question relevance.
|
|
8538
|
+
schema:
|
|
8539
|
+
type: array
|
|
8540
|
+
items:
|
|
8541
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8544
8542
|
- name: answered
|
|
8545
8543
|
in: query
|
|
8546
8544
|
description: Filter questions by answer resolution.
|
|
8547
8545
|
schema:
|
|
8548
|
-
|
|
8546
|
+
type: array
|
|
8547
|
+
items:
|
|
8548
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8549
8549
|
- name: topic
|
|
8550
8550
|
in: query
|
|
8551
8551
|
description: Filter questions by associated site topic ID.
|
|
8552
8552
|
schema:
|
|
8553
8553
|
type: string
|
|
8554
|
+
- $ref: "#/components/parameters/listOrder"
|
|
8555
|
+
- name: sort
|
|
8556
|
+
in: query
|
|
8557
|
+
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.
|
|
8558
|
+
schema:
|
|
8559
|
+
type: string
|
|
8560
|
+
enum:
|
|
8561
|
+
- askedAt
|
|
8562
|
+
- stats.answered
|
|
8563
|
+
- stats.feedback
|
|
8554
8564
|
- $ref: "#/components/parameters/listPage"
|
|
8555
8565
|
- $ref: "#/components/parameters/listLimit"
|
|
8556
8566
|
responses:
|
|
@@ -8653,6 +8663,13 @@ paths:
|
|
|
8653
8663
|
type: array
|
|
8654
8664
|
items:
|
|
8655
8665
|
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8666
|
+
- name: answered
|
|
8667
|
+
in: query
|
|
8668
|
+
description: Filter stats by answer resolution.
|
|
8669
|
+
schema:
|
|
8670
|
+
type: array
|
|
8671
|
+
items:
|
|
8672
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8656
8673
|
responses:
|
|
8657
8674
|
"200":
|
|
8658
8675
|
description: OK
|
|
@@ -8831,6 +8848,9 @@ paths:
|
|
|
8831
8848
|
hidden:
|
|
8832
8849
|
type: boolean
|
|
8833
8850
|
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.
|
|
8851
|
+
draft:
|
|
8852
|
+
type: boolean
|
|
8853
|
+
description: Whether the site space should be kept in draft mode. Setting it to false makes the site space live.
|
|
8834
8854
|
responses:
|
|
8835
8855
|
"200":
|
|
8836
8856
|
description: OK
|
|
@@ -8903,7 +8923,7 @@ paths:
|
|
|
8903
8923
|
localizedTitle:
|
|
8904
8924
|
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.
|
|
8905
8925
|
oneOf:
|
|
8906
|
-
- $ref: "#/components/schemas/
|
|
8926
|
+
- $ref: "#/components/schemas/LocalizedString128"
|
|
8907
8927
|
- type: "null"
|
|
8908
8928
|
styling:
|
|
8909
8929
|
type: object
|
|
@@ -9550,6 +9570,51 @@ paths:
|
|
|
9550
9570
|
text/event-stream:
|
|
9551
9571
|
schema:
|
|
9552
9572
|
$ref: "#/components/schemas/AIStreamResponse"
|
|
9573
|
+
"/orgs/{organizationId}/sites/{siteId}/agent-settings":
|
|
9574
|
+
get:
|
|
9575
|
+
operationId: getSiteAgentSettingsById
|
|
9576
|
+
summary: Get site agent settings
|
|
9577
|
+
tags:
|
|
9578
|
+
- site-agent-settings
|
|
9579
|
+
security:
|
|
9580
|
+
- user: []
|
|
9581
|
+
parameters:
|
|
9582
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9583
|
+
- $ref: "#/components/parameters/siteId"
|
|
9584
|
+
responses:
|
|
9585
|
+
"200":
|
|
9586
|
+
description: OK
|
|
9587
|
+
content:
|
|
9588
|
+
application/json:
|
|
9589
|
+
schema:
|
|
9590
|
+
$ref: "#/components/schemas/SiteAgentSettings"
|
|
9591
|
+
"400":
|
|
9592
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9593
|
+
put:
|
|
9594
|
+
operationId: updateSiteAgentSettingsById
|
|
9595
|
+
summary: Update site agent settings
|
|
9596
|
+
tags:
|
|
9597
|
+
- site-agent-settings
|
|
9598
|
+
security:
|
|
9599
|
+
- user: []
|
|
9600
|
+
parameters:
|
|
9601
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9602
|
+
- $ref: "#/components/parameters/siteId"
|
|
9603
|
+
requestBody:
|
|
9604
|
+
required: true
|
|
9605
|
+
content:
|
|
9606
|
+
application/json:
|
|
9607
|
+
schema:
|
|
9608
|
+
$ref: "#/components/schemas/SiteAgentSettingsInput"
|
|
9609
|
+
responses:
|
|
9610
|
+
"200":
|
|
9611
|
+
description: OK
|
|
9612
|
+
content:
|
|
9613
|
+
application/json:
|
|
9614
|
+
schema:
|
|
9615
|
+
$ref: "#/components/schemas/SiteAgentSettings"
|
|
9616
|
+
"400":
|
|
9617
|
+
$ref: "#/components/responses/BadRequestError"
|
|
9553
9618
|
"/orgs/{organizationId}/sites/{siteId}/insights/events":
|
|
9554
9619
|
post:
|
|
9555
9620
|
operationId: trackEventsInSiteById
|
|
@@ -10172,8 +10237,8 @@ paths:
|
|
|
10172
10237
|
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
10173
10238
|
- type: object
|
|
10174
10239
|
properties:
|
|
10175
|
-
|
|
10176
|
-
$ref: "#/components/schemas/
|
|
10240
|
+
role:
|
|
10241
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
10177
10242
|
responses:
|
|
10178
10243
|
"201":
|
|
10179
10244
|
description: Site channel created
|
|
@@ -10200,6 +10265,35 @@ paths:
|
|
|
10200
10265
|
application/json:
|
|
10201
10266
|
schema:
|
|
10202
10267
|
$ref: "#/components/schemas/SiteChannel"
|
|
10268
|
+
patch:
|
|
10269
|
+
operationId: updateSiteChannelById
|
|
10270
|
+
summary: Update a site channel
|
|
10271
|
+
tags:
|
|
10272
|
+
- site-channels
|
|
10273
|
+
security:
|
|
10274
|
+
- user: []
|
|
10275
|
+
parameters:
|
|
10276
|
+
- $ref: "#/components/parameters/organizationId"
|
|
10277
|
+
- $ref: "#/components/parameters/siteId"
|
|
10278
|
+
- $ref: "#/components/parameters/siteChannelId"
|
|
10279
|
+
requestBody:
|
|
10280
|
+
required: true
|
|
10281
|
+
content:
|
|
10282
|
+
application/json:
|
|
10283
|
+
schema:
|
|
10284
|
+
anyOf:
|
|
10285
|
+
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
10286
|
+
- type: object
|
|
10287
|
+
properties:
|
|
10288
|
+
role:
|
|
10289
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
10290
|
+
responses:
|
|
10291
|
+
"200":
|
|
10292
|
+
description: OK
|
|
10293
|
+
content:
|
|
10294
|
+
application/json:
|
|
10295
|
+
schema:
|
|
10296
|
+
$ref: "#/components/schemas/SiteChannel"
|
|
10203
10297
|
delete:
|
|
10204
10298
|
operationId: deleteSiteChannelById
|
|
10205
10299
|
summary: Delete a site channel
|
|
@@ -12986,6 +13080,9 @@ components:
|
|
|
12986
13080
|
hideHeader:
|
|
12987
13081
|
type: boolean
|
|
12988
13082
|
description: Should we display the header with column titles
|
|
13083
|
+
stickyHeader:
|
|
13084
|
+
type: boolean
|
|
13085
|
+
description: Should we keep the table header sticky while the page scrolls
|
|
12989
13086
|
useNewSizing:
|
|
12990
13087
|
type: boolean
|
|
12991
13088
|
description: |
|
|
@@ -15589,6 +15686,22 @@ components:
|
|
|
15589
15686
|
comments:
|
|
15590
15687
|
type: number
|
|
15591
15688
|
description: Count of opened comments on the change request.
|
|
15689
|
+
siteTopic:
|
|
15690
|
+
type: object
|
|
15691
|
+
description: Site context associated with the change request when it was created from a site topic or finding.
|
|
15692
|
+
properties:
|
|
15693
|
+
site:
|
|
15694
|
+
type: string
|
|
15695
|
+
description: ID of the site associated with the change request.
|
|
15696
|
+
topic:
|
|
15697
|
+
type: string
|
|
15698
|
+
description: ID of the site topic associated with the change request.
|
|
15699
|
+
finding:
|
|
15700
|
+
type: string
|
|
15701
|
+
description: ID of the site finding associated with the change request, when applicable.
|
|
15702
|
+
required:
|
|
15703
|
+
- site
|
|
15704
|
+
- topic
|
|
15592
15705
|
outdated:
|
|
15593
15706
|
type: boolean
|
|
15594
15707
|
description: If true, the change request is not up-to-date with latest changes in the main content.
|
|
@@ -18914,6 +19027,12 @@ components:
|
|
|
18914
19027
|
- unlisted
|
|
18915
19028
|
- share-link
|
|
18916
19029
|
- visitor-auth
|
|
19030
|
+
SitePermissionsModel:
|
|
19031
|
+
type: string
|
|
19032
|
+
description: Permissions resolution mode for the site.
|
|
19033
|
+
enum:
|
|
19034
|
+
- legacy
|
|
19035
|
+
- site
|
|
18917
19036
|
SiteAdaptiveContent:
|
|
18918
19037
|
type: object
|
|
18919
19038
|
properties:
|
|
@@ -19075,6 +19194,10 @@ components:
|
|
|
19075
19194
|
$ref: "#/components/schemas/SiteProxy"
|
|
19076
19195
|
visibility:
|
|
19077
19196
|
$ref: "#/components/schemas/SiteVisibility"
|
|
19197
|
+
permissionsModel:
|
|
19198
|
+
$ref: "#/components/schemas/SitePermissionsModel"
|
|
19199
|
+
defaultLevel:
|
|
19200
|
+
$ref: "#/components/schemas/DefaultLevel"
|
|
19078
19201
|
published:
|
|
19079
19202
|
type: boolean
|
|
19080
19203
|
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
@@ -19129,6 +19252,8 @@ components:
|
|
|
19129
19252
|
- appliedType
|
|
19130
19253
|
- title
|
|
19131
19254
|
- visibility
|
|
19255
|
+
- permissionsModel
|
|
19256
|
+
- defaultLevel
|
|
19132
19257
|
- published
|
|
19133
19258
|
- createdAt
|
|
19134
19259
|
- siteSpaces
|
|
@@ -20040,9 +20165,9 @@ components:
|
|
|
20040
20165
|
description: Title of the site section
|
|
20041
20166
|
minLength: 2
|
|
20042
20167
|
maxLength: 128
|
|
20043
|
-
|
|
20168
|
+
LocalizedString128:
|
|
20044
20169
|
type: object
|
|
20045
|
-
description: Localized
|
|
20170
|
+
description: Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
20046
20171
|
additionalProperties:
|
|
20047
20172
|
type: string
|
|
20048
20173
|
maxLength: 128
|
|
@@ -20053,9 +20178,9 @@ components:
|
|
|
20053
20178
|
description: Description of the site section
|
|
20054
20179
|
minLength: 0
|
|
20055
20180
|
maxLength: 256
|
|
20056
|
-
|
|
20181
|
+
LocalizedString256:
|
|
20057
20182
|
type: object
|
|
20058
|
-
description: Localized
|
|
20183
|
+
description: Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
20059
20184
|
additionalProperties:
|
|
20060
20185
|
type: string
|
|
20061
20186
|
maxLength: 256
|
|
@@ -20092,13 +20217,16 @@ components:
|
|
|
20092
20217
|
title:
|
|
20093
20218
|
type: string
|
|
20094
20219
|
localizedTitle:
|
|
20095
|
-
$ref: "#/components/schemas/
|
|
20220
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20096
20221
|
default:
|
|
20097
20222
|
type: boolean
|
|
20098
20223
|
description: Whether this is the default space for the site
|
|
20099
20224
|
condition:
|
|
20100
20225
|
description: Conditional expression used to evaluate whether the site space should be shown to the site's visitor.
|
|
20101
20226
|
$ref: "#/components/schemas/Expression"
|
|
20227
|
+
draft:
|
|
20228
|
+
type: boolean
|
|
20229
|
+
description: Whether the site space is draft and not live.
|
|
20102
20230
|
hasAdvancedCustomizationFeature:
|
|
20103
20231
|
type: boolean
|
|
20104
20232
|
description: Whether the space has advanced customization feature enabled
|
|
@@ -20119,6 +20247,7 @@ components:
|
|
|
20119
20247
|
- space
|
|
20120
20248
|
- title
|
|
20121
20249
|
- path
|
|
20250
|
+
- draft
|
|
20122
20251
|
- urls
|
|
20123
20252
|
SiteSection:
|
|
20124
20253
|
type: object
|
|
@@ -20134,14 +20263,17 @@ components:
|
|
|
20134
20263
|
title:
|
|
20135
20264
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
20136
20265
|
localizedTitle:
|
|
20137
|
-
$ref: "#/components/schemas/
|
|
20266
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20138
20267
|
description:
|
|
20139
20268
|
$ref: "#/components/schemas/SiteSectionDescription"
|
|
20140
20269
|
localizedDescription:
|
|
20141
|
-
$ref: "#/components/schemas/
|
|
20270
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
20142
20271
|
default:
|
|
20143
20272
|
type: boolean
|
|
20144
20273
|
description: Whether this is the default section for the site
|
|
20274
|
+
draft:
|
|
20275
|
+
type: boolean
|
|
20276
|
+
description: Whether the site section is draft and not live.
|
|
20145
20277
|
path:
|
|
20146
20278
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
20147
20279
|
condition:
|
|
@@ -20169,6 +20301,7 @@ components:
|
|
|
20169
20301
|
- id
|
|
20170
20302
|
- title
|
|
20171
20303
|
- path
|
|
20304
|
+
- draft
|
|
20172
20305
|
- siteSpaces
|
|
20173
20306
|
- urls
|
|
20174
20307
|
SiteSectionGroupTitle:
|
|
@@ -20190,7 +20323,7 @@ components:
|
|
|
20190
20323
|
title:
|
|
20191
20324
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
20192
20325
|
localizedTitle:
|
|
20193
|
-
$ref: "#/components/schemas/
|
|
20326
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20194
20327
|
sections:
|
|
20195
20328
|
type: array
|
|
20196
20329
|
deprecated: true
|
|
@@ -20200,6 +20333,9 @@ components:
|
|
|
20200
20333
|
sectionGroup:
|
|
20201
20334
|
type: string
|
|
20202
20335
|
description: ID of the parent section group this group belongs to
|
|
20336
|
+
draft:
|
|
20337
|
+
type: boolean
|
|
20338
|
+
description: Whether the site section group is draft and not live.
|
|
20203
20339
|
children:
|
|
20204
20340
|
type: array
|
|
20205
20341
|
description: List of all child sections and groups nested under this group
|
|
@@ -20213,6 +20349,7 @@ components:
|
|
|
20213
20349
|
- object
|
|
20214
20350
|
- id
|
|
20215
20351
|
- title
|
|
20352
|
+
- draft
|
|
20216
20353
|
- sections
|
|
20217
20354
|
- children
|
|
20218
20355
|
SiteStructure:
|
|
@@ -22268,14 +22405,32 @@ components:
|
|
|
22268
22405
|
- contrast
|
|
22269
22406
|
- custom
|
|
22270
22407
|
- none
|
|
22408
|
+
LocalizedString:
|
|
22409
|
+
type: object
|
|
22410
|
+
description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
|
|
22411
|
+
propertyNames:
|
|
22412
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
22413
|
+
additionalProperties:
|
|
22414
|
+
type: string
|
|
22271
22415
|
CustomizationContentLinkTitle:
|
|
22272
22416
|
type: string
|
|
22273
22417
|
maxLength: 64
|
|
22418
|
+
LocalizedString64:
|
|
22419
|
+
type: object
|
|
22420
|
+
description: Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
22421
|
+
additionalProperties:
|
|
22422
|
+
type: string
|
|
22423
|
+
maxLength: 64
|
|
22424
|
+
propertyNames:
|
|
22425
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
22274
22426
|
CustomizationContentLink:
|
|
22275
22427
|
type: object
|
|
22276
22428
|
properties:
|
|
22277
22429
|
title:
|
|
22278
22430
|
$ref: "#/components/schemas/CustomizationContentLinkTitle"
|
|
22431
|
+
localizedTitle:
|
|
22432
|
+
description: Localized overrides for the link title, keyed by locale.
|
|
22433
|
+
$ref: "#/components/schemas/LocalizedString64"
|
|
22279
22434
|
to:
|
|
22280
22435
|
$ref: "#/components/schemas/ContentRef"
|
|
22281
22436
|
required:
|
|
@@ -22286,6 +22441,9 @@ components:
|
|
|
22286
22441
|
properties:
|
|
22287
22442
|
title:
|
|
22288
22443
|
type: string
|
|
22444
|
+
localizedTitle:
|
|
22445
|
+
description: Localized overrides for the header item title, keyed by locale.
|
|
22446
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
22289
22447
|
style:
|
|
22290
22448
|
type: string
|
|
22291
22449
|
enum:
|
|
@@ -22312,6 +22470,9 @@ components:
|
|
|
22312
22470
|
properties:
|
|
22313
22471
|
title:
|
|
22314
22472
|
type: string
|
|
22473
|
+
localizedTitle:
|
|
22474
|
+
description: Localized overrides for the footer group title, keyed by locale.
|
|
22475
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
22315
22476
|
links:
|
|
22316
22477
|
type: array
|
|
22317
22478
|
items:
|
|
@@ -22332,6 +22493,9 @@ components:
|
|
|
22332
22493
|
type: boolean
|
|
22333
22494
|
message:
|
|
22334
22495
|
$ref: "#/components/schemas/CustomizationAnnouncementMessage"
|
|
22496
|
+
localizedMessage:
|
|
22497
|
+
description: Localized overrides for the announcement message, keyed by locale.
|
|
22498
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
22335
22499
|
link:
|
|
22336
22500
|
description: The content or URL the announcement links to when clicked.
|
|
22337
22501
|
$ref: "#/components/schemas/CustomizationContentLink"
|
|
@@ -22437,7 +22601,7 @@ components:
|
|
|
22437
22601
|
$ref: "#/components/schemas/SiteTitle"
|
|
22438
22602
|
localizedTitle:
|
|
22439
22603
|
description: Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.
|
|
22440
|
-
$ref: "#/components/schemas/
|
|
22604
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
22441
22605
|
styling:
|
|
22442
22606
|
type: object
|
|
22443
22607
|
properties:
|
|
@@ -23421,6 +23585,8 @@ components:
|
|
|
23421
23585
|
$ref: "#/components/schemas/SiteQuestionType"
|
|
23422
23586
|
createdAt:
|
|
23423
23587
|
$ref: "#/components/schemas/Timestamp"
|
|
23588
|
+
askedAt:
|
|
23589
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23424
23590
|
stats:
|
|
23425
23591
|
$ref: "#/components/schemas/SiteQuestionStats"
|
|
23426
23592
|
urls:
|
|
@@ -23439,6 +23605,7 @@ components:
|
|
|
23439
23605
|
- question
|
|
23440
23606
|
- type
|
|
23441
23607
|
- createdAt
|
|
23608
|
+
- askedAt
|
|
23442
23609
|
- stats
|
|
23443
23610
|
- urls
|
|
23444
23611
|
ContextConnectionLabel:
|
|
@@ -23698,6 +23865,19 @@ components:
|
|
|
23698
23865
|
records:
|
|
23699
23866
|
type: number
|
|
23700
23867
|
description: The number of records in the topic
|
|
23868
|
+
findings:
|
|
23869
|
+
type: object
|
|
23870
|
+
description: The number of findings linked to the topic
|
|
23871
|
+
properties:
|
|
23872
|
+
open:
|
|
23873
|
+
type: number
|
|
23874
|
+
description: The number of open findings linked to the topic
|
|
23875
|
+
total:
|
|
23876
|
+
type: number
|
|
23877
|
+
description: The total number of findings linked to the topic
|
|
23878
|
+
required:
|
|
23879
|
+
- open
|
|
23880
|
+
- total
|
|
23701
23881
|
questions:
|
|
23702
23882
|
$ref: "#/components/schemas/SiteQuestionStats"
|
|
23703
23883
|
urls:
|
|
@@ -23719,10 +23899,19 @@ components:
|
|
|
23719
23899
|
- usageSettings
|
|
23720
23900
|
- pages
|
|
23721
23901
|
- records
|
|
23902
|
+
- findings
|
|
23722
23903
|
- questions
|
|
23723
23904
|
- createdAt
|
|
23724
23905
|
- updatedAt
|
|
23725
23906
|
- urls
|
|
23907
|
+
SiteQuestionAnswerRelevance:
|
|
23908
|
+
type: string
|
|
23909
|
+
description: Relevance classification of the user question.
|
|
23910
|
+
enum:
|
|
23911
|
+
- relevant
|
|
23912
|
+
- spam
|
|
23913
|
+
- off-topic
|
|
23914
|
+
- unclear
|
|
23726
23915
|
SiteQuestionAnswerResolution:
|
|
23727
23916
|
type: string
|
|
23728
23917
|
description: Whether the response answered the question.
|
|
@@ -23799,6 +23988,8 @@ components:
|
|
|
23799
23988
|
record:
|
|
23800
23989
|
type: string
|
|
23801
23990
|
description: The site context record ID.
|
|
23991
|
+
connector:
|
|
23992
|
+
$ref: "#/components/schemas/ContextConnector"
|
|
23802
23993
|
required:
|
|
23803
23994
|
- type
|
|
23804
23995
|
- record
|
|
@@ -23808,14 +23999,6 @@ components:
|
|
|
23808
23999
|
- $ref: "#/components/schemas/SiteQuestionAnswerSourceRecord"
|
|
23809
24000
|
discriminator:
|
|
23810
24001
|
propertyName: type
|
|
23811
|
-
SiteQuestionAnswerRelevance:
|
|
23812
|
-
type: string
|
|
23813
|
-
description: Relevance classification of the user question.
|
|
23814
|
-
enum:
|
|
23815
|
-
- relevant
|
|
23816
|
-
- spam
|
|
23817
|
-
- off-topic
|
|
23818
|
-
- unclear
|
|
23819
24002
|
SiteQuestionAnswerHelpfulness:
|
|
23820
24003
|
type: string
|
|
23821
24004
|
description: Helpfulness of the response for the end user need.
|
|
@@ -23996,6 +24179,32 @@ components:
|
|
|
23996
24179
|
- spaceId
|
|
23997
24180
|
- page
|
|
23998
24181
|
- revisionId
|
|
24182
|
+
AIToolCallGetRecordContent:
|
|
24183
|
+
type: object
|
|
24184
|
+
description: Tool to read the body of an external record.
|
|
24185
|
+
properties:
|
|
24186
|
+
tool:
|
|
24187
|
+
type: string
|
|
24188
|
+
enum:
|
|
24189
|
+
- getRecordContent
|
|
24190
|
+
siteId:
|
|
24191
|
+
type: string
|
|
24192
|
+
description: The ID of the site owning the context record.
|
|
24193
|
+
recordId:
|
|
24194
|
+
type: string
|
|
24195
|
+
description: The ID of the context record.
|
|
24196
|
+
title:
|
|
24197
|
+
type: string
|
|
24198
|
+
description: The title of the record.
|
|
24199
|
+
url:
|
|
24200
|
+
type: string
|
|
24201
|
+
format: uri
|
|
24202
|
+
description: URL of the record in the source system.
|
|
24203
|
+
required:
|
|
24204
|
+
- tool
|
|
24205
|
+
- siteId
|
|
24206
|
+
- recordId
|
|
24207
|
+
- title
|
|
23999
24208
|
AIToolCallGetPages:
|
|
24000
24209
|
type: object
|
|
24001
24210
|
properties:
|
|
@@ -24456,6 +24665,7 @@ components:
|
|
|
24456
24665
|
AIToolCall:
|
|
24457
24666
|
oneOf:
|
|
24458
24667
|
- $ref: "#/components/schemas/AIToolCallGetPageContent"
|
|
24668
|
+
- $ref: "#/components/schemas/AIToolCallGetRecordContent"
|
|
24459
24669
|
- $ref: "#/components/schemas/AIToolCallGetPages"
|
|
24460
24670
|
- $ref: "#/components/schemas/AIToolCallGetReusableContents"
|
|
24461
24671
|
- $ref: "#/components/schemas/AIToolCallSearch"
|
|
@@ -24724,7 +24934,7 @@ components:
|
|
|
24724
24934
|
properties:
|
|
24725
24935
|
role:
|
|
24726
24936
|
description: Role to set.
|
|
24727
|
-
$ref: "#/components/schemas/
|
|
24937
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
24728
24938
|
anyOf:
|
|
24729
24939
|
- type: object
|
|
24730
24940
|
properties:
|
|
@@ -24783,7 +24993,7 @@ components:
|
|
|
24783
24993
|
description: Permission override of a user in a site.
|
|
24784
24994
|
properties:
|
|
24785
24995
|
permission:
|
|
24786
|
-
$ref: "#/components/schemas/
|
|
24996
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
24787
24997
|
user:
|
|
24788
24998
|
$ref: "#/components/schemas/User"
|
|
24789
24999
|
required:
|
|
@@ -24794,7 +25004,7 @@ components:
|
|
|
24794
25004
|
description: Permission override of a team in a site.
|
|
24795
25005
|
properties:
|
|
24796
25006
|
permission:
|
|
24797
|
-
$ref: "#/components/schemas/
|
|
25007
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
24798
25008
|
team:
|
|
24799
25009
|
$ref: "#/components/schemas/OrganizationTeam"
|
|
24800
25010
|
required:
|
|
@@ -25123,6 +25333,75 @@ components:
|
|
|
25123
25333
|
- $ref: "#/components/schemas/AIStreamResponseToolCallPending"
|
|
25124
25334
|
- $ref: "#/components/schemas/AIStreamResponseFollowupSuggestion"
|
|
25125
25335
|
- $ref: "#/components/schemas/AIStreamResponseAttachment"
|
|
25336
|
+
SiteSettingsScanTopics:
|
|
25337
|
+
type: string
|
|
25338
|
+
enum:
|
|
25339
|
+
- auto
|
|
25340
|
+
- never
|
|
25341
|
+
description: Controls when topics are being scanned for findings.
|
|
25342
|
+
SiteSettingsFindingChangeRequests:
|
|
25343
|
+
type: string
|
|
25344
|
+
enum:
|
|
25345
|
+
- always
|
|
25346
|
+
- auto-fixable
|
|
25347
|
+
- never
|
|
25348
|
+
description: Controls how issue remediation change requests should be handled for a site.
|
|
25349
|
+
SiteAgentSettingsInput:
|
|
25350
|
+
type: object
|
|
25351
|
+
properties:
|
|
25352
|
+
scans:
|
|
25353
|
+
description: Settings related to scanning for a site.
|
|
25354
|
+
type: object
|
|
25355
|
+
properties:
|
|
25356
|
+
topics:
|
|
25357
|
+
$ref: "#/components/schemas/SiteSettingsScanTopics"
|
|
25358
|
+
required:
|
|
25359
|
+
- topics
|
|
25360
|
+
findings:
|
|
25361
|
+
description: Settings related to processing of findings for a site.
|
|
25362
|
+
type: object
|
|
25363
|
+
properties:
|
|
25364
|
+
changeRequests:
|
|
25365
|
+
$ref: "#/components/schemas/SiteSettingsFindingChangeRequests"
|
|
25366
|
+
required:
|
|
25367
|
+
- changeRequests
|
|
25368
|
+
editing:
|
|
25369
|
+
description: Site-specific instructions for the editing agent.
|
|
25370
|
+
type: object
|
|
25371
|
+
properties:
|
|
25372
|
+
customInstructions:
|
|
25373
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
25374
|
+
required:
|
|
25375
|
+
- customInstructions
|
|
25376
|
+
required:
|
|
25377
|
+
- scans
|
|
25378
|
+
- findings
|
|
25379
|
+
- editing
|
|
25380
|
+
SiteAgentSettings:
|
|
25381
|
+
allOf:
|
|
25382
|
+
- type: object
|
|
25383
|
+
properties:
|
|
25384
|
+
object:
|
|
25385
|
+
type: string
|
|
25386
|
+
enum:
|
|
25387
|
+
- site-agent-settings
|
|
25388
|
+
updatedAt:
|
|
25389
|
+
$ref: "#/components/schemas/Timestamp"
|
|
25390
|
+
updatedBy:
|
|
25391
|
+
type: string
|
|
25392
|
+
description: Identifier of the member who last updated the settings.
|
|
25393
|
+
urls:
|
|
25394
|
+
type: object
|
|
25395
|
+
properties:
|
|
25396
|
+
location:
|
|
25397
|
+
type: string
|
|
25398
|
+
description: Relative URL to the resource in the API.
|
|
25399
|
+
required:
|
|
25400
|
+
- location
|
|
25401
|
+
required:
|
|
25402
|
+
- object
|
|
25403
|
+
- urls
|
|
25404
|
+
- $ref: "#/components/schemas/SiteAgentSettingsInput"
|
|
25126
25405
|
SiteInsightsEventSession:
|
|
25127
25406
|
allOf:
|
|
25128
25407
|
- $ref: "#/components/schemas/SiteInsightsSession"
|
|
@@ -27002,6 +27281,13 @@ components:
|
|
|
27002
27281
|
setupSettings:
|
|
27003
27282
|
type: object
|
|
27004
27283
|
additionalProperties: false
|
|
27284
|
+
properties:
|
|
27285
|
+
allowedChannels:
|
|
27286
|
+
description: List of allowed Slack channel names or patterns. If empty, all channels are allowed.
|
|
27287
|
+
type: array
|
|
27288
|
+
items:
|
|
27289
|
+
type: string
|
|
27290
|
+
pattern: ^[a-zA-Z0-9_\*-]+$
|
|
27005
27291
|
required:
|
|
27006
27292
|
- type
|
|
27007
27293
|
- setupSettings
|
|
@@ -27014,13 +27300,26 @@ components:
|
|
|
27014
27300
|
setupSettings:
|
|
27015
27301
|
type: object
|
|
27016
27302
|
additionalProperties: false
|
|
27303
|
+
properties:
|
|
27304
|
+
allowedChannels:
|
|
27305
|
+
description: List of allowed Discord channel names or patterns. If empty, all channels are allowed.
|
|
27306
|
+
type: array
|
|
27307
|
+
items:
|
|
27308
|
+
type: string
|
|
27309
|
+
pattern: ^[a-zA-Z0-9_\*-]+$
|
|
27017
27310
|
required:
|
|
27018
27311
|
- type
|
|
27019
27312
|
- setupSettings
|
|
27020
|
-
|
|
27021
|
-
type:
|
|
27022
|
-
|
|
27023
|
-
|
|
27313
|
+
SiteChannelStatus:
|
|
27314
|
+
type: string
|
|
27315
|
+
enum:
|
|
27316
|
+
- active
|
|
27317
|
+
- pending
|
|
27318
|
+
SiteChannelRole:
|
|
27319
|
+
type: string
|
|
27320
|
+
enum:
|
|
27321
|
+
- collaborator
|
|
27322
|
+
- support
|
|
27024
27323
|
SiteChannel:
|
|
27025
27324
|
allOf:
|
|
27026
27325
|
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
@@ -27033,12 +27332,14 @@ components:
|
|
|
27033
27332
|
id:
|
|
27034
27333
|
type: string
|
|
27035
27334
|
description: Unique identifier for the site channel.
|
|
27335
|
+
status:
|
|
27336
|
+
$ref: "#/components/schemas/SiteChannelStatus"
|
|
27337
|
+
role:
|
|
27338
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
27036
27339
|
answers:
|
|
27037
27340
|
type: integer
|
|
27038
27341
|
minimum: 0
|
|
27039
27342
|
description: Number of answers linked to this channel.
|
|
27040
|
-
usageSettings:
|
|
27041
|
-
$ref: "#/components/schemas/SiteChannelUsageSettings"
|
|
27042
27343
|
createdAt:
|
|
27043
27344
|
$ref: "#/components/schemas/Timestamp"
|
|
27044
27345
|
urls:
|
|
@@ -27053,8 +27354,9 @@ components:
|
|
|
27053
27354
|
required:
|
|
27054
27355
|
- object
|
|
27055
27356
|
- id
|
|
27357
|
+
- status
|
|
27358
|
+
- role
|
|
27056
27359
|
- answers
|
|
27057
|
-
- usageSettings
|
|
27058
27360
|
- createdAt
|
|
27059
27361
|
- urls
|
|
27060
27362
|
Subdomain:
|
|
@@ -28862,6 +29164,19 @@ components:
|
|
|
28862
29164
|
required:
|
|
28863
29165
|
- channel
|
|
28864
29166
|
- site
|
|
29167
|
+
APIChannelSiteChannels:
|
|
29168
|
+
type: object
|
|
29169
|
+
description: Subscription channel for changes in site channels.
|
|
29170
|
+
properties:
|
|
29171
|
+
channel:
|
|
29172
|
+
type: string
|
|
29173
|
+
enum:
|
|
29174
|
+
- site-channels
|
|
29175
|
+
site:
|
|
29176
|
+
type: string
|
|
29177
|
+
required:
|
|
29178
|
+
- channel
|
|
29179
|
+
- site
|
|
28865
29180
|
APIChannelSiteContext:
|
|
28866
29181
|
type: object
|
|
28867
29182
|
description: Subscription channel for changes in site context.
|
|
@@ -28887,6 +29202,18 @@ components:
|
|
|
28887
29202
|
required:
|
|
28888
29203
|
- channel
|
|
28889
29204
|
- site
|
|
29205
|
+
APIChannelSiteAgentSettings:
|
|
29206
|
+
type: object
|
|
29207
|
+
properties:
|
|
29208
|
+
channel:
|
|
29209
|
+
type: string
|
|
29210
|
+
enum:
|
|
29211
|
+
- site-agent-settings
|
|
29212
|
+
site:
|
|
29213
|
+
type: string
|
|
29214
|
+
required:
|
|
29215
|
+
- channel
|
|
29216
|
+
- site
|
|
28890
29217
|
APIChannelSiteIntegrations:
|
|
28891
29218
|
type: object
|
|
28892
29219
|
properties:
|
|
@@ -29174,8 +29501,10 @@ components:
|
|
|
29174
29501
|
- $ref: "#/components/schemas/APIChannelPublishedContentSite"
|
|
29175
29502
|
- $ref: "#/components/schemas/APIChannelSiteRedirects"
|
|
29176
29503
|
- $ref: "#/components/schemas/APIChannelSite"
|
|
29504
|
+
- $ref: "#/components/schemas/APIChannelSiteChannels"
|
|
29177
29505
|
- $ref: "#/components/schemas/APIChannelSiteContext"
|
|
29178
29506
|
- $ref: "#/components/schemas/APIChannelSiteCustomization"
|
|
29507
|
+
- $ref: "#/components/schemas/APIChannelSiteAgentSettings"
|
|
29179
29508
|
- $ref: "#/components/schemas/APIChannelSiteIntegrations"
|
|
29180
29509
|
- $ref: "#/components/schemas/APIChannelSiteSpace"
|
|
29181
29510
|
- $ref: "#/components/schemas/APIChannelSiteSpaceCustomization"
|
|
@@ -29499,13 +29828,13 @@ components:
|
|
|
29499
29828
|
- changeRequest
|
|
29500
29829
|
- reviews
|
|
29501
29830
|
- actor
|
|
29502
|
-
|
|
29831
|
+
LocalizedContentRef:
|
|
29832
|
+
description: Localized content reference, keyed by locale. Contains overrides for non-default languages only.
|
|
29503
29833
|
type: object
|
|
29504
|
-
|
|
29834
|
+
additionalProperties:
|
|
29835
|
+
$ref: "#/components/schemas/ContentRef"
|
|
29505
29836
|
propertyNames:
|
|
29506
29837
|
$ref: "#/components/schemas/TranslationLanguage"
|
|
29507
|
-
additionalProperties:
|
|
29508
|
-
type: string
|
|
29509
29838
|
RequestSpaceTrackPageView:
|
|
29510
29839
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
29511
29840
|
RequestSiteTrackPageView:
|