@gitbook/api 0.166.0 → 0.168.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,17 @@ 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
7187
+ - name: target
7188
+ in: query
7189
+ description: Target URL of the preview. If not provided, the default site preview URL will be used.
7190
+ schema:
7191
+ type: string
7169
7192
  responses:
7170
7193
  "200":
7171
7194
  description: OK
@@ -7984,6 +8007,172 @@ paths:
7984
8007
  application/json:
7985
8008
  schema:
7986
8009
  $ref: "#/components/schemas/SiteIssue"
8010
+ patch:
8011
+ operationId: updateSiteIssueById
8012
+ summary: Update a site issue
8013
+ tags:
8014
+ - site-context
8015
+ security:
8016
+ - user: []
8017
+ parameters:
8018
+ - $ref: "#/components/parameters/organizationId"
8019
+ - $ref: "#/components/parameters/siteId"
8020
+ - $ref: "#/components/parameters/siteIssueId"
8021
+ requestBody:
8022
+ required: true
8023
+ content:
8024
+ application/json:
8025
+ schema:
8026
+ type: object
8027
+ properties:
8028
+ status:
8029
+ type: string
8030
+ enum:
8031
+ - open
8032
+ - canceled
8033
+ required:
8034
+ - status
8035
+ responses:
8036
+ "200":
8037
+ description: OK
8038
+ content:
8039
+ application/json:
8040
+ schema:
8041
+ $ref: "#/components/schemas/SiteIssue"
8042
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/change-requests":
8043
+ get:
8044
+ operationId: listChangeRequestsForSiteIssue
8045
+ summary: List change requests linked to a site issue
8046
+ tags:
8047
+ - site-context
8048
+ security:
8049
+ - user: []
8050
+ parameters:
8051
+ - $ref: "#/components/parameters/listPage"
8052
+ - $ref: "#/components/parameters/listLimit"
8053
+ - $ref: "#/components/parameters/organizationId"
8054
+ - $ref: "#/components/parameters/siteId"
8055
+ - $ref: "#/components/parameters/siteIssueId"
8056
+ responses:
8057
+ "200":
8058
+ description: List of change requests linked to the site issue
8059
+ content:
8060
+ application/json:
8061
+ schema:
8062
+ allOf:
8063
+ - $ref: "#/components/schemas/List"
8064
+ - type: object
8065
+ required:
8066
+ - items
8067
+ properties:
8068
+ items:
8069
+ type: array
8070
+ items:
8071
+ $ref: "#/components/schemas/ChangeRequest"
8072
+ post:
8073
+ operationId: triggerChangeRequestsForSiteIssue
8074
+ summary: Process a site issue into change requests
8075
+ tags:
8076
+ - site-context
8077
+ security:
8078
+ - user: []
8079
+ parameters:
8080
+ - $ref: "#/components/parameters/organizationId"
8081
+ - $ref: "#/components/parameters/siteId"
8082
+ - $ref: "#/components/parameters/siteIssueId"
8083
+ responses:
8084
+ "202":
8085
+ description: Site issue processing has been started
8086
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/pages":
8087
+ get:
8088
+ operationId: listPagesForSiteIssue
8089
+ summary: List pages linked to a site issue
8090
+ tags:
8091
+ - site-context
8092
+ security:
8093
+ - user: []
8094
+ parameters:
8095
+ - $ref: "#/components/parameters/listPage"
8096
+ - $ref: "#/components/parameters/listLimit"
8097
+ - $ref: "#/components/parameters/organizationId"
8098
+ - $ref: "#/components/parameters/siteId"
8099
+ - $ref: "#/components/parameters/siteIssueId"
8100
+ responses:
8101
+ "200":
8102
+ description: List of pages linked to the site issue
8103
+ content:
8104
+ application/json:
8105
+ schema:
8106
+ allOf:
8107
+ - $ref: "#/components/schemas/List"
8108
+ - type: object
8109
+ required:
8110
+ - items
8111
+ properties:
8112
+ items:
8113
+ type: array
8114
+ items:
8115
+ $ref: "#/components/schemas/SiteIssuePage"
8116
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/questions":
8117
+ get:
8118
+ operationId: listQuestionsForSiteIssue
8119
+ summary: List questions linked to a site issue
8120
+ tags:
8121
+ - site-context
8122
+ security:
8123
+ - user: []
8124
+ parameters:
8125
+ - $ref: "#/components/parameters/listPage"
8126
+ - $ref: "#/components/parameters/listLimit"
8127
+ - $ref: "#/components/parameters/organizationId"
8128
+ - $ref: "#/components/parameters/siteId"
8129
+ - $ref: "#/components/parameters/siteIssueId"
8130
+ responses:
8131
+ "200":
8132
+ description: List of questions linked to the site issue
8133
+ content:
8134
+ application/json:
8135
+ schema:
8136
+ allOf:
8137
+ - $ref: "#/components/schemas/List"
8138
+ - type: object
8139
+ required:
8140
+ - items
8141
+ properties:
8142
+ items:
8143
+ type: array
8144
+ items:
8145
+ $ref: "#/components/schemas/SiteQuestion"
8146
+ "/orgs/{organizationId}/sites/{siteId}/issues/{siteIssueId}/records":
8147
+ get:
8148
+ operationId: listRecordsForSiteIssue
8149
+ summary: List records linked to a site issue
8150
+ tags:
8151
+ - site-context
8152
+ security:
8153
+ - user: []
8154
+ parameters:
8155
+ - $ref: "#/components/parameters/listPage"
8156
+ - $ref: "#/components/parameters/listLimit"
8157
+ - $ref: "#/components/parameters/organizationId"
8158
+ - $ref: "#/components/parameters/siteId"
8159
+ - $ref: "#/components/parameters/siteIssueId"
8160
+ responses:
8161
+ "200":
8162
+ description: List of records linked to the site issue
8163
+ content:
8164
+ application/json:
8165
+ schema:
8166
+ allOf:
8167
+ - $ref: "#/components/schemas/List"
8168
+ - type: object
8169
+ required:
8170
+ - items
8171
+ properties:
8172
+ items:
8173
+ type: array
8174
+ items:
8175
+ $ref: "#/components/schemas/ContextRecord"
7987
8176
  "/orgs/{organizationId}/sites/{siteId}/context-connections":
