@gitbook/api 0.170.0 → 0.172.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 +218 -90
- 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 +564 -96
- package/spec/openapi.yaml +375 -94
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
|
|
@@ -7501,6 +7501,7 @@ paths:
|
|
|
7501
7501
|
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections":
|
|
7502
7502
|
post:
|
|
7503
7503
|
operationId: addSectionToGroup
|
|
7504
|
+
deprecated: true
|
|
7504
7505
|
summary: Add a section to a section group
|
|
7505
7506
|
tags:
|
|
7506
7507
|
- site-section-groups
|
|
@@ -7537,6 +7538,7 @@ paths:
|
|
|
7537
7538
|
"/orgs/{organizationId}/sites/{siteId}/section-groups/{siteSectionGroupId}/sections/{siteSectionId}":
|
|
7538
7539
|
delete:
|
|
7539
7540
|
operationId: removeSectionFromGroup
|
|
7541
|
+
deprecated: true
|
|
7540
7542
|
summary: Remove a section from a section group
|
|
7541
7543
|
tags:
|
|
7542
7544
|
- site-section-groups
|
|
@@ -7581,6 +7583,9 @@ paths:
|
|
|
7581
7583
|
oneOf:
|
|
7582
7584
|
- $ref: "#/components/schemas/Icon"
|
|
7583
7585
|
- type: "null"
|
|
7586
|
+
siteSectionGroupId:
|
|
7587
|
+
type: string
|
|
7588
|
+
description: ID of the section group to create the section in
|
|
7584
7589
|
required:
|
|
7585
7590
|
- spaceId
|
|
7586
7591
|
responses:
|
|
@@ -7667,6 +7672,11 @@ paths:
|
|
|
7667
7672
|
- type: "null"
|
|
7668
7673
|
localizedDescription:
|
|
7669
7674
|
$ref: "#/components/schemas/LocalizedSectionDescription"
|
|
7675
|
+
siteSectionGroupId:
|
|
7676
|
+
description: ID of the section group to move the section into. Set to null to move the section to the root of the site.
|
|
7677
|
+
oneOf:
|
|
7678
|
+
- type: string
|
|
7679
|
+
- type: "null"
|
|
7670
7680
|
responses:
|
|
7671
7681
|
"200":
|
|
7672
7682
|
description: OK
|
|
@@ -7943,10 +7953,97 @@ paths:
|
|
|
7943
7953
|
application/json:
|
|
7944
7954
|
schema:
|
|
7945
7955
|
$ref: "#/components/schemas/ContextRecord"
|
|
7946
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
7956
|
+
"/orgs/{organizationId}/sites/{siteId}/scans":
|
|
7957
|
+
get:
|
|
7958
|
+
operationId: listSiteScans
|
|
7959
|
+
summary: List all site scans
|
|
7960
|
+
tags:
|
|
7961
|
+
- site-context
|
|
7962
|
+
security:
|
|
7963
|
+
- user: []
|
|
7964
|
+
parameters:
|
|
7965
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7966
|
+
- $ref: "#/components/parameters/siteId"
|
|
7967
|
+
- $ref: "#/components/parameters/listPage"
|
|
7968
|
+
- $ref: "#/components/parameters/listLimit"
|
|
7969
|
+
- name: topic
|
|
7970
|
+
in: query
|
|
7971
|
+
description: Filter scans by associated site topic ID.
|
|
7972
|
+
schema:
|
|
7973
|
+
type: string
|
|
7974
|
+
- name: status
|
|
7975
|
+
in: query
|
|
7976
|
+
description: Filter scans by status.
|
|
7977
|
+
schema:
|
|
7978
|
+
$ref: "#/components/schemas/SiteScanStatus"
|
|
7979
|
+
responses:
|
|
7980
|
+
"200":
|
|
7981
|
+
description: OK
|
|
7982
|
+
content:
|
|
7983
|
+
application/json:
|
|
7984
|
+
schema:
|
|
7985
|
+
allOf:
|
|
7986
|
+
- $ref: "#/components/schemas/List"
|
|
7987
|
+
- type: object
|
|
7988
|
+
required:
|
|
7989
|
+
- items
|
|
7990
|
+
properties:
|
|
7991
|
+
items:
|
|
7992
|
+
type: array
|
|
7993
|
+
items:
|
|
7994
|
+
$ref: "#/components/schemas/SiteScan"
|
|
7995
|
+
post:
|
|
7996
|
+
operationId: createSiteScan
|
|
7997
|
+
summary: Enqueue a new site scan
|
|
7998
|
+
tags:
|
|
7999
|
+
- site-context
|
|
8000
|
+
security:
|
|
8001
|
+
- user: []
|
|
8002
|
+
parameters:
|
|
8003
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8004
|
+
- $ref: "#/components/parameters/siteId"
|
|
8005
|
+
requestBody:
|
|
8006
|
+
required: true
|
|
8007
|
+
content:
|
|
8008
|
+
application/json:
|
|
8009
|
+
schema:
|
|
8010
|
+
type: object
|
|
8011
|
+
required:
|
|
8012
|
+
- topic
|
|
8013
|
+
properties:
|
|
8014
|
+
topic:
|
|
8015
|
+
type: string
|
|
8016
|
+
description: The site topic ID to scan.
|
|
8017
|
+
responses:
|
|
8018
|
+
"202":
|
|
8019
|
+
description: Site scan has been enqueued
|
|
8020
|
+
content:
|
|
8021
|
+
application/json:
|
|
8022
|
+
schema:
|
|
8023
|
+
$ref: "#/components/schemas/SiteScan"
|
|
8024
|
+
"/orgs/{organizationId}/sites/{siteId}/scans/{siteScanId}":
|
|
7947
8025
|
get:
|
|
7948
|
-
operationId:
|
|
7949
|
-
summary:
|
|
8026
|
+
operationId: getSiteScanById
|
|
8027
|
+
summary: Get a site scan by ID
|
|
8028
|
+
tags:
|
|
8029
|
+
- site-context
|
|
8030
|
+
security:
|
|
8031
|
+
- user: []
|
|
8032
|
+
parameters:
|
|
8033
|
+
- $ref: "#/components/parameters/organizationId"
|
|
8034
|
+
- $ref: "#/components/parameters/siteId"
|
|
8035
|
+
- $ref: "#/components/parameters/siteScanId"
|
|
8036
|
+
responses:
|
|
8037
|
+
"200":
|
|
8038
|
+
description: OK
|
|
8039
|
+
content:
|
|
8040
|
+
application/json:
|
|
8041
|
+
schema:
|
|
8042
|
+
$ref: "#/components/schemas/SiteScan"
|
|
8043
|
+
"/orgs/{organizationId}/sites/{siteId}/findings":
|
|
8044
|
+
get:
|
|
8045
|
+
operationId: listSiteFindings
|
|
8046
|
+
summary: List all site context findings
|
|
7950
8047
|
tags:
|
|
7951
8048
|
- site-context
|
|
7952
8049
|
security:
|
|
@@ -7958,24 +8055,24 @@ paths:
|
|
|
7958
8055
|
- $ref: "#/components/parameters/listLimit"
|
|
7959
8056
|
- name: topic
|
|
7960
8057
|
in: query
|
|
7961
|
-
description: Filter
|
|
8058
|
+
description: Filter findings by associated site topic ID.
|
|
7962
8059
|
schema:
|
|
7963
8060
|
type: string
|
|
7964
8061
|
- name: status
|
|
7965
8062
|
in: query
|
|
7966
|
-
description: Filter
|
|
8063
|
+
description: Filter findings by status.
|
|
7967
8064
|
schema:
|
|
7968
|
-
$ref: "#/components/schemas/
|
|
8065
|
+
$ref: "#/components/schemas/SiteFindingStatus"
|
|
7969
8066
|
- name: type
|
|
7970
8067
|
in: query
|
|
7971
|
-
description: Filter
|
|
8068
|
+
description: Filter findings by type.
|
|
7972
8069
|
schema:
|
|
7973
|
-
$ref: "#/components/schemas/
|
|
7974
|
-
- name:
|
|
8070
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
8071
|
+
- name: severity
|
|
7975
8072
|
in: query
|
|
7976
|
-
description: Filter
|
|
8073
|
+
description: Filter findings by estimated severity.
|
|
7977
8074
|
schema:
|
|
7978
|
-
$ref: "#/components/schemas/
|
|
8075
|
+
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
7979
8076
|
responses:
|
|
7980
8077
|
"200":
|
|
7981
8078
|
description: OK
|
|
@@ -7991,11 +8088,11 @@ paths:
|
|
|
7991
8088
|
items:
|
|
7992
8089
|
type: array
|
|
7993
8090
|
items:
|
|
7994
|
-
$ref: "#/components/schemas/
|
|
7995
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8091
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8092
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}":
|
|
7996
8093
|
get:
|
|
7997
|
-
operationId:
|
|
7998
|
-
summary: Get a site
|
|
8094
|
+
operationId: getSiteFindingById
|
|
8095
|
+
summary: Get a site finding by ID
|
|
7999
8096
|
tags:
|
|
8000
8097
|
- site-context
|
|
8001
8098
|
security:
|
|
@@ -8003,17 +8100,17 @@ paths:
|
|
|
8003
8100
|
parameters:
|
|
8004
8101
|
- $ref: "#/components/parameters/organizationId"
|
|
8005
8102
|
- $ref: "#/components/parameters/siteId"
|
|
8006
|
-
- $ref: "#/components/parameters/
|
|
8103
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8007
8104
|
responses:
|
|
8008
8105
|
"200":
|
|
8009
8106
|
description: OK
|
|
8010
8107
|
content:
|
|
8011
8108
|
application/json:
|
|
8012
8109
|
schema:
|
|
8013
|
-
$ref: "#/components/schemas/
|
|
8110
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8014
8111
|
patch:
|
|
8015
|
-
operationId:
|
|
8016
|
-
summary: Update a site
|
|
8112
|
+
operationId: updateSiteFindingById
|
|
8113
|
+
summary: Update a site finding
|
|
8017
8114
|
tags:
|
|
8018
8115
|
- site-context
|
|
8019
8116
|
security:
|
|
@@ -8021,7 +8118,7 @@ paths:
|
|
|
8021
8118
|
parameters:
|
|
8022
8119
|
- $ref: "#/components/parameters/organizationId"
|
|
8023
8120
|
- $ref: "#/components/parameters/siteId"
|
|
8024
|
-
- $ref: "#/components/parameters/
|
|
8121
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8025
8122
|
requestBody:
|
|
8026
8123
|
required: true
|
|
8027
8124
|
content:
|
|
@@ -8042,11 +8139,11 @@ paths:
|
|
|
8042
8139
|
content:
|
|
8043
8140
|
application/json:
|
|
8044
8141
|
schema:
|
|
8045
|
-
$ref: "#/components/schemas/
|
|
8046
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8142
|
+
$ref: "#/components/schemas/SiteFinding"
|
|
8143
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/change-requests":
|
|
8047
8144
|
get:
|
|
8048
|
-
operationId:
|
|
8049
|
-
summary: List change requests linked to a site
|
|
8145
|
+
operationId: listChangeRequestsForSiteFinding
|
|
8146
|
+
summary: List change requests linked to a site finding
|
|
8050
8147
|
tags:
|
|
8051
8148
|
- site-context
|
|
8052
8149
|
security:
|
|
@@ -8056,10 +8153,10 @@ paths:
|
|
|
8056
8153
|
- $ref: "#/components/parameters/listLimit"
|
|
8057
8154
|
- $ref: "#/components/parameters/organizationId"
|
|
8058
8155
|
- $ref: "#/components/parameters/siteId"
|
|
8059
|
-
- $ref: "#/components/parameters/
|
|
8156
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8060
8157
|
responses:
|
|
8061
8158
|
"200":
|
|
8062
|
-
description: List of change requests linked to the site
|
|
8159
|
+
description: List of change requests linked to the site finding
|
|
8063
8160
|
content:
|
|
8064
8161
|
application/json:
|
|
8065
8162
|
schema:
|
|
@@ -8074,8 +8171,8 @@ paths:
|
|
|
8074
8171
|
items:
|
|
8075
8172
|
$ref: "#/components/schemas/ChangeRequest"
|
|
8076
8173
|
post:
|
|
8077
|
-
operationId:
|
|
8078
|
-
summary: Process a site
|
|
8174
|
+
operationId: triggerChangeRequestsForSiteFinding
|
|
8175
|
+
summary: Process a site finding into change requests
|
|
8079
8176
|
tags:
|
|
8080
8177
|
- site-context
|
|
8081
8178
|
security:
|
|
@@ -8083,14 +8180,14 @@ paths:
|
|
|
8083
8180
|
parameters:
|
|
8084
8181
|
- $ref: "#/components/parameters/organizationId"
|
|
8085
8182
|
- $ref: "#/components/parameters/siteId"
|
|
8086
|
-
- $ref: "#/components/parameters/
|
|
8183
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8087
8184
|
responses:
|
|
8088
8185
|
"202":
|
|
8089
|
-
description: Site
|
|
8090
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8186
|
+
description: Site finding processing has been started
|
|
8187
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/pages":
|
|
8091
8188
|
get:
|
|
8092
|
-
operationId:
|
|
8093
|
-
summary: List pages linked to a site
|
|
8189
|
+
operationId: listPagesForSiteFinding
|
|
8190
|
+
summary: List pages linked to a site finding
|
|
8094
8191
|
tags:
|
|
8095
8192
|
- site-context
|
|
8096
8193
|
security:
|
|
@@ -8100,10 +8197,10 @@ paths:
|
|
|
8100
8197
|
- $ref: "#/components/parameters/listLimit"
|
|
8101
8198
|
- $ref: "#/components/parameters/organizationId"
|
|
8102
8199
|
- $ref: "#/components/parameters/siteId"
|
|
8103
|
-
- $ref: "#/components/parameters/
|
|
8200
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8104
8201
|
responses:
|
|
8105
8202
|
"200":
|
|
8106
|
-
description: List of pages linked to the site
|
|
8203
|
+
description: List of pages linked to the site finding
|
|
8107
8204
|
content:
|
|
8108
8205
|
application/json:
|
|
8109
8206
|
schema:
|
|
@@ -8116,11 +8213,11 @@ paths:
|
|
|
8116
8213
|
items:
|
|
8117
8214
|
type: array
|
|
8118
8215
|
items:
|
|
8119
|
-
$ref: "#/components/schemas/
|
|
8120
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8216
|
+
$ref: "#/components/schemas/SiteFindingPage"
|
|
8217
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/questions":
|
|
8121
8218
|
get:
|
|
8122
|
-
operationId:
|
|
8123
|
-
summary: List questions linked to a site
|
|
8219
|
+
operationId: listQuestionsForSiteFinding
|
|
8220
|
+
summary: List questions linked to a site finding
|
|
8124
8221
|
tags:
|
|
8125
8222
|
- site-context
|
|
8126
8223
|
security:
|
|
@@ -8130,10 +8227,10 @@ paths:
|
|
|
8130
8227
|
- $ref: "#/components/parameters/listLimit"
|
|
8131
8228
|
- $ref: "#/components/parameters/organizationId"
|
|
8132
8229
|
- $ref: "#/components/parameters/siteId"
|
|
8133
|
-
- $ref: "#/components/parameters/
|
|
8230
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8134
8231
|
responses:
|
|
8135
8232
|
"200":
|
|
8136
|
-
description: List of questions linked to the site
|
|
8233
|
+
description: List of questions linked to the site finding
|
|
8137
8234
|
content:
|
|
8138
8235
|
application/json:
|
|
8139
8236
|
schema:
|
|
@@ -8147,10 +8244,10 @@ paths:
|
|
|
8147
8244
|
type: array
|
|
8148
8245
|
items:
|
|
8149
8246
|
$ref: "#/components/schemas/SiteQuestion"
|
|
8150
|
-
"/orgs/{organizationId}/sites/{siteId}/
|
|
8247
|
+
"/orgs/{organizationId}/sites/{siteId}/findings/{siteFindingId}/records":
|
|
8151
8248
|
get:
|
|
8152
|
-
operationId:
|
|
8153
|
-
summary: List records linked to a site
|
|
8249
|
+
operationId: listRecordsForSiteFinding
|
|
8250
|
+
summary: List records linked to a site finding
|
|
8154
8251
|
tags:
|
|
8155
8252
|
- site-context
|
|
8156
8253
|
security:
|
|
@@ -8160,10 +8257,10 @@ paths:
|
|
|
8160
8257
|
- $ref: "#/components/parameters/listLimit"
|
|
8161
8258
|
- $ref: "#/components/parameters/organizationId"
|
|
8162
8259
|
- $ref: "#/components/parameters/siteId"
|
|
8163
|
-
- $ref: "#/components/parameters/
|
|
8260
|
+
- $ref: "#/components/parameters/siteFindingId"
|
|
8164
8261
|
responses:
|
|
8165
8262
|
"200":
|
|
8166
|
-
description: List of records linked to the site
|
|
8263
|
+
description: List of records linked to the site finding
|
|
8167
8264
|
content:
|
|
8168
8265
|
application/json:
|
|
8169
8266
|
schema:
|
|
@@ -8401,10 +8498,10 @@ paths:
|
|
|
8401
8498
|
application/json:
|
|
8402
8499
|
schema:
|
|
8403
8500
|
$ref: "#/components/schemas/SiteTopic"
|
|
8404
|
-
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/
|
|
8501
|
+
"/orgs/{organizationId}/sites/{siteId}/topics/{siteTopicId}/findings":
|
|
8405
8502
|
delete:
|
|
8406
|
-
operationId:
|
|
8407
|
-
summary: Delete all
|
|
8503
|
+
operationId: deleteSiteTopicFindings
|
|
8504
|
+
summary: Delete all findings for a topic
|
|
8408
8505
|
tags:
|
|
8409
8506
|
- site-context
|
|
8410
8507
|
security:
|
|
@@ -8415,9 +8512,9 @@ paths:
|
|
|
8415
8512
|
- $ref: "#/components/parameters/siteTopicId"
|
|
8416
8513
|
responses:
|
|
8417
8514
|
"204":
|
|
8418
|
-
description: Topic had no
|
|
8515
|
+
description: Topic had no findings or did not exist
|
|
8419
8516
|
"205":
|
|
8420
|
-
description: Topic
|
|
8517
|
+
description: Topic findings deleted
|
|
8421
8518
|
"/orgs/{organizationId}/sites/{siteId}/questions":
|
|
8422
8519
|
get:
|
|
8423
8520
|
operationId: listSiteQuestions
|
|
@@ -10916,11 +11013,18 @@ components:
|
|
|
10916
11013
|
description: The unique id of the context record
|
|
10917
11014
|
schema:
|
|
10918
11015
|
type: string
|
|
10919
|
-
|
|
10920
|
-
name:
|
|
11016
|
+
siteScanId:
|
|
11017
|
+
name: siteScanId
|
|
11018
|
+
in: path
|
|
11019
|
+
required: true
|
|
11020
|
+
description: The unique id of the site scan
|
|
11021
|
+
schema:
|
|
11022
|
+
type: string
|
|
11023
|
+
siteFindingId:
|
|
11024
|
+
name: siteFindingId
|
|
10921
11025
|
in: path
|
|
10922
11026
|
required: true
|
|
10923
|
-
description: The unique id of the site
|
|
11027
|
+
description: The unique id of the site finding
|
|
10924
11028
|
schema:
|
|
10925
11029
|
type: string
|
|
10926
11030
|
siteContextConnectionId:
|
|
@@ -20477,6 +20581,13 @@ components:
|
|
|
20477
20581
|
description: Coupon or promotion code to apply to billing operations.
|
|
20478
20582
|
minLength: 1
|
|
20479
20583
|
maxLength: 500
|
|
20584
|
+
BillingMeter:
|
|
20585
|
+
type: string
|
|
20586
|
+
description: Identifier of a billing meter
|
|
20587
|
+
enum:
|
|
20588
|
+
- ai_responses
|
|
20589
|
+
- ai_agent_responses
|
|
20590
|
+
- translation_words
|
|
20480
20591
|
UpgradeOrganizationBilling:
|
|
20481
20592
|
type: object
|
|
20482
20593
|
properties:
|
|
@@ -20492,6 +20603,12 @@ components:
|
|
|
20492
20603
|
coupon:
|
|
20493
20604
|
$ref: "#/components/schemas/BillingCoupon"
|
|
20494
20605
|
description: Coupon or promotion code to apply to the subscription
|
|
20606
|
+
addons:
|
|
20607
|
+
type: array
|
|
20608
|
+
description: |
|
|
20609
|
+
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
|
|
20610
|
+
items:
|
|
20611
|
+
$ref: "#/components/schemas/BillingMeter"
|
|
20495
20612
|
mode:
|
|
20496
20613
|
type: string
|
|
20497
20614
|
description: |
|
|
@@ -20506,10 +20623,13 @@ components:
|
|
|
20506
20623
|
type: object
|
|
20507
20624
|
properties:
|
|
20508
20625
|
amount:
|
|
20509
|
-
description:
|
|
20626
|
+
description: Final total owed for this invoice after discounts and credits.
|
|
20627
|
+
type: number
|
|
20628
|
+
subtotal:
|
|
20629
|
+
description: Sum of invoice line items before discounts and credits are applied.
|
|
20510
20630
|
type: number
|
|
20511
20631
|
amountDueToday:
|
|
20512
|
-
description:
|
|
20632
|
+
description: Remaining unpaid amount on this invoice, what would be charged now.
|
|
20513
20633
|
type: number
|
|
20514
20634
|
customerBalance:
|
|
20515
20635
|
description: Current balance, if any, being stored on the customer. If positive, the customer has credit to apply to their next invoice.
|
|
@@ -20552,6 +20672,7 @@ components:
|
|
|
20552
20672
|
- amount
|
|
20553
20673
|
- description
|
|
20554
20674
|
required:
|
|
20675
|
+
- subtotal
|
|
20555
20676
|
- amount
|
|
20556
20677
|
- amountDueToday
|
|
20557
20678
|
- customerBalance
|
|
@@ -20686,13 +20807,6 @@ components:
|
|
|
20686
20807
|
- upgrade_passive
|
|
20687
20808
|
- downgrade
|
|
20688
20809
|
- switch_interval
|
|
20689
|
-
BillingMeter:
|
|
20690
|
-
type: string
|
|
20691
|
-
description: Identifier of a billing meter
|
|
20692
|
-
enum:
|
|
20693
|
-
- ai_responses
|
|
20694
|
-
- ai_agent_responses
|
|
20695
|
-
- translation_words
|
|
20696
20810
|
BillingMeterUsage:
|
|
20697
20811
|
type: object
|
|
20698
20812
|
description: Usage metrics for a billing meter
|
|
@@ -22321,6 +22435,9 @@ components:
|
|
|
22321
22435
|
title:
|
|
22322
22436
|
description: Title to use for the published site. If not defined, it'll fallback to the default content title.
|
|
22323
22437
|
$ref: "#/components/schemas/SiteTitle"
|
|
22438
|
+
localizedTitle:
|
|
22439
|
+
description: Localized titles for the site, keyed by locale. If not defined, the localized title will not be changed.
|
|
22440
|
+
$ref: "#/components/schemas/LocalizedTitle"
|
|
22324
22441
|
styling:
|
|
22325
22442
|
type: object
|
|
22326
22443
|
properties:
|
|
@@ -22974,92 +23091,162 @@ components:
|
|
|
22974
23091
|
- title
|
|
22975
23092
|
- body
|
|
22976
23093
|
- type
|
|
22977
|
-
|
|
23094
|
+
SiteScanStatus:
|
|
23095
|
+
type: string
|
|
23096
|
+
description: Status of a persisted site scan.
|
|
23097
|
+
enum:
|
|
23098
|
+
- pending
|
|
23099
|
+
- running
|
|
23100
|
+
- done
|
|
23101
|
+
- failed
|
|
23102
|
+
SiteScanFindings:
|
|
23103
|
+
type: object
|
|
23104
|
+
description: Number of findings created by the scan, grouped by severity.
|
|
23105
|
+
properties:
|
|
23106
|
+
low:
|
|
23107
|
+
type: number
|
|
23108
|
+
medium:
|
|
23109
|
+
type: number
|
|
23110
|
+
high:
|
|
23111
|
+
type: number
|
|
23112
|
+
required:
|
|
23113
|
+
- low
|
|
23114
|
+
- medium
|
|
23115
|
+
- high
|
|
23116
|
+
SiteScan:
|
|
23117
|
+
type: object
|
|
23118
|
+
properties:
|
|
23119
|
+
object:
|
|
23120
|
+
type: string
|
|
23121
|
+
enum:
|
|
23122
|
+
- site-scan
|
|
23123
|
+
id:
|
|
23124
|
+
type: string
|
|
23125
|
+
description: The ID of the scan
|
|
23126
|
+
status:
|
|
23127
|
+
$ref: "#/components/schemas/SiteScanStatus"
|
|
23128
|
+
topic:
|
|
23129
|
+
type: string
|
|
23130
|
+
description: The site topic ID associated with the scan
|
|
23131
|
+
createdAt:
|
|
23132
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23133
|
+
startedAt:
|
|
23134
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23135
|
+
finishedAt:
|
|
23136
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23137
|
+
findings:
|
|
23138
|
+
$ref: "#/components/schemas/SiteScanFindings"
|
|
23139
|
+
failureMessage:
|
|
23140
|
+
type: string
|
|
23141
|
+
description: Failure message for failed scans
|
|
23142
|
+
urls:
|
|
23143
|
+
type: object
|
|
23144
|
+
description: URLs associated with the scan
|
|
23145
|
+
properties:
|
|
23146
|
+
location:
|
|
23147
|
+
type: string
|
|
23148
|
+
description: URL of the scan endpoint in the API
|
|
23149
|
+
format: uri
|
|
23150
|
+
required:
|
|
23151
|
+
- location
|
|
23152
|
+
required:
|
|
23153
|
+
- object
|
|
23154
|
+
- id
|
|
23155
|
+
- status
|
|
23156
|
+
- topic
|
|
23157
|
+
- createdAt
|
|
23158
|
+
- findings
|
|
23159
|
+
- urls
|
|
23160
|
+
SiteFindingStatus:
|
|
22978
23161
|
type: string
|
|
22979
|
-
description: Status of a site
|
|
23162
|
+
description: Status of a site finding.
|
|
22980
23163
|
enum:
|
|
22981
23164
|
- open
|
|
22982
23165
|
- done
|
|
22983
23166
|
- canceled
|
|
22984
|
-
|
|
23167
|
+
SiteFindingType:
|
|
22985
23168
|
type: string
|
|
22986
23169
|
description: |-
|
|
22987
|
-
Classification of a site
|
|
23170
|
+
Classification of a site finding:
|
|
22988
23171
|
- Outdated content: The content is no longer up to date with external context and may be misleading or incorrect.
|
|
22989
23172
|
- Incoherent content: The content contains information that is inconsistent or contradictory.
|
|
22990
23173
|
- Content gap: The content is missing important information that should be present to answer user questions effectively.
|
|
22991
|
-
- Other: Any other type of
|
|
23174
|
+
- Other: Any other type of finding not covered by the above categories.
|
|
22992
23175
|
enum:
|
|
22993
23176
|
- content-outdated
|
|
22994
23177
|
- incoherence
|
|
22995
23178
|
- content-gap
|
|
22996
23179
|
- other
|
|
22997
|
-
|
|
23180
|
+
SiteFindingSeverity:
|
|
22998
23181
|
type: string
|
|
22999
|
-
description: Estimated end-user
|
|
23182
|
+
description: Estimated end-user severity of a site finding.
|
|
23000
23183
|
enum:
|
|
23001
23184
|
- low
|
|
23002
23185
|
- medium
|
|
23003
23186
|
- high
|
|
23004
|
-
|
|
23187
|
+
SiteFindingTitle:
|
|
23005
23188
|
type: string
|
|
23006
|
-
description: Short
|
|
23189
|
+
description: Short finding title
|
|
23007
23190
|
maxLength: 256
|
|
23008
|
-
|
|
23191
|
+
SiteFinding:
|
|
23009
23192
|
type: object
|
|
23010
23193
|
properties:
|
|
23011
23194
|
object:
|
|
23012
23195
|
type: string
|
|
23013
23196
|
enum:
|
|
23014
|
-
- site-
|
|
23197
|
+
- site-finding
|
|
23015
23198
|
id:
|
|
23016
23199
|
type: string
|
|
23017
|
-
description: The ID of the
|
|
23200
|
+
description: The ID of the finding
|
|
23201
|
+
scan:
|
|
23202
|
+
type: string
|
|
23203
|
+
description: The site scan ID associated with the finding
|
|
23018
23204
|
topic:
|
|
23019
23205
|
type: string
|
|
23020
|
-
description: The site topic ID associated with the
|
|
23206
|
+
description: The site topic ID associated with the finding
|
|
23021
23207
|
title:
|
|
23022
|
-
$ref: "#/components/schemas/
|
|
23208
|
+
$ref: "#/components/schemas/SiteFindingTitle"
|
|
23023
23209
|
changeRequests:
|
|
23024
23210
|
type: number
|
|
23025
|
-
description: Number of change requests linked to the
|
|
23211
|
+
description: Number of change requests linked to the finding
|
|
23026
23212
|
pages:
|
|
23027
23213
|
type: number
|
|
23028
|
-
description: Number of pages linked to the
|
|
23214
|
+
description: Number of pages linked to the finding
|
|
23029
23215
|
records:
|
|
23030
23216
|
type: number
|
|
23031
|
-
description: Number of records linked to the
|
|
23217
|
+
description: Number of records linked to the finding
|
|
23032
23218
|
questions:
|
|
23033
23219
|
type: number
|
|
23034
|
-
description: Number of questions linked to the
|
|
23220
|
+
description: Number of questions linked to the finding
|
|
23035
23221
|
status:
|
|
23036
|
-
$ref: "#/components/schemas/
|
|
23222
|
+
$ref: "#/components/schemas/SiteFindingStatus"
|
|
23037
23223
|
type:
|
|
23038
|
-
$ref: "#/components/schemas/
|
|
23039
|
-
|
|
23040
|
-
$ref: "#/components/schemas/
|
|
23224
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
23225
|
+
severity:
|
|
23226
|
+
$ref: "#/components/schemas/SiteFindingSeverity"
|
|
23041
23227
|
description:
|
|
23042
23228
|
$ref: "#/components/schemas/JSONDocument"
|
|
23043
23229
|
autoFixable:
|
|
23044
23230
|
type: boolean
|
|
23045
|
-
description: Whether an AI agent should be able to fix this
|
|
23231
|
+
description: Whether an AI agent should be able to fix this finding directly
|
|
23046
23232
|
createdAt:
|
|
23047
23233
|
$ref: "#/components/schemas/Timestamp"
|
|
23048
23234
|
updatedAt:
|
|
23049
23235
|
$ref: "#/components/schemas/Timestamp"
|
|
23050
23236
|
urls:
|
|
23051
23237
|
type: object
|
|
23052
|
-
description: URLs associated with the
|
|
23238
|
+
description: URLs associated with the finding
|
|
23053
23239
|
properties:
|
|
23054
23240
|
location:
|
|
23055
23241
|
type: string
|
|
23056
|
-
description: URL of the
|
|
23242
|
+
description: URL of the finding list endpoint in the API
|
|
23057
23243
|
format: uri
|
|
23058
23244
|
required:
|
|
23059
23245
|
- location
|
|
23060
23246
|
required:
|
|
23061
23247
|
- object
|
|
23062
23248
|
- id
|
|
23249
|
+
- scan
|
|
23063
23250
|
- topic
|
|
23064
23251
|
- title
|
|
23065
23252
|
- changeRequests
|
|
@@ -23068,19 +23255,19 @@ components:
|
|
|
23068
23255
|
- questions
|
|
23069
23256
|
- status
|
|
23070
23257
|
- type
|
|
23071
|
-
-
|
|
23258
|
+
- severity
|
|
23072
23259
|
- description
|
|
23073
23260
|
- autoFixable
|
|
23074
23261
|
- createdAt
|
|
23075
23262
|
- updatedAt
|
|
23076
23263
|
- urls
|
|
23077
|
-
|
|
23264
|
+
SiteFindingPage:
|
|
23078
23265
|
type: object
|
|
23079
23266
|
properties:
|
|
23080
23267
|
object:
|
|
23081
23268
|
type: string
|
|
23082
23269
|
enum:
|
|
23083
|
-
- site-
|
|
23270
|
+
- site-finding-page
|
|
23084
23271
|
spaceId:
|
|
23085
23272
|
type: string
|
|
23086
23273
|
description: The space ID containing the linked page.
|
|
@@ -23688,6 +23875,9 @@ components:
|
|
|
23688
23875
|
type: string
|
|
23689
23876
|
input:
|
|
23690
23877
|
type: object
|
|
23878
|
+
required:
|
|
23879
|
+
- text
|
|
23880
|
+
- raw
|
|
23691
23881
|
properties:
|
|
23692
23882
|
text:
|
|
23693
23883
|
type: string
|
|
@@ -24990,6 +25180,7 @@ components:
|
|
|
24990
25180
|
description: Context in which the event was recorded.
|
|
24991
25181
|
enum:
|
|
24992
25182
|
- site
|
|
25183
|
+
- server
|
|
24993
25184
|
- embed
|
|
24994
25185
|
- mcp
|
|
24995
25186
|
SiteInsightsEventLocation:
|
|
@@ -25000,7 +25191,7 @@ components:
|
|
|
25000
25191
|
description: URL of the location.
|
|
25001
25192
|
$ref: "#/components/schemas/URL"
|
|
25002
25193
|
displayContext:
|
|
25003
|
-
description: Whether the event was tracked on the site or an embed widget.
|
|
25194
|
+
description: Whether the event was tracked on the site, the server, or an embed widget.
|
|
25004
25195
|
$ref: "#/components/schemas/SiteInsightsDisplayContext"
|
|
25005
25196
|
default: site
|
|
25006
25197
|
siteSection:
|
|
@@ -25065,6 +25256,17 @@ components:
|
|
|
25065
25256
|
- page_view
|
|
25066
25257
|
required:
|
|
25067
25258
|
- type
|
|
25259
|
+
SiteInsightsEventPageMarkdownRequest:
|
|
25260
|
+
allOf:
|
|
25261
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25262
|
+
- type: object
|
|
25263
|
+
properties:
|
|
25264
|
+
type:
|
|
25265
|
+
type: string
|
|
25266
|
+
enum:
|
|
25267
|
+
- page_markdown_request
|
|
25268
|
+
required:
|
|
25269
|
+
- type
|
|
25068
25270
|
SiteInsightsEventSearchOpen:
|
|
25069
25271
|
allOf:
|
|
25070
25272
|
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
@@ -25348,9 +25550,51 @@ components:
|
|
|
25348
25550
|
required:
|
|
25349
25551
|
- type
|
|
25350
25552
|
- ad
|
|
25553
|
+
SiteInsightsLLMSVariant:
|
|
25554
|
+
type: string
|
|
25555
|
+
enum:
|
|
25556
|
+
- standard
|
|
25557
|
+
- full
|
|
25558
|
+
SiteInsightsEventLLMSRequest:
|
|
25559
|
+
allOf:
|
|
25560
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25561
|
+
- type: object
|
|
25562
|
+
properties:
|
|
25563
|
+
type:
|
|
25564
|
+
type: string
|
|
25565
|
+
enum:
|
|
25566
|
+
- llms_request
|
|
25567
|
+
llmsVariant:
|
|
25568
|
+
$ref: "#/components/schemas/SiteInsightsLLMSVariant"
|
|
25569
|
+
required:
|
|
25570
|
+
- type
|
|
25571
|
+
- llmsVariant
|
|
25572
|
+
SiteInsightsEventMCPRequest:
|
|
25573
|
+
allOf:
|
|
25574
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25575
|
+
- type: object
|
|
25576
|
+
properties:
|
|
25577
|
+
type:
|
|
25578
|
+
type: string
|
|
25579
|
+
enum:
|
|
25580
|
+
- mcp_request
|
|
25581
|
+
required:
|
|
25582
|
+
- type
|
|
25583
|
+
SiteInsightsEventRSSRequest:
|
|
25584
|
+
allOf:
|
|
25585
|
+
- $ref: "#/components/schemas/SiteInsightsEventBase"
|
|
25586
|
+
- type: object
|
|
25587
|
+
properties:
|
|
25588
|
+
type:
|
|
25589
|
+
type: string
|
|
25590
|
+
enum:
|
|
25591
|
+
- rss_request
|
|
25592
|
+
required:
|
|
25593
|
+
- type
|
|
25351
25594
|
SiteInsightsEvent:
|
|
25352
25595
|
oneOf:
|
|
25353
25596
|
- $ref: "#/components/schemas/SiteInsightsEventPageView"
|
|
25597
|
+
- $ref: "#/components/schemas/SiteInsightsEventPageMarkdownRequest"
|
|
25354
25598
|
- $ref: "#/components/schemas/SiteInsightsEventSearchOpen"
|
|
25355
25599
|
- $ref: "#/components/schemas/SiteInsightsEventSearchTypeQuery"
|
|
25356
25600
|
- $ref: "#/components/schemas/SiteInsightsEventSearchOpenResult"
|
|
@@ -25365,6 +25609,9 @@ components:
|
|
|
25365
25609
|
- $ref: "#/components/schemas/SiteInsightsEventTrademarkClick"
|
|
25366
25610
|
- $ref: "#/components/schemas/SiteInsightsEventAdClick"
|
|
25367
25611
|
- $ref: "#/components/schemas/SiteInsightsEventAdDisplay"
|
|
25612
|
+
- $ref: "#/components/schemas/SiteInsightsEventLLMSRequest"
|
|
25613
|
+
- $ref: "#/components/schemas/SiteInsightsEventMCPRequest"
|
|
25614
|
+
- $ref: "#/components/schemas/SiteInsightsEventRSSRequest"
|
|
25368
25615
|
SiteInsightsQueryDateTimeColumn:
|
|
25369
25616
|
type: object
|
|
25370
25617
|
required:
|
|
@@ -25572,6 +25819,14 @@ components:
|
|
|
25572
25819
|
type: string
|
|
25573
25820
|
enum:
|
|
25574
25821
|
- eventAPIOperationMethod
|
|
25822
|
+
- type: object
|
|
25823
|
+
required:
|
|
25824
|
+
- column
|
|
25825
|
+
properties:
|
|
25826
|
+
column:
|
|
25827
|
+
type: string
|
|
25828
|
+
enum:
|
|
25829
|
+
- eventLLMSVariant
|
|
25575
25830
|
- type: object
|
|
25576
25831
|
required:
|
|
25577
25832
|
- column
|
|
@@ -25731,6 +25986,7 @@ components:
|
|
|
25731
25986
|
type: string
|
|
25732
25987
|
enum:
|
|
25733
25988
|
- page_view
|
|
25989
|
+
- page_markdown_request
|
|
25734
25990
|
- search_open
|
|
25735
25991
|
- search_type_query
|
|
25736
25992
|
- search_open_result
|
|
@@ -25745,6 +26001,9 @@ components:
|
|
|
25745
26001
|
- ad_click
|
|
25746
26002
|
- ad_display
|
|
25747
26003
|
- trademark_click
|
|
26004
|
+
- llms_request
|
|
26005
|
+
- mcp_request
|
|
26006
|
+
- rss_request
|
|
25748
26007
|
SiteInsightsVisitorBrowser:
|
|
25749
26008
|
type: string
|
|
25750
26009
|
enum:
|
|
@@ -26026,6 +26285,21 @@ components:
|
|
|
26026
26285
|
type:
|
|
26027
26286
|
- string
|
|
26028
26287
|
- "null"
|
|
26288
|
+
- type: object
|
|
26289
|
+
required:
|
|
26290
|
+
- column
|
|
26291
|
+
- values
|
|
26292
|
+
properties:
|
|
26293
|
+
column:
|
|
26294
|
+
type: string
|
|
26295
|
+
enum:
|
|
26296
|
+
- eventLLMSVariant
|
|
26297
|
+
values:
|
|
26298
|
+
type: array
|
|
26299
|
+
items:
|
|
26300
|
+
oneOf:
|
|
26301
|
+
- type: "null"
|
|
26302
|
+
- $ref: "#/components/schemas/SiteInsightsLLMSVariant"
|
|
26029
26303
|
- type: object
|
|
26030
26304
|
required:
|
|
26031
26305
|
- column
|
|
@@ -29225,6 +29499,13 @@ components:
|
|
|
29225
29499
|
- changeRequest
|
|
29226
29500
|
- reviews
|
|
29227
29501
|
- actor
|
|
29502
|
+
LocalizedString:
|
|
29503
|
+
type: object
|
|
29504
|
+
description: Localized string value, keyed by locale. Contains overrides for non-default languages only.
|
|
29505
|
+
propertyNames:
|
|
29506
|
+
$ref: "#/components/schemas/TranslationLanguage"
|
|
29507
|
+
additionalProperties:
|
|
29508
|
+
type: string
|
|
29228
29509
|
RequestSpaceTrackPageView:
|
|
29229
29510
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
29230
29511
|
RequestSiteTrackPageView:
|