@gitbook/api 0.192.0 → 0.194.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 +316 -16
- package/dist/constants.d.ts +2 -2
- package/dist/index.cjs +17 -5
- package/dist/index.js +16 -5
- package/package.json +1 -1
- package/spec/openapi.json +866 -15
- package/spec/openapi.yaml +610 -12
package/spec/openapi.yaml
CHANGED
|
@@ -2375,7 +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
|
-
|
|
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.
|
|
2379
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:
|
|
2380
2380
|
- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).
|
|
2381
2381
|
- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`
|
|
@@ -2390,6 +2390,16 @@ paths:
|
|
|
2390
2390
|
extension (e.g. `./section`) resolve to that folder's page.
|
|
2391
2391
|
|
|
2392
2392
|
External URLs (`https://…`) are kept as-is. A link that does not match any page in the change request is left as plain text rather than causing the request to fail.
|
|
2393
|
+
GitBook normalizes submitted content, so the stored page may differ from what was sent. To help callers reconcile local state with the stored result, the response can list each created and modified page with its resolved ID and a `urls.location` to fetch the page's persisted content.
|
|
2394
|
+
|
|
2395
|
+
**Response shape (`compat`)** — this endpoint is changing what it returns:
|
|
2396
|
+
- `compat=true` (current default) returns the updated change request, matching the endpoint's
|
|
2397
|
+
original behavior.
|
|
2398
|
+
|
|
2399
|
+
- `compat=false` returns the updated change request **and** the list of affected pages (see
|
|
2400
|
+
the response schema).
|
|
2401
|
+
|
|
2402
|
+
The default is `true` for now to preserve backwards compatibility, but **will switch to `false` in a future release**, at which point the affected-page list is always included. You should pass `compat=false` if you want the new behavior today and avoid unexpected errors when the default flips in the future.
|
|
2393
2403
|
x-gitbook-mcp: true
|
|
2394
2404
|
tags:
|
|
2395
2405
|
- change-request-content
|
|
@@ -2400,6 +2410,12 @@ paths:
|
|
|
2400
2410
|
parameters:
|
|
2401
2411
|
- $ref: "#/components/parameters/spaceId"
|
|
2402
2412
|
- $ref: "#/components/parameters/changeRequestId"
|
|
2413
|
+
- name: compat
|
|
2414
|
+
in: query
|
|
2415
|
+
description: When `true`, the updated change request is returned. When `false`, the updated change request and the list of affected pages are returned.
|
|
2416
|
+
schema:
|
|
2417
|
+
type: boolean
|
|
2418
|
+
default: true
|
|
2403
2419
|
requestBody:
|
|
2404
2420
|
required: true
|
|
2405
2421
|
content:
|
|
@@ -2421,7 +2437,10 @@ paths:
|
|
|
2421
2437
|
content:
|
|
2422
2438
|
application/json:
|
|
2423
2439
|
schema:
|
|
2424
|
-
|
|
2440
|
+
description: The change request when `compat=true` (default), or the change request plus the list of affected pages when `compat=false`.
|
|
2441
|
+
oneOf:
|
|
2442
|
+
- $ref: "#/components/schemas/ChangeRequest"
|
|
2443
|
+
- $ref: "#/components/schemas/ChangeRequestContentUpdate"
|
|
2425
2444
|
"404":
|
|
2426
2445
|
description: The change request could not be found.
|
|
2427
2446
|
$ref: "#/components/responses/NotFoundError"
|
|
@@ -7870,6 +7889,11 @@ paths:
|
|
|
7870
7889
|
type: boolean
|
|
7871
7890
|
default: false
|
|
7872
7891
|
description: Whether the site space should be created as draft. Defaults to false.
|
|
7892
|
+
pageId:
|
|
7893
|
+
oneOf:
|
|
7894
|
+
- type: string
|
|
7895
|
+
- type: "null"
|
|
7896
|
+
description: Custom home page within the space, rendered at the site space's path root instead of the space's default landing page.
|
|
7873
7897
|
required:
|
|
7874
7898
|
- spaceId
|
|
7875
7899
|
responses:
|
|
@@ -8663,6 +8687,18 @@ paths:
|
|
|
8663
8687
|
oneOf:
|
|
8664
8688
|
- $ref: "#/components/schemas/SiteTriageFilterQuestions"
|
|
8665
8689
|
- $ref: "#/components/schemas/SiteTriageFilterConnections"
|
|
8690
|
+
- name: updatedAfter
|
|
8691
|
+
in: query
|
|
8692
|
+
description: Only return findings last updated at or after this date.
|
|
8693
|
+
schema:
|
|
8694
|
+
type: string
|
|
8695
|
+
format: date-time
|
|
8696
|
+
- name: updatedBefore
|
|
8697
|
+
in: query
|
|
8698
|
+
description: Only return findings last updated before this date.
|
|
8699
|
+
schema:
|
|
8700
|
+
type: string
|
|
8701
|
+
format: date-time
|
|
8666
8702
|
- name: orderBy
|
|
8667
8703
|
in: query
|
|
8668
8704
|
description: Sort findings by the given field.
|
|
@@ -9694,6 +9730,11 @@ paths:
|
|
|
9694
9730
|
oneOf:
|
|
9695
9731
|
- $ref: "#/components/schemas/Expression"
|
|
9696
9732
|
- type: "null"
|
|
9733
|
+
pageId:
|
|
9734
|
+
description: Custom home page within the space, rendered at the site space's path root instead of the space's default landing page. If not set, the page will remain unchanged unless spaceId is changed, in which case the custom home page will be removed. If set to null, the custom home page will be removed.
|
|
9735
|
+
oneOf:
|
|
9736
|
+
- type: string
|
|
9737
|
+
- type: "null"
|
|
9697
9738
|
spaceId:
|
|
9698
9739
|
type: string
|
|
9699
9740
|
description: The content that this site space points to. If not set, the space will remain unchanged.
|
|
@@ -11802,7 +11843,15 @@ paths:
|
|
|
11802
11843
|
content:
|
|
11803
11844
|
application/json:
|
|
11804
11845
|
schema:
|
|
11805
|
-
|
|
11846
|
+
allOf:
|
|
11847
|
+
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
11848
|
+
- type: object
|
|
11849
|
+
properties:
|
|
11850
|
+
childInstallationProjectDirectories:
|
|
11851
|
+
type: object
|
|
11852
|
+
description: Project directories keyed by child installation ID for a site installation.
|
|
11853
|
+
additionalProperties:
|
|
11854
|
+
type: string
|
|
11806
11855
|
responses:
|
|
11807
11856
|
"200":
|
|
11808
11857
|
description: Git Sync installation was updated successfully
|
|
@@ -18115,6 +18164,9 @@ components:
|
|
|
18115
18164
|
type: string
|
|
18116
18165
|
minLength: 1
|
|
18117
18166
|
description: Title of the page.
|
|
18167
|
+
slug:
|
|
18168
|
+
description: Slug of the page in its parent, used to build the page's path. When omitted, the slug is derived from the title. The slug must be unique among the page's siblings; any collision is rejected.
|
|
18169
|
+
$ref: "#/components/schemas/RevisionPageSlug"
|
|
18118
18170
|
emoji:
|
|
18119
18171
|
description: Emoji of the page. Set to an empty string to remove it.
|
|
18120
18172
|
$ref: "#/components/schemas/Emoji"
|
|
@@ -18164,13 +18216,12 @@ components:
|
|
|
18164
18216
|
|
|
18165
18217
|
This is a markdown document linking to [another page](/pages/page_id).
|
|
18166
18218
|
ChangeRequestContentChangeInsertPage:
|
|
18167
|
-
description: Insert a new page into the change request.
|
|
18219
|
+
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.
|
|
18168
18220
|
allOf:
|
|
18169
18221
|
- $ref: "#/components/schemas/RevisionPageUpdate"
|
|
18170
18222
|
- type: object
|
|
18171
18223
|
required:
|
|
18172
18224
|
- operation
|
|
18173
|
-
- title
|
|
18174
18225
|
- document
|
|
18175
18226
|
properties:
|
|
18176
18227
|
operation:
|
|
@@ -18184,6 +18235,9 @@ components:
|
|
|
18184
18235
|
type: integer
|
|
18185
18236
|
minimum: 0
|
|
18186
18237
|
description: Zero-based index to insert the page at among its siblings. If omitted, the page is appended at the end.
|
|
18238
|
+
ref:
|
|
18239
|
+
type: string
|
|
18240
|
+
description: Temporary local reference for the page, used only for the lifetime of this request and never persisted. Other pages inserted in the same batch can link to this page by its ref (e.g. `[Page](./<ref>.md)`), which resolves to the page's ID at apply time — regardless of operation order or the page's eventual slug. A ref must be unique within the batch and must not collide with an existing page's path.
|
|
18187
18241
|
document:
|
|
18188
18242
|
description: Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.
|
|
18189
18243
|
$ref: "#/components/schemas/Document"
|
|
@@ -18237,12 +18291,68 @@ components:
|
|
|
18237
18291
|
example:
|
|
18238
18292
|
operation: revert_page
|
|
18239
18293
|
page: page_id
|
|
18294
|
+
ChangeRequestContentChangeInsertFiles:
|
|
18295
|
+
type: object
|
|
18296
|
+
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`.
|
|
18297
|
+
required:
|
|
18298
|
+
- operation
|
|
18299
|
+
- files
|
|
18300
|
+
properties:
|
|
18301
|
+
operation:
|
|
18302
|
+
type: string
|
|
18303
|
+
enum:
|
|
18304
|
+
- insert_files
|
|
18305
|
+
files:
|
|
18306
|
+
type: array
|
|
18307
|
+
minItems: 1
|
|
18308
|
+
maxItems: 20
|
|
18309
|
+
items:
|
|
18310
|
+
type: object
|
|
18311
|
+
description: "A file to upload. Set exactly one source: `url` (GitBook fetches it) or `base64` (inline bytes, max 1MB). Prefer `url`."
|
|
18312
|
+
required:
|
|
18313
|
+
- name
|
|
18314
|
+
properties:
|
|
18315
|
+
ref:
|
|
18316
|
+
type: string
|
|
18317
|
+
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.
|
|
18318
|
+
name:
|
|
18319
|
+
type: string
|
|
18320
|
+
minLength: 1
|
|
18321
|
+
maxLength: 256
|
|
18322
|
+
description: Filename to store the file under, including its extension.
|
|
18323
|
+
contentType:
|
|
18324
|
+
type: string
|
|
18325
|
+
description: MIME type. Required with `base64`; overrides the source's own type otherwise.
|
|
18326
|
+
oneOf:
|
|
18327
|
+
- type: object
|
|
18328
|
+
properties:
|
|
18329
|
+
url:
|
|
18330
|
+
type: string
|
|
18331
|
+
format: uri
|
|
18332
|
+
maxLength: 2048
|
|
18333
|
+
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.
|
|
18334
|
+
required:
|
|
18335
|
+
- url
|
|
18336
|
+
- type: object
|
|
18337
|
+
properties:
|
|
18338
|
+
base64:
|
|
18339
|
+
type: string
|
|
18340
|
+
description: Base64-encoded bytes, max 1MB. Requires `contentType`.
|
|
18341
|
+
required:
|
|
18342
|
+
- base64
|
|
18343
|
+
example:
|
|
18344
|
+
operation: insert_files
|
|
18345
|
+
files:
|
|
18346
|
+
- ref: architecture.png
|
|
18347
|
+
name: architecture.png
|
|
18348
|
+
url: https://example.com/architecture.png
|
|
18240
18349
|
ChangeRequestContentChange:
|
|
18241
18350
|
oneOf:
|
|
18242
18351
|
- $ref: "#/components/schemas/ChangeRequestContentChangeUpdatePage"
|
|
18243
18352
|
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18244
18353
|
- $ref: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
18245
18354
|
- $ref: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
18355
|
+
- $ref: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
18246
18356
|
discriminator:
|
|
18247
18357
|
propertyName: operation
|
|
18248
18358
|
mapping:
|
|
@@ -18250,6 +18360,110 @@ components:
|
|
|
18250
18360
|
insert_page: "#/components/schemas/ChangeRequestContentChangeInsertPage"
|
|
18251
18361
|
delete_page: "#/components/schemas/ChangeRequestContentChangeDeletePage"
|
|
18252
18362
|
revert_page: "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
18363
|
+
insert_files: "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
18364
|
+
ChangeRequestContentUpdatePageRef:
|
|
18365
|
+
type: object
|
|
18366
|
+
required:
|
|
18367
|
+
- object
|
|
18368
|
+
- id
|
|
18369
|
+
- urls
|
|
18370
|
+
properties:
|
|
18371
|
+
object:
|
|
18372
|
+
type: string
|
|
18373
|
+
description: Type of Object, always equals to "page".
|
|
18374
|
+
enum:
|
|
18375
|
+
- page
|
|
18376
|
+
id:
|
|
18377
|
+
type: string
|
|
18378
|
+
description: Unique identifier of the page.
|
|
18379
|
+
urls:
|
|
18380
|
+
type: object
|
|
18381
|
+
required:
|
|
18382
|
+
- location
|
|
18383
|
+
properties:
|
|
18384
|
+
location:
|
|
18385
|
+
description: API URL to fetch the page's full, normalized content.
|
|
18386
|
+
$ref: "#/components/schemas/URL"
|
|
18387
|
+
ChangeRequestContentUpdateInsertedPage:
|
|
18388
|
+
type: object
|
|
18389
|
+
description: A page created by the operation with its resolved ID, ref as passed by the caller, and a URL to fetch its content.
|
|
18390
|
+
required:
|
|
18391
|
+
- object
|
|
18392
|
+
- page
|
|
18393
|
+
properties:
|
|
18394
|
+
object:
|
|
18395
|
+
type: string
|
|
18396
|
+
description: Type of Object, always equals to "created_page".
|
|
18397
|
+
enum:
|
|
18398
|
+
- created_page
|
|
18399
|
+
ref:
|
|
18400
|
+
type: string
|
|
18401
|
+
description: The batch-local `ref` provided on the insert operation, echoed so the caller can map their reference to the created page's ID. Absent when the operation had no ref.
|
|
18402
|
+
page:
|
|
18403
|
+
description: Reference to the created page, with a URL to fetch its normalized content.
|
|
18404
|
+
$ref: "#/components/schemas/ChangeRequestContentUpdatePageRef"
|
|
18405
|
+
ChangeRequestContentUpdateUpdatedPage:
|
|
18406
|
+
type: object
|
|
18407
|
+
description: A page updated by the operation, with a URL to fetch its content.
|
|
18408
|
+
required:
|
|
18409
|
+
- object
|
|
18410
|
+
- page
|
|
18411
|
+
properties:
|
|
18412
|
+
object:
|
|
18413
|
+
type: string
|
|
18414
|
+
description: Type of Object, always equals to "updated_page".
|
|
18415
|
+
enum:
|
|
18416
|
+
- updated_page
|
|
18417
|
+
page:
|
|
18418
|
+
description: Reference to the updated page, with a URL to fetch its normalized content.
|
|
18419
|
+
$ref: "#/components/schemas/ChangeRequestContentUpdatePageRef"
|
|
18420
|
+
ChangeRequestContentUpdateDeletedPage:
|
|
18421
|
+
type: object
|
|
18422
|
+
description: A page deleted by the batch. Only its ID is returned, as it no longer has content.
|
|
18423
|
+
required:
|
|
18424
|
+
- object
|
|
18425
|
+
- page
|
|
18426
|
+
properties:
|
|
18427
|
+
object:
|
|
18428
|
+
type: string
|
|
18429
|
+
description: Type of Object, always equals to "deleted_page".
|
|
18430
|
+
enum:
|
|
18431
|
+
- deleted_page
|
|
18432
|
+
page:
|
|
18433
|
+
type: string
|
|
18434
|
+
description: ID of the deleted page.
|
|
18435
|
+
ChangeRequestContentUpdateChange:
|
|
18436
|
+
description: An outcome of a content change.
|
|
18437
|
+
oneOf:
|
|
18438
|
+
- $ref: "#/components/schemas/ChangeRequestContentUpdateInsertedPage"
|
|
18439
|
+
- $ref: "#/components/schemas/ChangeRequestContentUpdateUpdatedPage"
|
|
18440
|
+
- $ref: "#/components/schemas/ChangeRequestContentUpdateDeletedPage"
|
|
18441
|
+
discriminator:
|
|
18442
|
+
propertyName: object
|
|
18443
|
+
mapping:
|
|
18444
|
+
created_page: "#/components/schemas/ChangeRequestContentUpdateInsertedPage"
|
|
18445
|
+
updated_page: "#/components/schemas/ChangeRequestContentUpdateUpdatedPage"
|
|
18446
|
+
deleted_page: "#/components/schemas/ChangeRequestContentUpdateDeletedPage"
|
|
18447
|
+
ChangeRequestContentUpdate:
|
|
18448
|
+
type: object
|
|
18449
|
+
description: The result of applying a batch of content changes.
|
|
18450
|
+
required:
|
|
18451
|
+
- changeRequest
|
|
18452
|
+
- changes
|
|
18453
|
+
properties:
|
|
18454
|
+
changeRequest:
|
|
18455
|
+
description: The change request after the batch was applied.
|
|
18456
|
+
$ref: "#/components/schemas/ChangeRequest"
|
|
18457
|
+
changes:
|
|
18458
|
+
type: array
|
|
18459
|
+
description: One entry per affected page (deduplicated), in the order the pages were first touched by the batch.
|
|
18460
|
+
items:
|
|
18461
|
+
$ref: "#/components/schemas/ChangeRequestContentUpdateChange"
|
|
18462
|
+
insertedFiles:
|
|
18463
|
+
type: array
|
|
18464
|
+
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.
|
|
18465
|
+
items:
|
|
18466
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
18253
18467
|
RevisionPageType:
|
|
18254
18468
|
type: string
|
|
18255
18469
|
enum:
|
|
@@ -19079,6 +19293,15 @@ components:
|
|
|
19079
19293
|
type: boolean
|
|
19080
19294
|
required:
|
|
19081
19295
|
- enabled
|
|
19296
|
+
BillingCreditsBundle:
|
|
19297
|
+
type: string
|
|
19298
|
+
description: The AI credit bundle to top up every month
|
|
19299
|
+
enum:
|
|
19300
|
+
- none
|
|
19301
|
+
- 13500_1500
|
|
19302
|
+
- 24000_6000
|
|
19303
|
+
- 42000_18000
|
|
19304
|
+
- 65000_35000
|
|
19082
19305
|
OrganizationBilling:
|
|
19083
19306
|
type: object
|
|
19084
19307
|
properties:
|
|
@@ -19140,6 +19363,11 @@ components:
|
|
|
19140
19363
|
canUseSAML:
|
|
19141
19364
|
description: Whether configuring SAML is allowed
|
|
19142
19365
|
type: boolean
|
|
19366
|
+
creditsBundle:
|
|
19367
|
+
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.
|
|
19368
|
+
oneOf:
|
|
19369
|
+
- $ref: "#/components/schemas/BillingCreditsBundle"
|
|
19370
|
+
- type: "null"
|
|
19143
19371
|
required:
|
|
19144
19372
|
- interval
|
|
19145
19373
|
- endDate
|
|
@@ -19150,6 +19378,7 @@ components:
|
|
|
19150
19378
|
- usageAddons
|
|
19151
19379
|
- canChangeInterval
|
|
19152
19380
|
- canUseSAML
|
|
19381
|
+
- creditsBundle
|
|
19153
19382
|
BillingTrialStatus:
|
|
19154
19383
|
type: string
|
|
19155
19384
|
description: |
|
|
@@ -20767,6 +20996,7 @@ components:
|
|
|
20767
20996
|
- sites-ai-assistant
|
|
20768
20997
|
- sites-ai-insights
|
|
20769
20998
|
- sites-connections
|
|
20999
|
+
- sites-content-gaps
|
|
20770
21000
|
- sites-channels
|
|
20771
21001
|
- sites-embed
|
|
20772
21002
|
- sites-api-playground
|
|
@@ -20894,6 +21124,12 @@ components:
|
|
|
20894
21124
|
createdAt:
|
|
20895
21125
|
type: string
|
|
20896
21126
|
format: date-time
|
|
21127
|
+
lastScanAt:
|
|
21128
|
+
type: string
|
|
21129
|
+
format: date-time
|
|
21130
|
+
description: |
|
|
21131
|
+
When GitBook last completed a scan of the site's content
|
|
21132
|
+
gaps. Absent until the site has been scanned at least once.
|
|
20897
21133
|
adaptiveContent:
|
|
20898
21134
|
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
20899
21135
|
ads:
|
|
@@ -21919,6 +22155,11 @@ components:
|
|
|
21919
22155
|
condition:
|
|
21920
22156
|
description: Conditional expression used to evaluate whether the site space should be shown to the site's visitor.
|
|
21921
22157
|
$ref: "#/components/schemas/Expression"
|
|
22158
|
+
pageId:
|
|
22159
|
+
oneOf:
|
|
22160
|
+
- type: string
|
|
22161
|
+
- type: "null"
|
|
22162
|
+
description: Custom home page within the space, rendered at the site space's path root instead of the space's default landing page.
|
|
21922
22163
|
draft:
|
|
21923
22164
|
type: boolean
|
|
21924
22165
|
description: Whether the site space is draft and not live.
|
|
@@ -22507,6 +22748,8 @@ components:
|
|
|
22507
22748
|
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
|
|
22508
22749
|
items:
|
|
22509
22750
|
$ref: "#/components/schemas/BillingMeter"
|
|
22751
|
+
creditsBundle:
|
|
22752
|
+
$ref: "#/components/schemas/BillingCreditsBundle"
|
|
22510
22753
|
mode:
|
|
22511
22754
|
type: string
|
|
22512
22755
|
description: |
|
|
@@ -22517,6 +22760,75 @@ components:
|
|
|
22517
22760
|
required:
|
|
22518
22761
|
- product
|
|
22519
22762
|
- interval
|
|
22763
|
+
BillingInvoiceSummaryLine:
|
|
22764
|
+
type: object
|
|
22765
|
+
description: A product line of an invoice, enriched and normalized for the billing summary UI.
|
|
22766
|
+
properties:
|
|
22767
|
+
description:
|
|
22768
|
+
description: How Stripe describes the line, as a fallback for lines the client cannot label itself.
|
|
22769
|
+
type: string
|
|
22770
|
+
amount:
|
|
22771
|
+
type: number
|
|
22772
|
+
quantity:
|
|
22773
|
+
description: How many units the line bills, such as the number of members.
|
|
22774
|
+
type: number
|
|
22775
|
+
siteType:
|
|
22776
|
+
description: Which kind of site a `sites` line bills for.
|
|
22777
|
+
$ref: "#/components/schemas/SiteType"
|
|
22778
|
+
unitAmount:
|
|
22779
|
+
description: Price of a single unit, over the period the line covers.
|
|
22780
|
+
type: number
|
|
22781
|
+
periodStart:
|
|
22782
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22783
|
+
periodEnd:
|
|
22784
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22785
|
+
category:
|
|
22786
|
+
type: string
|
|
22787
|
+
description: What the invoice line is billing for, so a preview can be grouped by product area.
|
|
22788
|
+
enum:
|
|
22789
|
+
- members
|
|
22790
|
+
- sites
|
|
22791
|
+
- addons
|
|
22792
|
+
- credits
|
|
22793
|
+
- usage
|
|
22794
|
+
- watermark_removal
|
|
22795
|
+
- other
|
|
22796
|
+
required:
|
|
22797
|
+
- amount
|
|
22798
|
+
- description
|
|
22799
|
+
- periodStart
|
|
22800
|
+
- periodEnd
|
|
22801
|
+
- category
|
|
22802
|
+
BillingInvoiceAdjustment:
|
|
22803
|
+
type: object
|
|
22804
|
+
description: An amount adjusting an invoice, summed across everything of its type.
|
|
22805
|
+
properties:
|
|
22806
|
+
type:
|
|
22807
|
+
type: string
|
|
22808
|
+
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.
|
|
22809
|
+
enum:
|
|
22810
|
+
- proration
|
|
22811
|
+
- watermark_removal
|
|
22812
|
+
- balance
|
|
22813
|
+
amount:
|
|
22814
|
+
description: The adjustment, negative when it reduces the amount billed.
|
|
22815
|
+
type: number
|
|
22816
|
+
required:
|
|
22817
|
+
- type
|
|
22818
|
+
- amount
|
|
22819
|
+
BillingCreditsTotals:
|
|
22820
|
+
type: object
|
|
22821
|
+
description: A total of AI credits, and how much of it is left.
|
|
22822
|
+
properties:
|
|
22823
|
+
grantedCredits:
|
|
22824
|
+
description: Credits granted for the current AI billing period.
|
|
22825
|
+
type: number
|
|
22826
|
+
remainingCredits:
|
|
22827
|
+
description: Credits still available of those granted.
|
|
22828
|
+
type: number
|
|
22829
|
+
required:
|
|
22830
|
+
- grantedCredits
|
|
22831
|
+
- remainingCredits
|
|
22520
22832
|
BillingInvoicePreview:
|
|
22521
22833
|
type: object
|
|
22522
22834
|
properties:
|
|
@@ -22554,6 +22866,154 @@ components:
|
|
|
22554
22866
|
- description
|
|
22555
22867
|
- periodStart
|
|
22556
22868
|
- periodEnd
|
|
22869
|
+
summary:
|
|
22870
|
+
type: object
|
|
22871
|
+
description: Structured representation of the invoice for the current billing summary UI.
|
|
22872
|
+
properties:
|
|
22873
|
+
lines:
|
|
22874
|
+
type: array
|
|
22875
|
+
description: Product lines enriched and normalized for the billing summary UI.
|
|
22876
|
+
items:
|
|
22877
|
+
$ref: "#/components/schemas/BillingInvoiceSummaryLine"
|
|
22878
|
+
adjustments:
|
|
22879
|
+
type: array
|
|
22880
|
+
description: What adjusts the amount billed beyond the products listed, each summed across its type. Only the ones that apply are returned.
|
|
22881
|
+
items:
|
|
22882
|
+
$ref: "#/components/schemas/BillingInvoiceAdjustment"
|
|
22883
|
+
creditGrants:
|
|
22884
|
+
type: array
|
|
22885
|
+
description: AI credits available for the current AI billing period. Empty when the organization is not billed for AI usage.
|
|
22886
|
+
items:
|
|
22887
|
+
type: object
|
|
22888
|
+
description: AI credits granted to the organization for the current AI billing period.
|
|
22889
|
+
properties:
|
|
22890
|
+
type:
|
|
22891
|
+
type: string
|
|
22892
|
+
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.
|
|
22893
|
+
enum:
|
|
22894
|
+
- paid
|
|
22895
|
+
- bonus
|
|
22896
|
+
- site
|
|
22897
|
+
- rollover
|
|
22898
|
+
grantedCredits:
|
|
22899
|
+
description: Credits the grant was created with.
|
|
22900
|
+
type: number
|
|
22901
|
+
usedCredits:
|
|
22902
|
+
description: Credits of the grant spent by the usage metered so far.
|
|
22903
|
+
type: number
|
|
22904
|
+
remainingCredits:
|
|
22905
|
+
description: Credits of the grant still available.
|
|
22906
|
+
type: number
|
|
22907
|
+
sites:
|
|
22908
|
+
description: For a `site` grant, the published sites the credits come from.
|
|
22909
|
+
type: array
|
|
22910
|
+
items:
|
|
22911
|
+
type: object
|
|
22912
|
+
description: The published sites of one type that the grant comes from.
|
|
22913
|
+
properties:
|
|
22914
|
+
siteType:
|
|
22915
|
+
$ref: "#/components/schemas/SiteType"
|
|
22916
|
+
count:
|
|
22917
|
+
description: How many sites of this type are published.
|
|
22918
|
+
type: number
|
|
22919
|
+
creditsPerSite:
|
|
22920
|
+
description: Credits included with one site of this type.
|
|
22921
|
+
type: number
|
|
22922
|
+
grantedCredits:
|
|
22923
|
+
description: Credits these sites contribute to the grant.
|
|
22924
|
+
type: number
|
|
22925
|
+
required:
|
|
22926
|
+
- siteType
|
|
22927
|
+
- count
|
|
22928
|
+
- creditsPerSite
|
|
22929
|
+
- grantedCredits
|
|
22930
|
+
required:
|
|
22931
|
+
- type
|
|
22932
|
+
- grantedCredits
|
|
22933
|
+
- usedCredits
|
|
22934
|
+
- remainingCredits
|
|
22935
|
+
credits:
|
|
22936
|
+
type: object
|
|
22937
|
+
description: The AI credits of the current billing period, grouped the ways the billing screens display them.
|
|
22938
|
+
properties:
|
|
22939
|
+
grantedCredits:
|
|
22940
|
+
description: Credits granted across every grant.
|
|
22941
|
+
type: number
|
|
22942
|
+
usedCredits:
|
|
22943
|
+
description: Credits spent by the usage metered so far.
|
|
22944
|
+
type: number
|
|
22945
|
+
remainingCredits:
|
|
22946
|
+
description: Credits still available across every grant.
|
|
22947
|
+
type: number
|
|
22948
|
+
coveredAmount:
|
|
22949
|
+
description: Part of the metered AI usage paid by credits rather than billed, as a positive amount.
|
|
22950
|
+
type: number
|
|
22951
|
+
paid:
|
|
22952
|
+
description: The credits the organization pays for.
|
|
22953
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
22954
|
+
free:
|
|
22955
|
+
description: The credits included at no extra cost, from the bundle, sites and rollover.
|
|
22956
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
22957
|
+
bundle:
|
|
22958
|
+
description: The credits of the monthly bundle, both paid and bonus.
|
|
22959
|
+
$ref: "#/components/schemas/BillingCreditsTotals"
|
|
22960
|
+
required:
|
|
22961
|
+
- grantedCredits
|
|
22962
|
+
- usedCredits
|
|
22963
|
+
- remainingCredits
|
|
22964
|
+
- coveredAmount
|
|
22965
|
+
- paid
|
|
22966
|
+
- free
|
|
22967
|
+
- bundle
|
|
22968
|
+
chargeDate:
|
|
22969
|
+
description: When the upcoming invoice is charged.
|
|
22970
|
+
$ref: "#/components/schemas/Timestamp"
|
|
22971
|
+
renewal:
|
|
22972
|
+
description: The renewal invoice, when the plan and the AI usage bill on different cadences. Absent when a single invoice covers everything.
|
|
22973
|
+
type: object
|
|
22974
|
+
properties:
|
|
22975
|
+
lines:
|
|
22976
|
+
type: array
|
|
22977
|
+
description: Product lines of the renewal invoice.
|
|
22978
|
+
items:
|
|
22979
|
+
$ref: "#/components/schemas/BillingInvoiceSummaryLine"
|
|
22980
|
+
adjustments:
|
|
22981
|
+
type: array
|
|
22982
|
+
description: What adjusts the renewal beyond the products listed. Prorations and the customer balance are reported on the upcoming invoice instead.
|
|
22983
|
+
items:
|
|
22984
|
+
$ref: "#/components/schemas/BillingInvoiceAdjustment"
|
|
22985
|
+
discounts:
|
|
22986
|
+
type: array
|
|
22987
|
+
description: Discounts still applying when the subscription renews.
|
|
22988
|
+
items:
|
|
22989
|
+
type: object
|
|
22990
|
+
properties:
|
|
22991
|
+
description:
|
|
22992
|
+
description: The description of the applied discount.
|
|
22993
|
+
type: string
|
|
22994
|
+
amount:
|
|
22995
|
+
description: The amount of the applied discount.
|
|
22996
|
+
type: number
|
|
22997
|
+
required:
|
|
22998
|
+
- amount
|
|
22999
|
+
- description
|
|
23000
|
+
amount:
|
|
23001
|
+
description: Total owed for the renewal invoice.
|
|
23002
|
+
type: number
|
|
23003
|
+
chargeDate:
|
|
23004
|
+
description: When the renewal invoice is charged.
|
|
23005
|
+
$ref: "#/components/schemas/Timestamp"
|
|
23006
|
+
required:
|
|
23007
|
+
- lines
|
|
23008
|
+
- adjustments
|
|
23009
|
+
- discounts
|
|
23010
|
+
- amount
|
|
23011
|
+
- chargeDate
|
|
23012
|
+
required:
|
|
23013
|
+
- lines
|
|
23014
|
+
- adjustments
|
|
23015
|
+
- creditGrants
|
|
23016
|
+
- credits
|
|
22557
23017
|
discounts:
|
|
22558
23018
|
type: array
|
|
22559
23019
|
description: Discounts applied to the subscription.
|
|
@@ -22576,6 +23036,7 @@ components:
|
|
|
22576
23036
|
- customerBalance
|
|
22577
23037
|
- remainingCustomerBalance
|
|
22578
23038
|
- lines
|
|
23039
|
+
- summary
|
|
22579
23040
|
BillingUpgrade:
|
|
22580
23041
|
oneOf:
|
|
22581
23042
|
- type: object
|
|
@@ -23898,11 +24359,10 @@ components:
|
|
|
23898
24359
|
description: Optional template used when generating commit messages.
|
|
23899
24360
|
previewExternalBranches:
|
|
23900
24361
|
type: boolean
|
|
23901
|
-
|
|
23902
|
-
description: Whether previews should be generated from branches outside the configured branch.
|
|
24362
|
+
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.
|
|
23903
24363
|
agentInstructions:
|
|
23904
24364
|
type: array
|
|
23905
|
-
description: Agent instruction files GitBook should always export at the repository root.
|
|
24365
|
+
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.
|
|
23906
24366
|
items:
|
|
23907
24367
|
type: string
|
|
23908
24368
|
enum:
|
|
@@ -24101,6 +24561,46 @@ components:
|
|
|
24101
24561
|
- name
|
|
24102
24562
|
- type
|
|
24103
24563
|
- updatedAt
|
|
24564
|
+
GitSyncRoot:
|
|
24565
|
+
type: object
|
|
24566
|
+
description: A repository-backed review and permission boundary for GitBook content.
|
|
24567
|
+
properties:
|
|
24568
|
+
object:
|
|
24569
|
+
type: string
|
|
24570
|
+
enum:
|
|
24571
|
+
- git-sync-root
|
|
24572
|
+
id:
|
|
24573
|
+
type: string
|
|
24574
|
+
description: Unique identifier of the Sync Root.
|
|
24575
|
+
installationId:
|
|
24576
|
+
type: string
|
|
24577
|
+
description: Unique identifier of the top-level installation that owns this Sync Root.
|
|
24578
|
+
target:
|
|
24579
|
+
$ref: "#/components/schemas/GitSyncInstallationTarget"
|
|
24580
|
+
defaultMergeAuthorityPolicy:
|
|
24581
|
+
type: string
|
|
24582
|
+
enum:
|
|
24583
|
+
- provider
|
|
24584
|
+
- gitbook
|
|
24585
|
+
description: System responsible for completing merges by default for this Sync Root.
|
|
24586
|
+
status:
|
|
24587
|
+
type: string
|
|
24588
|
+
enum:
|
|
24589
|
+
- active
|
|
24590
|
+
- disabled
|
|
24591
|
+
createdAt:
|
|
24592
|
+
$ref: "#/components/schemas/Timestamp"
|
|
24593
|
+
updatedAt:
|
|
24594
|
+
$ref: "#/components/schemas/Timestamp"
|
|
24595
|
+
required:
|
|
24596
|
+
- object
|
|
24597
|
+
- id
|
|
24598
|
+
- installationId
|
|
24599
|
+
- target
|
|
24600
|
+
- defaultMergeAuthorityPolicy
|
|
24601
|
+
- status
|
|
24602
|
+
- createdAt
|
|
24603
|
+
- updatedAt
|
|
24104
24604
|
GitSyncInstallation:
|
|
24105
24605
|
allOf:
|
|
24106
24606
|
- $ref: "#/components/schemas/GitSyncInstallationSetup"
|
|
@@ -24124,6 +24624,9 @@ components:
|
|
|
24124
24624
|
$ref: "#/components/schemas/GitRepositoryConnection"
|
|
24125
24625
|
repositoryRef:
|
|
24126
24626
|
$ref: "#/components/schemas/GitRepositoryRef"
|
|
24627
|
+
syncRoot:
|
|
24628
|
+
$ref: "#/components/schemas/GitSyncRoot"
|
|
24629
|
+
description: Effective Sync Root for this installation, inherited from its parent when present.
|
|
24127
24630
|
createdAt:
|
|
24128
24631
|
$ref: "#/components/schemas/Timestamp"
|
|
24129
24632
|
createdBy:
|
|
@@ -25601,9 +26104,9 @@ components:
|
|
|
25601
26104
|
enum:
|
|
25602
26105
|
- updatedAt
|
|
25603
26106
|
- severity
|
|
25604
|
-
-
|
|
26107
|
+
- sources
|
|
25605
26108
|
default: updatedAt
|
|
25606
|
-
description: The field to sort site findings by. `updatedAt` returns the most recently updated findings first. `severity` returns the most severe findings first. `
|
|
26109
|
+
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'.
|
|
25607
26110
|
SiteFindingTitle:
|
|
25608
26111
|
type: string
|
|
25609
26112
|
description: Short finding title
|
|
@@ -28773,6 +29276,14 @@ components:
|
|
|
28773
29276
|
type: string
|
|
28774
29277
|
enum:
|
|
28775
29278
|
- url
|
|
29279
|
+
- type: object
|
|
29280
|
+
required:
|
|
29281
|
+
- column
|
|
29282
|
+
properties:
|
|
29283
|
+
column:
|
|
29284
|
+
type: string
|
|
29285
|
+
enum:
|
|
29286
|
+
- urlPath
|
|
28776
29287
|
- type: object
|
|
28777
29288
|
required:
|
|
28778
29289
|
- column
|
|
@@ -29224,6 +29735,19 @@ components:
|
|
|
29224
29735
|
type: array
|
|
29225
29736
|
items:
|
|
29226
29737
|
$ref: "#/components/schemas/URL"
|
|
29738
|
+
- type: object
|
|
29739
|
+
required:
|
|
29740
|
+
- column
|
|
29741
|
+
- values
|
|
29742
|
+
properties:
|
|
29743
|
+
column:
|
|
29744
|
+
type: string
|
|
29745
|
+
enum:
|
|
29746
|
+
- urlPath
|
|
29747
|
+
values:
|
|
29748
|
+
type: array
|
|
29749
|
+
items:
|
|
29750
|
+
type: string
|
|
29227
29751
|
- type: object
|
|
29228
29752
|
required:
|
|
29229
29753
|
- column
|
|
@@ -30694,6 +31218,11 @@ components:
|
|
|
30694
31218
|
type: integer
|
|
30695
31219
|
minimum: 0
|
|
30696
31220
|
description: Current numeric billing override, when set.
|
|
31221
|
+
OrganizationBillingPercentageOverride:
|
|
31222
|
+
type: number
|
|
31223
|
+
minimum: 0
|
|
31224
|
+
maximum: 100
|
|
31225
|
+
description: Current percentage billing override, when set.
|
|
30697
31226
|
OrganizationBillingOverrides:
|
|
30698
31227
|
type: object
|
|
30699
31228
|
properties:
|
|
@@ -30706,6 +31235,12 @@ components:
|
|
|
30706
31235
|
enableSAML:
|
|
30707
31236
|
description: Current SAML override, when set.
|
|
30708
31237
|
$ref: "#/components/schemas/OrganizationBillingDateOverride"
|
|
31238
|
+
aiCreditAllowance:
|
|
31239
|
+
description: Contractual AI credit allowance for Enterprise organizations only.
|
|
31240
|
+
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
31241
|
+
aiCreditRollover:
|
|
31242
|
+
description: Percentage of remaining paid AI credits carried into the next billing period. Paid self-serve organizations default to 50% when unset.
|
|
31243
|
+
$ref: "#/components/schemas/OrganizationBillingPercentageOverride"
|
|
30709
31244
|
minUsers:
|
|
30710
31245
|
description: Current minimum users override, when set.
|
|
30711
31246
|
$ref: "#/components/schemas/OrganizationBillingNumericOverride"
|
|
@@ -31469,7 +32004,7 @@ components:
|
|
|
31469
32004
|
- config_check
|
|
31470
32005
|
- content_process
|
|
31471
32006
|
- finalize
|
|
31472
|
-
|
|
32007
|
+
GitSyncSpaceOperation:
|
|
31473
32008
|
type: object
|
|
31474
32009
|
properties:
|
|
31475
32010
|
state:
|
|
@@ -31502,6 +32037,43 @@ components:
|
|
|
31502
32037
|
- completedTasks
|
|
31503
32038
|
- startedAt
|
|
31504
32039
|
- updatedAt
|
|
32040
|
+
GitSyncOperation:
|
|
32041
|
+
description: Deprecated. Use `GitSyncSpaceOperation` instead.
|
|
32042
|
+
deprecated: true
|
|
32043
|
+
allOf:
|
|
32044
|
+
- $ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
32045
|
+
GitSyncSiteOperation:
|
|
32046
|
+
type: object
|
|
32047
|
+
properties:
|
|
32048
|
+
state:
|
|
32049
|
+
$ref: "#/components/schemas/GitSyncOperationState"
|
|
32050
|
+
direction:
|
|
32051
|
+
$ref: "#/components/schemas/GitSyncOperationDirection"
|
|
32052
|
+
stage:
|
|
32053
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
32054
|
+
startedAt:
|
|
32055
|
+
description: Date when the operation was started
|
|
32056
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32057
|
+
updatedAt:
|
|
32058
|
+
description: Date when the operation was last updated
|
|
32059
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32060
|
+
completedAt:
|
|
32061
|
+
description: Date when the operation was successful (when state is `success`)
|
|
32062
|
+
$ref: "#/components/schemas/Timestamp"
|
|
32063
|
+
error:
|
|
32064
|
+
type: string
|
|
32065
|
+
description: Error details, defined if state is `failure`.
|
|
32066
|
+
spaces:
|
|
32067
|
+
type: object
|
|
32068
|
+
additionalProperties:
|
|
32069
|
+
$ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
32070
|
+
required:
|
|
32071
|
+
- state
|
|
32072
|
+
- direction
|
|
32073
|
+
- stage
|
|
32074
|
+
- startedAt
|
|
32075
|
+
- updatedAt
|
|
32076
|
+
- spaces
|
|
31505
32077
|
GitSyncSiteStructureSectionGroup:
|
|
31506
32078
|
type: object
|
|
31507
32079
|
additionalProperties: false
|
|
@@ -32798,6 +33370,18 @@ components:
|
|
|
32798
33370
|
required:
|
|
32799
33371
|
- channel
|
|
32800
33372
|
- space
|
|
33373
|
+
APIChannelGitSyncSiteOperation:
|
|
33374
|
+
type: object
|
|
33375
|
+
properties:
|
|
33376
|
+
channel:
|
|
33377
|
+
type: string
|
|
33378
|
+
enum:
|
|
33379
|
+
- site-gitsync-operation
|
|
33380
|
+
site:
|
|
33381
|
+
type: string
|
|
33382
|
+
required:
|
|
33383
|
+
- channel
|
|
33384
|
+
- site
|
|
32801
33385
|
APIChannelOpenAPISpec:
|
|
32802
33386
|
type: object
|
|
32803
33387
|
description: Subscription channel for changes in OpenAPI specification.
|
|
@@ -32928,6 +33512,7 @@ components:
|
|
|
32928
33512
|
- $ref: "#/components/schemas/APIChannelCustomHostname"
|
|
32929
33513
|
- $ref: "#/components/schemas/APIChannelGitSyncInstallation"
|
|
32930
33514
|
- $ref: "#/components/schemas/APIChannelGitSyncOperation"
|
|
33515
|
+
- $ref: "#/components/schemas/APIChannelGitSyncSiteOperation"
|
|
32931
33516
|
- $ref: "#/components/schemas/APIChannelOpenAPISpec"
|
|
32932
33517
|
- $ref: "#/components/schemas/APIChannelSubdomain"
|
|
32933
33518
|
- $ref: "#/components/schemas/APIChannelTranslation"
|
|
@@ -32979,7 +33564,19 @@ components:
|
|
|
32979
33564
|
enum:
|
|
32980
33565
|
- space-gitsync-operation
|
|
32981
33566
|
data:
|
|
32982
|
-
$ref: "#/components/schemas/
|
|
33567
|
+
$ref: "#/components/schemas/GitSyncSpaceOperation"
|
|
33568
|
+
required:
|
|
33569
|
+
- channel
|
|
33570
|
+
- data
|
|
33571
|
+
APIChannelGitSyncSiteOperationData:
|
|
33572
|
+
type: object
|
|
33573
|
+
properties:
|
|
33574
|
+
channel:
|
|
33575
|
+
type: string
|
|
33576
|
+
enum:
|
|
33577
|
+
- site-gitsync-operation
|
|
33578
|
+
data:
|
|
33579
|
+
$ref: "#/components/schemas/GitSyncSiteOperation"
|
|
32983
33580
|
required:
|
|
32984
33581
|
- channel
|
|
32985
33582
|
- data
|
|
@@ -33006,6 +33603,7 @@ components:
|
|
|
33006
33603
|
description: Data passed through a realtime channel
|
|
33007
33604
|
oneOf:
|
|
33008
33605
|
- $ref: "#/components/schemas/APIChannelGitSyncOperationData"
|
|
33606
|
+
- $ref: "#/components/schemas/APIChannelGitSyncSiteOperationData"
|
|
33009
33607
|
- $ref: "#/components/schemas/APIChannelTranslationRunData"
|
|
33010
33608
|
- $ref: "#/components/schemas/APIChannelImportRunData"
|
|
33011
33609
|
- $ref: "#/components/schemas/APIChannelMutationData"
|