7988
8177
  get:
7989
8178
  operationId: listSiteContextConnections
@@ -8198,7 +8387,7 @@ paths:
8198
8387
  type: object
8199
8388
  properties:
8200
8389
  usageSettings:
8201
- $ref: "#/components/schemas/ContextUsageSettings"
8390
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
8202
8391
  required:
8203
8392
  - usageSettings
8204
8393
  responses:
@@ -10282,7 +10471,7 @@ components:
10282
10471
  required: true
10283
10472
  description: The unique id of the space
10284
10473
  schema:
10285
- type: string
10474
+ $ref: "#/components/schemas/EntityId"
10286
10475
  siteShareKey:
10287
10476
  name: shareKey
10288
10477
  in: query
@@ -10295,7 +10484,7 @@ components:
10295
10484
  required: true
10296
10485
  description: The unique ID of the Team
10297
10486
  schema:
10298
- type: string
10487
+ $ref: "#/components/schemas/EntityId"
10299
10488
  revisionMetadata:
10300
10489
  name: metadata
10301
10490
  in: query
@@ -10316,14 +10505,14 @@ components:
10316
10505
  required: true
10317
10506
  description: The unique id of the file
10318
10507
  schema:
10319
- type: string
10508
+ $ref: "#/components/schemas/EntityId"
10320
10509
  pageId:
10321
10510
  name: pageId
10322
10511
  in: path
10323
10512
  required: true
10324
10513
  description: The unique id of the page
10325
10514
  schema:
10326
- type: string
10515
+ $ref: "#/components/schemas/EntityId"
10327
10516
  documentFormat:
10328
10517
  name: format
10329
10518
  in: query
@@ -10375,7 +10564,7 @@ components:
10375
10564
  required: true
10376
10565
  description: The unique id of the reusable content
10377
10566
  schema:
10378
- type: string
10567
+ $ref: "#/components/schemas/EntityId"
10379
10568
  documentSchema:
