@gitbook/api 0.162.0 → 0.164.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 +201 -67
- package/dist/constants.d.ts +5 -2
- package/dist/index.cjs +44 -11
- package/dist/index.js +40 -11
- package/package.json +1 -1
- package/spec/openapi.json +596 -160
- package/spec/openapi.yaml +413 -125
package/spec/openapi.yaml
CHANGED
|
@@ -192,7 +192,7 @@ tags:
|
|
|
192
192
|
description: |
|
|
193
193
|
Manage the contextual records and topics used by your site to power AI experiences and insights.
|
|
194
194
|
|
|
195
|
-
{% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,
|
|
195
|
+
{% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic" grouped="false" %}
|
|
196
196
|
The Site Context objects
|
|
197
197
|
{% endopenapi-schemas %}
|
|
198
198
|
- name: site-questions
|
|
@@ -8088,7 +8088,11 @@ paths:
|
|
|
8088
8088
|
items:
|
|
8089
8089
|
type: array
|
|
8090
8090
|
items:
|
|
8091
|
-
|
|
8091
|
+
oneOf:
|
|
8092
|
+
- $ref: "#/components/schemas/SearchSpaceResult"
|
|
8093
|
+
- $ref: "#/components/schemas/SearchRecordResult"
|
|
8094
|
+
discriminator:
|
|
8095
|
+
propertyName: type
|
|
8092
8096
|
"/orgs/{organizationId}/sites/{siteId}/ask":
|
|
8093
8097
|
post:
|
|
8094
8098
|
operationId: streamAskInSite
|
|
@@ -8189,6 +8193,11 @@ paths:
|
|
|
8189
8193
|
description: Filter context records by connection id.
|
|
8190
8194
|
schema:
|
|
8191
8195
|
type: string
|
|
8196
|
+
- name: topic
|
|
8197
|
+
in: query
|
|
8198
|
+
description: Filter context records by associated site topic ID.
|
|
8199
|
+
schema:
|
|
8200
|
+
type: string
|
|
8192
8201
|
responses:
|
|
8193
8202
|
"200":
|
|
8194
8203
|
description: OK
|
|
@@ -8226,6 +8235,25 @@ paths:
|
|
|
8226
8235
|
responses:
|
|
8227
8236
|
"204":
|
|
8228
8237
|
description: The context records have been created or updated
|
|
8238
|
+
"/orgs/{organizationId}/sites/{siteId}/context-records/{siteContextRecordId}":
|
|
8239
|
+
get:
|
|
8240
|
+
operationId: getSiteContextRecordById
|
|
8241
|
+
summary: Get a context record
|
|
8242
|
+
tags:
|
|
8243
|
+
- site-context
|
|
8244
|
+
security:
|
|
8245
|
+
- user: []
|
|
8246
|
+
parameters:
|
|
8247
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8248
|
+
- $ref: "#/components/parameters/siteId"
|
|
8249
|
+
- $ref: "#/components/parameters/siteContextRecordId"
|
|
8250
|
+
responses:
|
|
8251
|
+
"200":
|
|
8252
|
+
description: OK
|
|
8253
|
+
content:
|
|
8254
|
+
application/json:
|
|
8255
|
+
schema:
|
|
8256
|
+
$ref: "#/components/schemas/ContextRecord"
|
|
8229
8257
|
"/orgs/{organizationId}/sites/{siteId}/context-connections":
|
|
8230
8258
|
get:
|
|
8231
8259
|
operationId: listSiteContextConnections
|
|
@@ -8367,10 +8395,10 @@ paths:
|
|
|
8367
8395
|
"400":
|
|
8368
8396
|
description: Connection was synced less than an hour ago or invalid connector
|
|
8369
8397
|
$ref: "#/components/responses/BadRequestError"
|
|
8370
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8398
|
+
"/orgs/{organizationId}/sites/{siteId}/topics":
|
|
8371
8399
|
get:
|
|
8372
|
-
operationId:
|
|
8373
|
-
summary: List all
|
|
8400
|
+
operationId: listSiteTopics
|
|
8401
|
+
summary: List all topics
|
|
8374
8402
|
tags:
|
|
8375
8403
|
- site-context
|
|
8376
8404
|
security:
|
|
@@ -8378,28 +8406,24 @@ paths:
|
|
|
8378
8406
|
parameters:
|
|
8379
8407
|
- $ref: "#/components/parameters/organizationId"
|
|
8380
8408
|
- $ref: "#/components/parameters/siteId"
|
|
8381
|
-
- $ref: "#/components/parameters/listPage"
|
|
8382
|
-
- $ref: "#/components/parameters/listLimit"
|
|
8383
8409
|
responses:
|
|
8384
8410
|
"200":
|
|
8385
8411
|
description: OK
|
|
8386
8412
|
content:
|
|
8387
8413
|
application/json:
|
|
8388
8414
|
schema:
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
$ref: "#/components/schemas/ContextTopic"
|
|
8399
|
-
"/orgs/{organizationId}/sites/{siteId}/context-topics/{siteContextTopicId}":
|
|
8415
|
+
type: object
|
|
8416
|
+
required:
|
|
8417
|
+
- items
|
|
8418
|
+
properties:
|
|
8419
|
+
items:
|
|
8420
|
+
type: array
|
|
8421
|
+
items:
|
|
8422
|
+
$ref: "#/components/schemas/SiteTopic"
|
|
8423
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}":
|
|
8400
8424
|
get:
|
|
8401
|
-
operationId:
|
|
8402
|
-
summary: Get a
|
|
8425
|
+
operationId: getSiteTopicById
|
|
8426
|
+
summary: Get a topic
|
|
8403
8427
|
tags:
|
|
8404
8428
|
- site-context
|
|
8405
8429
|
security:
|
|
@@ -8407,17 +8431,17 @@ paths:
|
|
|
8407
8431
|
parameters:
|
|
8408
8432
|
- $ref: "#/components/parameters/organizationId"
|
|
8409
8433
|
- $ref: "#/components/parameters/siteId"
|
|
8410
|
-
- $ref: "#/components/parameters/
|
|
8434
|
+
- $ref: "#/components/parameters/siteTopicId"
|
|
8411
8435
|
responses:
|
|
8412
8436
|
"200":
|
|
8413
8437
|
description: OK
|
|
8414
8438
|
content:
|
|
8415
8439
|
application/json:
|
|
8416
8440
|
schema:
|
|
8417
|
-
$ref: "#/components/schemas/
|
|
8441
|
+
$ref: "#/components/schemas/SiteTopic"
|
|
8418
8442
|
patch:
|
|
8419
|
-
operationId:
|
|
8420
|
-
summary: Update a
|
|
8443
|
+
operationId: updateSiteTopicById
|
|
8444
|
+
summary: Update a topic
|
|
8421
8445
|
tags:
|
|
8422
8446
|
- site-context
|
|
8423
8447
|
security:
|
|
@@ -8425,7 +8449,7 @@ paths:
|
|
|
8425
8449
|
parameters:
|
|
8426
8450
|
- $ref: "#/components/parameters/organizationId"
|
|
8427
8451
|
- $ref: "#/components/parameters/siteId"
|
|
8428
|
-
- $ref: "#/components/parameters/
|
|
8452
|
+
- $ref: "#/components/parameters/siteTopicId"
|
|
8429
8453
|
requestBody:
|
|
8430
8454
|
required: true
|
|
8431
8455
|
content:
|
|
@@ -8443,7 +8467,7 @@ paths:
|
|
|
8443
8467
|
content:
|
|
8444
8468
|
application/json:
|
|
8445
8469
|
schema:
|
|
8446
|
-
$ref: "#/components/schemas/
|
|
8470
|
+
$ref: "#/components/schemas/SiteTopic"
|
|
8447
8471
|
"/orgs/{organizationId}/sites/{siteId}/questions":
|
|
8448
8472
|
get:
|
|
8449
8473
|
operationId: listSiteQuestions
|
|
@@ -8455,6 +8479,11 @@ paths:
|
|
|
8455
8479
|
parameters:
|
|
8456
8480
|
- $ref: "#/components/parameters/organizationId"
|
|
8457
8481
|
- $ref: "#/components/parameters/siteId"
|
|
8482
|
+
- name: type
|
|
8483
|
+
in: query
|
|
8484
|
+
description: Filter questions by question type.
|
|
8485
|
+
schema:
|
|
8486
|
+
$ref: "#/components/schemas/SiteQuestionType"
|
|
8458
8487
|
- $ref: "#/components/parameters/listPage"
|
|
8459
8488
|
- $ref: "#/components/parameters/listLimit"
|
|
8460
8489
|
responses:
|
|
@@ -8528,6 +8557,16 @@ paths:
|
|
|
8528
8557
|
description: Filter answers by question relevance.
|
|
8529
8558
|
schema:
|
|
8530
8559
|
$ref: "#/components/schemas/SiteQuestionAnswerRelevance"
|
|
8560
|
+
- name: question.type
|
|
8561
|
+
in: query
|
|
8562
|
+
description: Filter answers by question type.
|
|
8563
|
+
schema:
|
|
8564
|
+
$ref: "#/components/schemas/SiteQuestionType"
|
|
8565
|
+
- name: topic
|
|
8566
|
+
in: query
|
|
8567
|
+
description: Filter answers by associated site topic ID.
|
|
8568
|
+
schema:
|
|
8569
|
+
type: string
|
|
8531
8570
|
- name: thread
|
|
8532
8571
|
in: query
|
|
8533
8572
|
description: Filter answers by thread root answer ID. Includes the root answer itself.
|
|
@@ -9544,8 +9583,12 @@ paths:
|
|
|
9544
9583
|
properties:
|
|
9545
9584
|
source:
|
|
9546
9585
|
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9586
|
+
captureWildcard:
|
|
9587
|
+
type: boolean
|
|
9588
|
+
default: false
|
|
9589
|
+
description: Capture and append the wildcard-matched suffix to the destination URL.
|
|
9547
9590
|
destination:
|
|
9548
|
-
$ref: "#/components/schemas/
|
|
9591
|
+
$ref: "#/components/schemas/SiteRedirectInputDestination"
|
|
9549
9592
|
required:
|
|
9550
9593
|
- source
|
|
9551
9594
|
- destination
|
|
@@ -9556,6 +9599,105 @@ paths:
|
|
|
9556
9599
|
application/json:
|
|
9557
9600
|
schema:
|
|
9558
9601
|
$ref: "#/components/schemas/SiteRedirect"
|
|
9602
|
+
put:
|
|
9603
|
+
operationId: bulkUpsertSiteRedirects
|
|
9604
|
+
summary: Create or update site redirects in bulk
|
|
9605
|
+
tags:
|
|
9606
|
+
- site-redirects
|
|
9607
|
+
security:
|
|
9608
|
+
- user: []
|
|
9609
|
+
parameters:
|
|
9610
|
+
- $ref: "#/components/parameters/organizationId"
|
|
9611
|
+
- $ref: "#/components/parameters/siteId"
|
|
9612
|
+
requestBody:
|
|
9613
|
+
required: true
|
|
9614
|
+
content:
|
|
9615
|
+
application/json:
|
|
9616
|
+
schema:
|
|
9617
|
+
type: object
|
|
9618
|
+
properties:
|
|
9619
|
+
redirects:
|
|
9620
|
+
type: array
|
|
9621
|
+
minItems: 1
|
|
9622
|
+
maxItems: 500
|
|
9623
|
+
items:
|
|
9624
|
+
type: object
|
|
9625
|
+
properties:
|
|
9626
|
+
source:
|
|
9627
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9628
|
+
captureWildcard:
|
|
9629
|
+
type: boolean
|
|
9630
|
+
default: false
|
|
9631
|
+
description: Capture and append the wildcard-matched suffix to the destination URL.
|
|
9632
|
+
destination:
|
|
9633
|
+
$ref: "#/components/schemas/SiteRedirectInputDestination"
|
|
9634
|
+
required:
|
|
9635
|
+
- source
|
|
9636
|
+
- destination
|
|
9637
|
+
required:
|
|
9638
|
+
- redirects
|
|
9639
|
+
responses:
|
|
9640
|
+
"200":
|
|
9641
|
+
description: List of results for each redirect processed.
|
|
9642
|
+
content:
|
|
9643
|
+
application/json:
|
|
9644
|
+
schema:
|
|
9645
|
+
type: object
|
|
9646
|
+
properties:
|
|
9647
|
+
results:
|
|
9648
|
+
type: array
|
|
9649
|
+
items:
|
|
9650
|
+
oneOf:
|
|
9651
|
+
- type: object
|
|
9652
|
+
properties:
|
|
9653
|
+
status:
|
|
9654
|
+
type: string
|
|
9655
|
+
enum:
|
|
9656
|
+
- created
|
|
9657
|
+
description: The redirect was created.
|
|
9658
|
+
source:
|
|
9659
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9660
|
+
id:
|
|
9661
|
+
type: string
|
|
9662
|
+
description: The ID of the created redirect.
|
|
9663
|
+
required:
|
|
9664
|
+
- status
|
|
9665
|
+
- source
|
|
9666
|
+
- id
|
|
9667
|
+
- type: object
|
|
9668
|
+
properties:
|
|
9669
|
+
status:
|
|
9670
|
+
type: string
|
|
9671
|
+
enum:
|
|
9672
|
+
- updated
|
|
9673
|
+
description: The redirect was updated.
|
|
9674
|
+
source:
|
|
9675
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9676
|
+
id:
|
|
9677
|
+
type: string
|
|
9678
|
+
description: The ID of the updated redirect.
|
|
9679
|
+
required:
|
|
9680
|
+
- status
|
|
9681
|
+
- source
|
|
9682
|
+
- id
|
|
9683
|
+
- type: object
|
|
9684
|
+
properties:
|
|
9685
|
+
status:
|
|
9686
|
+
type: string
|
|
9687
|
+
enum:
|
|
9688
|
+
- error
|
|
9689
|
+
description: There was an error processing the redirect.
|
|
9690
|
+
source:
|
|
9691
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9692
|
+
error:
|
|
9693
|
+
type: string
|
|
9694
|
+
description: The error message.
|
|
9695
|
+
required:
|
|
9696
|
+
- status
|
|
9697
|
+
- source
|
|
9698
|
+
- error
|
|
9699
|
+
required:
|
|
9700
|
+
- results
|
|
9559
9701
|
get:
|
|
9560
9702
|
operationId: listSiteRedirects
|
|
9561
9703
|
summary: List all site redirects
|
|
@@ -9610,6 +9752,9 @@ paths:
|
|
|
9610
9752
|
properties:
|
|
9611
9753
|
source:
|
|
9612
9754
|
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
9755
|
+
captureWildcard:
|
|
9756
|
+
type: boolean
|
|
9757
|
+
description: Capture and append the wildcard-matched suffix to the destination URL.
|
|
9613
9758
|
destination:
|
|
9614
9759
|
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
9615
9760
|
responses:
|
|
@@ -10613,6 +10758,13 @@ components:
|
|
|
10613
10758
|
description: The unique id of the section within a site
|
|
10614
10759
|
schema:
|
|
10615
10760
|
type: string
|
|
10761
|
+
siteContextRecordId:
|
|
10762
|
+
name: siteContextRecordId
|
|
10763
|
+
in: path
|
|
10764
|
+
required: true
|
|
10765
|
+
description: The unique id of the context record
|
|
10766
|
+
schema:
|
|
10767
|
+
type: string
|
|
10616
10768
|
siteContextConnectionId:
|
|
10617
10769
|
name: siteContextConnectionId
|
|
10618
10770
|
in: path
|
|
@@ -10620,11 +10772,11 @@ components:
|
|
|
10620
10772
|
description: The unique id of the context connection
|
|
10621
10773
|
schema:
|
|
10622
10774
|
type: string
|
|
10623
|
-
|
|
10624
|
-
name:
|
|
10775
|
+
siteTopicId:
|
|
10776
|
+
name: siteTopicId
|
|
10625
10777
|
in: path
|
|
10626
10778
|
required: true
|
|
10627
|
-
description: The unique id of the
|
|
10779
|
+
description: The unique id of the topic
|
|
10628
10780
|
schema:
|
|
10629
10781
|
type: string
|
|
10630
10782
|
siteQuestionId:
|
|
@@ -15401,6 +15553,11 @@ components:
|
|
|
15401
15553
|
hasPaymentFailed:
|
|
15402
15554
|
description: If true, we were unable to collect the last payment
|
|
15403
15555
|
type: boolean
|
|
15556
|
+
canCheckout:
|
|
15557
|
+
description: |
|
|
15558
|
+
If true, organization can create a checkout session to subscribe/update billing.
|
|
15559
|
+
If false, organization must resolve other billing issues before a checkout can be done.
|
|
15560
|
+
type: boolean
|
|
15404
15561
|
isScheduledToCancel:
|
|
15405
15562
|
description: If true, the billing is set to cancel at the end of its current period
|
|
15406
15563
|
type: boolean
|
|
@@ -15425,6 +15582,7 @@ components:
|
|
|
15425
15582
|
- interval
|
|
15426
15583
|
- endDate
|
|
15427
15584
|
- hasPaymentFailed
|
|
15585
|
+
- canCheckout
|
|
15428
15586
|
- isScheduledToCancel
|
|
15429
15587
|
- pricing
|
|
15430
15588
|
- usageAddons
|
|
@@ -20088,6 +20246,11 @@ components:
|
|
|
20088
20246
|
required:
|
|
20089
20247
|
- removeMembers
|
|
20090
20248
|
- updateSites
|
|
20249
|
+
BillingCoupon:
|
|
20250
|
+
type: string
|
|
20251
|
+
description: Coupon or promotion code to apply to billing operations.
|
|
20252
|
+
minLength: 1
|
|
20253
|
+
maxLength: 500
|
|
20091
20254
|
UpgradeOrganizationBilling:
|
|
20092
20255
|
type: object
|
|
20093
20256
|
properties:
|
|
@@ -20100,6 +20263,9 @@ components:
|
|
|
20100
20263
|
reason:
|
|
20101
20264
|
type: string
|
|
20102
20265
|
description: Reason that triggered the billing upgrade
|
|
20266
|
+
coupon:
|
|
20267
|
+
$ref: "#/components/schemas/BillingCoupon"
|
|
20268
|
+
description: Coupon or promotion code to apply to the subscription
|
|
20103
20269
|
mode:
|
|
20104
20270
|
type: string
|
|
20105
20271
|
description: |
|
|
@@ -20145,19 +20311,21 @@ components:
|
|
|
20145
20311
|
- description
|
|
20146
20312
|
- periodStart
|
|
20147
20313
|
- periodEnd
|
|
20148
|
-
|
|
20149
|
-
type:
|
|
20150
|
-
description:
|
|
20151
|
-
|
|
20152
|
-
|
|
20153
|
-
|
|
20154
|
-
|
|
20155
|
-
|
|
20156
|
-
|
|
20157
|
-
|
|
20158
|
-
|
|
20159
|
-
|
|
20160
|
-
|
|
20314
|
+
discounts:
|
|
20315
|
+
type: array
|
|
20316
|
+
description: Discounts applied to the subscription.
|
|
20317
|
+
items:
|
|
20318
|
+
type: object
|
|
20319
|
+
properties:
|
|
20320
|
+
description:
|
|
20321
|
+
description: The description of the applied discount.
|
|
20322
|
+
type: string
|
|
20323
|
+
amount:
|
|
20324
|
+
description: The amount of the applied discount.
|
|
20325
|
+
type: number
|
|
20326
|
+
required:
|
|
20327
|
+
- amount
|
|
20328
|
+
- description
|
|
20161
20329
|
required:
|
|
20162
20330
|
- amount
|
|
20163
20331
|
- amountDueToday
|
|
@@ -20292,7 +20460,6 @@ components:
|
|
|
20292
20460
|
- upgrade
|
|
20293
20461
|
- upgrade_passive
|
|
20294
20462
|
- downgrade
|
|
20295
|
-
- undo_cancel
|
|
20296
20463
|
- switch_interval
|
|
20297
20464
|
BillingMeter:
|
|
20298
20465
|
type: string
|
|
@@ -20329,6 +20496,10 @@ components:
|
|
|
20329
20496
|
type: object
|
|
20330
20497
|
description: Search result representing a space.
|
|
20331
20498
|
properties:
|
|
20499
|
+
type:
|
|
20500
|
+
type: string
|
|
20501
|
+
enum:
|
|
20502
|
+
- space
|
|
20332
20503
|
id:
|
|
20333
20504
|
type: string
|
|
20334
20505
|
title:
|
|
@@ -20338,6 +20509,7 @@ components:
|
|
|
20338
20509
|
items:
|
|
20339
20510
|
$ref: "#/components/schemas/SearchPageResult"
|
|
20340
20511
|
required:
|
|
20512
|
+
- type
|
|
20341
20513
|
- id
|
|
20342
20514
|
- title
|
|
20343
20515
|
- pages
|
|
@@ -22685,6 +22857,32 @@ components:
|
|
|
22685
22857
|
type: string
|
|
22686
22858
|
enum:
|
|
22687
22859
|
- all
|
|
22860
|
+
SearchRecordResult:
|
|
22861
|
+
type: object
|
|
22862
|
+
description: Search result representing a site context record.
|
|
22863
|
+
properties:
|
|
22864
|
+
type:
|
|
22865
|
+
type: string
|
|
22866
|
+
enum:
|
|
22867
|
+
- record
|
|
22868
|
+
id:
|
|
22869
|
+
type: string
|
|
22870
|
+
description: The ID of the context record.
|
|
22871
|
+
title:
|
|
22872
|
+
type: string
|
|
22873
|
+
description: The title of the record.
|
|
22874
|
+
description:
|
|
22875
|
+
type: string
|
|
22876
|
+
description: The description of the record.
|
|
22877
|
+
url:
|
|
22878
|
+
type: string
|
|
22879
|
+
format: uri
|
|
22880
|
+
description: URL of the record in the source system.
|
|
22881
|
+
required:
|
|
22882
|
+
- type
|
|
22883
|
+
- id
|
|
22884
|
+
- title
|
|
22885
|
+
- url
|
|
22688
22886
|
ContextRecordType:
|
|
22689
22887
|
type: string
|
|
22690
22888
|
enum:
|
|
@@ -22926,73 +23124,6 @@ components:
|
|
|
22926
23124
|
- usageSettings
|
|
22927
23125
|
- urls
|
|
22928
23126
|
- $ref: "#/components/schemas/ContextConnectorSetup"
|
|
22929
|
-
ContextTopic:
|
|
22930
|
-
type: object
|
|
22931
|
-
properties:
|
|
22932
|
-
object:
|
|
22933
|
-
type: string
|
|
22934
|
-
enum:
|
|
22935
|
-
- context-topic
|
|
22936
|
-
id:
|
|
22937
|
-
type: string
|
|
22938
|
-
description: The ID of the topic
|
|
22939
|
-
label:
|
|
22940
|
-
type: string
|
|
22941
|
-
description: The label of the topic
|
|
22942
|
-
createdAt:
|
|
22943
|
-
$ref: "#/components/schemas/Timestamp"
|
|
22944
|
-
updatedAt:
|
|
22945
|
-
$ref: "#/components/schemas/Timestamp"
|
|
22946
|
-
icon:
|
|
22947
|
-
$ref: "#/components/schemas/Icon"
|
|
22948
|
-
summary:
|
|
22949
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
22950
|
-
usageSettings:
|
|
22951
|
-
$ref: "#/components/schemas/ContextUsageSettings"
|
|
22952
|
-
weeklyPulse:
|
|
22953
|
-
type: array
|
|
22954
|
-
minItems: 13
|
|
22955
|
-
maxItems: 13
|
|
22956
|
-
description: The weekly pulse of the records for the past 3 months
|
|
22957
|
-
items:
|
|
22958
|
-
type: number
|
|
22959
|
-
connectors:
|
|
22960
|
-
type: object
|
|
22961
|
-
additionalProperties:
|
|
22962
|
-
type: number
|
|
22963
|
-
description: The number of records for the connector
|
|
22964
|
-
stats:
|
|
22965
|
-
type: object
|
|
22966
|
-
description: The stats of the topic
|
|
22967
|
-
properties:
|
|
22968
|
-
records:
|
|
22969
|
-
type: number
|
|
22970
|
-
description: The number of records in the topic
|
|
22971
|
-
required:
|
|
22972
|
-
- records
|
|
22973
|
-
urls:
|
|
22974
|
-
type: object
|
|
22975
|
-
description: URLs associated with the topic
|
|
22976
|
-
properties:
|
|
22977
|
-
location:
|
|
22978
|
-
type: string
|
|
22979
|
-
description: URL of the topic in the API
|
|
22980
|
-
format: uri
|
|
22981
|
-
required:
|
|
22982
|
-
- location
|
|
22983
|
-
required:
|
|
22984
|
-
- object
|
|
22985
|
-
- id
|
|
22986
|
-
- label
|
|
22987
|
-
- summary
|
|
22988
|
-
- icon
|
|
22989
|
-
- usageSettings
|
|
22990
|
-
- connectors
|
|
22991
|
-
- stats
|
|
22992
|
-
- weeklyPulse
|
|
22993
|
-
- createdAt
|
|
22994
|
-
- updatedAt
|
|
22995
|
-
- urls
|
|
22996
23127
|
SiteQuestionStatsFeedback:
|
|
22997
23128
|
type: object
|
|
22998
23129
|
description: Aggregated feedback for answers linked to a site question.
|
|
@@ -23042,6 +23173,90 @@ components:
|
|
|
23042
23173
|
- answers
|
|
23043
23174
|
- feedback
|
|
23044
23175
|
- answered
|
|
23176
|
+
SiteTopic:
|
|
23177
|
+
type: object
|
|
23178
|
+
properties:
|
|
23179
|
+
object:
|
|
23180
|
+
type: string
|
|
23181
|
+
enum:
|
|
23182
|
+
- context-topic
|
|
23183
|
+
id:
|
|
23184
|
+
type: string
|
|
23185
|
+
description: The ID of the topic
|
|
23186
|
+
label:
|
|
23187
|
+
type: string
|
|
23188
|
+
description: The label of the topic
|
|
23189
|
+
parent:
|
|
23190
|
+
type: object
|
|
23191
|
+
description: The parent topic when this topic is nested under another one
|
|
23192
|
+
properties:
|
|
23193
|
+
id:
|
|
23194
|
+
type: string
|
|
23195
|
+
description: The ID of the parent topic
|
|
23196
|
+
label:
|
|
23197
|
+
type: string
|
|
23198
|
+
description: The label of the parent topic
|
|
23199
|
+
required:
|
|
23200
|
+
- id
|
|
23201
|
+
- label
|
|
23202
|
+
createdAt:
|
|
23203
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23204
|
+
updatedAt:
|
|
23205
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23206
|
+
icon:
|
|
23207
|
+
$ref: "#/components/schemas/Icon"
|
|
23208
|
+
summary:
|
|
23209
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
23210
|
+
usageSettings:
|
|
23211
|
+
$ref: "#/components/schemas/ContextUsageSettings"
|
|
23212
|
+
weeklyPulse:
|
|
23213
|
+
type: array
|
|
23214
|
+
minItems: 13
|
|
23215
|
+
maxItems: 13
|
|
23216
|
+
description: The weekly pulse of related question answers for the past 3 months
|
|
23217
|
+
items:
|
|
23218
|
+
type: number
|
|
23219
|
+
pages:
|
|
23220
|
+
type: number
|
|
23221
|
+
description: The number of pages associated with the topic
|
|
23222
|
+
records:
|
|
23223
|
+
type: number
|
|
23224
|
+
description: The number of records in the topic
|
|
23225
|
+
questions:
|
|
23226
|
+
$ref: "#/components/schemas/SiteQuestionStats"
|
|
23227
|
+
urls:
|
|
23228
|
+
type: object
|
|
23229
|
+
description: URLs associated with the topic
|
|
23230
|
+
properties:
|
|
23231
|
+
location:
|
|
23232
|
+
type: string
|
|
23233
|
+
description: URL of the topic in the API
|
|
23234
|
+
format: uri
|
|
23235
|
+
required:
|
|
23236
|
+
- location
|
|
23237
|
+
required:
|
|
23238
|
+
- object
|
|
23239
|
+
- id
|
|
23240
|
+
- label
|
|
23241
|
+
- summary
|
|
23242
|
+
- icon
|
|
23243
|
+
- usageSettings
|
|
23244
|
+
- pages
|
|
23245
|
+
- records
|
|
23246
|
+
- questions
|
|
23247
|
+
- weeklyPulse
|
|
23248
|
+
- createdAt
|
|
23249
|
+
- updatedAt
|
|
23250
|
+
- urls
|
|
23251
|
+
SiteQuestionType:
|
|
23252
|
+
type: string
|
|
23253
|
+
description: Type classification of the user question.
|
|
23254
|
+
enum:
|
|
23255
|
+
- exploring
|
|
23256
|
+
- how-to
|
|
23257
|
+
- troubleshooting
|
|
23258
|
+
- reference
|
|
23259
|
+
- unknown
|
|
23045
23260
|
SiteQuestion:
|
|
23046
23261
|
type: object
|
|
23047
23262
|
properties:
|
|
@@ -23055,6 +23270,8 @@ components:
|
|
|
23055
23270
|
question:
|
|
23056
23271
|
type: string
|
|
23057
23272
|
description: Canonical text for the unique site question.
|
|
23273
|
+
type:
|
|
23274
|
+
$ref: "#/components/schemas/SiteQuestionType"
|
|
23058
23275
|
createdAt:
|
|
23059
23276
|
$ref: "#/components/schemas/Timestamp"
|
|
23060
23277
|
stats:
|
|
@@ -23073,6 +23290,7 @@ components:
|
|
|
23073
23290
|
- object
|
|
23074
23291
|
- id
|
|
23075
23292
|
- question
|
|
23293
|
+
- type
|
|
23076
23294
|
- createdAt
|
|
23077
23295
|
- stats
|
|
23078
23296
|
- urls
|
|
@@ -23122,8 +23340,21 @@ components:
|
|
|
23122
23340
|
type: string
|
|
23123
23341
|
description: The ID of the site question answer.
|
|
23124
23342
|
question:
|
|
23125
|
-
type:
|
|
23126
|
-
|
|
23343
|
+
type: object
|
|
23344
|
+
properties:
|
|
23345
|
+
id:
|
|
23346
|
+
type: string
|
|
23347
|
+
description: The ID of the parent site question.
|
|
23348
|
+
type:
|
|
23349
|
+
$ref: "#/components/schemas/SiteQuestionType"
|
|
23350
|
+
required:
|
|
23351
|
+
- id
|
|
23352
|
+
- type
|
|
23353
|
+
topics:
|
|
23354
|
+
type: array
|
|
23355
|
+
description: The IDs of the associated site topics.
|
|
23356
|
+
items:
|
|
23357
|
+
type: string
|
|
23127
23358
|
input:
|
|
23128
23359
|
type: object
|
|
23129
23360
|
properties:
|
|
@@ -23188,6 +23419,7 @@ components:
|
|
|
23188
23419
|
- object
|
|
23189
23420
|
- id
|
|
23190
23421
|
- question
|
|
23422
|
+
- topics
|
|
23191
23423
|
- input
|
|
23192
23424
|
- responseId
|
|
23193
23425
|
- language
|
|
@@ -24590,17 +24822,26 @@ components:
|
|
|
24590
24822
|
type: string
|
|
24591
24823
|
description: Query of the search.
|
|
24592
24824
|
result:
|
|
24593
|
-
|
|
24594
|
-
|
|
24595
|
-
|
|
24596
|
-
|
|
24597
|
-
|
|
24598
|
-
|
|
24599
|
-
|
|
24600
|
-
|
|
24601
|
-
|
|
24602
|
-
|
|
24603
|
-
|
|
24825
|
+
description: Target of the opened search result.
|
|
24826
|
+
oneOf:
|
|
24827
|
+
- type: object
|
|
24828
|
+
properties:
|
|
24829
|
+
spaceId:
|
|
24830
|
+
type: string
|
|
24831
|
+
description: ID of the concerned space.
|
|
24832
|
+
pageId:
|
|
24833
|
+
type: string
|
|
24834
|
+
description: ID of the concerned page.
|
|
24835
|
+
required:
|
|
24836
|
+
- spaceId
|
|
24837
|
+
- pageId
|
|
24838
|
+
- type: object
|
|
24839
|
+
properties:
|
|
24840
|
+
recordId:
|
|
24841
|
+
type: string
|
|
24842
|
+
description: ID of the concerned record.
|
|
24843
|
+
required:
|
|
24844
|
+
- recordId
|
|
24604
24845
|
required:
|
|
24605
24846
|
- type
|
|
24606
24847
|
- query
|
|
@@ -25057,6 +25298,14 @@ components:
|
|
|
25057
25298
|
type: string
|
|
25058
25299
|
enum:
|
|
25059
25300
|
- eventSearchQuery
|
|
25301
|
+
- type: object
|
|
25302
|
+
required:
|
|
25303
|
+
- column
|
|
25304
|
+
properties:
|
|
25305
|
+
column:
|
|
25306
|
+
type: string
|
|
25307
|
+
enum:
|
|
25308
|
+
- eventSearchResultRecordId
|
|
25060
25309
|
- type: object
|
|
25061
25310
|
required:
|
|
25062
25311
|
- column
|
|
@@ -25655,6 +25904,20 @@ components:
|
|
|
25655
25904
|
type: array
|
|
25656
25905
|
items:
|
|
25657
25906
|
type: string
|
|
25907
|
+
- type: object
|
|
25908
|
+
required:
|
|
25909
|
+
- column
|
|
25910
|
+
- values
|
|
25911
|
+
properties:
|
|
25912
|
+
column:
|
|
25913
|
+
type: string
|
|
25914
|
+
enum:
|
|
25915
|
+
- eventSearchResultRecordId
|
|
25916
|
+
values:
|
|
25917
|
+
type: array
|
|
25918
|
+
items:
|
|
25919
|
+
type: string
|
|
25920
|
+
nullable: true
|
|
25658
25921
|
- type: object
|
|
25659
25922
|
required:
|
|
25660
25923
|
- column
|
|
@@ -25994,7 +26257,7 @@ components:
|
|
|
25994
26257
|
type: string
|
|
25995
26258
|
description: The source path to redirect from.
|
|
25996
26259
|
maxLength: 512
|
|
25997
|
-
pattern: ^\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)
|
|
26260
|
+
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
|
|
25998
26261
|
SiteRedirectDestinationSiteSection:
|
|
25999
26262
|
type: object
|
|
26000
26263
|
properties:
|
|
@@ -26055,13 +26318,38 @@ components:
|
|
|
26055
26318
|
description: The unique identifier for the redirect.
|
|
26056
26319
|
source:
|
|
26057
26320
|
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
26321
|
+
captureWildcard:
|
|
26322
|
+
type: boolean
|
|
26323
|
+
description: Capture and append the wildcard-matched suffix to the destination URL.
|
|
26058
26324
|
destination:
|
|
26059
26325
|
$ref: "#/components/schemas/SiteRedirectDestination"
|
|
26060
26326
|
required:
|
|
26061
26327
|
- object
|
|
26062
26328
|
- id
|
|
26063
26329
|
- source
|
|
26330
|
+
- captureWildcard
|
|
26064
26331
|
- destination
|
|
26332
|
+
SiteRedirectInputDestinationPath:
|
|
26333
|
+
type: object
|
|
26334
|
+
properties:
|
|
26335
|
+
kind:
|
|
26336
|
+
type: string
|
|
26337
|
+
enum:
|
|
26338
|
+
- path
|
|
26339
|
+
spaceId:
|
|
26340
|
+
type: string
|
|
26341
|
+
description: Unique identifier for the space containing the page referenced by the path.
|
|
26342
|
+
path:
|
|
26343
|
+
type: string
|
|
26344
|
+
description: Path to the page within the space revision to resolve.
|
|
26345
|
+
required:
|
|
26346
|
+
- kind
|
|
26347
|
+
- spaceId
|
|
26348
|
+
- path
|
|
26349
|
+
SiteRedirectInputDestination:
|
|
26350
|
+
oneOf:
|
|
26351
|
+
- $ref: "#/components/schemas/SiteRedirectDestination"
|
|
26352
|
+
- $ref: "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
26065
26353
|
SiteMcpServerName:
|
|
26066
26354
|
type: string
|
|
26067
26355
|
description: Name of the MCP server
|