@gitbook/api 0.166.0 → 0.167.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/spec/openapi.yaml CHANGED
@@ -202,7 +202,7 @@ tags:
202
202
  description: |
203
203
  Manage the contextual records and topics used by your site to power AI experiences and insights.
204
204
 
205
- {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic" grouped="false" %}
205
+ {% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic,SiteIssue,SiteIssuePage" grouped="false" %}
206
206
  The Site Context objects
207
207
  {% endopenapi-schemas %}
208
208
  - name: site-questions
@@ -1587,6 +1587,12 @@ paths:
1587
1587
  schema:
1588
1588
  type: string
1589
1589
  description: If defined, only change requests with a requested reviewer for this user will be returned.
1590
+ - name: topic
1591
+ in: query
1592
+ required: false
1593
+ schema:
1594
+ type: string
1595
+ description: If defined, only change requests linked to this site topic will be returned.
1590
1596
  - name: orderBy
1591
1597
  in: query
1592
1598
  required: false
@@ -5227,6 +5233,12 @@ paths:
5227
5233
  schema:
5228
5234
  type: string
5229
5235
  description: If defined, only change requests with a requested reviewer for this user will be returned.
5236
+ - name: topic
5237
+ in: query
5238
+ required: false
5239
+ schema:
5240
+ type: string
5241
+ description: If defined, only change requests linked to this site topic will be returned.
5230
5242
  - name: orderBy
5231
5243
  in: query
5232
5244
  required: false
@@ -7166,6 +7178,12 @@ paths:
7166
7178
  description: Rison encoded string of attributes/assertions about the visitor for which we want to preview the site.
7167
7179
  schema:
7168
7180
  type: string
7181
+ - name: draft
7182
+ in: query
7183
+ description: Whether to include draft content in the preview. Defaults to true
7184
+ schema:
7185
+ type: boolean
7186
+ default: true
7169
7187
  responses:
7170
7188
  "200":
7171
7189
  description: OK
@@ -7984,6 +8002,172 @@ paths:
7984
8002
  application/json:
7985
8003
  schema:
7986
8004
  $ref: "#/components/schemas/SiteIssue"
8005
+ patch:
8006
+ operationId: updateSiteIssueById
8007
+ summary: Update a site issue
8008
+ tags:
8009
+ - site-context
8010
+ security:
8011
+ - user: []
8012
+ parameters:
8013
+ - $ref: "#/components/parameters/organizationId"
8014
+ - $ref: "#/components/parameters/siteId"
8015
+ - $ref: "#/components/parameters/siteIssueId"
8016
+ requestBody:
8017
+ required: true
8018
+ content:
8019
+ application/json:
8020
+ schema:
8021
+ type: object
8022
+ properties:
8023
+ status:
8024
+ type: string
8025
+ enum:
8026
+ - open
8027
+ - canceled
8028
+ required:
8029
+ - status
8030
+ responses:
8031
+ "200":
8032
+ description: OK
8033
+ content:
8034
+ application/json:
8035
+ schema:
8036
+ $ref: "#/components/schemas/SiteIssue"
8037
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests":
8038
+ get:
8039
+ operationId: listChangeRequestsForSiteIssue
8040
+ summary: List change requests linked to a site issue
8041
+ tags:
8042
+ - site-context
8043
+ security:
8044
+ - user: []
8045
+ parameters:
8046
+ - $ref: "#/components/parameters/listPage"
8047
+ - $ref: "#/components/parameters/listLimit"
8048
+ - $ref: "#/components/parameters/organizationId"
8049
+ - $ref: "#/components/parameters/siteId"
8050
+ - $ref: "#/components/parameters/siteIssueId"
8051
+ responses:
8052
+ "200":
8053
+ description: List of change requests linked to the site issue
8054
+ content:
8055
+ application/json:
8056
+ schema:
8057
+ allOf:
8058
+ - $ref: "#/components/schemas/List"
8059
+ - type: object
8060
+ required:
8061
+ - items
8062
+ properties:
8063
+ items:
8064
+ type: array
8065
+ items:
8066
+ $ref: "#/components/schemas/ChangeRequest"
8067
+ post:
8068
+ operationId: triggerChangeRequestsForSiteIssue
8069
+ summary: Process a site issue into change requests
8070
+ tags:
8071
+ - site-context
8072
+ security:
8073
+ - user: []
8074
+ parameters:
8075
+ - $ref: "#/components/parameters/organizationId"
8076
+ - $ref: "#/components/parameters/siteId"
8077
+ - $ref: "#/components/parameters/siteIssueId"
8078
+ responses:
8079
+ "202":
8080
+ description: Site issue processing has been started
8081
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages":
8082
+ get:
8083
+ operationId: listPagesForSiteIssue
8084
+ summary: List pages linked to a site issue
8085
+ tags:
8086
+ - site-context
8087
+ security:
8088
+ - user: []
8089
+ parameters:
8090
+ - $ref: "#/components/parameters/listPage"
8091
+ - $ref: "#/components/parameters/listLimit"
8092
+ - $ref: "#/components/parameters/organizationId"
8093
+ - $ref: "#/components/parameters/siteId"
8094
+ - $ref: "#/components/parameters/siteIssueId"
8095
+ responses:
8096
+ "200":
8097
+ description: List of pages linked to the site issue
8098
+ content:
8099
+ application/json:
8100
+ schema:
8101
+ allOf:
8102
+ - $ref: "#/components/schemas/List"
8103
+ - type: object
8104
+ required:
8105
+ - items
8106
+ properties:
8107
+ items:
8108
+ type: array
8109
+ items:
8110
+ $ref: "#/components/schemas/SiteIssuePage"
8111
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions":
8112
+ get:
8113
+ operationId: listQuestionsForSiteIssue
8114
+ summary: List questions linked to a site issue
8115
+ tags:
8116
+ - site-context
8117
+ security:
8118
+ - user: []
8119
+ parameters:
8120
+ - $ref: "#/components/parameters/listPage"
8121
+ - $ref: "#/components/parameters/listLimit"
8122
+ - $ref: "#/components/parameters/organizationId"
8123
+ - $ref: "#/components/parameters/siteId"
8124
+ - $ref: "#/components/parameters/siteIssueId"
8125
+ responses:
8126
+ "200":
8127
+ description: List of questions linked to the site issue
8128
+ content:
8129
+ application/json:
8130
+ schema:
8131
+ allOf:
8132
+ - $ref: "#/components/schemas/List"
8133
+ - type: object
8134
+ required:
8135
+ - items
8136
+ properties:
8137
+ items:
8138
+ type: array
8139
+ items:
8140
+ $ref: "#/components/schemas/SiteQuestion"
8141
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records":
8142
+ get:
8143
+ operationId: listRecordsForSiteIssue
8144
+ summary: List records linked to a site issue
8145
+ tags:
8146
+ - site-context
8147
+ security:
8148
+ - user: []
8149
+ parameters:
8150
+ - $ref: "#/components/parameters/listPage"
8151
+ - $ref: "#/components/parameters/listLimit"
8152
+ - $ref: "#/components/parameters/organizationId"
8153
+ - $ref: "#/components/parameters/siteId"
8154
+ - $ref: "#/components/parameters/siteIssueId"
8155
+ responses:
8156
+ "200":
8157
+ description: List of records linked to the site issue
8158
+ content:
8159
+ application/json:
8160
+ schema:
8161
+ allOf:
8162
+ - $ref: "#/components/schemas/List"
8163
+ - type: object
8164
+ required:
8165
+ - items
8166
+ properties:
8167
+ items:
8168
+ type: array
8169
+ items:
8170
+ $ref: "#/components/schemas/ContextRecord"
7987
8171
  "/orgs/{organizationId}/sites/{siteId}/context-connections":
7988
8172
  get:
7989
8173
  operationId: listSiteContextConnections
@@ -8198,7 +8382,7 @@ paths:
8198
8382
  type: object
8199
8383
  properties:
8200
8384
  usageSettings:
8201
- $ref: "#/components/schemas/ContextUsageSettings"
8385
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
8202
8386
  required:
8203
8387
  - usageSettings
8204
8388
  responses:
@@ -10282,7 +10466,7 @@ components:
10282
10466
  required: true
10283
10467
  description: The unique id of the space
10284
10468
  schema:
10285
- type: string
10469
+ $ref: "#/components/schemas/EntityId"
10286
10470
  siteShareKey:
10287
10471
  name: shareKey
10288
10472
  in: query
@@ -10295,7 +10479,7 @@ components:
10295
10479
  required: true
10296
10480
  description: The unique ID of the Team
10297
10481
  schema:
10298
- type: string
10482
+ $ref: "#/components/schemas/EntityId"
10299
10483
  revisionMetadata:
10300
10484
  name: metadata
10301
10485
  in: query
@@ -10316,14 +10500,14 @@ components:
10316
10500
  required: true
10317
10501
  description: The unique id of the file
10318
10502
  schema:
10319
- type: string
10503
+ $ref: "#/components/schemas/EntityId"
10320
10504
  pageId:
10321
10505
  name: pageId
10322
10506
  in: path
10323
10507
  required: true
10324
10508
  description: The unique id of the page
10325
10509
  schema:
10326
- type: string
10510
+ $ref: "#/components/schemas/EntityId"
10327
10511
  documentFormat:
10328
10512
  name: format
10329
10513
  in: query
@@ -10375,7 +10559,7 @@ components:
10375
10559
  required: true
10376
10560
  description: The unique id of the reusable content
10377
10561
  schema:
10378
- type: string
10562
+ $ref: "#/components/schemas/EntityId"
10379
10563
  documentSchema:
10380
10564
  name: schema
10381
10565
  in: query
@@ -10391,7 +10575,7 @@ components:
10391
10575
  required: true
10392
10576
  description: The unique ID of the change request or its number identifier in the space
10393
10577
  schema:
10394
- type: string
10578
+ $ref: "#/components/schemas/EntityId"
10395
10579
  reviewId:
10396
10580
  name: reviewId
10397
10581
  in: path
@@ -10441,21 +10625,21 @@ components:
10441
10625
  required: true
10442
10626
  description: The unique id of the comment
10443
10627
  schema:
10444
- type: string
10628
+ $ref: "#/components/schemas/EntityId"
10445
10629
  commentReplyId:
10446
10630
  name: commentReplyId
10447
10631
  in: path
10448
10632
  required: true
10449
10633
  description: The unique id of the comment reply
10450
10634
  schema:
10451
- type: string
10635
+ $ref: "#/components/schemas/EntityId"
10452
10636
  revisionId:
10453
10637
  name: revisionId
10454
10638
  in: path
10455
10639
  required: true
10456
10640
  description: The unique id of the revision
10457
10641
  schema:
10458
- type: string
10642
+ $ref: "#/components/schemas/EntityId"
10459
10643
  integrationSearchQuery:
10460
10644
  name: search
10461
10645
  in: query
@@ -10469,7 +10653,7 @@ components:
10469
10653
  required: true
10470
10654
  description: The unique id of the collection
10471
10655
  schema:
10472
- type: string
10656
+ $ref: "#/components/schemas/EntityId"
10473
10657
  integrationSearchCategory:
10474
10658
  name: category
10475
10659
  in: query
@@ -10550,14 +10734,14 @@ components:
10550
10734
  required: true
10551
10735
  description: The unique id of the organization
10552
10736
  schema:
10553
- type: string
10737
+ $ref: "#/components/schemas/EntityId"
10554
10738
  inviteId:
10555
10739
  name: inviteId
10556
10740
  in: path
10557
10741
  required: true
10558
10742
  description: The unique id of the invite
10559
10743
  schema:
10560
- type: string
10744
+ $ref: "#/components/schemas/EntityId"
10561
10745
  successReturnURL:
10562
10746
  name: successReturnURL
10563
10747
  in: query
@@ -10868,6 +11052,10 @@ components:
10868
11052
  type: string
10869
11053
  format: uri
10870
11054
  maxLength: 2048
11055
+ EntityId:
11056
+ type: string
11057
+ pattern: ^[a-zA-Z0-9_-]+$
11058
+ description: A unique entity identifier
10871
11059
  SpaceTitle:
10872
11060
  type: string
10873
11061
  description: Title of the space
@@ -15052,9 +15240,12 @@ components:
15052
15240
  label:
15053
15241
  type: string
15054
15242
  description: Display label for the tag. Can be renamed and differ from the slug.
15243
+ color:
15244
+ $ref: "#/components/schemas/DocumentTextColor"
15055
15245
  required:
15056
15246
  - slug
15057
15247
  - label
15248
+ - color
15058
15249
  - oneOf:
15059
15250
  - type: object
15060
15251
  properties:
@@ -16038,6 +16229,10 @@ components:
16038
16229
  type: array
16039
16230
  items:
16040
16231
  $ref: "#/components/schemas/OpenAPIErrorObject"
16232
+ lastProcessedErrorCount:
16233
+ type: integer
16234
+ minimum: 0
16235
+ description: Total number of processing errors before truncation of lastProcessedErrors.
16041
16236
  permissions:
16042
16237
  type: object
16043
16238
  description: The set of permissions for the OpenAPI specification.
@@ -16075,6 +16270,7 @@ components:
16075
16270
  - updatedAt
16076
16271
  - slug
16077
16272
  - processingState
16273
+ - lastProcessedErrorCount
16078
16274
  - permissions
16079
16275
  - urls
16080
16276
  ContentLocationOpenAPI:
@@ -20954,11 +21150,23 @@ components:
20954
21150
  filesystem:
20955
21151
  description: Filesystem containing all specifications.
20956
21152
  type: object
20957
- url:
20958
- $ref: "#/components/schemas/URL"
21153
+ urls:
21154
+ description: URLs associated with the specification content.
21155
+ type: object
21156
+ properties:
21157
+ source:
21158
+ $ref: "#/components/schemas/URL"
21159
+ public:
21160
+ description: Publicly accessible URL for the specification. Available for public specs (proxy URL for stored specs, source URL for external specs). Null for private specs. Can be used for the "Try it" feature.
21161
+ oneOf:
21162
+ - type: "null"
21163
+ - $ref: "#/components/schemas/URL"
21164
+ required:
21165
+ - source
21166
+ - public
20959
21167
  required:
20960
21168
  - filesystem
20961
- - url
21169
+ - urls
20962
21170
  OrganizationAgentInstructions:
20963
21171
  type: object
20964
21172
  properties:
@@ -22720,6 +22928,18 @@ components:
22720
22928
  description: The site topic ID associated with the issue
22721
22929
  title:
22722
22930
  $ref: "#/components/schemas/SiteIssueTitle"
22931
+ changeRequests:
22932
+ type: number
22933
+ description: Number of change requests linked to the issue
22934
+ pages:
22935
+ type: number
22936
+ description: Number of pages linked to the issue
22937
+ records:
22938
+ type: number
22939
+ description: Number of records linked to the issue
22940
+ questions:
22941
+ type: number
22942
+ description: Number of questions linked to the issue
22723
22943
  status:
22724
22944
  $ref: "#/components/schemas/SiteIssueStatus"
22725
22945
  type:
@@ -22750,6 +22970,10 @@ components:
22750
22970
  - id
22751
22971
  - topic
22752
22972
  - title
22973
+ - changeRequests
22974
+ - pages
22975
+ - records
22976
+ - questions
22753
22977
  - status
22754
22978
  - type
22755
22979
  - priority
@@ -22758,35 +22982,225 @@ components:
22758
22982
  - createdAt
22759
22983
  - updatedAt
22760
22984
  - urls
22761
- ContextConnectionLabel:
22762
- type: string
22763
- description: Optional label for the connection
22764
- minLength: 0
22765
- maxLength: 128
22766
- ContextConnectionStatus:
22985
+ SiteIssuePage:
22986
+ type: object
22987
+ properties:
22988
+ object:
22989
+ type: string
22990
+ enum:
22991
+ - site-issue-page
22992
+ spaceId:
22993
+ type: string
22994
+ description: The space ID containing the linked page.
22995
+ page:
22996
+ $ref: "#/components/schemas/ChangedRevisionPage"
22997
+ required:
22998
+ - object
22999
+ - spaceId
23000
+ - page
23001
+ SiteQuestionType:
22767
23002
  type: string
23003
+ description: Type classification of the user question.
22768
23004
  enum:
22769
- - pending
22770
- - syncing
22771
- - succeeded
22772
- - failed
22773
- ContextUsageSettings:
23005
+ - exploring
23006
+ - how-to
23007
+ - troubleshooting
23008
+ - reference
23009
+ - unknown
23010
+ SiteQuestionStatsFeedback:
22774
23011
  type: object
23012
+ description: Aggregated feedback for answers linked to a site question.
22775
23013
  properties:
22776
- changeRequests:
22777
- type: boolean
22778
- description: Whether to use context to propose change requests
22779
- search:
22780
- type: boolean
22781
- description: Whether to expose records in search results
23014
+ positive:
23015
+ type: number
23016
+ description: Count of answers with positive feedback.
23017
+ negative:
23018
+ type: number
23019
+ description: Count of answers with negative feedback.
23020
+ unrated:
23021
+ type: number
23022
+ description: Count of answers without feedback.
22782
23023
  required:
22783
- - changeRequests
22784
- - search
22785
- ContextConnectorSetup:
22786
- oneOf:
22787
- - type: object
22788
- properties:
22789
- connector:
23024
+ - positive
23025
+ - negative
23026
+ - unrated
23027
+ SiteQuestionStatsAnswered:
23028
+ type: object
23029
+ description: Aggregated answered assessment for answers linked to a site question.
23030
+ properties:
23031
+ yes:
23032
+ type: number
23033
+ description: Count of answers assessed as fully answered.
23034
+ partially:
23035
+ type: number
23036
+ description: Count of answers assessed as partially answered.
23037
+ no:
23038
+ type: number
23039
+ description: Count of answers assessed as not answered.
23040
+ required:
23041
+ - yes
23042
+ - partially
23043
+ - no
23044
+ SiteQuestionStatsRelevance:
23045
+ type: object
23046
+ properties:
23047
+ relevant:
23048
+ type: number
23049
+ spam:
23050
+ type: number
23051
+ off-topic:
23052
+ type: number
23053
+ unclear:
23054
+ type: number
23055
+ required:
23056
+ - relevant
23057
+ - spam
23058
+ - off-topic
23059
+ - unclear
23060
+ SiteQuestionStatsTypes:
23061
+ type: object
23062
+ properties:
23063
+ exploring:
23064
+ type: number
23065
+ how-to:
23066
+ type: number
23067
+ troubleshooting:
23068
+ type: number
23069
+ reference:
23070
+ type: number
23071
+ unknown:
23072
+ type: number
23073
+ required:
23074
+ - exploring
23075
+ - how-to
23076
+ - troubleshooting
23077
+ - reference
23078
+ - unknown
23079
+ SiteQuestionStatsChannelTypes:
23080
+ type: object
23081
+ description: Count of answers by site channel type, including core channels.
23082
+ additionalProperties:
23083
+ type: number
23084
+ SiteQuestionStatsChannels:
23085
+ type: object
23086
+ description: Count of answers by site channel ID.
23087
+ additionalProperties:
23088
+ type: number
23089
+ SiteQuestionStats:
23090
+ type: object
23091
+ description: Aggregated stats for questions and linked answers.
23092
+ properties:
23093
+ total:
23094
+ type: number
23095
+ description: Total count of questions included in the aggregation.
23096
+ answers:
23097
+ type: number
23098
+ description: Total count of answers linked to the questions.
23099
+ feedback:
23100
+ $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23101
+ answered:
23102
+ $ref: "#/components/schemas/SiteQuestionStatsAnswered"
23103
+ relevance:
23104
+ $ref: "#/components/schemas/SiteQuestionStatsRelevance"
23105
+ types:
23106
+ $ref: "#/components/schemas/SiteQuestionStatsTypes"
23107
+ channelTypes:
23108
+ $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23109
+ channels:
23110
+ $ref: "#/components/schemas/SiteQuestionStatsChannels"
23111
+ weeklyPulse:
23112
+ type: array
23113
+ minItems: 13
23114
+ maxItems: 13
23115
+ description: Weekly count of related question answers for the past 3 months.
23116
+ items:
23117
+ type: number
23118
+ required:
23119
+ - total
23120
+ - answers
23121
+ - feedback
23122
+ - answered
23123
+ - relevance
23124
+ - types
23125
+ - channelTypes
23126
+ - channels
23127
+ - weeklyPulse
23128
+ SiteQuestion:
23129
+ type: object
23130
+ properties:
23131
+ object:
23132
+ type: string
23133
+ enum:
23134
+ - site-question
23135
+ id:
23136
+ type: string
23137
+ description: The ID of the site question.
23138
+ question:
23139
+ type: string
23140
+ description: Canonical text for the unique site question.
23141
+ type:
23142
+ $ref: "#/components/schemas/SiteQuestionType"
23143
+ createdAt:
23144
+ $ref: "#/components/schemas/Timestamp"
23145
+ stats:
23146
+ $ref: "#/components/schemas/SiteQuestionStats"
23147
+ urls:
23148
+ type: object
23149
+ description: URLs associated with the site question.
23150
+ properties:
23151
+ location:
23152
+ type: string
23153
+ format: uri
23154
+ description: URL of the site question in the API.
23155
+ required:
23156
+ - location
23157
+ required:
23158
+ - object
23159
+ - id
23160
+ - question
23161
+ - type
23162
+ - createdAt
23163
+ - stats
23164
+ - urls
23165
+ ContextConnectionLabel:
23166
+ type: string
23167
+ description: Optional label for the connection
23168
+ minLength: 0
23169
+ maxLength: 128
23170
+ ContextConnectionStatus:
23171
+ type: string
23172
+ enum:
23173
+ - pending
23174
+ - syncing
23175
+ - succeeded
23176
+ - failed
23177
+ ContextSearchBoost:
23178
+ type: string
23179
+ description: Relative score adjustment applied to records from a connection when searching.
23180
+ enum:
23181
+ - x0.8
23182
+ - x1.0
23183
+ - x1.2
23184
+ ContextUsageSettings:
23185
+ type: object
23186
+ properties:
23187
+ changeRequests:
23188
+ type: boolean
23189
+ description: Whether to use context to propose change requests
23190
+ search:
23191
+ type: boolean
23192
+ description: Whether to expose records in search results
23193
+ searchBoost:
23194
+ $ref: "#/components/schemas/ContextSearchBoost"
23195
+ required:
23196
+ - changeRequests
23197
+ - search
23198
+ - searchBoost
23199
+ ContextConnectorSetup:
23200
+ oneOf:
23201
+ - type: object
23202
+ properties:
23203
+ connector:
22790
23204
  type: string
22791
23205
  enum:
22792
23206
  - builtin:email
@@ -22955,124 +23369,14 @@ components:
22955
23369
  - usageSettings
22956
23370
  - urls
22957
23371
  - $ref: "#/components/schemas/ContextConnectorSetup"
22958
- SiteQuestionStatsFeedback:
22959
- type: object
22960
- description: Aggregated feedback for answers linked to a site question.
22961
- properties:
22962
- positive:
22963
- type: number
22964
- description: Count of answers with positive feedback.
22965
- negative:
22966
- type: number
22967
- description: Count of answers with negative feedback.
22968
- unrated:
22969
- type: number
22970
- description: Count of answers without feedback.
22971
- required:
22972
- - positive
22973
- - negative
22974
- - unrated
22975
- SiteQuestionStatsAnswered:
23372
+ SiteTopicUsageSettings:
22976
23373
  type: object
22977
- description: Aggregated answered assessment for answers linked to a site question.
22978
23374
  properties:
22979
- yes:
22980
- type: number
22981
- description: Count of answers assessed as fully answered.
22982
- partially:
22983
- type: number
22984
- description: Count of answers assessed as partially answered.
22985
- no:
22986
- type: number
22987
- description: Count of answers assessed as not answered.
22988
- required:
22989
- - yes
22990
- - partially
22991
- - no
22992
- SiteQuestionStatsRelevance:
22993
- type: object
22994
- properties:
22995
- relevant:
22996
- type: number
22997
- spam:
22998
- type: number
22999
- off-topic:
23000
- type: number
23001
- unclear:
23002
- type: number
23003
- required:
23004
- - relevant
23005
- - spam
23006
- - off-topic
23007
- - unclear
23008
- SiteQuestionStatsTypes:
23009
- type: object
23010
- properties:
23011
- exploring:
23012
- type: number
23013
- how-to:
23014
- type: number
23015
- troubleshooting:
23016
- type: number
23017
- reference:
23018
- type: number
23019
- unknown:
23020
- type: number
23021
- required:
23022
- - exploring
23023
- - how-to
23024
- - troubleshooting
23025
- - reference
23026
- - unknown
23027
- SiteQuestionStatsChannelTypes:
23028
- type: object
23029
- description: Count of answers by site channel type, including core channels.
23030
- additionalProperties:
23031
- type: number
23032
- SiteQuestionStatsChannels:
23033
- type: object
23034
- description: Count of answers by site channel ID.
23035
- additionalProperties:
23036
- type: number
23037
- SiteQuestionStats:
23038
- type: object
23039
- description: Aggregated stats for questions and linked answers.
23040
- properties:
23041
- total:
23042
- type: number
23043
- description: Total count of questions included in the aggregation.
23044
- answers:
23045
- type: number
23046
- description: Total count of answers linked to the questions.
23047
- feedback:
23048
- $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23049
- answered:
23050
- $ref: "#/components/schemas/SiteQuestionStatsAnswered"
23051
- relevance:
23052
- $ref: "#/components/schemas/SiteQuestionStatsRelevance"
23053
- types:
23054
- $ref: "#/components/schemas/SiteQuestionStatsTypes"
23055
- channelTypes:
23056
- $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23057
- channels:
23058
- $ref: "#/components/schemas/SiteQuestionStatsChannels"
23059
- weeklyPulse:
23060
- type: array
23061
- minItems: 13
23062
- maxItems: 13
23063
- description: Weekly count of related question answers for the past 3 months.
23064
- items:
23065
- type: number
23375
+ changeRequests:
23376
+ type: boolean
23377
+ description: Whether to use context to propose change requests
23066
23378
  required:
23067
- - total
23068
- - answers
23069
- - feedback
23070
- - answered
23071
- - relevance
23072
- - types
23073
- - channelTypes
23074
- - channels
23075
- - weeklyPulse
23379
+ - changeRequests
23076
23380
  SiteTopic:
23077
23381
  type: object
23078
23382
  properties:
@@ -23108,7 +23412,7 @@ components:
23108
23412
  summary:
23109
23413
  $ref: "#/components/schemas/JSONDocument"
23110
23414
  usageSettings:
23111
- $ref: "#/components/schemas/ContextUsageSettings"
23415
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
23112
23416
  pages:
23113
23417
  type: number
23114
23418
  description: The number of pages associated with the topic
@@ -23140,15 +23444,6 @@ components:
23140
23444
  - createdAt
23141
23445
  - updatedAt
23142
23446
  - urls
23143
- SiteQuestionType:
23144
- type: string
23145
- description: Type classification of the user question.
23146
- enum:
23147
- - exploring
23148
- - how-to
23149
- - troubleshooting
23150
- - reference
23151
- - unknown
23152
23447
  SiteQuestionAnswerResolution:
23153
23448
  type: string
23154
23449
  description: Whether the response answered the question.
@@ -23156,43 +23451,6 @@ components:
23156
23451
  - no
23157
23452
  - partially
23158
23453
  - yes
23159
- SiteQuestion:
23160
- type: object
23161
- properties:
23162
- object:
23163
- type: string
23164
- enum:
23165
- - site-question
23166
- id:
23167
- type: string
23168
- description: The ID of the site question.
23169
- question:
23170
- type: string
23171
- description: Canonical text for the unique site question.
23172
- type:
23173
- $ref: "#/components/schemas/SiteQuestionType"
23174
- createdAt:
23175
- $ref: "#/components/schemas/Timestamp"
23176
- stats:
23177
- $ref: "#/components/schemas/SiteQuestionStats"
23178
- urls:
23179
- type: object
23180
- description: URLs associated with the site question.
23181
- properties:
23182
- location:
23183
- type: string
23184
- format: uri
23185
- description: URL of the site question in the API.
23186
- required:
23187
- - location
23188
- required:
23189
- - object
23190
- - id
23191
- - question
23192
- - type
23193
- - createdAt
23194
- - stats
23195
- - urls
23196
23454
  SiteQuestionAnswerRelevance:
23197
23455
  type: string
23198
23456
  description: Relevance classification of the user question.
@@ -27556,6 +27814,10 @@ components:
27556
27814
  space:
27557
27815
  type: string
27558
27816
  description: ID of the space to be used when using this token for rendering published content.
27817
+ draft:
27818
+ type: boolean
27819
+ default: false
27820
+ description: Whether to include draft data when using this token for rendering content. If false, only live data will be included when rendering content with this token.
27559
27821
  required:
27560
27822
  - kind
27561
27823
  - site