10380
10569
  name: schema
10381
10570
  in: query
@@ -10391,7 +10580,7 @@ components:
10391
10580
  required: true
10392
10581
  description: The unique ID of the change request or its number identifier in the space
10393
10582
  schema:
10394
- type: string
10583
+ $ref: "#/components/schemas/EntityId"
10395
10584
  reviewId:
10396
10585
  name: reviewId
10397
10586
  in: path
@@ -10441,21 +10630,21 @@ components:
10441
10630
  required: true
10442
10631
  description: The unique id of the comment
10443
10632
  schema:
10444
- type: string
10633
+ $ref: "#/components/schemas/EntityId"
10445
10634
  commentReplyId:
10446
10635
  name: commentReplyId
10447
10636
  in: path
10448
10637
  required: true
10449
10638
  description: The unique id of the comment reply
10450
10639
  schema:
10451
- type: string
10640
+ $ref: "#/components/schemas/EntityId"
10452
10641
  revisionId:
10453
10642
  name: revisionId
10454
10643
  in: path
10455
10644
  required: true
10456
10645
  description: The unique id of the revision
10457
10646
  schema:
10458
- type: string
10647
+ $ref: "#/components/schemas/EntityId"
10459
10648
  integrationSearchQuery:
10460
10649
  name: search
10461
10650
  in: query
@@ -10469,7 +10658,7 @@ components:
10469
10658
  required: true
10470
10659
  description: The unique id of the collection
10471
10660
  schema:
10472
- type: string
10661
+ $ref: "#/components/schemas/EntityId"
10473
10662
  integrationSearchCategory:
10474
10663
  name: category
10475
10664
  in: query
@@ -10550,14 +10739,14 @@ components:
10550
10739
  required: true
10551
10740
  description: The unique id of the organization
10552
10741
  schema:
10553
- type: string
10742
+ $ref: "#/components/schemas/EntityId"
10554
10743
  inviteId:
10555
10744
  name: inviteId
10556
10745
  in: path
10557
10746
  required: true
10558
10747
  description: The unique id of the invite
10559
10748
  schema:
10560
- type: string
10749
+ $ref: "#/components/schemas/EntityId"
10561
10750
  successReturnURL:
10562
10751
  name: successReturnURL
10563
10752
  in: query
@@ -10868,6 +11057,10 @@ components:
10868
11057
  type: string
10869
11058
  format: uri
10870
11059
  maxLength: 2048
11060
+ EntityId:
11061
+ type: string
11062
+ pattern: ^[a-zA-Z0-9_-]+$
11063
+ description: A unique entity identifier
10871
11064
  SpaceTitle:
10872
11065
  type: string
10873
11066
  description: Title of the space
@@ -15052,9 +15245,12 @@ components:
15052
15245
  label:
15053
15246
  type: string
15054
15247
  description: Display label for the tag. Can be renamed and differ from the slug.
15248
+ color:
15249
+ $ref: "#/components/schemas/DocumentTextColor"
15055
15250
  required:
15056
15251
  - slug
15057
15252
  - label
15253
+ - color
15058
15254
  - oneOf:
15059
15255
  - type: object
15060
15256
  properties:
@@ -16038,6 +16234,10 @@ components:
16038
16234
  type: array
16039
16235
  items:
16040
16236
  $ref: "#/components/schemas/OpenAPIErrorObject"
16237
+ lastProcessedErrorCount:
16238
+ type: integer
16239
+ minimum: 0
16240
+ description: Total number of processing errors before truncation of lastProcessedErrors.
16041
16241
  permissions:
16042
16242
  type: object
16043
16243
  description: The set of permissions for the OpenAPI specification.
@@ -16075,6 +16275,7 @@ components:
16075
16275
  - updatedAt
16076
16276
  - slug
16077
16277
  - processingState
16278
+ - lastProcessedErrorCount
16078
16279
  - permissions
16079
16280
  - urls
16080
16281
  ContentLocationOpenAPI:
@@ -18739,9 +18940,14 @@ components:
18739
18940
  type: string
18740
18941
  description: URL of the published version of the site. Only defined when site is published.
