@gitbook/api 0.193.0 → 0.195.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 +380 -58
- package/dist/constants.d.ts +6 -5
- package/dist/index.cjs +24 -7
- package/dist/index.js +22 -7
- package/package.json +1 -1
- package/spec/openapi.json +1100 -156
- package/spec/openapi.yaml +767 -110
package/spec/openapi.yaml
CHANGED
|
@@ -2375,6 +2375,7 @@ paths:
|
|
|
2375
2375
|
summary: Apply a batch of content changes to a change request
|
|
2376
2376
|
description: |-
|
|
2377
2377
|
Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.
|
|
2378
|
+
To put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.
|
|
2378
2379
|
When page content is provided as markdown, links to other pages are resolved against the change request's current page tree. You can link a page by:
|
|
2379
2380
|
- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).
|
|
2380
2381
|
- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`
|
|
@@ -5832,6 +5833,7 @@ paths:
|
|
|
5832
5833
|
get:
|
|
5833
5834
|
operationId: listOrganizationIntegrationsStatus
|
|
5834
5835
|
summary: List all integration statuses
|
|
5836
|
+
description: Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource.
|
|
5835
5837
|
tags:
|
|
5836
5838
|
- integrations
|
|
5837
5839
|
- critical
|
|
@@ -5849,6 +5851,16 @@ paths:
|
|
|
5849
5851
|
- organization
|
|
5850
5852
|
- space
|
|
5851
5853
|
- site
|
|
5854
|
+
- name: site
|
|
5855
|
+
in: query
|
|
5856
|
+
description: Return installations for this site. Only valid when target is site.
|
|
5857
|
+
schema:
|
|
5858
|
+
type: string
|
|
5859
|
+
- name: space
|
|
5860
|
+
in: query
|
|
5861
|
+
description: Return installations for this space. Only valid when target is space.
|
|
5862
|
+
schema:
|
|
5863
|
+
type: string
|
|
5852
5864
|
responses:
|
|
5853
5865
|
"200":
|
|
5854
5866
|
description: List of installed integrations and their statuses
|
|
@@ -8664,9 +8676,11 @@ paths:
|
|
|
8664
8676
|
$ref: "#/components/schemas/SiteFindingStatus"
|
|
8665
8677
|
- name: type
|
|
8666
8678
|
in: query
|
|
8667
|
-
description: Filter findings by type.
|
|
8679
|
+
description: Filter findings by type. When multiple types are given, findings matching any of them are returned.
|
|
8668
8680
|
schema:
|
|
8669
|
-
|
|
8681
|
+
type: array
|
|
8682
|
+
items:
|
|
8683
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
8670
8684
|
- name: severity
|
|
8671
8685
|
in: query
|
|
8672
8686
|
description: Filter findings by estimated severity.
|
|
@@ -8686,6 +8700,18 @@ paths:
|
|
|
8686
8700
|
oneOf:
|
|
8687
8701
|
- $ref: "#/components/schemas/SiteTriageFilterQuestions"
|
|
8688
8702
|
- $ref: "#/components/schemas/SiteTriageFilterConnections"
|
|
8703
|
+
- name: updatedAfter
|
|
8704
|
+
in: query
|
|
8705
|
+
description: Only return findings last updated at or after this date.
|
|
8706
|
+
schema:
|
|
8707
|
+
type: string
|
|
8708
|
+
format: date-time
|
|
8709
|
+
- name: updatedBefore
|
|
8710
|
+
in: query
|
|
8711
|
+
description: Only return findings last updated before this date.
|
|
8712
|
+
schema:
|
|
8713
|
+
type: string
|
|
8714
|
+
format: date-time
|
|
8689
8715
|
- name: orderBy
|
|
8690
8716
|
in: query
|
|
8691
8717
|
description: Sort findings by the given field.
|
|
@@ -8929,9 +8955,11 @@ paths:
|
|
|
8929
8955
|
$ref: "#/components/schemas/SiteFindingStatus"
|
|
8930
8956
|
- name: type
|
|
8931
8957
|
in: query
|
|
8932
|
-
description: Filter findings by type.
|
|
8958
|
+
description: Filter findings by type. When multiple types are given, findings matching any of them are returned.
|
|
8933
8959
|
schema:
|
|
8934
|
-
|
|
8960
|
+
type: array
|
|
8961
|
+
items:
|
|
8962
|
+
$ref: "#/components/schemas/SiteFindingType"
|
|
8935
8963
|
- name: severity
|
|
8936
8964
|
in: query
|
|
8937
8965
|
description: Filter findings by estimated severity.
|
|
@@ -11830,7 +11858,15 @@ paths:
|
|
|
11830
11858
|
content:
|
|
11831
11859
|
application/json:
|
|
11832
11860
|
schema:
|
|
11833
|
-
|
|
11861
|
+
allOf:
|
|
11862
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
11863
|
+
- type: object
|
|
11864
|
+
properties:
|
|
11865
|
+
childInstallationProjectDirectories:
|
|
11866
|
+
type: object
|
|
11867
|
+
description: Project directories keyed by child installation ID for a site installation.
|
|
11868
|
+
additionalProperties:
|
|
11869
|
+
type: string
|
|
11834
11870
|
responses:
|
|
11835
11871
|
"200":
|
|
11836
11872
|
description: Git Sync installation was updated successfully
|
|
@@ -12985,6 +13021,20 @@ components:
|
|
|
12985
13021
|
enum:
|
|
12986
13022
|
- export
|
|
12987
13023
|
- import
|
|
13024
|
+
GitSyncOperationErrorAction:
|
|
13025
|
+
type: object
|
|
13026
|
+
description: An action the user can take to resolve a failed Git Sync operation.
|
|
13027
|
+
properties:
|
|
13028
|
+
label:
|
|
13029
|
+
type: string
|
|
13030
|
+
description: Label for the action.
|
|
13031
|
+
url:
|
|
13032
|
+
type: string
|
|
13033
|
+
format: uri
|
|
13034
|
+
description: URL where the user can resolve the failure.
|
|
13035
|
+
required:
|
|
13036
|
+
- label
|
|
13037
|
+
- url
|
|
12988
13038
|
GitSyncState:
|
|
12989
13039
|
type: object
|
|
12990
13040
|
properties:
|
|
@@ -13023,6 +13073,8 @@ components:
|
|
|
13023
13073
|
error:
|
|
13024
13074
|
type: string
|
|
13025
13075
|
description: Why the operation failed, when it did.
|
|
13076
|
+
errorAction:
|
|
13077
|
+
$ref: "#/components/schemas/GitSyncOperationErrorAction"
|
|
13026
13078
|
required:
|
|
13027
13079
|
- state
|
|
13028
13080
|
- direction
|
|
@@ -18195,7 +18247,7 @@ components:
|
|
|
18195
18247
|
|
|
18196
18248
|
This is a markdown document linking to [another page](/pages/page_id).
|
|
18197
18249
|
ChangeRequestContentChangeInsertPage:
|
|
18198
|
-
description: Insert a new page into the change request.
|
|
18250
|
+
description: Insert a new page into the change request. The title is taken from `title`, or, when the document is markdown, from the document's frontmatter or leading heading (which take precedence, matching Git Sync). When no title can be resolved, the page falls back to a default title.
|
|
18199
18251
|
allOf:
|
|
18200
18252
|
- $ref: "#/components/schemas/RevisionPageUpdate"
|
|
18201
18253
|
- type: object
|
|
@@ -18270,12 +18322,68 @@ components:
|
|
|
18270
18322
|
example:
|
|
18271
18323
|
operation: revert_page
|
|
18272
18324
|
page: page_id
|
|
18325
|
+
ChangeRequestContentChangeInsertFiles:
|
|
18326
|
+
type: object
|
|
18327
|
+
description: Upload files (images or attachments) into the change request. A document references one as `` or `[Label](/files/<fileId>)` — use a `ref` to reference it from a later change in the same batch, or read the generated IDs from `insertedFiles`.
|
|
18328
|
+
required:
|
|
18329
|
+
- operation
|
|
18330
|
+
- files
|
|
18331
|
+
properties:
|
|
18332
|
+
operation:
|
|
18333
|
+
type: string
|
|
18334
|
+
enum:
|
|
18335
|
+
- insert_files
|
|
18336
|
+
files:
|
|
18337
|
+
type: array
|
|
18338
|
+
minItems: 1
|
|
18339
|
+
maxItems: 20
|
|
18340
|
+
items:
|
|
18341
|
+
type: object
|
|
18342
|
+
description: "A file to upload. Set exactly one source: `url` (GitBook fetches it) or `base64` (inline bytes, max 1MB). Prefer `url`."
|
|
18343
|
+
required:
|
|
18344
|
+
- name
|
|
18345
|
+
properties:
|
|
18346
|
+
ref:
|
|
18347
|
+
type: string
|
|
18348
|
+
description: Temporary local reference for the file, used only for the lifetime of this request and never persisted. Pages inserted in the same batch can link to this file by its ref (e.g. `[File](./<ref>)`), which resolves to the file's ID at apply time — regardless of operation order or the file's eventual path. A ref must be unique within the batch and must not collide a page ref in the batch or an existing page path.
|
|
18349
|
+
name:
|
|
18350
|
+
type: string
|
|
18351
|
+
minLength: 1
|
|
18352
|
+
maxLength: 256
|
|
18353
|
+
description: Filename to store the file under, including its extension.
|
|
18354
|
+
contentType:
|
|
18355
|
+
type: string
|
|
18356
|
+
description: MIME type. Required with `base64`; overrides the source's own type otherwise.
|
|
18357
|
+
oneOf:
|
|
18358
|
+
- type: object
|
|
18359
|
+
properties:
|
|
18360
|
+
url:
|
|
18361
|
+
type: string
|
|
18362
|
+
format: uri
|
|
18363
|
+
maxLength: 2048
|
|
18364
|
+
description: Public http(s) URL to fetch the file from. A URL resolving to a private or reserved address is rejected — send internally hosted bytes with `base64` instead.
|
|
18365
|
+
required:
|
|
18366
|
+
- url
|
|
18367
|
+
- type: object
|
|
18368
|
+
properties:
|
|
18369
|
+
base64:
|
|
18370
|
+
type: string
|
|
18371
|
+
description: Base64-encoded bytes, max 1MB. Requires `contentType`.
|
|
18372
|
+
required:
|
|
18373
|
+
- base64
|
|
18374
|
+
example:
|
|
18375
|
+
operation: insert_files
|
|
18376
|
+
files:
|
|
18377
|
+
- ref: architecture.png
|
|
18378
|
+
name: architecture.png
|
|
18379
|
+
url: https://example.com/architecture.png
|
|
18273
18380
|
ChangeRequestContentChange:
|
|
18274
18381
|
oneOf:
|
|
18275
18382
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18276
18383
|
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18277
18384
|
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
18278
18385
|
- $ref: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
18386
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
18279
18387
|
discriminator:
|
|
18280
18388
|
propertyName: operation
|
|
18281
18389
|
mapping:
|
|
@@ -18283,6 +18391,7 @@ components:
|
|
|
18283
18391
|
insert_page: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18284
18392
|
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
18285
18393
|
revert_page: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
18394
|
+
insert_files: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
18286
18395
|
ChangeRequestContentUpdatePageRef:
|
|
18287
18396
|
type: object
|
|
18288
18397
|
required:
|
|
@@ -18381,6 +18490,11 @@ components:
|
|
|
18381
18490
|
description: One entry per affected page (deduplicated), in the order the pages were first touched by the batch.
|
|
18382
18491
|
items:
|
|
18383
18492
|
$ref: "#/components/schemas/ChangeRequestContentUpdateChange"
|
|
18493
|
+
insertedFiles:
|
|
18494
|
+
type: array
|
|
18495
|
+
description: Files created by the `insert_files` changes in this batch, in the order they were inserted. Use their IDs to reference them from a document.
|
|
18496
|
+
items:
|
|
18497
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
18384
18498
|
RevisionPageType:
|
|
18385
18499
|
type: string
|
|
18386
18500
|
enum:
|
|
@@ -19210,6 +19324,15 @@ components:
|
|
|
19210
19324
|
type: boolean
|
|
19211
19325
|
required:
|
|
19212
19326
|
- enabled
|
|
19327
|
+
BillingCreditsBundle:
|
|
19328
|
+
type: string
|
|
19329
|
+
description: The AI credit bundle to top up every month
|
|
19330
|
+
enum:
|
|
19331
|
+
- none
|
|
19332
|
+
- 13500_1500
|
|
19333
|
+
- 24000_6000
|
|
19334
|
+
- 42000_18000
|
|
19335
|
+
- 60000_40000
|
|
19213
19336
|
OrganizationBilling:
|
|
19214
19337
|
type: object
|
|
19215
19338
|
properties:
|
|
@@ -19271,6 +19394,18 @@ components:
|
|
|
19271
19394
|
canUseSAML:
|
|
19272
19395
|
description: Whether configuring SAML is allowed
|
|
19273
19396
|
type: boolean
|
|
19397
|
+
creditsBundle:
|
|
19398
|
+
description: The AI credit bundle the organization tops up every month, or null when the organization is not billed for AI usage. `none` means pay as you go.
|
|
19399
|
+
oneOf:
|
|
19400
|
+
- $ref: "#/components/schemas/BillingCreditsBundle"
|
|
19401
|
+
- type: "null"
|
|
19402
|
+
aiCreditAlertThreshold:
|
|
19403
|
+
description: Percentage of total AI credits remaining at which to send a low-balance alert, or null when the alert is disabled.
|
|
19404
|
+
oneOf:
|
|
19405
|
+
- type: number
|
|
19406
|
+
minimum: 0
|
|
19407
|
+
maximum: 100
|
|
19408
|
+
- type: "null"
|
|
19274
19409
|
required:
|
|
19275
19410
|
- interval
|
|
19276
19411
|
- endDate
|
|
@@ -19281,6 +19416,8 @@ components:
|
|
|
19281
19416
|
- usageAddons
|
|
19282
19417
|
- canChangeInterval
|
|
19283
19418
|
- canUseSAML
|
|
19419
|
+
- creditsBundle
|
|
19420
|
+
- aiCreditAlertThreshold
|
|
19284
19421
|
BillingTrialStatus:
|
|
19285
19422
|
type: string
|
|
19286
19423
|
description: |
|
|
@@ -20897,11 +21034,14 @@ components:
|
|
|
20897
21034
|
- sites-ai-search
|
|
20898
21035
|
- sites-ai-assistant
|
|
20899
21036
|
- sites-ai-insights
|
|
21037
|
+
- sites-fix-broken-links
|
|
20900
21038
|
- sites-connections
|
|
21039
|
+
- sites-content-gaps
|
|
20901
21040
|
- sites-channels
|
|
20902
21041
|
- sites-embed
|
|
20903
21042
|
- sites-api-playground
|
|
20904
21043
|
- sites-basic-customization
|
|
21044
|
+
- sites-broken-links
|
|
20905
21045
|
- sites-custom-domain
|
|
20906
21046
|
- sites-custom-fonts
|
|
20907
21047
|
- sites-custom-subdirectory
|
|
@@ -21025,6 +21165,12 @@ components:
|
|
|
21025
21165
|
createdAt:
|
|
21026
21166
|
type: string
|
|
21027
21167
|
format: date-time
|
|
21168
|
+
lastScanAt:
|
|
21169
|
+
type: string
|
|
21170
|
+
format: date-time
|
|
21171
|
+
description: |
|
|
21172
|
+
When GitBook last completed a scan of the site's content
|
|
21173
|
+
gaps. Absent until the site has been scanned at least once.
|
|
21028
21174
|
adaptiveContent:
|
|
21029
21175
|
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
21030
21176
|
ads:
|
|
@@ -22643,6 +22789,8 @@ components:
|
|
|
22643
22789
|
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
|
|
22644
22790
|
items:
|
|
22645
22791
|
$ref: "#/components/schemas/BillingMeter"
|
|
22792
|
+
creditsBundle:
|
|
22793
|
+
$ref: "#/components/schemas/BillingCreditsBundle"
|
|
22646
22794
|
mode:
|
|
22647
22795
|
type: string
|
|
22648
22796
|
description: |
|
|
@@ -22653,6 +22801,75 @@ components:
|
|
|
22653
22801
|
required:
|
|
22654
22802
|
- product
|
|
22655
22803
|
- interval
|
|
22804
|
+
BillingInvoiceSummaryLine:
|
|
22805
|
+
type: object
|
|
22806
|
+
description: A product line of an invoice, enriched and normalized for the billing summary UI.
|
|
22807
|
+
properties:
|
|
22808
|
+
description:
|
|
22809
|
+
description: How Stripe describes the line, as a fallback for lines the client cannot label itself.
|
|
22810
|
+
type: string
|
|
22811
|
+
amount:
|
|
22812
|
+
type: number
|
|
22813
|
+
quantity:
|
|
22814
|
+
description: How many units the line bills, such as the number of members.
|
|
22815
|
+
type: number
|
|
22816
|
+
siteType:
|
|
22817
|
+
description: Which kind of site a `sites` line bills for.
|
|
22818
|
+
$ref: "#/components/schemas/SiteType"
|
|
22819
|
+
unitAmount:
|
|
22820
|
+
description: Price of a single unit, over the period the line covers.
|
|
22821
|
+
type: number
|
|
22822
|
+
periodStart:
|
|
22823
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22824
|
+
periodEnd:
|
|
22825
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22826
|
+
category:
|
|
22827
|
+
type: string
|
|
22828
|
+
description: What the invoice line is billing for, so a preview can be grouped by product area.
|
|
22829
|
+
enum:
|
|
22830
|
+
- members
|
|
22831
|
+
- sites
|
|
22832
|
+
- addons
|
|
22833
|
+
- credits
|
|
22834
|
+
- usage
|
|
22835
|
+
- watermark_removal
|
|
22836
|
+
- other
|
|
22837
|
+
required:
|
|
22838
|
+
- amount
|
|
22839
|
+
- description
|
|
22840
|
+
- periodStart
|
|
22841
|
+
- periodEnd
|
|
22842
|
+
- category
|
|
22843
|
+
BillingInvoiceAdjustment:
|
|
22844
|
+
type: object
|
|
22845
|
+
description: An amount adjusting an invoice, summed across everything of its type.
|
|
22846
|
+
properties:
|
|
22847
|
+
type:
|
|
22848
|
+
type: string
|
|
22849
|
+
description: What adjusts the amount an invoice bills, beyond the products it lists. `proration` is the net of the mid-period changes, and `balance` the credit applied from the customer's balance.
|
|
22850
|
+
enum:
|
|
22851
|
+
- proration
|
|
22852
|
+
- watermark_removal
|
|
22853
|
+
- balance
|
|
22854
|
+
amount:
|
|
22855
|
+
description: The adjustment, negative when it reduces the amount billed.
|
|
22856
|
+
type: number
|
|
22857
|
+
required:
|
|
22858
|
+
- type
|
|
22859
|
+
- amount
|
|
22860
|
+
BillingCreditsTotals:
|
|
22861
|
+
type: object
|
|
22862
|
+
description: A total of AI credits, and how much of it is left.
|
|
22863
|
+
properties:
|
|
22864
|
+
grantedCredits:
|
|
22865
|
+
description: Credits granted for the current AI billing period.
|
|
22866
|
+
type: number
|
|
22867
|
+
remainingCredits:
|
|
22868
|
+
description: Credits still available of those granted.
|
|
22869
|
+
type: number
|
|
22870
|
+
required:
|
|
22871
|
+
- grantedCredits
|
|
22872
|
+
- remainingCredits
|
|
22656
22873
|
BillingInvoicePreview:
|
|
22657
22874
|
type: object
|
|
22658
22875
|
properties:
|
|
@@ -22690,6 +22907,154 @@ components:
|
|
|
22690
22907
|
- description
|
|
22691
22908
|
- periodStart
|
|
22692
22909
|
- periodEnd
|
|
22910
|
+
summary:
|
|
22911
|
+
type: object
|
|
22912
|
+
description: Structured representation of the invoice for the current billing summary UI.
|
|
22913
|
+
properties:
|
|
22914
|
+
lines:
|
|
22915
|
+
type: array
|
|
22916
|
+
description: Product lines enriched and normalized for the billing summary UI.
|
|
22917
|
+
items:
|
|
22918
|
+
$ref: "#/components/schemas/BillingInvoiceSummaryLine"
|
|
22919
|
+
adjustments:
|
|
22920
|
+
type: array
|
|
22921
|
+
description: What adjusts the amount billed beyond the products listed, each summed across its type. Only the ones that apply are returned.
|
|
22922
|
+
items:
|
|
22923
|
+
$ref: "#/components/schemas/BillingInvoiceAdjustment"
|
|
22924
|
+
creditGrants:
|
|
22925
|
+
type: array
|
|
22926
|
+
description: AI credits available for the current AI billing period. Empty when the organization is not billed for AI usage.
|
|
22927
|
+
items:
|
|
22928
|
+
type: object
|
|
22929
|
+
description: AI credits granted to the organization for the current AI billing period.
|
|
22930
|
+
properties:
|
|
22931
|
+
type:
|
|
22932
|
+
type: string
|
|
22933
|
+
description: Where the credits come from. `paid` is the credits the monthly bundle pays for, `bonus` the ones included with it, `site` the allowance of the organization's published paid sites, and `rollover` what was left of the previous period.
|
|
22934
|
+
enum:
|
|
22935
|
+
- paid
|
|
22936
|
+
- bonus
|
|
22937
|
+
- site
|
|
22938
|
+
- rollover
|
|
22939
|
+
grantedCredits:
|
|
22940
|
+
description: Credits the grant was created with.
|
|
22941
|
+
type: number
|
|
22942
|
+
usedCredits:
|
|
22943
|
+
description: Credits of the grant spent by the usage metered so far.
|
|
22944
|
+
type: number
|
|
22945
|
+
remainingCredits:
|
|
22946
|
+
description: Credits of the grant still available.
|
|
22947
|
+
type: number
|
|
22948
|
+
sites:
|
|
22949
|
+
description: For a `site` grant, the published sites the credits come from.
|
|
22950
|
+
type: array
|
|
22951
|
+
items:
|
|
22952
|
+
type: object
|
|
22953
|
+
description: The published sites of one type that the grant comes from.
|
|
22954
|
+
properties:
|
|
22955
|
+
siteType:
|
|
22956
|
+
$ref: "#/components/schemas/SiteType"
|
|
22957
|
+
count:
|
|
22958
|
+
description: How many sites of this type are published.
|
|
22959
|
+
type: number
|
|
22960
|
+
creditsPerSite:
|
|
22961
|
+
description: Credits included with one site of this type.
|
|
22962
|
+
type: number
|
|
22963
|
+
grantedCredits:
|
|
22964
|
+
description: Credits these sites contribute to the grant.
|
|
22965
|
+
type: number
|
|
22966
|
+
required:
|
|
22967
|
+
- siteType
|
|
22968
|
+
- count
|
|
22969
|
+
- creditsPerSite
|
|
22970
|
+
- grantedCredits
|
|
22971
|
+
required:
|
|
22972
|
+
- type
|
|
22973
|
+
- grantedCredits
|
|
22974
|
+
- usedCredits
|
|
22975
|
+
- remainingCredits
|
|
22976
|
+
credits:
|
|
22977
|
+
type: object
|
|
22978
|
+
description: The AI credits of the current billing period, grouped the ways the billing screens display them.
|
|
22979
|
+
properties:
|
|
22980
|
+
grantedCredits:
|
|
22981
|
+
description: Credits granted across every grant.
|
|
22982
|
+
type: number
|
|
22983
|
+
usedCredits:
|
|
22984
|
+
description: Credits spent by the usage metered so far.
|
|
22985
|
+
type: number
|
|
22986
|
+
remainingCredits:
|
|
22987
|
+
description: Credits still available across every grant.
|
|
22988
|
+
type: number
|
|
22989
|
+
coveredAmount:
|
|
22990
|
+
description: Part of the metered AI usage paid by credits rather than billed, as a positive amount.
|
|
22991
|
+
type: number
|
|
22992
|
+
paid:
|
|
22993
|
+
description: The credits the organization pays for.
|
|
22994
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
22995
|
+
free:
|
|
22996
|
+
description: The credits included at no extra cost, from the bundle, sites and rollover.
|
|
22997
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
22998
|
+
bundle:
|
|
22999
|
+
description: The credits of the monthly bundle, both paid and bonus.
|
|
23000
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
23001
|
+
required:
|
|
23002
|
+
- grantedCredits
|
|
23003
|
+
- usedCredits
|
|
23004
|
+
- remainingCredits
|
|
23005
|
+
- coveredAmount
|
|
23006
|
+
- paid
|
|
23007
|
+
- free
|
|
23008
|
+
- bundle
|
|
23009
|
+
chargeDate:
|
|
23010
|
+
description: When the upcoming invoice is charged.
|
|
23011
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23012
|
+
renewal:
|
|
23013
|
+
description: The renewal invoice, when the plan and the AI usage bill on different cadences. Absent when a single invoice covers everything.
|
|
23014
|
+
type: object
|
|
23015
|
+
properties:
|
|
23016
|
+
lines:
|
|
23017
|
+
type: array
|
|
23018
|
+
description: Product lines of the renewal invoice.
|
|
23019
|
+
items:
|
|
23020
|
+
$ref: "#/components/schemas/BillingInvoiceSummaryLine"
|
|
23021
|
+
adjustments:
|
|
23022
|
+
type: array
|
|
23023
|
+
description: What adjusts the renewal beyond the products listed. Prorations and the customer balance are reported on the upcoming invoice instead.
|
|
23024
|
+
items:
|
|
23025
|
+
$ref: "#/components/schemas/BillingInvoiceAdjustment"
|
|
23026
|
+
discounts:
|
|
23027
|
+
type: array
|
|
23028
|
+
description: Discounts still applying when the subscription renews.
|
|
23029
|
+
items:
|
|
23030
|
+
type: object
|
|
23031
|
+
properties:
|
|
23032
|
+
description:
|
|
23033
|
+
description: The description of the applied discount.
|
|
23034
|
+
type: string
|
|
23035
|
+
amount:
|
|
23036
|
+
description: The amount of the applied discount.
|
|
23037
|
+
type: number
|
|
23038
|
+
required:
|
|
23039
|
+
- amount
|
|
23040
|
+
- description
|
|
23041
|
+
amount:
|
|
23042
|
+
description: Total owed for the renewal invoice.
|
|
23043
|
+
type: number
|
|
23044
|
+
chargeDate:
|
|
23045
|
+
description: When the renewal invoice is charged.
|
|
23046
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23047
|
+
required:
|
|
23048
|
+
- lines
|
|
23049
|
+
- adjustments
|
|
23050
|
+
- discounts
|
|
23051
|
+
- amount
|
|
23052
|
+
- chargeDate
|
|
23053
|
+
required:
|
|
23054
|
+
- lines
|
|
23055
|
+
- adjustments
|
|
23056
|
+
- creditGrants
|
|
23057
|
+
- credits
|
|
22693
23058
|
discounts:
|
|
22694
23059
|
type: array
|
|
22695
23060
|
description: Discounts applied to the subscription.
|
|
@@ -22712,6 +23077,7 @@ components:
|
|
|
22712
23077
|
- customerBalance
|
|
22713
23078
|
- remainingCustomerBalance
|
|
22714
23079
|
- lines
|
|
23080
|
+
- summary
|
|
22715
23081
|
BillingUpgrade:
|
|
22716
23082
|
oneOf:
|
|
22717
23083
|
- type: object
|
|
@@ -22934,17 +23300,56 @@ components:
|
|
|
22934
23300
|
type: boolean
|
|
22935
23301
|
enum:
|
|
22936
23302
|
- true
|
|
23303
|
+
InstalledIntegrationTarget:
|
|
23304
|
+
description: The resource on which an integration is installed.
|
|
23305
|
+
oneOf:
|
|
23306
|
+
- type: object
|
|
23307
|
+
required:
|
|
23308
|
+
- type
|
|
23309
|
+
- organizationId
|
|
23310
|
+
properties:
|
|
23311
|
+
type:
|
|
23312
|
+
type: string
|
|
23313
|
+
enum:
|
|
23314
|
+
- organization
|
|
23315
|
+
organizationId:
|
|
23316
|
+
type: string
|
|
23317
|
+
- type: object
|
|
23318
|
+
required:
|
|
23319
|
+
- type
|
|
23320
|
+
- siteId
|
|
23321
|
+
properties:
|
|
23322
|
+
type:
|
|
23323
|
+
type: string
|
|
23324
|
+
enum:
|
|
23325
|
+
- site
|
|
23326
|
+
siteId:
|
|
23327
|
+
type: string
|
|
23328
|
+
- type: object
|
|
23329
|
+
required:
|
|
23330
|
+
- type
|
|
23331
|
+
- spaceId
|
|
23332
|
+
properties:
|
|
23333
|
+
type:
|
|
23334
|
+
type: string
|
|
23335
|
+
enum:
|
|
23336
|
+
- space
|
|
23337
|
+
spaceId:
|
|
23338
|
+
type: string
|
|
22937
23339
|
InstalledIntegration:
|
|
22938
23340
|
type: object
|
|
22939
|
-
description: An
|
|
23341
|
+
description: An integration installation, its current status, and the resource it targets.
|
|
22940
23342
|
required:
|
|
22941
23343
|
- status
|
|
22942
23344
|
- integration
|
|
23345
|
+
- target
|
|
22943
23346
|
properties:
|
|
22944
23347
|
status:
|
|
22945
23348
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
22946
23349
|
integration:
|
|
22947
23350
|
$ref: "#/components/schemas/Integration"
|
|
23351
|
+
target:
|
|
23352
|
+
$ref: "#/components/schemas/InstalledIntegrationTarget"
|
|
22948
23353
|
SAMLProviderLabel:
|
|
22949
23354
|
type: string
|
|
22950
23355
|
minLength: 1
|
|
@@ -24034,11 +24439,10 @@ components:
|
|
|
24034
24439
|
description: Optional template used when generating commit messages.
|
|
24035
24440
|
previewExternalBranches:
|
|
24036
24441
|
type: boolean
|
|
24037
|
-
|
|
24038
|
-
description: Whether previews should be generated from branches outside the configured branch.
|
|
24442
|
+
description: Whether previews should be generated from branches outside the configured branch. For space installations belonging to a parent installation, this field is inherited from the parent installation and cannot be set.
|
|
24039
24443
|
agentInstructions:
|
|
24040
24444
|
type: array
|
|
24041
|
-
description: Agent instruction files GitBook should always export at the repository root.
|
|
24445
|
+
description: Agent instruction files GitBook should always export at the repository root. For space installations belonging to a parent installation, this field is inherited from the parent installation and cannot be set.
|
|
24042
24446
|
items:
|
|
24043
24447
|
type: string
|
|
24044
24448
|
enum:
|
|
@@ -24237,6 +24641,46 @@ components:
|
|
|
24237
24641
|
- name
|
|
24238
24642
|
- type
|
|
24239
24643
|
- updatedAt
|
|
24644
|
+
GitSyncRoot:
|
|
24645
|
+
type: object
|
|
24646
|
+
description: A repository-backed review and permission boundary for GitBook content.
|
|
24647
|
+
properties:
|
|
24648
|
+
object:
|
|
24649
|
+
type: string
|
|
24650
|
+
enum:
|
|
24651
|
+
- git-sync-root
|
|
24652
|
+
id:
|
|
24653
|
+
type: string
|
|
24654
|
+
description: Unique identifier of the Sync Root.
|
|
24655
|
+
installationId:
|
|
24656
|
+
type: string
|
|
24657
|
+
description: Unique identifier of the top-level installation that owns this Sync Root.
|
|
24658
|
+
target:
|
|
24659
|
+
$ref: "#/components/schemas/GitSyncInstallationTarget"
|
|
24660
|
+
defaultMergeAuthorityPolicy:
|
|
24661
|
+
type: string
|
|
24662
|
+
enum:
|
|
24663
|
+
- provider
|
|
24664
|
+
- gitbook
|
|
24665
|
+
description: System responsible for completing merges by default for this Sync Root.
|
|
24666
|
+
status:
|
|
24667
|
+
type: string
|
|
24668
|
+
enum:
|
|
24669
|
+
- active
|
|
24670
|
+
- disabled
|
|
24671
|
+
createdAt:
|
|
24672
|
+
$ref: "#/components/schemas/Timestamp"
|
|
24673
|
+
updatedAt:
|
|
24674
|
+
$ref: "#/components/schemas/Timestamp"
|
|
24675
|
+
required:
|
|
24676
|
+
- object
|
|
24677
|
+
- id
|
|
24678
|
+
- installationId
|
|
24679
|
+
- target
|
|
24680
|
+
- defaultMergeAuthorityPolicy
|
|
24681
|
+
- status
|
|
24682
|
+
- createdAt
|
|
24683
|
+
- updatedAt
|
|
24240
24684
|
GitSyncInstallation:
|
|
24241
24685
|
allOf:
|
|
24242
24686
|
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
@@ -24260,6 +24704,9 @@ components:
|
|
|
24260
24704
|
$ref: "#/components/schemas/GitRepositoryConnection"
|
|
24261
24705
|
repositoryRef:
|
|
24262
24706
|
$ref: "#/components/schemas/GitRepositoryRef"
|
|
24707
|
+
syncRoot:
|
|
24708
|
+
$ref: "#/components/schemas/GitSyncRoot"
|
|
24709
|
+
description: Effective Sync Root for this installation, inherited from its parent when present.
|
|
24263
24710
|
createdAt:
|
|
24264
24711
|
$ref: "#/components/schemas/Timestamp"
|
|
24265
24712
|
createdBy:
|
|
@@ -24820,6 +25267,10 @@ components:
|
|
|
24820
25267
|
- none
|
|
24821
25268
|
- search
|
|
24822
25269
|
- assistant
|
|
25270
|
+
CustomizationAIGreeting:
|
|
25271
|
+
type: string
|
|
25272
|
+
description: Initial greeting displayed by the AI Assistant when a visitor starts a conversation.
|
|
25273
|
+
maxLength: 256
|
|
24823
25274
|
CustomizationSuggestedQuestion:
|
|
24824
25275
|
type: string
|
|
24825
25276
|
minLength: 3
|
|
@@ -25062,6 +25513,10 @@ components:
|
|
|
25062
25513
|
properties:
|
|
25063
25514
|
mode:
|
|
25064
25515
|
$ref: "#/components/schemas/CustomizationAIMode"
|
|
25516
|
+
greeting:
|
|
25517
|
+
$ref: "#/components/schemas/CustomizationAIGreeting"
|
|
25518
|
+
localizedGreeting:
|
|
25519
|
+
$ref: "#/components/schemas/LocalizedString128"
|
|
25065
25520
|
suggestions:
|
|
25066
25521
|
$ref: "#/components/schemas/CustomizationSuggestedQuestions"
|
|
25067
25522
|
instructions:
|
|
@@ -25707,11 +26162,13 @@ components:
|
|
|
25707
26162
|
- Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.
|
|
25708
26163
|
- Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.
|
|
25709
26164
|
- Content gap: The content is missing important information that should be present to answer user questions effectively.
|
|
26165
|
+
- Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.
|
|
25710
26166
|
- Other: Any other type of finding not covered by the above categories.
|
|
25711
26167
|
enum:
|
|
25712
26168
|
- content-outdated
|
|
25713
26169
|
- content-incorrect
|
|
25714
26170
|
- content-gap
|
|
26171
|
+
- broken-link
|
|
25715
26172
|
- other
|
|
25716
26173
|
SiteFindingSeverity:
|
|
25717
26174
|
type: string
|
|
@@ -25737,28 +26194,129 @@ components:
|
|
|
25737
26194
|
enum:
|
|
25738
26195
|
- updatedAt
|
|
25739
26196
|
- severity
|
|
25740
|
-
-
|
|
26197
|
+
- sources
|
|
25741
26198
|
default: updatedAt
|
|
25742
|
-
description: The field to sort site findings by. `updatedAt` returns the most recently updated findings first. `severity` returns the most severe findings first. `
|
|
26199
|
+
description: The field to sort site findings by. `updatedAt` returns the most recently updated findings first. `severity` returns the most severe findings first. `sources` returns the findings with the most linked sources (questions plus records) first. Defaults to 'updatedAt'.
|
|
25743
26200
|
SiteFindingTitle:
|
|
25744
26201
|
type: string
|
|
25745
26202
|
description: Short finding title
|
|
25746
26203
|
maxLength: 256
|
|
25747
|
-
|
|
26204
|
+
SiteRedirectSourcePath:
|
|
26205
|
+
type: string
|
|
26206
|
+
description: The source path to redirect from.
|
|
26207
|
+
maxLength: 512
|
|
26208
|
+
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
|
|
26209
|
+
SiteRedirectDestinationSiteSection:
|
|
25748
26210
|
type: object
|
|
25749
26211
|
properties:
|
|
25750
|
-
|
|
26212
|
+
kind:
|
|
25751
26213
|
type: string
|
|
25752
26214
|
enum:
|
|
25753
|
-
- site-
|
|
25754
|
-
|
|
26215
|
+
- site-section
|
|
26216
|
+
siteSectionId:
|
|
25755
26217
|
type: string
|
|
25756
|
-
description:
|
|
25757
|
-
|
|
26218
|
+
description: Unique identifier for the site section to redirect to
|
|
26219
|
+
required:
|
|
26220
|
+
- kind
|
|
26221
|
+
- siteSectionId
|
|
26222
|
+
SiteRedirectDestinationSiteSpace:
|
|
26223
|
+
type: object
|
|
26224
|
+
properties:
|
|
26225
|
+
kind:
|
|
25758
26226
|
type: string
|
|
25759
|
-
|
|
25760
|
-
|
|
25761
|
-
|
|
26227
|
+
enum:
|
|
26228
|
+
- site-space
|
|
26229
|
+
siteSpaceId:
|
|
26230
|
+
type: string
|
|
26231
|
+
description: Unique identifier for the site space to redirect to
|
|
26232
|
+
required:
|
|
26233
|
+
- kind
|
|
26234
|
+
- siteSpaceId
|
|
26235
|
+
SiteRedirectDestinationPage:
|
|
26236
|
+
type: object
|
|
26237
|
+
properties:
|
|
26238
|
+
kind:
|
|
26239
|
+
type: string
|
|
26240
|
+
enum:
|
|
26241
|
+
- site-page
|
|
26242
|
+
siteSpaceId:
|
|
26243
|
+
type: string
|
|
26244
|
+
description: Unique identifier for the site space of the page
|
|
26245
|
+
pageId:
|
|
26246
|
+
type: string
|
|
26247
|
+
description: Unique identifier for the page within the site space to redirect to
|
|
26248
|
+
required:
|
|
26249
|
+
- kind
|
|
26250
|
+
- siteSpaceId
|
|
26251
|
+
- pageId
|
|
26252
|
+
SiteRedirectDestinationExternal:
|
|
26253
|
+
type: object
|
|
26254
|
+
properties:
|
|
26255
|
+
kind:
|
|
26256
|
+
type: string
|
|
26257
|
+
enum:
|
|
26258
|
+
- external
|
|
26259
|
+
url:
|
|
26260
|
+
$ref: "#/components/schemas/URL"
|
|
26261
|
+
required:
|
|
26262
|
+
- kind
|
|
26263
|
+
- url
|
|
26264
|
+
SiteRedirectDestination:
|
|
26265
|
+
oneOf:
|
|
26266
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
26267
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
26268
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationPage"
|
|
26269
|
+
- $ref: "#/components/schemas/SiteRedirectDestinationExternal"
|
|
26270
|
+
SiteRedirectInputDestinationPath:
|
|
26271
|
+
type: object
|
|
26272
|
+
properties:
|
|
26273
|
+
kind:
|
|
26274
|
+
type: string
|
|
26275
|
+
enum:
|
|
26276
|
+
- path
|
|
26277
|
+
spaceId:
|
|
26278
|
+
type: string
|
|
26279
|
+
description: Unique identifier for the space containing the page referenced by the path.
|
|
26280
|
+
path:
|
|
26281
|
+
type: string
|
|
26282
|
+
description: Path to the page within the space revision to resolve.
|
|
26283
|
+
required:
|
|
26284
|
+
- kind
|
|
26285
|
+
- spaceId
|
|
26286
|
+
- path
|
|
26287
|
+
SiteRedirectInputDestination:
|
|
26288
|
+
oneOf:
|
|
26289
|
+
- $ref: "#/components/schemas/SiteRedirectDestination"
|
|
26290
|
+
- $ref: "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
26291
|
+
SiteFindingBrokenLinkAction:
|
|
26292
|
+
type: object
|
|
26293
|
+
description: Suggested fix for a broken-link finding, shaped as the input for `createSiteRedirect` so it can be applied directly. Absent when the finding has no directly applicable redirect (for example, a suggestion to create a new page).
|
|
26294
|
+
properties:
|
|
26295
|
+
source:
|
|
26296
|
+
$ref: "#/components/schemas/SiteRedirectSourcePath"
|
|
26297
|
+
captureWildcard:
|
|
26298
|
+
type: boolean
|
|
26299
|
+
description: Whether the redirect appends the wildcard-matched suffix of the source path to the destination.
|
|
26300
|
+
destination:
|
|
26301
|
+
$ref: "#/components/schemas/SiteRedirectInputDestination"
|
|
26302
|
+
required:
|
|
26303
|
+
- source
|
|
26304
|
+
- destination
|
|
26305
|
+
SiteFinding:
|
|
26306
|
+
type: object
|
|
26307
|
+
properties:
|
|
26308
|
+
object:
|
|
26309
|
+
type: string
|
|
26310
|
+
enum:
|
|
26311
|
+
- site-finding
|
|
26312
|
+
id:
|
|
26313
|
+
type: string
|
|
26314
|
+
description: The ID of the finding
|
|
26315
|
+
scan:
|
|
26316
|
+
type: string
|
|
26317
|
+
description: The site scan ID associated with the finding
|
|
26318
|
+
topic:
|
|
26319
|
+
type:
|
|
25762
26320
|
- string
|
|
25763
26321
|
- "null"
|
|
25764
26322
|
description: The site topic ID associated with the finding. It is null for findings that are not associated with a current topic in the site.
|
|
@@ -25787,6 +26345,8 @@ components:
|
|
|
25787
26345
|
autoFixable:
|
|
25788
26346
|
type: boolean
|
|
25789
26347
|
description: Whether an AI agent should be able to fix this finding directly
|
|
26348
|
+
brokenLinkAction:
|
|
26349
|
+
$ref: "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
25790
26350
|
createdAt:
|
|
25791
26351
|
$ref: "#/components/schemas/Timestamp"
|
|
25792
26352
|
updatedAt:
|
|
@@ -27364,6 +27924,27 @@ components:
|
|
|
27364
27924
|
- tool
|
|
27365
27925
|
- spaceId
|
|
27366
27926
|
- changeRequestId
|
|
27927
|
+
AIToolCallArchiveChangeRequest:
|
|
27928
|
+
type: object
|
|
27929
|
+
properties:
|
|
27930
|
+
tool:
|
|
27931
|
+
type: string
|
|
27932
|
+
enum:
|
|
27933
|
+
- archiveChangeRequest
|
|
27934
|
+
spaceId:
|
|
27935
|
+
type: string
|
|
27936
|
+
description: The ID of the space the change request belongs to.
|
|
27937
|
+
changeRequestId:
|
|
27938
|
+
type: string
|
|
27939
|
+
description: The ID of the change request.
|
|
27940
|
+
reason:
|
|
27941
|
+
type: string
|
|
27942
|
+
description: Why the agent gave up on implementing the change request.
|
|
27943
|
+
required:
|
|
27944
|
+
- tool
|
|
27945
|
+
- spaceId
|
|
27946
|
+
- changeRequestId
|
|
27947
|
+
- reason
|
|
27367
27948
|
AIToolCallComment:
|
|
27368
27949
|
type: object
|
|
27369
27950
|
properties:
|
|
@@ -27526,6 +28107,7 @@ components:
|
|
|
27526
28107
|
- $ref: "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
27527
28108
|
- $ref: "#/components/schemas/AIToolCallGetChangeRequestDetails"
|
|
27528
28109
|
- $ref: "#/components/schemas/AIToolCallSetChangeRequestDetails"
|
|
28110
|
+
- $ref: "#/components/schemas/AIToolCallArchiveChangeRequest"
|
|
27529
28111
|
- $ref: "#/components/schemas/AIToolCallComment"
|
|
27530
28112
|
- $ref: "#/components/schemas/AIToolCallReplyToComment"
|
|
27531
28113
|
- $ref: "#/components/schemas/AIToolCallGetComments"
|
|
@@ -28901,6 +29483,24 @@ components:
|
|
|
28901
29483
|
SiteInsightsQueryEventsColumn:
|
|
28902
29484
|
oneOf:
|
|
28903
29485
|
- $ref: "#/components/schemas/SiteInsightsQueryDateTimeColumn"
|
|
29486
|
+
- type: object
|
|
29487
|
+
description: Day of the week the event happened, in UTC, from 1 (Monday) to 7 (Sunday). Group by it alongside `hourOfDay` to fold any range into a weekly activity profile.
|
|
29488
|
+
required:
|
|
29489
|
+
- column
|
|
29490
|
+
properties:
|
|
29491
|
+
column:
|
|
29492
|
+
type: string
|
|
29493
|
+
enum:
|
|
29494
|
+
- dayOfWeek
|
|
29495
|
+
- type: object
|
|
29496
|
+
description: Hour of the day the event happened, in UTC, from 0 to 23.
|
|
29497
|
+
required:
|
|
29498
|
+
- column
|
|
29499
|
+
properties:
|
|
29500
|
+
column:
|
|
29501
|
+
type: string
|
|
29502
|
+
enum:
|
|
29503
|
+
- hourOfDay
|
|
28904
29504
|
- type: object
|
|
28905
29505
|
required:
|
|
28906
29506
|
- column
|
|
@@ -28909,6 +29509,14 @@ components:
|
|
|
28909
29509
|
type: string
|
|
28910
29510
|
enum:
|
|
28911
29511
|
- url
|
|
29512
|
+
- type: object
|
|
29513
|
+
required:
|
|
29514
|
+
- column
|
|
29515
|
+
properties:
|
|
29516
|
+
column:
|
|
29517
|
+
type: string
|
|
29518
|
+
enum:
|
|
29519
|
+
- urlPath
|
|
28912
29520
|
- type: object
|
|
28913
29521
|
required:
|
|
28914
29522
|
- column
|
|
@@ -29347,6 +29955,36 @@ components:
|
|
|
29347
29955
|
type: array
|
|
29348
29956
|
items:
|
|
29349
29957
|
$ref: "#/components/schemas/Timestamp"
|
|
29958
|
+
- type: object
|
|
29959
|
+
required:
|
|
29960
|
+
- column
|
|
29961
|
+
- values
|
|
29962
|
+
properties:
|
|
29963
|
+
column:
|
|
29964
|
+
type: string
|
|
29965
|
+
enum:
|
|
29966
|
+
- dayOfWeek
|
|
29967
|
+
values:
|
|
29968
|
+
type: array
|
|
29969
|
+
items:
|
|
29970
|
+
type: integer
|
|
29971
|
+
minimum: 1
|
|
29972
|
+
maximum: 7
|
|
29973
|
+
- type: object
|
|
29974
|
+
required:
|
|
29975
|
+
- column
|
|
29976
|
+
- values
|
|
29977
|
+
properties:
|
|
29978
|
+
column:
|
|
29979
|
+
type: string
|
|
29980
|
+
enum:
|
|
29981
|
+
- hourOfDay
|
|
29982
|
+
values:
|
|
29983
|
+
type: array
|
|
29984
|
+
items:
|
|
29985
|
+
type: integer
|
|
29986
|
+
minimum: 0
|
|
29987
|
+
maximum: 23
|
|
29350
29988
|
- type: object
|
|
29351
29989
|
required:
|
|
29352
29990
|
- column
|
|
@@ -29360,6 +29998,19 @@ components:
|
|
|
29360
29998
|
type: array
|
|
29361
29999
|
items:
|
|
29362
30000
|
$ref: "#/components/schemas/URL"
|
|
30001
|
+
- type: object
|
|
30002
|
+
required:
|
|
30003
|
+
- column
|
|
30004
|
+
- values
|
|
30005
|
+
properties:
|
|
30006
|
+
column:
|
|
30007
|
+
type: string
|
|
30008
|
+
enum:
|
|
30009
|
+
- urlPath
|
|
30010
|
+
values:
|
|
30011
|
+
type: array
|
|
30012
|
+
items:
|
|
30013
|
+
type: string
|
|
29363
30014
|
- type: object
|
|
29364
30015
|
required:
|
|
29365
30016
|
- column
|
|
@@ -30107,72 +30758,6 @@ components:
|
|
|
30107
30758
|
type: number
|
|
30108
30759
|
revenue:
|
|
30109
30760
|
type: string
|
|
30110
|
-
SiteRedirectSourcePath:
|
|
30111
|
-
type: string
|
|
30112
|
-
description: The source path to redirect from.
|
|
30113
|
-
maxLength: 512
|
|
30114
|
-
pattern: ^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$
|
|
30115
|
-
SiteRedirectDestinationSiteSection:
|
|
30116
|
-
type: object
|
|
30117
|
-
properties:
|
|
30118
|
-
kind:
|
|
30119
|
-
type: string
|
|
30120
|
-
enum:
|
|
30121
|
-
- site-section
|
|
30122
|
-
siteSectionId:
|
|
30123
|
-
type: string
|
|
30124
|
-
description: Unique identifier for the site section to redirect to
|
|
30125
|
-
required:
|
|
30126
|
-
- kind
|
|
30127
|
-
- siteSectionId
|
|
30128
|
-
SiteRedirectDestinationSiteSpace:
|
|
30129
|
-
type: object
|
|
30130
|
-
properties:
|
|
30131
|
-
kind:
|
|
30132
|
-
type: string
|
|
30133
|
-
enum:
|
|
30134
|
-
- site-space
|
|
30135
|
-
siteSpaceId:
|
|
30136
|
-
type: string
|
|
30137
|
-
description: Unique identifier for the site space to redirect to
|
|
30138
|
-
required:
|
|
30139
|
-
- kind
|
|
30140
|
-
- siteSpaceId
|
|
30141
|
-
SiteRedirectDestinationPage:
|
|
30142
|
-
type: object
|
|
30143
|
-
properties:
|
|
30144
|
-
kind:
|
|
30145
|
-
type: string
|
|
30146
|
-
enum:
|
|
30147
|
-
- site-page
|
|
30148
|
-
siteSpaceId:
|
|
30149
|
-
type: string
|
|
30150
|
-
description: Unique identifier for the site space of the page
|
|
30151
|
-
pageId:
|
|
30152
|
-
type: string
|
|
30153
|
-
description: Unique identifier for the page within the site space to redirect to
|
|
30154
|
-
required:
|
|
30155
|
-
- kind
|
|
30156
|
-
- siteSpaceId
|
|
30157
|
-
- pageId
|
|
30158
|
-
SiteRedirectDestinationExternal:
|
|
30159
|
-
type: object
|
|
30160
|
-
properties:
|
|
30161
|
-
kind:
|
|
30162
|
-
type: string
|
|
30163
|
-
enum:
|
|
30164
|
-
- external
|
|
30165
|
-
url:
|
|
30166
|
-
$ref: "#/components/schemas/URL"
|
|
30167
|
-
required:
|
|
30168
|
-
- kind
|
|
30169
|
-
- url
|
|
30170
|
-
SiteRedirectDestination:
|
|
30171
|
-
oneOf:
|
|
30172
|
-
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
30173
|
-
- $ref: "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
30174
|
-
- $ref: "#/components/schemas/SiteRedirectDestinationPage"
|
|
30175
|
-
- $ref: "#/components/schemas/SiteRedirectDestinationExternal"
|
|
30176
30761
|
SiteRedirect:
|
|
30177
30762
|
type: object
|
|
30178
30763
|
properties:
|
|
@@ -30200,27 +30785,6 @@ components:
|
|
|
30200
30785
|
- draft
|
|
30201
30786
|
- captureWildcard
|
|
30202
30787
|
- destination
|
|
30203
|
-
SiteRedirectInputDestinationPath:
|
|
30204
|
-
type: object
|
|
30205
|
-
properties:
|
|
30206
|
-
kind:
|
|
30207
|
-
type: string
|
|
30208
|
-
enum:
|
|
30209
|
-
- path
|
|
30210
|
-
spaceId:
|
|
30211
|
-
type: string
|
|
30212
|
-
description: Unique identifier for the space containing the page referenced by the path.
|
|
30213
|
-
path:
|
|
30214
|
-
type: string
|
|
30215
|
-
description: Path to the page within the space revision to resolve.
|
|
30216
|
-
required:
|
|
30217
|
-
- kind
|
|
30218
|
-
- spaceId
|
|
30219
|
-
- path
|
|
30220
|
-
SiteRedirectInputDestination:
|
|
30221
|
-
oneOf:
|
|
30222
|
-
- $ref: "#/components/schemas/SiteRedirectDestination"
|
|
30223
|
-
- $ref: "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
30224
30788
|
SiteMcpServerName:
|
|
30225
30789
|
type: string
|
|
30226
30790
|
description: Name of the MCP server
|
|
@@ -30830,6 +31394,11 @@ components:
|
|
|
30830
31394
|
type: integer
|
|
30831
31395
|
minimum: 0
|
|
30832
31396
|
description: Current numeric billing override, when set.
|
|
31397
|
+
OrganizationBillingPercentageOverride:
|
|
31398
|
+
type: number
|
|
31399
|
+
minimum: 0
|
|
31400
|
+
maximum: 100
|
|
31401
|
+
description: Current percentage billing override, when set.
|
|
30833
31402
|
OrganizationBillingOverrides:
|
|
30834
31403
|
type: object
|
|
30835
31404
|
properties:
|
|
@@ -30842,6 +31411,15 @@ components:
|
|
|
30842
31411
|
enableSAML:
|
|
30843
31412
|
description: Current SAML override, when set.
|
|
30844
31413
|
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
31414
|
+
aiCreditAllowance:
|
|
31415
|
+
description: Contractual AI credit allowance for Enterprise organizations only.
|
|
31416
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
31417
|
+
aiCreditRollover:
|
|
31418
|
+
description: Percentage of remaining paid AI credits carried into the next billing period. Paid self-serve organizations default to 50% when unset.
|
|
31419
|
+
$ref: "#/components/schemas/OrganizationBillingPercentageOverride"
|
|
31420
|
+
aiCreditAlertThreshold:
|
|
31421
|
+
description: Percentage of total AI credits remaining at which to send a low-balance alert.
|
|
31422
|
+
$ref: "#/components/schemas/OrganizationBillingPercentageOverride"
|
|
30845
31423
|
minUsers:
|
|
30846
31424
|
description: Current minimum users override, when set.
|
|
30847
31425
|
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
@@ -30978,6 +31556,12 @@ components:
|
|
|
30978
31556
|
type: object
|
|
30979
31557
|
description: An object that describes the payload of site visitor info. It can include a jwt token with signed claims and/or a record of its unsigned claims.
|
|
30980
31558
|
properties:
|
|
31559
|
+
type:
|
|
31560
|
+
type: string
|
|
31561
|
+
enum:
|
|
31562
|
+
- human
|
|
31563
|
+
- agent
|
|
31564
|
+
description: Whether the visitor is a human or an AI agent. Defaults to human when omitted.
|
|
30981
31565
|
jwtToken:
|
|
30982
31566
|
type: string
|
|
30983
31567
|
description: JWT token generated for a authenticated access session.
|
|
@@ -31605,7 +32189,7 @@ components:
|
|
|
31605
32189
|
- config_check
|
|
31606
32190
|
- content_process
|
|
31607
32191
|
- finalize
|
|
31608
|
-
|
|
32192
|
+
GitSyncSpaceOperation:
|
|
31609
32193
|
type: object
|
|
31610
32194
|
properties:
|
|
31611
32195
|
state:
|
|
@@ -31630,6 +32214,8 @@ components:
|
|
|
31630
32214
|
error:
|
|
31631
32215
|
type: string
|
|
31632
32216
|
description: Error details, defined if state is `failure`.
|
|
32217
|
+
errorAction:
|
|
32218
|
+
$ref: "#/components/schemas/GitSyncOperationErrorAction"
|
|
31633
32219
|
required:
|
|
31634
32220
|
- state
|
|
31635
32221
|
- direction
|
|
@@ -31638,6 +32224,45 @@ components:
|
|
|
31638
32224
|
- completedTasks
|
|
31639
32225
|
- startedAt
|
|
31640
32226
|
- updatedAt
|
|
32227
|
+
GitSyncOperation:
|
|
32228
|
+
description: Deprecated. Use `GitSyncSpaceOperation` instead.
|
|
32229
|
+
deprecated: true
|
|
32230
|
+
allOf:
|
|
32231
|
+
- $ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
32232
|
+
GitSyncSiteOperation:
|
|
32233
|
+
type: object
|
|
32234
|
+
properties:
|
|
32235
|
+
state:
|
|
32236
|
+
$ref: "#/components/schemas/GitSyncOperationState"
|
|
32237
|
+
direction:
|
|
32238
|
+
$ref: "#/components/schemas/GitSyncOperationDirection"
|
|
32239
|
+
stage:
|
|
32240
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
32241
|
+
startedAt:
|
|
32242
|
+
description: Date when the operation was started
|
|
32243
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32244
|
+
updatedAt:
|
|
32245
|
+
description: Date when the operation was last updated
|
|
32246
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32247
|
+
completedAt:
|
|
32248
|
+
description: Date when the operation was successful (when state is `success`)
|
|
32249
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32250
|
+
error:
|
|
32251
|
+
type: string
|
|
32252
|
+
description: Error details, defined if state is `failure`.
|
|
32253
|
+
errorAction:
|
|
32254
|
+
$ref: "#/components/schemas/GitSyncOperationErrorAction"
|
|
32255
|
+
spaces:
|
|
32256
|
+
type: object
|
|
32257
|
+
additionalProperties:
|
|
32258
|
+
$ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
32259
|
+
required:
|
|
32260
|
+
- state
|
|
32261
|
+
- direction
|
|
32262
|
+
- stage
|
|
32263
|
+
- startedAt
|
|
32264
|
+
- updatedAt
|
|
32265
|
+
- spaces
|
|
31641
32266
|
GitSyncSiteStructureSectionGroup:
|
|
31642
32267
|
type: object
|
|
31643
32268
|
additionalProperties: false
|
|
@@ -31986,6 +32611,12 @@ components:
|
|
|
31986
32611
|
items:
|
|
31987
32612
|
type: string
|
|
31988
32613
|
description: List of spaces that the token is allowed to access.
|
|
32614
|
+
visitorType:
|
|
32615
|
+
type: string
|
|
32616
|
+
enum:
|
|
32617
|
+
- human
|
|
32618
|
+
- agent
|
|
32619
|
+
description: Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted.
|
|
31989
32620
|
claims:
|
|
31990
32621
|
type: object
|
|
31991
32622
|
description: Attributes or assertions that provide specific details about the visitor for which the token was generated.
|
|
@@ -32934,6 +33565,18 @@ components:
|
|
|
32934
33565
|
required:
|
|
32935
33566
|
- channel
|
|
32936
33567
|
- space
|
|
33568
|
+
APIChannelGitSyncSiteOperation:
|
|
33569
|
+
type: object
|
|
33570
|
+
properties:
|
|
33571
|
+
channel:
|
|
33572
|
+
type: string
|
|
33573
|
+
enum:
|
|
33574
|
+
- site-gitsync-operation
|
|
33575
|
+
site:
|
|
33576
|
+
type: string
|
|
33577
|
+
required:
|
|
33578
|
+
- channel
|
|
33579
|
+
- site
|
|
32937
33580
|
APIChannelOpenAPISpec:
|
|
32938
33581
|
type: object
|
|
32939
33582
|
description: Subscription channel for changes in OpenAPI specification.
|
|
@@ -33064,6 +33707,7 @@ components:
|
|
|
33064
33707
|
- $ref: "#/components/schemas/APIChannelCustomHostname"
|
|
33065
33708
|
- $ref: "#/components/schemas/APIChannelGitSyncInstallation"
|
|
33066
33709
|
- $ref: "#/components/schemas/APIChannelGitSyncOperation"
|
|
33710
|
+
- $ref: "#/components/schemas/APIChannelGitSyncSiteOperation"
|
|
33067
33711
|
- $ref: "#/components/schemas/APIChannelOpenAPISpec"
|
|
33068
33712
|
- $ref: "#/components/schemas/APIChannelSubdomain"
|
|
33069
33713
|
- $ref: "#/components/schemas/APIChannelTranslation"
|
|
@@ -33115,7 +33759,19 @@ components:
|
|
|
33115
33759
|
enum:
|
|
33116
33760
|
- space-gitsync-operation
|
|
33117
33761
|
data:
|
|
33118
|
-
$ref: "#/components/schemas/
|
|
33762
|
+
$ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
33763
|
+
required:
|
|
33764
|
+
- channel
|
|
33765
|
+
- data
|
|
33766
|
+
APIChannelGitSyncSiteOperationData:
|
|
33767
|
+
type: object
|
|
33768
|
+
properties:
|
|
33769
|
+
channel:
|
|
33770
|
+
type: string
|
|
33771
|
+
enum:
|
|
33772
|
+
- site-gitsync-operation
|
|
33773
|
+
data:
|
|
33774
|
+
$ref: "#/components/schemas/GitSyncSiteOperation"
|
|
33119
33775
|
required:
|
|
33120
33776
|
- channel
|
|
33121
33777
|
- data
|
|
@@ -33142,6 +33798,7 @@ components:
|
|
|
33142
33798
|
description: Data passed through a realtime channel
|
|
33143
33799
|
oneOf:
|
|
33144
33800
|
- $ref: "#/components/schemas/APIChannelGitSyncOperationData"
|
|
33801
|
+
- $ref: "#/components/schemas/APIChannelGitSyncSiteOperationData"
|
|
33145
33802
|
- $ref: "#/components/schemas/APIChannelTranslationRunData"
|
|
33146
33803
|
- $ref: "#/components/schemas/APIChannelImportRunData"
|
|
33147
33804
|
- $ref: "#/components/schemas/APIChannelMutationData"
|