@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.yaml
CHANGED
|
@@ -769,45 +769,6 @@ paths:
|
|
|
769
769
|
"409":
|
|
770
770
|
description: Operation would not result in any update
|
|
771
771
|
$ref: "#/components/responses/ConflictError"
|
|
772
|
-
"/spaces/{spaceId}/transfer":
|
|
773
|
-
post:
|
|
774
|
-
operationId: transferSpace
|
|
775
|
-
summary: Transfer a space
|
|
776
|
-
description: Transfer a space to another organization, collection or both.
|
|
777
|
-
tags:
|
|
778
|
-
- spaces
|
|
779
|
-
security:
|
|
780
|
-
- user: []
|
|
781
|
-
parameters:
|
|
782
|
-
- $ref: "#/components/parameters/spaceId"
|
|
783
|
-
requestBody:
|
|
784
|
-
required: true
|
|
785
|
-
content:
|
|
786
|
-
application/json:
|
|
787
|
-
schema:
|
|
788
|
-
type: object
|
|
789
|
-
properties:
|
|
790
|
-
organization:
|
|
791
|
-
type: string
|
|
792
|
-
description: The unique id of the target organization
|
|
793
|
-
required:
|
|
794
|
-
- organization
|
|
795
|
-
responses:
|
|
796
|
-
"200":
|
|
797
|
-
description: Space transferred
|
|
798
|
-
content:
|
|
799
|
-
application/json:
|
|
800
|
-
schema:
|
|
801
|
-
$ref: "#/components/schemas/Space"
|
|
802
|
-
"404":
|
|
803
|
-
description: No matching Space found for given ID
|
|
804
|
-
$ref: "#/components/responses/NotFoundError"
|
|
805
|
-
"409":
|
|
806
|
-
description: Transfer would not result in any update
|
|
807
|
-
$ref: "#/components/responses/ConflictError"
|
|
808
|
-
"412":
|
|
809
|
-
description: The space cannot be moved.
|
|
810
|
-
$ref: "#/components/responses/PreconditionFailedError"
|
|
811
772
|
"/spaces/{spaceId}/embed":
|
|
812
773
|
get:
|
|
813
774
|
operationId: getEmbedByUrlInSpace
|
|
@@ -7491,7 +7452,7 @@ paths:
|
|
|
7491
7452
|
title:
|
|
7492
7453
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
7493
7454
|
localizedTitle:
|
|
7494
|
-
$ref: "#/components/schemas/
|
|
7455
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
7495
7456
|
icon:
|
|
7496
7457
|
oneOf:
|
|
7497
7458
|
- $ref: "#/components/schemas/Icon"
|
|
@@ -7522,62 +7483,6 @@ paths:
|
|
|
7522
7483
|
description: Site section group did not exist
|
|
7523
7484
|
"205":
|
|
7524
7485
|
description: Site section group has been deleted
|
|
7525
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections":
|
|
7526
|
-
post:
|
|
7527
|
-
operationId: addSectionToGroup
|
|
7528
|
-
deprecated: true
|
|
7529
|
-
summary: Add a section to a section group
|
|
7530
|
-
tags:
|
|
7531
|
-
- site-section-groups
|
|
7532
|
-
security:
|
|
7533
|
-
- user: []
|
|
7534
|
-
parameters:
|
|
7535
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7536
|
-
- $ref: "#/components/parameters/siteId"
|
|
7537
|
-
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7538
|
-
requestBody:
|
|
7539
|
-
required: true
|
|
7540
|
-
content:
|
|
7541
|
-
application/json:
|
|
7542
|
-
schema:
|
|
7543
|
-
type: object
|
|
7544
|
-
properties:
|
|
7545
|
-
sectionId:
|
|
7546
|
-
type: string
|
|
7547
|
-
description: ID of the section to add to the section group
|
|
7548
|
-
required:
|
|
7549
|
-
- sectionId
|
|
7550
|
-
responses:
|
|
7551
|
-
"201":
|
|
7552
|
-
description: Section added to the section group
|
|
7553
|
-
headers:
|
|
7554
|
-
Location:
|
|
7555
|
-
description: API URL for the newly created site-section-group relationship
|
|
7556
|
-
schema:
|
|
7557
|
-
type: string
|
|
7558
|
-
content:
|
|
7559
|
-
application/json:
|
|
7560
|
-
schema:
|
|
7561
|
-
$ref: "#/components/schemas/SiteSectionGroup"
|
|
7562
|
-
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}":
|
|
7563
|
-
delete:
|
|
7564
|
-
operationId: removeSectionFromGroup
|
|
7565
|
-
deprecated: true
|
|
7566
|
-
summary: Remove a section from a section group
|
|
7567
|
-
tags:
|
|
7568
|
-
- site-section-groups
|
|
7569
|
-
security:
|
|
7570
|
-
- user: []
|
|
7571
|
-
parameters:
|
|
7572
|
-
- $ref: "#/components/parameters/organizationId"
|
|
7573
|
-
- $ref: "#/components/parameters/siteId"
|
|
7574
|
-
- $ref: "#/components/parameters/siteSectionGroupId"
|
|
7575
|
-
- $ref: "#/components/parameters/siteSectionId"
|
|
7576
|
-
responses:
|
|
7577
|
-
"204":
|
|
7578
|
-
description: Section was not part of the group
|
|
7579
|
-
"205":
|
|
7580
|
-
description: Section has been removed from the section group
|
|
7581
7486
|
"/orgs/{organizationId}/sites/{siteId}/sections":
|
|
7582
7487
|
post:
|
|
7583
7488
|
operationId: addSectionToSite
|
|
@@ -7678,7 +7583,7 @@ paths:
|
|
|
7678
7583
|
title:
|
|
7679
7584
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
7680
7585
|
localizedTitle:
|
|
7681
|
-
$ref: "#/components/schemas/
|
|
7586
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
7682
7587
|
path:
|
|
7683
7588
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
7684
7589
|
defaultSiteSpace:
|
|
@@ -7701,7 +7606,7 @@ paths:
|
|
|
7701
7606
|
- $ref: "#/components/schemas/SiteSectionDescription"
|
|
7702
7607
|
- type: "null"
|
|
7703
7608
|
localizedDescription:
|
|
7704
|
-
$ref: "#/components/schemas/
|
|
7609
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
7705
7610
|
siteSectionGroupId:
|
|
7706
7611
|
description: ID of the section group to move the section into. Set to null to move the section to the root of the site.
|
|
7707
7612
|
oneOf:
|
|
@@ -8571,16 +8476,37 @@ paths:
|
|
|
8571
8476
|
description: Filter questions by question type.
|
|
8572
8477
|
schema:
|
|
8573
8478
|
$ref: "#/components/schemas/SiteQuestionType"
|
|
8479
|
+
- name: relevance
|
|
8480
|
+
in: query
|
|
8481
|
+
description: Filter questions by question relevance.
|
|
8482
|
+
schema:
|
|
8483
|
+
type: array
|
|
8484
|
+
items:
|
|
8485
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8574
8486
|
- name: answered
|
|
8575
8487
|
in: query
|
|
8576
8488
|
description: Filter questions by answer resolution.
|
|
8577
8489
|
schema:
|
|
8578
|
-
|
|
8490
|
+
type: array
|
|
8491
|
+
items:
|
|
8492
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8579
8493
|
- name: topic
|
|
8580
8494
|
in: query
|
|
8581
|
-
description: Filter questions by associated site topic
|
|
8495
|
+
description: Filter questions by associated site topic IDs.
|
|
8496
|
+
schema:
|
|
8497
|
+
type: array
|
|
8498
|
+
items:
|
|
8499
|
+
type: string
|
|
8500
|
+
- $ref: "#/components/parameters/listOrder"
|
|
8501
|
+
- name: sort
|
|
8502
|
+
in: query
|
|
8503
|
+
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.
|
|
8582
8504
|
schema:
|
|
8583
8505
|
type: string
|
|
8506
|
+
enum:
|
|
8507
|
+
- askedAt
|
|
8508
|
+
- stats.answered
|
|
8509
|
+
- stats.feedback
|
|
8584
8510
|
- $ref: "#/components/parameters/listPage"
|
|
8585
8511
|
- $ref: "#/components/parameters/listLimit"
|
|
8586
8512
|
responses:
|
|
@@ -8611,6 +8537,30 @@ paths:
|
|
|
8611
8537
|
- $ref: "#/components/parameters/organizationId"
|
|
8612
8538
|
- $ref: "#/components/parameters/siteId"
|
|
8613
8539
|
- $ref: "#/components/parameters/siteQuestionId"
|
|
8540
|
+
- name: from
|
|
8541
|
+
in: query
|
|
8542
|
+
description: Filter stats to answers created at or after this timestamp.
|
|
8543
|
+
schema:
|
|
8544
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8545
|
+
- name: to
|
|
8546
|
+
in: query
|
|
8547
|
+
description: Filter stats to answers created at or before this timestamp.
|
|
8548
|
+
schema:
|
|
8549
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8550
|
+
- name: relevance
|
|
8551
|
+
in: query
|
|
8552
|
+
description: Filter stats by question relevance.
|
|
8553
|
+
schema:
|
|
8554
|
+
type: array
|
|
8555
|
+
items:
|
|
8556
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8557
|
+
- name: answered
|
|
8558
|
+
in: query
|
|
8559
|
+
description: Filter stats by answer resolution.
|
|
8560
|
+
schema:
|
|
8561
|
+
type: array
|
|
8562
|
+
items:
|
|
8563
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8614
8564
|
responses:
|
|
8615
8565
|
"200":
|
|
8616
8566
|
description: OK
|
|
@@ -8632,6 +8582,30 @@ paths:
|
|
|
8632
8582
|
- $ref: "#/components/parameters/siteQuestionId"
|
|
8633
8583
|
- $ref: "#/components/parameters/listPage"
|
|
8634
8584
|
- $ref: "#/components/parameters/listLimit"
|
|
8585
|
+
- name: from
|
|
8586
|
+
in: query
|
|
8587
|
+
description: Filter sources to answers created at or after this timestamp.
|
|
8588
|
+
schema:
|
|
8589
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8590
|
+
- name: to
|
|
8591
|
+
in: query
|
|
8592
|
+
description: Filter sources to answers created at or before this timestamp.
|
|
8593
|
+
schema:
|
|
8594
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8595
|
+
- name: relevance
|
|
8596
|
+
in: query
|
|
8597
|
+
description: Filter answer sources by question relevance.
|
|
8598
|
+
schema:
|
|
8599
|
+
type: array
|
|
8600
|
+
items:
|
|
8601
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8602
|
+
- name: answered
|
|
8603
|
+
in: query
|
|
8604
|
+
description: Filter answer sources by answer resolution.
|
|
8605
|
+
schema:
|
|
8606
|
+
type: array
|
|
8607
|
+
items:
|
|
8608
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8635
8609
|
responses:
|
|
8636
8610
|
"200":
|
|
8637
8611
|
description: OK
|
|
@@ -8683,6 +8657,13 @@ paths:
|
|
|
8683
8657
|
type: array
|
|
8684
8658
|
items:
|
|
8685
8659
|
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8660
|
+
- name: answered
|
|
8661
|
+
in: query
|
|
8662
|
+
description: Filter stats by answer resolution.
|
|
8663
|
+
schema:
|
|
8664
|
+
type: array
|
|
8665
|
+
items:
|
|
8666
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8686
8667
|
responses:
|
|
8687
8668
|
"200":
|
|
8688
8669
|
description: OK
|
|
@@ -8706,6 +8687,16 @@ paths:
|
|
|
8706
8687
|
description: Filter answers to a specific site question ID.
|
|
8707
8688
|
schema:
|
|
8708
8689
|
type: string
|
|
8690
|
+
- name: from
|
|
8691
|
+
in: query
|
|
8692
|
+
description: Filter answers created at or after this timestamp.
|
|
8693
|
+
schema:
|
|
8694
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8695
|
+
- name: to
|
|
8696
|
+
in: query
|
|
8697
|
+
description: Filter answers created at or before this timestamp.
|
|
8698
|
+
schema:
|
|
8699
|
+
$ref: "#/components/schemas/Timestamp"
|
|
8709
8700
|
- name: language
|
|
8710
8701
|
in: query
|
|
8711
8702
|
description: Filter answers by ISO language code.
|
|
@@ -8715,7 +8706,9 @@ paths:
|
|
|
8715
8706
|
in: query
|
|
8716
8707
|
description: Filter answers by answered resolution.
|
|
8717
8708
|
schema:
|
|
8718
|
-
|
|
8709
|
+
type: array
|
|
8710
|
+
items:
|
|
8711
|
+
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8719
8712
|
- name: helpfulness
|
|
8720
8713
|
in: query
|
|
8721
8714
|
description: Filter answers by answered helpfulness.
|
|
@@ -8725,7 +8718,9 @@ paths:
|
|
|
8725
8718
|
in: query
|
|
8726
8719
|
description: Filter answers by question relevance.
|
|
8727
8720
|
schema:
|
|
8728
|
-
|
|
8721
|
+
type: array
|
|
8722
|
+
items:
|
|
8723
|
+
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8729
8724
|
- name: question.type
|
|
8730
8725
|
in: query
|
|
8731
8726
|
description: Filter answers by question type.
|
|
@@ -8936,7 +8931,7 @@ paths:
|
|
|
8936
8931
|
localizedTitle:
|
|
8937
8932
|
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.
|
|
8938
8933
|
oneOf:
|
|
8939
|
-
- $ref: "#/components/schemas/
|
|
8934
|
+
- $ref: "#/components/schemas/LocalizedString128"
|
|
8940
8935
|
- type: "null"
|
|
8941
8936
|
styling:
|
|
8942
8937
|
type: object
|
|
@@ -9110,7 +9105,7 @@ paths:
|
|
|
9110
9105
|
default:
|
|
9111
9106
|
description: The theme mode default value. Set to null to reset the override.
|
|
9112
9107
|
oneOf:
|
|
9113
|
-
- $ref: "#/components/schemas/
|
|
9108
|
+
- $ref: "#/components/schemas/CustomizationDefaultThemeMode"
|
|
9114
9109
|
- type: "null"
|
|
9115
9110
|
toggeable:
|
|
9116
9111
|
description: Should the reader be able to switch between dark and light mode. Set to null to reset the override.
|
|
@@ -10250,8 +10245,8 @@ paths:
|
|
|
10250
10245
|
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
10251
10246
|
- type: object
|
|
10252
10247
|
properties:
|
|
10253
|
-
|
|
10254
|
-
$ref: "#/components/schemas/
|
|
10248
|
+
role:
|
|
10249
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
10255
10250
|
responses:
|
|
10256
10251
|
"201":
|
|
10257
10252
|
description: Site channel created
|
|
@@ -10278,6 +10273,35 @@ paths:
|
|
|
10278
10273
|
application/json:
|
|
10279
10274
|
schema:
|
|
10280
10275
|
$ref: "#/components/schemas/SiteChannel"
|
|
10276
|
+
patch:
|
|
10277
|
+
operationId: updateSiteChannelById
|
|
10278
|
+
summary: Update a site channel
|
|
10279
|
+
tags:
|
|
10280
|
+
- site-channels
|
|
10281
|
+
security:
|
|
10282
|
+
- user: []
|
|
10283
|
+
parameters:
|
|
10284
|
+
- $ref: "#/components/parameters/organizationId"
|
|
10285
|
+
- $ref: "#/components/parameters/siteId"
|
|
10286
|
+
- $ref: "#/components/parameters/siteChannelId"
|
|
10287
|
+
requestBody:
|
|
10288
|
+
required: true
|
|
10289
|
+
content:
|
|
10290
|
+
application/json:
|
|
10291
|
+
schema:
|
|
10292
|
+
anyOf:
|
|
10293
|
+
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
10294
|
+
- type: object
|
|
10295
|
+
properties:
|
|
10296
|
+
role:
|
|
10297
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
10298
|
+
responses:
|
|
10299
|
+
"200":
|
|
10300
|
+
description: OK
|
|
10301
|
+
content:
|
|
10302
|
+
application/json:
|
|
10303
|
+
schema:
|
|
10304
|
+
$ref: "#/components/schemas/SiteChannel"
|
|
10281
10305
|
delete:
|
|
10282
10306
|
operationId: deleteSiteChannelById
|
|
10283
10307
|
summary: Delete a site channel
|
|
@@ -15670,6 +15694,22 @@ components:
|
|
|
15670
15694
|
comments:
|
|
15671
15695
|
type: number
|
|
15672
15696
|
description: Count of opened comments on the change request.
|
|
15697
|
+
siteTopic:
|
|
15698
|
+
type: object
|
|
15699
|
+
description: Site context associated with the change request when it was created from a site topic or finding.
|
|
15700
|
+
properties:
|
|
15701
|
+
site:
|
|
15702
|
+
type: string
|
|
15703
|
+
description: ID of the site associated with the change request.
|
|
15704
|
+
topic:
|
|
15705
|
+
type: string
|
|
15706
|
+
description: ID of the site topic associated with the change request.
|
|
15707
|
+
finding:
|
|
15708
|
+
type: string
|
|
15709
|
+
description: ID of the site finding associated with the change request, when applicable.
|
|
15710
|
+
required:
|
|
15711
|
+
- site
|
|
15712
|
+
- topic
|
|
15673
15713
|
outdated:
|
|
15674
15714
|
type: boolean
|
|
15675
15715
|
description: If true, the change request is not up-to-date with latest changes in the main content.
|
|
@@ -20133,9 +20173,9 @@ components:
|
|
|
20133
20173
|
description: Title of the site section
|
|
20134
20174
|
minLength: 2
|
|
20135
20175
|
maxLength: 128
|
|
20136
|
-
|
|
20176
|
+
LocalizedString128:
|
|
20137
20177
|
type: object
|
|
20138
|
-
description: Localized
|
|
20178
|
+
description: Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
20139
20179
|
additionalProperties:
|
|
20140
20180
|
type: string
|
|
20141
20181
|
maxLength: 128
|
|
@@ -20146,9 +20186,9 @@ components:
|
|
|
20146
20186
|
description: Description of the site section
|
|
20147
20187
|
minLength: 0
|
|
20148
20188
|
maxLength: 256
|
|
20149
|
-
|
|
20189
|
+
LocalizedString256:
|
|
20150
20190
|
type: object
|
|
20151
|
-
description: Localized
|
|
20191
|
+
description: Localized string value with a 256 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
20152
20192
|
additionalProperties:
|
|
20153
20193
|
type: string
|
|
20154
20194
|
maxLength: 256
|
|
@@ -20185,7 +20225,7 @@ components:
|
|
|
20185
20225
|
title:
|
|
20186
20226
|
type: string
|
|
20187
20227
|
localizedTitle:
|
|
20188
|
-
$ref: "#/components/schemas/
|
|
20228
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20189
20229
|
default:
|
|
20190
20230
|
type: boolean
|
|
20191
20231
|
description: Whether this is the default space for the site
|
|
@@ -20231,11 +20271,11 @@ components:
|
|
|
20231
20271
|
title:
|
|
20232
20272
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
20233
20273
|
localizedTitle:
|
|
20234
|
-
$ref: "#/components/schemas/
|
|
20274
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20235
20275
|
description:
|
|
20236
20276
|
$ref: "#/components/schemas/SiteSectionDescription"
|
|
20237
20277
|
localizedDescription:
|
|
20238
|
-
$ref: "#/components/schemas/
|
|
20278
|
+
$ref: "#/components/schemas/LocalizedString256"
|
|
20239
20279
|
default:
|
|
20240
20280
|
type: boolean
|
|
20241
20281
|
description: Whether this is the default section for the site
|
|
@@ -20291,7 +20331,7 @@ components:
|
|
|
20291
20331
|
title:
|
|
20292
20332
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
20293
20333
|
localizedTitle:
|
|
20294
|
-
$ref: "#/components/schemas/
|
|
20334
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
20295
20335
|
sections:
|
|
20296
20336
|
type: array
|
|
20297
20337
|
deprecated: true
|
|
@@ -22373,14 +22413,32 @@ components:
|
|
|
22373
22413
|
- contrast
|
|
22374
22414
|
- custom
|
|
22375
22415
|
- none
|
|
22416
|
+
LocalizedString:
|
|
22417
|
+
type: object
|
|
22418
|
+
description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
|
|
22419
|
+
propertyNames:
|
|
22420
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
22421
|
+
additionalProperties:
|
|
22422
|
+
type: string
|
|
22376
22423
|
CustomizationContentLinkTitle:
|
|
22377
22424
|
type: string
|
|
22378
22425
|
maxLength: 64
|
|
22426
|
+
LocalizedString64:
|
|
22427
|
+
type: object
|
|
22428
|
+
description: Localized string value with a 128 character limit, keyed by locale. Contains overrides for non-default languages only.
|
|
22429
|
+
additionalProperties:
|
|
22430
|
+
type: string
|
|
22431
|
+
maxLength: 64
|
|
22432
|
+
propertyNames:
|
|
22433
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
22379
22434
|
CustomizationContentLink:
|
|
22380
22435
|
type: object
|
|
22381
22436
|
properties:
|
|
22382
22437
|
title:
|
|
22383
22438
|
$ref: "#/components/schemas/CustomizationContentLinkTitle"
|
|
22439
|
+
localizedTitle:
|
|
22440
|
+
description: Localized overrides for the link title, keyed by locale.
|
|
22441
|
+
$ref: "#/components/schemas/LocalizedString64"
|
|
22384
22442
|
to:
|
|
22385
22443
|
$ref: "#/components/schemas/ContentRef"
|
|
22386
22444
|
required:
|
|
@@ -22391,6 +22449,9 @@ components:
|
|
|
22391
22449
|
properties:
|
|
22392
22450
|
title:
|
|
22393
22451
|
type: string
|
|
22452
|
+
localizedTitle:
|
|
22453
|
+
description: Localized overrides for the header item title, keyed by locale.
|
|
22454
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
22394
22455
|
style:
|
|
22395
22456
|
type: string
|
|
22396
22457
|
enum:
|
|
@@ -22417,6 +22478,9 @@ components:
|
|
|
22417
22478
|
properties:
|
|
22418
22479
|
title:
|
|
22419
22480
|
type: string
|
|
22481
|
+
localizedTitle:
|
|
22482
|
+
description: Localized overrides for the footer group title, keyed by locale.
|
|
22483
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
22420
22484
|
links:
|
|
22421
22485
|
type: array
|
|
22422
22486
|
items:
|
|
@@ -22437,6 +22501,9 @@ components:
|
|
|
22437
22501
|
type: boolean
|
|
22438
22502
|
message:
|
|
22439
22503
|
$ref: "#/components/schemas/CustomizationAnnouncementMessage"
|
|
22504
|
+
localizedMessage:
|
|
22505
|
+
description: Localized overrides for the announcement message, keyed by locale.
|
|
22506
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
22440
22507
|
link:
|
|
22441
22508
|
description: The content or URL the announcement links to when clicked.
|
|
22442
22509
|
$ref: "#/components/schemas/CustomizationContentLink"
|
|
@@ -22452,11 +22519,12 @@ components:
|
|
|
22452
22519
|
- enabled
|
|
22453
22520
|
- message
|
|
22454
22521
|
- style
|
|
22455
|
-
|
|
22522
|
+
CustomizationDefaultThemeMode:
|
|
22456
22523
|
type: string
|
|
22457
22524
|
enum:
|
|
22458
22525
|
- light
|
|
22459
22526
|
- dark
|
|
22527
|
+
- system
|
|
22460
22528
|
CustomizationAIMode:
|
|
22461
22529
|
type: string
|
|
22462
22530
|
enum:
|
|
@@ -22542,7 +22610,7 @@ components:
|
|
|
22542
22610
|
$ref: "#/components/schemas/SiteTitle"
|
|
22543
22611
|
localizedTitle:
|
|
22544
22612
|
description: Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.
|
|
22545
|
-
$ref: "#/components/schemas/
|
|
22613
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
22546
22614
|
styling:
|
|
22547
22615
|
type: object
|
|
22548
22616
|
properties:
|
|
@@ -22671,7 +22739,7 @@ components:
|
|
|
22671
22739
|
type: object
|
|
22672
22740
|
properties:
|
|
22673
22741
|
default:
|
|
22674
|
-
$ref: "#/components/schemas/
|
|
22742
|
+
$ref: "#/components/schemas/CustomizationDefaultThemeMode"
|
|
22675
22743
|
toggeable:
|
|
22676
22744
|
description: Should the reader be able to switch between dark and light mode
|
|
22677
22745
|
type: boolean
|
|
@@ -23526,6 +23594,8 @@ components:
|
|
|
23526
23594
|
$ref: "#/components/schemas/SiteQuestionType"
|
|
23527
23595
|
createdAt:
|
|
23528
23596
|
$ref: "#/components/schemas/Timestamp"
|
|
23597
|
+
askedAt:
|
|
23598
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23529
23599
|
stats:
|
|
23530
23600
|
$ref: "#/components/schemas/SiteQuestionStats"
|
|
23531
23601
|
urls:
|
|
@@ -23544,6 +23614,7 @@ components:
|
|
|
23544
23614
|
- question
|
|
23545
23615
|
- type
|
|
23546
23616
|
- createdAt
|
|
23617
|
+
- askedAt
|
|
23547
23618
|
- stats
|
|
23548
23619
|
- urls
|
|
23549
23620
|
ContextConnectionLabel:
|
|
@@ -23842,6 +23913,14 @@ components:
|
|
|
23842
23913
|
- createdAt
|
|
23843
23914
|
- updatedAt
|
|
23844
23915
|
- urls
|
|
23916
|
+
SiteQuestionAnswerRelevance:
|
|
23917
|
+
type: string
|
|
23918
|
+
description: Relevance classification of the user question.
|
|
23919
|
+
enum:
|
|
23920
|
+
- relevant
|
|
23921
|
+
- spam
|
|
23922
|
+
- off-topic
|
|
23923
|
+
- unclear
|
|
23845
23924
|
SiteQuestionAnswerResolution:
|
|
23846
23925
|
type: string
|
|
23847
23926
|
description: Whether the response answered the question.
|
|
@@ -23929,14 +24008,6 @@ components:
|
|
|
23929
24008
|
- $ref: "#/components/schemas/SiteQuestionAnswerSourceRecord"
|
|
23930
24009
|
discriminator:
|
|
23931
24010
|
propertyName: type
|
|
23932
|
-
SiteQuestionAnswerRelevance:
|
|
23933
|
-
type: string
|
|
23934
|
-
description: Relevance classification of the user question.
|
|
23935
|
-
enum:
|
|
23936
|
-
- relevant
|
|
23937
|
-
- spam
|
|
23938
|
-
- off-topic
|
|
23939
|
-
- unclear
|
|
23940
24011
|
SiteQuestionAnswerHelpfulness:
|
|
23941
24012
|
type: string
|
|
23942
24013
|
description: Helpfulness of the response for the end user need.
|
|
@@ -23968,6 +24039,7 @@ components:
|
|
|
23968
24039
|
enum:
|
|
23969
24040
|
- builtin:slack
|
|
23970
24041
|
- builtin:discord
|
|
24042
|
+
- builtin:github
|
|
23971
24043
|
SiteQuestionAnswer:
|
|
23972
24044
|
type: object
|
|
23973
24045
|
properties:
|
|
@@ -24096,7 +24168,6 @@ components:
|
|
|
24096
24168
|
enum:
|
|
24097
24169
|
- user
|
|
24098
24170
|
- assistant
|
|
24099
|
-
- developer
|
|
24100
24171
|
AIToolCallGetPageContent:
|
|
24101
24172
|
type: object
|
|
24102
24173
|
properties:
|
|
@@ -24969,9 +25040,7 @@ components:
|
|
|
24969
25040
|
description: Input version of an AI message.
|
|
24970
25041
|
properties:
|
|
24971
25042
|
role:
|
|
24972
|
-
|
|
24973
|
-
enum:
|
|
24974
|
-
- user
|
|
25043
|
+
$ref: "#/components/schemas/AIMessageRole"
|
|
24975
25044
|
content:
|
|
24976
25045
|
oneOf:
|
|
24977
25046
|
- type: string
|
|
@@ -27208,6 +27277,14 @@ components:
|
|
|
27208
27277
|
- url
|
|
27209
27278
|
- headers
|
|
27210
27279
|
- urls
|
|
27280
|
+
GenericChannelPattern:
|
|
27281
|
+
type: string
|
|
27282
|
+
description: A generic channel name or pattern. For example, "general" or "support-*".
|
|
27283
|
+
pattern: ^[a-zA-Z0-9_\*-]+$
|
|
27284
|
+
GitHubRepositoryPattern:
|
|
27285
|
+
type: string
|
|
27286
|
+
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".
|
|
27287
|
+
pattern: ^[a-zA-Z0-9._*-]+\/[a-zA-Z0-9._*-]+$
|
|
27211
27288
|
SiteChannelSetup:
|
|
27212
27289
|
oneOf:
|
|
27213
27290
|
- type: object
|
|
@@ -27219,6 +27296,30 @@ components:
|
|
|
27219
27296
|
setupSettings:
|
|
27220
27297
|
type: object
|
|
27221
27298
|
additionalProperties: false
|
|
27299
|
+
properties:
|
|
27300
|
+
allowedChannels:
|
|
27301
|
+
description: List of allowed Slack channel names or patterns. If empty, all channels are allowed.
|
|
27302
|
+
type: array
|
|
27303
|
+
items:
|
|
27304
|
+
$ref: "#/components/schemas/GenericChannelPattern"
|
|
27305
|
+
required:
|
|
27306
|
+
- type
|
|
27307
|
+
- setupSettings
|
|
27308
|
+
- type: object
|
|
27309
|
+
properties:
|
|
27310
|
+
type:
|
|
27311
|
+
type: string
|
|
27312
|
+
enum:
|
|
27313
|
+
- builtin:github
|
|
27314
|
+
setupSettings:
|
|
27315
|
+
type: object
|
|
27316
|
+
additionalProperties: false
|
|
27317
|
+
properties:
|
|
27318
|
+
allowedRepositories:
|
|
27319
|
+
description: List of allowed GitHub repository names or patterns. If empty, all repositories are allowed.
|
|
27320
|
+
type: array
|
|
27321
|
+
items:
|
|
27322
|
+
$ref: "#/components/schemas/GitHubRepositoryPattern"
|
|
27222
27323
|
required:
|
|
27223
27324
|
- type
|
|
27224
27325
|
- setupSettings
|
|
@@ -27231,13 +27332,25 @@ components:
|
|
|
27231
27332
|
setupSettings:
|
|
27232
27333
|
type: object
|
|
27233
27334
|
additionalProperties: false
|
|
27335
|
+
properties:
|
|
27336
|
+
allowedChannels:
|
|
27337
|
+
description: List of allowed Discord channel names or patterns. If empty, all channels are allowed.
|
|
27338
|
+
type: array
|
|
27339
|
+
items:
|
|
27340
|
+
$ref: "#/components/schemas/GenericChannelPattern"
|
|
27234
27341
|
required:
|
|
27235
27342
|
- type
|
|
27236
27343
|
- setupSettings
|
|
27237
|
-
|
|
27238
|
-
type:
|
|
27239
|
-
|
|
27240
|
-
|
|
27344
|
+
SiteChannelStatus:
|
|
27345
|
+
type: string
|
|
27346
|
+
enum:
|
|
27347
|
+
- active
|
|
27348
|
+
- pending
|
|
27349
|
+
SiteChannelRole:
|
|
27350
|
+
type: string
|
|
27351
|
+
enum:
|
|
27352
|
+
- collaborator
|
|
27353
|
+
- support
|
|
27241
27354
|
SiteChannel:
|
|
27242
27355
|
allOf:
|
|
27243
27356
|
- $ref: "#/components/schemas/SiteChannelSetup"
|
|
@@ -27250,12 +27363,14 @@ components:
|
|
|
27250
27363
|
id:
|
|
27251
27364
|
type: string
|
|
27252
27365
|
description: Unique identifier for the site channel.
|
|
27366
|
+
status:
|
|
27367
|
+
$ref: "#/components/schemas/SiteChannelStatus"
|
|
27368
|
+
role:
|
|
27369
|
+
$ref: "#/components/schemas/SiteChannelRole"
|
|
27253
27370
|
answers:
|
|
27254
27371
|
type: integer
|
|
27255
27372
|
minimum: 0
|
|
27256
27373
|
description: Number of answers linked to this channel.
|
|
27257
|
-
usageSettings:
|
|
27258
|
-
$ref: "#/components/schemas/SiteChannelUsageSettings"
|
|
27259
27374
|
createdAt:
|
|
27260
27375
|
$ref: "#/components/schemas/Timestamp"
|
|
27261
27376
|
urls:
|
|
@@ -27270,8 +27385,9 @@ components:
|
|
|
27270
27385
|
required:
|
|
27271
27386
|
- object
|
|
27272
27387
|
- id
|
|
27388
|
+
- status
|
|
27389
|
+
- role
|
|
27273
27390
|
- answers
|
|
27274
|
-
- usageSettings
|
|
27275
27391
|
- createdAt
|
|
27276
27392
|
- urls
|
|
27277
27393
|
Subdomain:
|
|
@@ -29079,6 +29195,19 @@ components:
|
|
|
29079
29195
|
required:
|
|
29080
29196
|
- channel
|
|
29081
29197
|
- site
|
|
29198
|
+
APIChannelSiteChannels:
|
|
29199
|
+
type: object
|
|
29200
|
+
description: Subscription channel for changes in site channels.
|
|
29201
|
+
properties:
|
|
29202
|
+
channel:
|
|
29203
|
+
type: string
|
|
29204
|
+
enum:
|
|
29205
|
+
- site-channels
|
|
29206
|
+
site:
|
|
29207
|
+
type: string
|
|
29208
|
+
required:
|
|
29209
|
+
- channel
|
|
29210
|
+
- site
|
|
29082
29211
|
APIChannelSiteContext:
|
|
29083
29212
|
type: object
|
|
29084
29213
|
description: Subscription channel for changes in site context.
|
|
@@ -29403,6 +29532,7 @@ components:
|
|
|
29403
29532
|
- $ref: "#/components/schemas/APIChannelPublishedContentSite"
|
|
29404
29533
|
- $ref: "#/components/schemas/APIChannelSiteRedirects"
|
|
29405
29534
|
- $ref: "#/components/schemas/APIChannelSite"
|
|
29535
|
+
- $ref: "#/components/schemas/APIChannelSiteChannels"
|
|
29406
29536
|
- $ref: "#/components/schemas/APIChannelSiteContext"
|
|
29407
29537
|
- $ref: "#/components/schemas/APIChannelSiteCustomization"
|
|
29408
29538
|
- $ref: "#/components/schemas/APIChannelSiteAgentSettings"
|
|
@@ -29548,6 +29678,11 @@ components:
|
|
|
29548
29678
|
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
29549
29679
|
discriminator:
|
|
29550
29680
|
propertyName: channel
|
|
29681
|
+
CustomizationThemeMode:
|
|
29682
|
+
type: string
|
|
29683
|
+
enum:
|
|
29684
|
+
- light
|
|
29685
|
+
- dark
|
|
29551
29686
|
SiteAdaptiveDeterministicJSONSchemaClaimsProperties:
|
|
29552
29687
|
oneOf:
|
|
29553
29688
|
- $ref: "#/components/schemas/SiteAdaptiveDeterministicJSONSchemaPrimitives"
|
|
@@ -29729,13 +29864,13 @@ components:
|
|
|
29729
29864
|
- changeRequest
|
|
29730
29865
|
- reviews
|
|
29731
29866
|
- actor
|
|
29732
|
-
|
|
29867
|
+
LocalizedContentRef:
|
|
29868
|
+
description: Localized content reference, keyed by locale. Contains overrides for non-default languages only.
|
|
29733
29869
|
type: object
|
|
29734
|
-
|
|
29870
|
+
additionalProperties:
|
|
29871
|
+
$ref: "#/components/schemas/ContentRef"
|
|
29735
29872
|
propertyNames:
|
|
29736
29873
|
$ref: "#/components/schemas/TranslationLanguage"
|
|
29737
|
-
additionalProperties:
|
|
29738
|
-
type: string
|
|
29739
29874
|
RequestSpaceTrackPageView:
|
|
29740
29875
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
29741
29876
|
RequestSiteTrackPageView:
|