18741
18942
  format: uri
18943
+ preview:
18944
+ type: string
18945
+ description: URL of the preview version of the site.
18946
+ format: uri
18742
18947
  required:
18743
18948
  - app
18744
18949
  - location
18950
+ - preview
18745
18951
  required:
18746
18952
  - object
18747
18953
  - id
@@ -20954,11 +21160,23 @@ components:
20954
21160
  filesystem:
20955
21161
  description: Filesystem containing all specifications.
20956
21162
  type: object
20957
- url:
20958
- $ref: "#/components/schemas/URL"
21163
+ urls:
21164
+ description: URLs associated with the specification content.
21165
+ type: object
21166
+ properties:
21167
+ source:
21168
+ $ref: "#/components/schemas/URL"
21169
+ public:
21170
+ 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.
21171
+ oneOf:
21172
+ - type: "null"
21173
+ - $ref: "#/components/schemas/URL"
21174
+ required:
21175
+ - source
21176
+ - public
20959
21177
  required:
20960
21178
  - filesystem
20961
- - url
21179
+ - urls
20962
21180
  OrganizationAgentInstructions:
20963
21181
  type: object
20964
21182
  properties:
@@ -22720,6 +22938,18 @@ components:
22720
22938
  description: The site topic ID associated with the issue
22721
22939
  title:
22722
22940
  $ref: "#/components/schemas/SiteIssueTitle"
22941
+ changeRequests:
22942
+ type: number
22943
+ description: Number of change requests linked to the issue
22944
+ pages:
22945
+ type: number
22946
+ description: Number of pages linked to the issue
22947
+ records:
22948
+ type: number
22949
+ description: Number of records linked to the issue
22950
+ questions:
22951
+ type: number
22952
+ description: Number of questions linked to the issue
22723
22953
  status:
22724
22954
  $ref: "#/components/schemas/SiteIssueStatus"
22725
22955
  type:
@@ -22750,6 +22980,10 @@ components:
22750
22980
  - id
22751
22981
  - topic
22752
22982
  - title
22983
+ - changeRequests
22984
+ - pages
22985
+ - records
22986
+ - questions
22753
22987
  - status
22754
22988
  - type
22755
22989
  - priority
@@ -22758,35 +22992,225 @@ components:
22758
22992
  - createdAt
22759
22993
  - updatedAt
22760
22994
  - urls
22761
- ContextConnectionLabel:
22762
- type: string
22763
- description: Optional label for the connection
22764
- minLength: 0
22765
- maxLength: 128
22766
- ContextConnectionStatus:
22995
+ SiteIssuePage:
22996
+ type: object
22997
+ properties:
22998
+ object:
22999
+ type: string
23000
+ enum:
23001
+ - site-issue-page
23002
+ spaceId:
23003
+ type: string
23004
+ description: The space ID containing the linked page.
23005
+ page:
23006
+ $ref: "#/components/schemas/ChangedRevisionPage"
23007
+ required:
23008
+ - object
23009
+ - spaceId
23010
+ - page
23011
+ SiteQuestionType:
22767
23012
  type: string
23013
+ description: Type classification of the user question.
22768
23014
  enum:
22769
- - pending
22770
- - syncing
22771
- - succeeded
22772
- - failed
22773
- ContextUsageSettings:
23015
+ - exploring
23016
+ - how-to
23017
+ - troubleshooting
23018
+ - reference
23019
+ - unknown
23020
+ SiteQuestionStatsFeedback:
22774
23021
  type: object
23022
+ description: Aggregated feedback for answers linked to a site question.
22775
23023
  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
