@gitbook/api 0.169.0 → 0.171.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 +232 -103
- package/dist/constants.d.ts +9 -7
- package/dist/index.cjs +116 -65
- package/dist/index.js +105 -58
- package/package.json +1 -1
- package/spec/openapi.json +562 -108
- package/spec/openapi.yaml +379 -106
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,
|
|
205
|
+
{% openapi-schemas spec="gitbook" schemas="ContextRecord,ContextConnection,SiteTopic,SiteFinding,SiteFindingPage" grouped="false" %}
|
|
206
206
|
The Site Context objects
|
|
207
207
|
{% endopenapi-schemas %}
|
|
208
208
|
- name: site-questions
|
|
@@ -370,7 +370,7 @@ tags:
|
|
|
370
370
|
x-page-title: Integrations
|
|
371
371
|
x-page-description: Install and handle third-party integrations for extended GitBook functionality.
|
|
372
372
|
description: |
|
|
373
|
-
Expand the capabilities of GitBook by connecting it with various external platforms—CRM,
|
|
373
|
+
Expand the capabilities of GitBook by connecting it with various external platforms—CRM, finding trackers, or CI/CD pipelines—through standardized integration endpoints.
|
|
374
374
|
- name: urls
|
|
375
375
|
x-page-icon: link
|
|
376
376
|
x-page-title: URLs
|
|
@@ -7470,7 +7470,7 @@ paths:
|
|
|
7470
7470
|
title:
|
|
7471
7471
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
7472
7472
|
localizedTitle:
|
|
7473
|
-
$ref: "#/components/schemas/
|
|
7473
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
7474
7474
|
icon:
|
|
7475
7475
|
oneOf:
|
|
7476
7476
|
- $ref: "#/components/schemas/Icon"
|
|
@@ -7646,7 +7646,7 @@ paths:
|
|
|
7646
7646
|
title:
|
|
7647
7647
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
7648
7648
|
localizedTitle:
|
|
7649
|
-
$ref: "#/components/schemas/
|
|
7649
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
7650
7650
|
path:
|
|
7651
7651
|
$ref: "#/components/schemas/SiteSectionPath"
|
|
7652
7652
|
defaultSiteSpace:
|
|
@@ -7943,10 +7943,10 @@ paths:
|
|
|
7943
7943
|
application/json:
|
|
7944
7944
|
schema:
|
|
7945
7945
|
$ref: "#/components/schemas/ContextRecord"
|
|
7946
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
7946
|
+
"/orgs/{organizationId}/sites/{siteId}/scans":
|
|
7947
7947
|
get:
|
|
7948
|
-
operationId:
|
|
7949
|
-
summary: List all site
|
|
7948
|
+
operationId: listSiteScans
|
|
7949
|
+
summary: List all site scans
|
|
7950
7950
|
tags:
|
|
7951
7951
|
- site-context
|
|
7952
7952
|
security:
|
|
@@ -7958,24 +7958,111 @@ paths:
|
|
|
7958
7958
|
- $ref: "#/components/parameters/listLimit"
|
|
7959
7959
|
- name: topic
|
|
7960
7960
|
in: query
|
|
7961
|
-
description: Filter
|
|
7961
|
+
description: Filter scans by associated site topic ID.
|
|
7962
7962
|
schema:
|
|
7963
7963
|
type: string
|
|
7964
7964
|
- name: status
|
|
7965
7965
|
in: query
|
|
7966
|
-
description: Filter
|
|
7966
|
+
description: Filter scans by status.
|
|
7967
7967
|
schema:
|
|
7968
|
-
$ref: "#/components/schemas/
|
|
7968
|
+
$ref: "#/components/schemas/SiteScanStatus"
|
|
7969
|
+
responses:
|
|
7970
|
+
"200":
|
|
7971
|
+
description: OK
|
|
7972
|
+
content:
|
|
7973
|
+
application/json:
|
|
7974
|
+
schema:
|
|
7975
|
+
allOf:
|
|
7976
|
+
- $ref: "#/components/schemas/List"
|
|
7977
|
+
- type: object
|
|
7978
|
+
required:
|
|
7979
|
+
- items
|
|
7980
|
+
properties:
|
|
7981
|
+
items:
|
|
7982
|
+
type: array
|
|
7983
|
+
items:
|
|
7984
|
+
$ref: "#/components/schemas/SiteScan"
|
|
7985
|
+
post:
|
|
7986
|
+
operationId: createSiteScan
|
|
7987
|
+
summary: Enqueue a new site scan
|
|
7988
|
+
tags:
|
|
7989
|
+
- site-context
|
|
7990
|
+
security:
|
|
7991
|
+
- user: []
|
|
7992
|
+
parameters:
|
|
7993
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7994
|
+
- $ref: "#/components/parameters/siteId"
|
|
7995
|
+
requestBody:
|
|
7996
|
+
required: true
|
|
7997
|
+
content:
|
|
7998
|
+
application/json:
|
|
7999
|
+
schema:
|
|
8000
|
+
type: object
|
|
8001
|
+
required:
|
|
8002
|
+
- topic
|
|
8003
|
+
properties:
|
|
8004
|
+
topic:
|
|
8005
|
+
type: string
|
|
8006
|
+
description: The site topic ID to scan.
|
|
8007
|
+
responses:
|
|
8008
|
+
"202":
|
|
8009
|
+
description: Site scan has been enqueued
|
|
8010
|
+
content:
|
|
8011
|
+
application/json:
|
|
8012
|
+
schema:
|
|
8013
|
+
$ref: "#/components/schemas/SiteScan"
|
|
8014
|
+
"/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}":
|
|
8015
|
+
get:
|
|
8016
|
+
operationId: getSiteScanById
|
|
8017
|
+
summary: Get a site scan by ID
|
|
8018
|
+
tags:
|
|
8019
|
+
- site-context
|
|
8020
|
+
security:
|
|
8021
|
+
- user: []
|
|
8022
|
+
parameters:
|
|
8023
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8024
|
+
- $ref: "#/components/parameters/siteId"
|
|
8025
|
+
- $ref: "#/components/parameters/siteScanId"
|
|
8026
|
+
responses:
|
|
8027
|
+
"200":
|
|
8028
|
+
description: OK
|
|
8029
|
+
content:
|
|
8030
|
+
application/json:
|
|
8031
|
+
schema:
|
|
8032
|
+
$ref: "#/components/schemas/SiteScan"
|
|
8033
|
+
"/orgs/{organizationId}/sites/{siteId}/findings":
|
|
8034
|
+
get:
|
|
8035
|
+
operationId: listSiteFindings
|
|
8036
|
+
summary: List all site context findings
|
|
8037
|
+
tags:
|
|
8038
|
+
- site-context
|
|
8039
|
+
security:
|
|
8040
|
+
- user: []
|
|
8041
|
+
parameters:
|
|
8042
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8043
|
+
- $ref: "#/components/parameters/siteId"
|
|
8044
|
+
- $ref: "#/components/parameters/listPage"
|
|
8045
|
+
- $ref: "#/components/parameters/listLimit"
|
|
8046
|
+
- name: topic
|
|
8047
|
+
in: query
|
|
8048
|
+
description: Filter findings by associated site topic ID.
|
|
8049
|
+
schema:
|
|
8050
|
+
type: string
|
|
8051
|
+
- name: status
|
|
8052
|
+
in: query
|
|
8053
|
+
description: Filter findings by status.
|
|
8054
|
+
schema:
|
|
8055
|
+
$ref: "#/components/schemas/SiteFindingStatus"
|
|
7969
8056
|
- name: type
|
|
7970
8057
|
in: query
|
|
7971
|
-
description: Filter
|
|
8058
|
+
description: Filter findings by type.
|
|
7972
8059
|
schema:
|
|
7973
|
-
$ref: "#/components/schemas/
|
|
7974
|
-
- name:
|
|
8060
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
8061
|
+
- name: severity
|
|
7975
8062
|
in: query
|
|
7976
|
-
description: Filter
|
|
8063
|
+
description: Filter findings by estimated severity.
|
|
7977
8064
|
schema:
|
|
7978
|
-
$ref: "#/components/schemas/
|
|
8065
|
+
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
7979
8066
|
responses:
|
|
7980
8067
|
"200":
|
|
7981
8068
|
description: OK
|
|
@@ -7991,11 +8078,11 @@ paths:
|
|
|
7991
8078
|
items:
|
|
7992
8079
|
type: array
|
|
7993
8080
|
items:
|
|
7994
|
-
$ref: "#/components/schemas/
|
|
7995
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8081
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8082
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}":
|
|
7996
8083
|
get:
|
|
7997
|
-
operationId:
|
|
7998
|
-
summary: Get a site
|
|
8084
|
+
operationId: getSiteFindingById
|
|
8085
|
+
summary: Get a site finding by ID
|
|
7999
8086
|
tags:
|
|
8000
8087
|
- site-context
|
|
8001
8088
|
security:
|
|
@@ -8003,17 +8090,17 @@ paths:
|
|
|
8003
8090
|
parameters:
|
|
8004
8091
|
- $ref: "#/components/parameters/organizationId"
|
|
8005
8092
|
- $ref: "#/components/parameters/siteId"
|
|
8006
|
-
- $ref: "#/components/parameters/
|
|
8093
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8007
8094
|
responses:
|
|
8008
8095
|
"200":
|
|
8009
8096
|
description: OK
|
|
8010
8097
|
content:
|
|
8011
8098
|
application/json:
|
|
8012
8099
|
schema:
|
|
8013
|
-
$ref: "#/components/schemas/
|
|
8100
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8014
8101
|
patch:
|
|
8015
|
-
operationId:
|
|
8016
|
-
summary: Update a site
|
|
8102
|
+
operationId: updateSiteFindingById
|
|
8103
|
+
summary: Update a site finding
|
|
8017
8104
|
tags:
|
|
8018
8105
|
- site-context
|
|
8019
8106
|
security:
|
|
@@ -8021,7 +8108,7 @@ paths:
|
|
|
8021
8108
|
parameters:
|
|
8022
8109
|
- $ref: "#/components/parameters/organizationId"
|
|
8023
8110
|
- $ref: "#/components/parameters/siteId"
|
|
8024
|
-
- $ref: "#/components/parameters/
|
|
8111
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8025
8112
|
requestBody:
|
|
8026
8113
|
required: true
|
|
8027
8114
|
content:
|
|
@@ -8042,11 +8129,11 @@ paths:
|
|
|
8042
8129
|
content:
|
|
8043
8130
|
application/json:
|
|
8044
8131
|
schema:
|
|
8045
|
-
$ref: "#/components/schemas/
|
|
8046
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8132
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8133
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests":
|
|
8047
8134
|
get:
|
|
8048
|
-
operationId:
|
|
8049
|
-
summary: List change requests linked to a site
|
|
8135
|
+
operationId: listChangeRequestsForSiteFinding
|
|
8136
|
+
summary: List change requests linked to a site finding
|
|
8050
8137
|
tags:
|
|
8051
8138
|
- site-context
|
|
8052
8139
|
security:
|
|
@@ -8056,10 +8143,10 @@ paths:
|
|
|
8056
8143
|
- $ref: "#/components/parameters/listLimit"
|
|
8057
8144
|
- $ref: "#/components/parameters/organizationId"
|
|
8058
8145
|
- $ref: "#/components/parameters/siteId"
|
|
8059
|
-
- $ref: "#/components/parameters/
|
|
8146
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8060
8147
|
responses:
|
|
8061
8148
|
"200":
|
|
8062
|
-
description: List of change requests linked to the site
|
|
8149
|
+
description: List of change requests linked to the site finding
|
|
8063
8150
|
content:
|
|
8064
8151
|
application/json:
|
|
8065
8152
|
schema:
|
|
@@ -8074,8 +8161,8 @@ paths:
|
|
|
8074
8161
|
items:
|
|
8075
8162
|
$ref: "#/components/schemas/ChangeRequest"
|
|
8076
8163
|
post:
|
|
8077
|
-
operationId:
|
|
8078
|
-
summary: Process a site
|
|
8164
|
+
operationId: triggerChangeRequestsForSiteFinding
|
|
8165
|
+
summary: Process a site finding into change requests
|
|
8079
8166
|
tags:
|
|
8080
8167
|
- site-context
|
|
8081
8168
|
security:
|
|
@@ -8083,14 +8170,14 @@ paths:
|
|
|
8083
8170
|
parameters:
|
|
8084
8171
|
- $ref: "#/components/parameters/organizationId"
|
|
8085
8172
|
- $ref: "#/components/parameters/siteId"
|
|
8086
|
-
- $ref: "#/components/parameters/
|
|
8173
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8087
8174
|
responses:
|
|
8088
8175
|
"202":
|
|
8089
|
-
description: Site
|
|
8090
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8176
|
+
description: Site finding processing has been started
|
|
8177
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages":
|
|
8091
8178
|
get:
|
|
8092
|
-
operationId:
|
|
8093
|
-
summary: List pages linked to a site
|
|
8179
|
+
operationId: listPagesForSiteFinding
|
|
8180
|
+
summary: List pages linked to a site finding
|
|
8094
8181
|
tags:
|
|
8095
8182
|
- site-context
|
|
8096
8183
|
security:
|
|
@@ -8100,10 +8187,10 @@ paths:
|
|
|
8100
8187
|
- $ref: "#/components/parameters/listLimit"
|
|
8101
8188
|
- $ref: "#/components/parameters/organizationId"
|
|
8102
8189
|
- $ref: "#/components/parameters/siteId"
|
|
8103
|
-
- $ref: "#/components/parameters/
|
|
8190
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8104
8191
|
responses:
|
|
8105
8192
|
"200":
|
|
8106
|
-
description: List of pages linked to the site
|
|
8193
|
+
description: List of pages linked to the site finding
|
|
8107
8194
|
content:
|
|
8108
8195
|
application/json:
|
|
8109
8196
|
schema:
|
|
@@ -8116,11 +8203,11 @@ paths:
|
|
|
8116
8203
|
items:
|
|
8117
8204
|
type: array
|
|
8118
8205
|
items:
|
|
8119
|
-
$ref: "#/components/schemas/
|
|
8120
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8206
|
+
$ref: "#/components/schemas/SiteFindingPage"
|
|
8207
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions":
|
|
8121
8208
|
get:
|
|
8122
|
-
operationId:
|
|
8123
|
-
summary: List questions linked to a site
|
|
8209
|
+
operationId: listQuestionsForSiteFinding
|
|
8210
|
+
summary: List questions linked to a site finding
|
|
8124
8211
|
tags:
|
|
8125
8212
|
- site-context
|
|
8126
8213
|
security:
|
|
@@ -8130,10 +8217,10 @@ paths:
|
|
|
8130
8217
|
- $ref: "#/components/parameters/listLimit"
|
|
8131
8218
|
- $ref: "#/components/parameters/organizationId"
|
|
8132
8219
|
- $ref: "#/components/parameters/siteId"
|
|
8133
|
-
- $ref: "#/components/parameters/
|
|
8220
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8134
8221
|
responses:
|
|
8135
8222
|
"200":
|
|
8136
|
-
description: List of questions linked to the site
|
|
8223
|
+
description: List of questions linked to the site finding
|
|
8137
8224
|
content:
|
|
8138
8225
|
application/json:
|
|
8139
8226
|
schema:
|
|
@@ -8147,10 +8234,10 @@ paths:
|
|
|
8147
8234
|
type: array
|
|
8148
8235
|
items:
|
|
8149
8236
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8150
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8237
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records":
|
|
8151
8238
|
get:
|
|
8152
|
-
operationId:
|
|
8153
|
-
summary: List records linked to a site
|
|
8239
|
+
operationId: listRecordsForSiteFinding
|
|
8240
|
+
summary: List records linked to a site finding
|
|
8154
8241
|
tags:
|
|
8155
8242
|
- site-context
|
|
8156
8243
|
security:
|
|
@@ -8160,10 +8247,10 @@ paths:
|
|
|
8160
8247
|
- $ref: "#/components/parameters/listLimit"
|
|
8161
8248
|
- $ref: "#/components/parameters/organizationId"
|
|
8162
8249
|
- $ref: "#/components/parameters/siteId"
|
|
8163
|
-
- $ref: "#/components/parameters/
|
|
8250
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8164
8251
|
responses:
|
|
8165
8252
|
"200":
|
|
8166
|
-
description: List of records linked to the site
|
|
8253
|
+
description: List of records linked to the site finding
|
|
8167
8254
|
content:
|
|
8168
8255
|
application/json:
|
|
8169
8256
|
schema:
|
|
@@ -8401,10 +8488,10 @@ paths:
|
|
|
8401
8488
|
application/json:
|
|
8402
8489
|
schema:
|
|
8403
8490
|
$ref: "#/components/schemas/SiteTopic"
|
|
8404
|
-
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/
|
|
8491
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings":
|
|
8405
8492
|
delete:
|
|
8406
|
-
operationId:
|
|
8407
|
-
summary: Delete all
|
|
8493
|
+
operationId: deleteSiteTopicFindings
|
|
8494
|
+
summary: Delete all findings for a topic
|
|
8408
8495
|
tags:
|
|
8409
8496
|
- site-context
|
|
8410
8497
|
security:
|
|
@@ -8415,9 +8502,9 @@ paths:
|
|
|
8415
8502
|
- $ref: "#/components/parameters/siteTopicId"
|
|
8416
8503
|
responses:
|
|
8417
8504
|
"204":
|
|
8418
|
-
description: Topic had no
|
|
8505
|
+
description: Topic had no findings or did not exist
|
|
8419
8506
|
"205":
|
|
8420
|
-
description: Topic
|
|
8507
|
+
description: Topic findings deleted
|
|
8421
8508
|
"/orgs/{organizationId}/sites/{siteId}/questions":
|
|
8422
8509
|
get:
|
|
8423
8510
|
operationId: listSiteQuestions
|
|
@@ -8449,6 +8536,11 @@ paths:
|
|
|
8449
8536
|
description: Filter questions by answer resolution.
|
|
8450
8537
|
schema:
|
|
8451
8538
|
$ref: "#/components/schemas/SiteQuestionAnswerResolution"
|
|
8539
|
+
- name: topic
|
|
8540
|
+
in: query
|
|
8541
|
+
description: Filter questions by associated site topic ID.
|
|
8542
|
+
schema:
|
|
8543
|
+
type: string
|
|
8452
8544
|
- $ref: "#/components/parameters/listPage"
|
|
8453
8545
|
- $ref: "#/components/parameters/listLimit"
|
|
8454
8546
|
responses:
|
|
@@ -8801,7 +8893,7 @@ paths:
|
|
|
8801
8893
|
localizedTitle:
|
|
8802
8894
|
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.
|
|
8803
8895
|
oneOf:
|
|
8804
|
-
- $ref: "#/components/schemas/
|
|
8896
|
+
- $ref: "#/components/schemas/LocalizedTitle"
|
|
8805
8897
|
- type: "null"
|
|
8806
8898
|
styling:
|
|
8807
8899
|
type: object
|
|
@@ -10911,11 +11003,18 @@ components:
|
|
|
10911
11003
|
description: The unique id of the context record
|
|
10912
11004
|
schema:
|
|
10913
11005
|
type: string
|
|
10914
|
-
|
|
10915
|
-
name:
|
|
11006
|
+
siteScanId:
|
|
11007
|
+
name: siteScanId
|
|
10916
11008
|
in: path
|
|
10917
11009
|
required: true
|
|
10918
|
-
description: The unique id of the site
|
|
11010
|
+
description: The unique id of the site scan
|
|
11011
|
+
schema:
|
|
11012
|
+
type: string
|
|
11013
|
+
siteFindingId:
|
|
11014
|
+
name: siteFindingId
|
|
11015
|
+
in: path
|
|
11016
|
+
required: true
|
|
11017
|
+
description: The unique id of the site finding
|
|
10919
11018
|
schema:
|
|
10920
11019
|
type: string
|
|
10921
11020
|
siteContextConnectionId:
|
|
@@ -19004,6 +19103,11 @@ components:
|
|
|
19004
19103
|
type: string
|
|
19005
19104
|
description: URL of the preview version of the site.
|
|
19006
19105
|
format: uri
|
|
19106
|
+
login:
|
|
19107
|
+
type: string
|
|
19108
|
+
description: |
|
|
19109
|
+
URL of the login endpoint for visitors to authenticate with the site auth backend.
|
|
19110
|
+
format: uri
|
|
19007
19111
|
required:
|
|
19008
19112
|
- app
|
|
19009
19113
|
- location
|
|
@@ -19926,10 +20030,9 @@ components:
|
|
|
19926
20030
|
description: Title of the site section
|
|
19927
20031
|
minLength: 2
|
|
19928
20032
|
maxLength: 128
|
|
19929
|
-
|
|
20033
|
+
LocalizedTitle:
|
|
19930
20034
|
type: object
|
|
19931
|
-
description: Localized
|
|
19932
|
-
x-typescript: Partial<Record<TranslationLanguage, string>>
|
|
20035
|
+
description: Localized title value, keyed by locale. Contains overrides for non-default languages only.
|
|
19933
20036
|
additionalProperties:
|
|
19934
20037
|
type: string
|
|
19935
20038
|
maxLength: 128
|
|
@@ -19943,7 +20046,6 @@ components:
|
|
|
19943
20046
|
LocalizedSectionDescription:
|
|
19944
20047
|
type: object
|
|
19945
20048
|
description: Localized section description value, keyed by locale. Contains overrides for non-default languages only.
|
|
19946
|
-
x-typescript: Partial<Record<TranslationLanguage, string>>
|
|
19947
20049
|
additionalProperties:
|
|
19948
20050
|
type: string
|
|
19949
20051
|
maxLength: 256
|
|
@@ -19980,7 +20082,7 @@ components:
|
|
|
19980
20082
|
title:
|
|
19981
20083
|
type: string
|
|
19982
20084
|
localizedTitle:
|
|
19983
|
-
$ref: "#/components/schemas/
|
|
20085
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
19984
20086
|
default:
|
|
19985
20087
|
type: boolean
|
|
19986
20088
|
description: Whether this is the default space for the site
|
|
@@ -20022,7 +20124,7 @@ components:
|
|
|
20022
20124
|
title:
|
|
20023
20125
|
$ref: "#/components/schemas/SiteSectionTitle"
|
|
20024
20126
|
localizedTitle:
|
|
20025
|
-
$ref: "#/components/schemas/
|
|
20127
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
20026
20128
|
description:
|
|
20027
20129
|
$ref: "#/components/schemas/SiteSectionDescription"
|
|
20028
20130
|
localizedDescription:
|
|
@@ -20078,7 +20180,7 @@ components:
|
|
|
20078
20180
|
title:
|
|
20079
20181
|
$ref: "#/components/schemas/SiteSectionGroupTitle"
|
|
20080
20182
|
localizedTitle:
|
|
20081
|
-
$ref: "#/components/schemas/
|
|
20183
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
20082
20184
|
sections:
|
|
20083
20185
|
type: array
|
|
20084
20186
|
deprecated: true
|
|
@@ -20469,6 +20571,13 @@ components:
|
|
|
20469
20571
|
description: Coupon or promotion code to apply to billing operations.
|
|
20470
20572
|
minLength: 1
|
|
20471
20573
|
maxLength: 500
|
|
20574
|
+
BillingMeter:
|
|
20575
|
+
type: string
|
|
20576
|
+
description: Identifier of a billing meter
|
|
20577
|
+
enum:
|
|
20578
|
+
- ai_responses
|
|
20579
|
+
- ai_agent_responses
|
|
20580
|
+
- translation_words
|
|
20472
20581
|
UpgradeOrganizationBilling:
|
|
20473
20582
|
type: object
|
|
20474
20583
|
properties:
|
|
@@ -20484,12 +20593,17 @@ components:
|
|
|
20484
20593
|
coupon:
|
|
20485
20594
|
$ref: "#/components/schemas/BillingCoupon"
|
|
20486
20595
|
description: Coupon or promotion code to apply to the subscription
|
|
20596
|
+
addons:
|
|
20597
|
+
type: array
|
|
20598
|
+
description: |
|
|
20599
|
+
Optional usage addons to apply when upgrading: - if set, apply provided billable addons (non-billable meters are ignored) - if omitted, keep current subscription addons (or billing addons for new subs) - if omitted during interval switch, keep addon selection and switch addon price interval - if empty, or all provided meters are ignored, remove all existing billable addons
|
|
20600
|
+
items:
|
|
20601
|
+
$ref: "#/components/schemas/BillingMeter"
|
|
20487
20602
|
mode:
|
|
20488
20603
|
type: string
|
|
20489
20604
|
description: |
|
|
20490
|
-
Mode to use for the upgrade (default value is `commit`): - `
|
|
20605
|
+
Mode to use for the upgrade (default value is `commit`): - `commit`: a checkout session is returned or the upgrade is applied directly - `preview`: a preview invoice is always returned
|
|
20491
20606
|
enum:
|
|
20492
|
-
- auto
|
|
20493
20607
|
- commit
|
|
20494
20608
|
- preview
|
|
20495
20609
|
required:
|
|
@@ -20499,10 +20613,13 @@ components:
|
|
|
20499
20613
|
type: object
|
|
20500
20614
|
properties:
|
|
20501
20615
|
amount:
|
|
20502
|
-
description:
|
|
20616
|
+
description: Final total owed for this invoice after discounts and credits.
|
|
20617
|
+
type: number
|
|
20618
|
+
subtotal:
|
|
20619
|
+
description: Sum of invoice line items before discounts and credits are applied.
|
|
20503
20620
|
type: number
|
|
20504
20621
|
amountDueToday:
|
|
20505
|
-
description:
|
|
20622
|
+
description: Remaining unpaid amount on this invoice, what would be charged now.
|
|
20506
20623
|
type: number
|
|
20507
20624
|
customerBalance:
|
|
20508
20625
|
description: Current balance, if any, being stored on the customer. If positive, the customer has credit to apply to their next invoice.
|
|
@@ -20545,6 +20662,7 @@ components:
|
|
|
20545
20662
|
- amount
|
|
20546
20663
|
- description
|
|
20547
20664
|
required:
|
|
20665
|
+
- subtotal
|
|
20548
20666
|
- amount
|
|
20549
20667
|
- amountDueToday
|
|
20550
20668
|
- customerBalance
|
|
@@ -20679,13 +20797,6 @@ components:
|
|
|
20679
20797
|
- upgrade_passive
|
|
20680
20798
|
- downgrade
|
|
20681
20799
|
- switch_interval
|
|
20682
|
-
BillingMeter:
|
|
20683
|
-
type: string
|
|
20684
|
-
description: Identifier of a billing meter
|
|
20685
|
-
enum:
|
|
20686
|
-
- ai_responses
|
|
20687
|
-
- ai_agent_responses
|
|
20688
|
-
- translation_words
|
|
20689
20800
|
BillingMeterUsage:
|
|
20690
20801
|
type: object
|
|
20691
20802
|
description: Usage metrics for a billing meter
|
|
@@ -21909,6 +22020,11 @@ components:
|
|
|
21909
22020
|
required:
|
|
21910
22021
|
- description
|
|
21911
22022
|
- condition
|
|
22023
|
+
LocalizedString:
|
|
22024
|
+
type: object
|
|
22025
|
+
description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
|
|
22026
|
+
propertyNames:
|
|
22027
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
21912
22028
|
CustomizationTheme:
|
|
21913
22029
|
type: string
|
|
21914
22030
|
description: |
|
|
@@ -22314,6 +22430,9 @@ components:
|
|
|
22314
22430
|
title:
|
|
22315
22431
|
description: Title to use for the published site. If not defined, it'll fallback to the default content title.
|
|
22316
22432
|
$ref: "#/components/schemas/SiteTitle"
|
|
22433
|
+
localizedTitle:
|
|
22434
|
+
description: Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.
|
|
22435
|
+
$ref: "#/components/schemas/LocalizedString"
|
|
22317
22436
|
styling:
|
|
22318
22437
|
type: object
|
|
22319
22438
|
properties:
|
|
@@ -22967,92 +23086,162 @@ components:
|
|
|
22967
23086
|
- title
|
|
22968
23087
|
- body
|
|
22969
23088
|
- type
|
|
22970
|
-
|
|
23089
|
+
SiteScanStatus:
|
|
23090
|
+
type: string
|
|
23091
|
+
description: Status of a persisted site scan.
|
|
23092
|
+
enum:
|
|
23093
|
+
- pending
|
|
23094
|
+
- running
|
|
23095
|
+
- done
|
|
23096
|
+
- failed
|
|
23097
|
+
SiteScanFindings:
|
|
23098
|
+
type: object
|
|
23099
|
+
description: Number of findings created by the scan, grouped by severity.
|
|
23100
|
+
properties:
|
|
23101
|
+
low:
|
|
23102
|
+
type: number
|
|
23103
|
+
medium:
|
|
23104
|
+
type: number
|
|
23105
|
+
high:
|
|
23106
|
+
type: number
|
|
23107
|
+
required:
|
|
23108
|
+
- low
|
|
23109
|
+
- medium
|
|
23110
|
+
- high
|
|
23111
|
+
SiteScan:
|
|
23112
|
+
type: object
|
|
23113
|
+
properties:
|
|
23114
|
+
object:
|
|
23115
|
+
type: string
|
|
23116
|
+
enum:
|
|
23117
|
+
- site-scan
|
|
23118
|
+
id:
|
|
23119
|
+
type: string
|
|
23120
|
+
description: The ID of the scan
|
|
23121
|
+
status:
|
|
23122
|
+
$ref: "#/components/schemas/SiteScanStatus"
|
|
23123
|
+
topic:
|
|
23124
|
+
type: string
|
|
23125
|
+
description: The site topic ID associated with the scan
|
|
23126
|
+
createdAt:
|
|
23127
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23128
|
+
startedAt:
|
|
23129
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23130
|
+
finishedAt:
|
|
23131
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23132
|
+
findings:
|
|
23133
|
+
$ref: "#/components/schemas/SiteScanFindings"
|
|
23134
|
+
failureMessage:
|
|
23135
|
+
type: string
|
|
23136
|
+
description: Failure message for failed scans
|
|
23137
|
+
urls:
|
|
23138
|
+
type: object
|
|
23139
|
+
description: URLs associated with the scan
|
|
23140
|
+
properties:
|
|
23141
|
+
location:
|
|
23142
|
+
type: string
|
|
23143
|
+
description: URL of the scan endpoint in the API
|
|
23144
|
+
format: uri
|
|
23145
|
+
required:
|
|
23146
|
+
- location
|
|
23147
|
+
required:
|
|
23148
|
+
- object
|
|
23149
|
+
- id
|
|
23150
|
+
- status
|
|
23151
|
+
- topic
|
|
23152
|
+
- createdAt
|
|
23153
|
+
- findings
|
|
23154
|
+
- urls
|
|
23155
|
+
SiteFindingStatus:
|
|
22971
23156
|
type: string
|
|
22972
|
-
description: Status of a site
|
|
23157
|
+
description: Status of a site finding.
|
|
22973
23158
|
enum:
|
|
22974
23159
|
- open
|
|
22975
23160
|
- done
|
|
22976
23161
|
- canceled
|
|
22977
|
-
|
|
23162
|
+
SiteFindingType:
|
|
22978
23163
|
type: string
|
|
22979
23164
|
description: |-
|
|
22980
|
-
Classification of a site
|
|
23165
|
+
Classification of a site finding:
|
|
22981
23166
|
- Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
|
|
22982
23167
|
- Incoherent content: The content contains information that is inconsistent or contradictory.
|
|
22983
23168
|
- Content gap: The content is missing important information that should be present to answer user questions effectively.
|
|
22984
|
-
- Other: Any other type of
|
|
23169
|
+
- Other: Any other type of finding not covered by the above categories.
|
|
22985
23170
|
enum:
|
|
22986
23171
|
- content-outdated
|
|
22987
23172
|
- incoherence
|
|
22988
23173
|
- content-gap
|
|
22989
23174
|
- other
|
|
22990
|
-
|
|
23175
|
+
SiteFindingSeverity:
|
|
22991
23176
|
type: string
|
|
22992
|
-
description: Estimated end-user
|
|
23177
|
+
description: Estimated end-user severity of a site finding.
|
|
22993
23178
|
enum:
|
|
22994
23179
|
- low
|
|
22995
23180
|
- medium
|
|
22996
23181
|
- high
|
|
22997
|
-
|
|
23182
|
+
SiteFindingTitle:
|
|
22998
23183
|
type: string
|
|
22999
|
-
description: Short
|
|
23184
|
+
description: Short finding title
|
|
23000
23185
|
maxLength: 256
|
|
23001
|
-
|
|
23186
|
+
SiteFinding:
|
|
23002
23187
|
type: object
|
|
23003
23188
|
properties:
|
|
23004
23189
|
object:
|
|
23005
23190
|
type: string
|
|
23006
23191
|
enum:
|
|
23007
|
-
- site-
|
|
23192
|
+
- site-finding
|
|
23008
23193
|
id:
|
|
23009
23194
|
type: string
|
|
23010
|
-
description: The ID of the
|
|
23195
|
+
description: The ID of the finding
|
|
23196
|
+
scan:
|
|
23197
|
+
type: string
|
|
23198
|
+
description: The site scan ID associated with the finding
|
|
23011
23199
|
topic:
|
|
23012
23200
|
type: string
|
|
23013
|
-
description: The site topic ID associated with the
|
|
23201
|
+
description: The site topic ID associated with the finding
|
|
23014
23202
|
title:
|
|
23015
|
-
$ref: "#/components/schemas/
|
|
23203
|
+
$ref: "#/components/schemas/SiteFindingTitle"
|
|
23016
23204
|
changeRequests:
|
|
23017
23205
|
type: number
|
|
23018
|
-
description: Number of change requests linked to the
|
|
23206
|
+
description: Number of change requests linked to the finding
|
|
23019
23207
|
pages:
|
|
23020
23208
|
type: number
|
|
23021
|
-
description: Number of pages linked to the
|
|
23209
|
+
description: Number of pages linked to the finding
|
|
23022
23210
|
records:
|
|
23023
23211
|
type: number
|
|
23024
|
-
description: Number of records linked to the
|
|
23212
|
+
description: Number of records linked to the finding
|
|
23025
23213
|
questions:
|
|
23026
23214
|
type: number
|
|
23027
|
-
description: Number of questions linked to the
|
|
23215
|
+
description: Number of questions linked to the finding
|
|
23028
23216
|
status:
|
|
23029
|
-
$ref: "#/components/schemas/
|
|
23217
|
+
$ref: "#/components/schemas/SiteFindingStatus"
|
|
23030
23218
|
type:
|
|
23031
|
-
$ref: "#/components/schemas/
|
|
23032
|
-
|
|
23033
|
-
$ref: "#/components/schemas/
|
|
23219
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
23220
|
+
severity:
|
|
23221
|
+
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
23034
23222
|
description:
|
|
23035
23223
|
$ref: "#/components/schemas/JSONDocument"
|
|
23036
23224
|
autoFixable:
|
|
23037
23225
|
type: boolean
|
|
23038
|
-
description: Whether an AI agent should be able to fix this
|
|
23226
|
+
description: Whether an AI agent should be able to fix this finding directly
|
|
23039
23227
|
createdAt:
|
|
23040
23228
|
$ref: "#/components/schemas/Timestamp"
|
|
23041
23229
|
updatedAt:
|
|
23042
23230
|
$ref: "#/components/schemas/Timestamp"
|
|
23043
23231
|
urls:
|
|
23044
23232
|
type: object
|
|
23045
|
-
description: URLs associated with the
|
|
23233
|
+
description: URLs associated with the finding
|
|
23046
23234
|
properties:
|
|
23047
23235
|
location:
|
|
23048
23236
|
type: string
|
|
23049
|
-
description: URL of the
|
|
23237
|
+
description: URL of the finding list endpoint in the API
|
|
23050
23238
|
format: uri
|
|
23051
23239
|
required:
|
|
23052
23240
|
- location
|
|
23053
23241
|
required:
|
|
23054
23242
|
- object
|
|
23055
23243
|
- id
|
|
23244
|
+
- scan
|
|
23056
23245
|
- topic
|
|
23057
23246
|
- title
|
|
23058
23247
|
- changeRequests
|
|
@@ -23061,19 +23250,19 @@ components:
|
|
|
23061
23250
|
- questions
|
|
23062
23251
|
- status
|
|
23063
23252
|
- type
|
|
23064
|
-
-
|
|
23253
|
+
- severity
|
|
23065
23254
|
- description
|
|
23066
23255
|
- autoFixable
|
|
23067
23256
|
- createdAt
|
|
23068
23257
|
- updatedAt
|
|
23069
23258
|
- urls
|
|
23070
|
-
|
|
23259
|
+
SiteFindingPage:
|
|
23071
23260
|
type: object
|
|
23072
23261
|
properties:
|
|
23073
23262
|
object:
|
|
23074
23263
|
type: string
|
|
23075
23264
|
enum:
|
|
23076
|
-
- site-
|
|
23265
|
+
- site-finding-page
|
|
23077
23266
|
spaceId:
|
|
23078
23267
|
type: string
|
|
23079
23268
|
description: The space ID containing the linked page.
|
|
@@ -24983,6 +25172,7 @@ components:
|
|
|
24983
25172
|
description: Context in which the event was recorded.
|
|
24984
25173
|
enum:
|
|
24985
25174
|
- site
|
|
25175
|
+
- server
|
|
24986
25176
|
- embed
|
|
24987
25177
|
- mcp
|
|
24988
25178
|
SiteInsightsEventLocation:
|
|
@@ -24993,7 +25183,7 @@ components:
|
|
|
24993
25183
|
description: URL of the location.
|
|
24994
25184
|
$ref: "#/components/schemas/URL"
|
|
24995
25185
|
displayContext:
|
|
24996
|
-
description: Whether the event was tracked on the site or an embed widget.
|
|
25186
|
+
description: Whether the event was tracked on the site, the server, or an embed widget.
|
|
24997
25187
|
$ref: "#/components/schemas/SiteInsightsDisplayContext"
|
|
24998
25188
|
default: site
|
|
24999
25189
|
siteSection:
|
|
@@ -25058,6 +25248,17 @@ components:
|
|
|
25058
25248
|
- page_view
|
|
25059
25249
|
required:
|
|
25060
25250
|
- type
|
|
25251
|
+
SiteInsightsEventPageMarkdownRequest:
|
|
25252
|
+
allOf:
|
|
25253
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25254
|
+
- type: object
|
|
25255
|
+
properties:
|
|
25256
|
+
type:
|
|
25257
|
+
type: string
|
|
25258
|
+
enum:
|
|
25259
|
+
- page_markdown_request
|
|
25260
|
+
required:
|
|
25261
|
+
- type
|
|
25061
25262
|
SiteInsightsEventSearchOpen:
|
|
25062
25263
|
allOf:
|
|
25063
25264
|
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
@@ -25341,9 +25542,51 @@ components:
|
|
|
25341
25542
|
required:
|
|
25342
25543
|
- type
|
|
25343
25544
|
- ad
|
|
25545
|
+
SiteInsightsLLMSVariant:
|
|
25546
|
+
type: string
|
|
25547
|
+
enum:
|
|
25548
|
+
- standard
|
|
25549
|
+
- full
|
|
25550
|
+
SiteInsightsEventLLMSRequest:
|
|
25551
|
+
allOf:
|
|
25552
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25553
|
+
- type: object
|
|
25554
|
+
properties:
|
|
25555
|
+
type:
|
|
25556
|
+
type: string
|
|
25557
|
+
enum:
|
|
25558
|
+
- llms_request
|
|
25559
|
+
llmsVariant:
|
|
25560
|
+
$ref: "#/components/schemas/SiteInsightsLLMSVariant"
|
|
25561
|
+
required:
|
|
25562
|
+
- type
|
|
25563
|
+
- llmsVariant
|
|
25564
|
+
SiteInsightsEventMCPRequest:
|
|
25565
|
+
allOf:
|
|
25566
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25567
|
+
- type: object
|
|
25568
|
+
properties:
|
|
25569
|
+
type:
|
|
25570
|
+
type: string
|
|
25571
|
+
enum:
|
|
25572
|
+
- mcp_request
|
|
25573
|
+
required:
|
|
25574
|
+
- type
|
|
25575
|
+
SiteInsightsEventRSSRequest:
|
|
25576
|
+
allOf:
|
|
25577
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25578
|
+
- type: object
|
|
25579
|
+
properties:
|
|
25580
|
+
type:
|
|
25581
|
+
type: string
|
|
25582
|
+
enum:
|
|
25583
|
+
- rss_request
|
|
25584
|
+
required:
|
|
25585
|
+
- type
|
|
25344
25586
|
SiteInsightsEvent:
|
|
25345
25587
|
oneOf:
|
|
25346
25588
|
- $ref: "#/components/schemas/SiteInsightsEventPageView"
|
|
25589
|
+
- $ref: "#/components/schemas/SiteInsightsEventPageMarkdownRequest"
|
|
25347
25590
|
- $ref: "#/components/schemas/SiteInsightsEventSearchOpen"
|
|
25348
25591
|
- $ref: "#/components/schemas/SiteInsightsEventSearchTypeQuery"
|
|
25349
25592
|
- $ref: "#/components/schemas/SiteInsightsEventSearchOpenResult"
|
|
@@ -25358,6 +25601,9 @@ components:
|
|
|
25358
25601
|
- $ref: "#/components/schemas/SiteInsightsEventTrademarkClick"
|
|
25359
25602
|
- $ref: "#/components/schemas/SiteInsightsEventAdClick"
|
|
25360
25603
|
- $ref: "#/components/schemas/SiteInsightsEventAdDisplay"
|
|
25604
|
+
- $ref: "#/components/schemas/SiteInsightsEventLLMSRequest"
|
|
25605
|
+
- $ref: "#/components/schemas/SiteInsightsEventMCPRequest"
|
|
25606
|
+
- $ref: "#/components/schemas/SiteInsightsEventRSSRequest"
|
|
25361
25607
|
SiteInsightsQueryDateTimeColumn:
|
|
25362
25608
|
type: object
|
|
25363
25609
|
required:
|
|
@@ -25565,6 +25811,14 @@ components:
|
|
|
25565
25811
|
type: string
|
|
25566
25812
|
enum:
|
|
25567
25813
|
- eventAPIOperationMethod
|
|
25814
|
+
- type: object
|
|
25815
|
+
required:
|
|
25816
|
+
- column
|
|
25817
|
+
properties:
|
|
25818
|
+
column:
|
|
25819
|
+
type: string
|
|
25820
|
+
enum:
|
|
25821
|
+
- eventLLMSVariant
|
|
25568
25822
|
- type: object
|
|
25569
25823
|
required:
|
|
25570
25824
|
- column
|
|
@@ -25724,6 +25978,7 @@ components:
|
|
|
25724
25978
|
type: string
|
|
25725
25979
|
enum:
|
|
25726
25980
|
- page_view
|
|
25981
|
+
- page_markdown_request
|
|
25727
25982
|
- search_open
|
|
25728
25983
|
- search_type_query
|
|
25729
25984
|
- search_open_result
|
|
@@ -25738,6 +25993,9 @@ components:
|
|
|
25738
25993
|
- ad_click
|
|
25739
25994
|
- ad_display
|
|
25740
25995
|
- trademark_click
|
|
25996
|
+
- llms_request
|
|
25997
|
+
- mcp_request
|
|
25998
|
+
- rss_request
|
|
25741
25999
|
SiteInsightsVisitorBrowser:
|
|
25742
26000
|
type: string
|
|
25743
26001
|
enum:
|
|
@@ -26019,6 +26277,21 @@ components:
|
|
|
26019
26277
|
type:
|
|
26020
26278
|
- string
|
|
26021
26279
|
- "null"
|
|
26280
|
+
- type: object
|
|
26281
|
+
required:
|
|
26282
|
+
- column
|
|
26283
|
+
- values
|
|
26284
|
+
properties:
|
|
26285
|
+
column:
|
|
26286
|
+
type: string
|
|
26287
|
+
enum:
|
|
26288
|
+
- eventLLMSVariant
|
|
26289
|
+
values:
|
|
26290
|
+
type: array
|
|
26291
|
+
items:
|
|
26292
|
+
oneOf:
|
|
26293
|
+
- type: "null"
|
|
26294
|
+
- $ref: "#/components/schemas/SiteInsightsLLMSVariant"
|
|
26022
26295
|
- type: object
|
|
26023
26296
|
required:
|
|
26024
26297
|
- column
|