22782
- required:
22783
- - changeRequests
22784
- - search
22785
- ContextConnectorSetup:
22786
- oneOf:
22787
- - type: object
22788
- properties:
22789
- connector:
23024
+ positive:
23025
+ type: number
23026
+ description: Count of answers with positive feedback.
23027
+ negative:
23028
+ type: number
23029
+ description: Count of answers with negative feedback.
23030
+ unrated:
23031
+ type: number
23032
+ description: Count of answers without feedback.
23033
+ required:
23034
+ - positive
23035
+ - negative
23036
+ - unrated
23037
+ SiteQuestionStatsAnswered:
23038
+ type: object
23039
+ description: Aggregated answered assessment for answers linked to a site question.
23040
+ properties:
23041
+ yes:
23042
+ type: number
23043
+ description: Count of answers assessed as fully answered.
23044
+ partially:
23045
+ type: number
23046
+ description: Count of answers assessed as partially answered.
23047
+ no:
23048
+ type: number
23049
+ description: Count of answers assessed as not answered.
23050
+ required:
23051
+ - yes
23052
+ - partially
23053
+ - no
23054
+ SiteQuestionStatsRelevance:
23055
+ type: object
23056
+ properties:
23057
+ relevant:
23058
+ type: number
23059
+ spam:
23060
+ type: number
23061
+ off-topic:
23062
+ type: number
23063
+ unclear:
23064
+ type: number
23065
+ required:
23066
+ - relevant
23067
+ - spam
23068
+ - off-topic
23069
+ - unclear
23070
+ SiteQuestionStatsTypes:
23071
+ type: object
23072
+ properties:
23073
+ exploring:
23074
+ type: number
23075
+ how-to:
23076
+ type: number
23077
+ troubleshooting:
23078
+ type: number
23079
+ reference:
23080
+ type: number
23081
+ unknown:
23082
+ type: number
23083
+ required:
23084
+ - exploring
23085
+ - how-to
23086
+ - troubleshooting
23087
+ - reference
23088
+ - unknown
23089
+ SiteQuestionStatsChannelTypes:
23090
+ type: object
23091
+ description: Count of answers by site channel type, including core channels.
23092
+ additionalProperties:
23093
+ type: number
23094
+ SiteQuestionStatsChannels:
23095
+ type: object
23096
+ description: Count of answers by site channel ID.
23097
+ additionalProperties:
23098
+ type: number
23099
+ SiteQuestionStats:
23100
+ type: object
23101
+ description: Aggregated stats for questions and linked answers.
23102
+ properties:
23103
+ total:
23104
+ type: number
23105
+ description: Total count of questions included in the aggregation.
23106
+ answers:
23107
+ type: number
23108
+ description: Total count of answers linked to the questions.
23109
+ feedback:
23110
+ $ref: "#/components/schemas/SiteQuestionStatsFeedback"
23111
+ answered:
23112
+ $ref: "#/components/schemas/SiteQuestionStatsAnswered"
23113
+ relevance:
23114
+ $ref: "#/components/schemas/SiteQuestionStatsRelevance"
23115
+ types:
23116
+ $ref: "#/components/schemas/SiteQuestionStatsTypes"
23117
+ channelTypes:
23118
+ $ref: "#/components/schemas/SiteQuestionStatsChannelTypes"
23119
+ channels:
23120
+ $ref: "#/components/schemas/SiteQuestionStatsChannels"
23121
+ weeklyPulse:
23122
+ type: array
23123
+ minItems: 13
23124
+ maxItems: 13
23125
+ description: Weekly count of related question answers for the past 3 months.
23126
+ items:
23127
+ type: number
23128
+ required:
23129
+ - total
23130
+ - answers
23131
+ - feedback
23132
+ - answered
23133
+ - relevance
23134
+ - types
23135
+ - channelTypes
23136
+ - channels
23137
+ - weeklyPulse
23138
+ SiteQuestion:
23139
+ type: object
23140
+ properties:
23141
+ object:
23142
+ type: string
23143
+ enum:
23144
+ - site-question
23145
+ id:
23146
+ type: string
23147
+ description: The ID of the site question.
23148
+ question:
23149
+ type: string
23150
+ description: Canonical text for the unique site question.
23151
+ type:
23152
+ $ref: "#/components/schemas/SiteQuestionType"
23153
+ createdAt:
23154
+ $ref: "#/components/schemas/Timestamp"
23155
+ stats:
23156
+ $ref: "#/components/schemas/SiteQuestionStats"
23157
+ urls:
23158
+ type: object
23159
+ description: URLs associated with the site question.
23160
+ properties:
23161
+ location:
23162
+ type: string
23163
+ format: uri
23164
+ description: URL of the site question in the API.
23165
+ required:
23166
+ - location
23167
+ required:
23168
+ - object
23169
+ - id
23170
+ - question
23171
+ - type
23172
+ - createdAt
23173
+ - stats
23174
+ - urls
23175
+ ContextConnectionLabel:
23176
+ type: string
23177
+ description: Optional label for the connection
23178
+ minLength: 0
23179
+ maxLength: 128
23180
+ ContextConnectionStatus:
23181
+ type: string
23182
+ enum:
23183
+ - pending
23184
+ - syncing
23185
+ - succeeded
23186
+ - failed
23187
+ ContextSearchBoost:
23188
+ type: string
23189
+ description: Relative score adjustment applied to records from a connection when searching.
23190
+ enum:
23191
+ - x0.8
23192
+ - x1.0
23193
+ - x1.2
23194
+ ContextUsageSettings:
23195
+ type: object
23196
+ properties:
23197
+ changeRequests:
23198
+ type: boolean
23199
+ description: Whether to use context to propose change requests
23200
+ search:
23201
+ type: boolean
23202
+ description: Whether to expose records in search results
23203
+ searchBoost:
23204
+ $ref: "#/components/schemas/ContextSearchBoost"
23205
+ required:
23206
+ - changeRequests
23207
+ - search
23208
+ - searchBoost
23209
+ ContextConnectorSetup:
23210
+ oneOf:
23211
+ - type: object
23212
+ properties:
23213
+ connector:
22790
23214
  type: string
22791
23215
  enum:
22792
23216
  - builtin:email
@@ -22955,124 +23379,14 @@ components:
22955
23379
  - usageSettings
22956
23380
  - urls
22957
23381
  - $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:
22976
- type: object
22977
- description: Aggregated answered assessment for answers linked to a site question.
22978
- 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:
23382
+ SiteTopicUsageSettings:
23028
23383
  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
23384
  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
23385
+ changeRequests:
23386
+ type: boolean
23387
+ description: Whether to use context to propose change requests
23066
23388
  required:
23067
- - total
23068
- - answers
23069
- - feedback
23070
- - answered
23071
- - relevance
23072
- - types
23073
- - channelTypes
23074
- - channels
23075
- - weeklyPulse
23389
+ - changeRequests
23076
23390
  SiteTopic:
23077
23391
  type: object
23078
23392
  properties:
@@ -23108,7 +23422,7 @@ components:
23108
23422
  summary:
23109
23423
  $ref: "#/components/schemas/JSONDocument"
23110
23424
  usageSettings:
23111
- $ref: "#/components/schemas/ContextUsageSettings"
23425
+ $ref: "#/components/schemas/SiteTopicUsageSettings"
23112
23426
  pages:
23113
23427
  type: number
23114
23428
  description: The number of pages associated with the topic
@@ -23140,15 +23454,6 @@ components:
23140
23454
  - createdAt
23141
23455
  - updatedAt
23142
23456
  - 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
23457
  SiteQuestionAnswerResolution:
23153
23458
  type: string
23154
23459
  description: Whether the response answered the question.
@@ -23156,43 +23461,6 @@ components:
23156
23461
  - no
23157
23462
  - partially
23158
23463
  - 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
23464
  SiteQuestionAnswerRelevance:
23197
23465
  type: string
23198
23466
  description: Relevance classification of the user question.
@@ -26908,6 +27176,9 @@ components:
26908
27176
  canonicalUrl:
26909
27177
  type: string
26910
27178
  description: The canonical URL of the resolution.
27179
+ preview:
27180
+ type: boolean
27181
+ description: Whether the URL is a preview URL
26911
27182
  required:
26912
27183
  - site
26913
27184
  - siteSpace
@@ -27556,6 +27827,10 @@ components:
27556
27827
  space:
27557
27828
  type: string
27558
27829
  description: ID of the space to be used when using this token for rendering published content.
27830
+ draft:
27831
+ type: boolean
27832
+ default: false
27833
+ 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
27834
  required:
27560
27835
  - kind
27561
27836
  - site