@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.json
CHANGED
|
@@ -3867,7 +3867,7 @@
|
|
|
3867
3867
|
"post": {
|
|
3868
3868
|
"operationId": "updateChangeRequestContent",
|
|
3869
3869
|
"summary": "Apply a batch of content changes to a change request",
|
|
3870
|
-
"description": "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.\nWhen 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:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal 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.\nGitBook 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.\n\n**Response shape (`compat`)** — this endpoint is changing what it returns:\n- `compat=true` (current default) returns the updated change request, matching the endpoint's\n original behavior.\n\n- `compat=false` returns the updated change request **and** the list of affected pages (see\n the response schema).\n\nThe 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.",
|
|
3870
|
+
"description": "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.\nTo 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.\nWhen 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:\n- Page ID — `/pages/<pageId>` (also `/pages/<pageId>#anchor`).\n- Page slug path — `/pages/<slug>` for a top-level page, or `/pages/<parent-slug>/<slug>`\n for a nested page (e.g. `/pages/guides/getting-started`).\n\n- Markdown file path — the path the page would have in Git: `/pages/<slug>.md` for a page,\n or `/pages/<slug>/README.md` for a page that has child pages. The space's root page is\n `/pages/README.md`.\n\n- Relative markdown link — resolved against the page being edited, e.g. `./sibling.md`,\n `../other.md`, or `../README.md` (the parent page). Folder-style links without an\n extension (e.g. `./section`) resolve to that folder's page.\n\nExternal 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.\nGitBook 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.\n\n**Response shape (`compat`)** — this endpoint is changing what it returns:\n- `compat=true` (current default) returns the updated change request, matching the endpoint's\n original behavior.\n\n- `compat=false` returns the updated change request **and** the list of affected pages (see\n the response schema).\n\nThe 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.",
|
|
3871
3871
|
"x-gitbook-mcp": true,
|
|
3872
3872
|
"tags": [
|
|
3873
3873
|
"change-request-content"
|
|
@@ -10257,6 +10257,7 @@
|
|
|
10257
10257
|
"get": {
|
|
10258
10258
|
"operationId": "listOrganizationIntegrationsStatus",
|
|
10259
10259
|
"summary": "List all integration statuses",
|
|
10260
|
+
"description": "Returns integration installations in the organization. Use site or space with the matching target to efficiently scope the result to one resource.",
|
|
10260
10261
|
"tags": [
|
|
10261
10262
|
"integrations",
|
|
10262
10263
|
"critical"
|
|
@@ -10284,6 +10285,22 @@
|
|
|
10284
10285
|
"site"
|
|
10285
10286
|
]
|
|
10286
10287
|
}
|
|
10288
|
+
},
|
|
10289
|
+
{
|
|
10290
|
+
"name": "site",
|
|
10291
|
+
"in": "query",
|
|
10292
|
+
"description": "Return installations for this site. Only valid when target is site.",
|
|
10293
|
+
"schema": {
|
|
10294
|
+
"type": "string"
|
|
10295
|
+
}
|
|
10296
|
+
},
|
|
10297
|
+
{
|
|
10298
|
+
"name": "space",
|
|
10299
|
+
"in": "query",
|
|
10300
|
+
"description": "Return installations for this space. Only valid when target is space.",
|
|
10301
|
+
"schema": {
|
|
10302
|
+
"type": "string"
|
|
10303
|
+
}
|
|
10287
10304
|
}
|
|
10288
10305
|
],
|
|
10289
10306
|
"responses": {
|
|
@@ -15345,9 +15362,12 @@
|
|
|
15345
15362
|
{
|
|
15346
15363
|
"name": "type",
|
|
15347
15364
|
"in": "query",
|
|
15348
|
-
"description": "Filter findings by type.",
|
|
15365
|
+
"description": "Filter findings by type. When multiple types are given, findings matching any of them are returned.",
|
|
15349
15366
|
"schema": {
|
|
15350
|
-
"
|
|
15367
|
+
"type": "array",
|
|
15368
|
+
"items": {
|
|
15369
|
+
"$ref": "#/components/schemas/SiteFindingType"
|
|
15370
|
+
}
|
|
15351
15371
|
}
|
|
15352
15372
|
},
|
|
15353
15373
|
{
|
|
@@ -15384,6 +15404,24 @@
|
|
|
15384
15404
|
}
|
|
15385
15405
|
}
|
|
15386
15406
|
},
|
|
15407
|
+
{
|
|
15408
|
+
"name": "updatedAfter",
|
|
15409
|
+
"in": "query",
|
|
15410
|
+
"description": "Only return findings last updated at or after this date.",
|
|
15411
|
+
"schema": {
|
|
15412
|
+
"type": "string",
|
|
15413
|
+
"format": "date-time"
|
|
15414
|
+
}
|
|
15415
|
+
},
|
|
15416
|
+
{
|
|
15417
|
+
"name": "updatedBefore",
|
|
15418
|
+
"in": "query",
|
|
15419
|
+
"description": "Only return findings last updated before this date.",
|
|
15420
|
+
"schema": {
|
|
15421
|
+
"type": "string",
|
|
15422
|
+
"format": "date-time"
|
|
15423
|
+
}
|
|
15424
|
+
},
|
|
15387
15425
|
{
|
|
15388
15426
|
"name": "orderBy",
|
|
15389
15427
|
"in": "query",
|
|
@@ -15866,9 +15904,12 @@
|
|
|
15866
15904
|
{
|
|
15867
15905
|
"name": "type",
|
|
15868
15906
|
"in": "query",
|
|
15869
|
-
"description": "Filter findings by type.",
|
|
15907
|
+
"description": "Filter findings by type. When multiple types are given, findings matching any of them are returned.",
|
|
15870
15908
|
"schema": {
|
|
15871
|
-
"
|
|
15909
|
+
"type": "array",
|
|
15910
|
+
"items": {
|
|
15911
|
+
"$ref": "#/components/schemas/SiteFindingType"
|
|
15912
|
+
}
|
|
15872
15913
|
}
|
|
15873
15914
|
},
|
|
15874
15915
|
{
|
|
@@ -21109,7 +21150,23 @@
|
|
|
21109
21150
|
"content": {
|
|
21110
21151
|
"application/json": {
|
|
21111
21152
|
"schema": {
|
|
21112
|
-
"
|
|
21153
|
+
"allOf": [
|
|
21154
|
+
{
|
|
21155
|
+
"$ref": "#/components/schemas/GitSyncInstallationSetup"
|
|
21156
|
+
},
|
|
21157
|
+
{
|
|
21158
|
+
"type": "object",
|
|
21159
|
+
"properties": {
|
|
21160
|
+
"childInstallationProjectDirectories": {
|
|
21161
|
+
"type": "object",
|
|
21162
|
+
"description": "Project directories keyed by child installation ID for a site installation.",
|
|
21163
|
+
"additionalProperties": {
|
|
21164
|
+
"type": "string"
|
|
21165
|
+
}
|
|
21166
|
+
}
|
|
21167
|
+
}
|
|
21168
|
+
}
|
|
21169
|
+
]
|
|
21113
21170
|
}
|
|
21114
21171
|
}
|
|
21115
21172
|
}
|
|
@@ -22691,6 +22748,25 @@
|
|
|
22691
22748
|
"import"
|
|
22692
22749
|
]
|
|
22693
22750
|
},
|
|
22751
|
+
"GitSyncOperationErrorAction": {
|
|
22752
|
+
"type": "object",
|
|
22753
|
+
"description": "An action the user can take to resolve a failed Git Sync operation.",
|
|
22754
|
+
"properties": {
|
|
22755
|
+
"label": {
|
|
22756
|
+
"type": "string",
|
|
22757
|
+
"description": "Label for the action."
|
|
22758
|
+
},
|
|
22759
|
+
"url": {
|
|
22760
|
+
"type": "string",
|
|
22761
|
+
"format": "uri",
|
|
22762
|
+
"description": "URL where the user can resolve the failure."
|
|
22763
|
+
}
|
|
22764
|
+
},
|
|
22765
|
+
"required": [
|
|
22766
|
+
"label",
|
|
22767
|
+
"url"
|
|
22768
|
+
]
|
|
22769
|
+
},
|
|
22694
22770
|
"GitSyncState": {
|
|
22695
22771
|
"type": "object",
|
|
22696
22772
|
"properties": {
|
|
@@ -22740,6 +22816,9 @@
|
|
|
22740
22816
|
"error": {
|
|
22741
22817
|
"type": "string",
|
|
22742
22818
|
"description": "Why the operation failed, when it did."
|
|
22819
|
+
},
|
|
22820
|
+
"errorAction": {
|
|
22821
|
+
"$ref": "#/components/schemas/GitSyncOperationErrorAction"
|
|
22743
22822
|
}
|
|
22744
22823
|
},
|
|
22745
22824
|
"required": [
|
|
@@ -30815,7 +30894,7 @@
|
|
|
30815
30894
|
}
|
|
30816
30895
|
},
|
|
30817
30896
|
"ChangeRequestContentChangeInsertPage": {
|
|
30818
|
-
"description": "Insert a new page into the change request.",
|
|
30897
|
+
"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.",
|
|
30819
30898
|
"allOf": [
|
|
30820
30899
|
{
|
|
30821
30900
|
"$ref": "#/components/schemas/RevisionPageUpdate"
|
|
@@ -30920,6 +30999,88 @@
|
|
|
30920
30999
|
"page": "page_id"
|
|
30921
31000
|
}
|
|
30922
31001
|
},
|
|
31002
|
+
"ChangeRequestContentChangeInsertFiles": {
|
|
31003
|
+
"type": "object",
|
|
31004
|
+
"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`.",
|
|
31005
|
+
"required": [
|
|
31006
|
+
"operation",
|
|
31007
|
+
"files"
|
|
31008
|
+
],
|
|
31009
|
+
"properties": {
|
|
31010
|
+
"operation": {
|
|
31011
|
+
"type": "string",
|
|
31012
|
+
"enum": [
|
|
31013
|
+
"insert_files"
|
|
31014
|
+
]
|
|
31015
|
+
},
|
|
31016
|
+
"files": {
|
|
31017
|
+
"type": "array",
|
|
31018
|
+
"minItems": 1,
|
|
31019
|
+
"maxItems": 20,
|
|
31020
|
+
"items": {
|
|
31021
|
+
"type": "object",
|
|
31022
|
+
"description": "A file to upload. Set exactly one source: `url` (GitBook fetches it) or `base64` (inline bytes, max 1MB). Prefer `url`.",
|
|
31023
|
+
"required": [
|
|
31024
|
+
"name"
|
|
31025
|
+
],
|
|
31026
|
+
"properties": {
|
|
31027
|
+
"ref": {
|
|
31028
|
+
"type": "string",
|
|
31029
|
+
"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."
|
|
31030
|
+
},
|
|
31031
|
+
"name": {
|
|
31032
|
+
"type": "string",
|
|
31033
|
+
"minLength": 1,
|
|
31034
|
+
"maxLength": 256,
|
|
31035
|
+
"description": "Filename to store the file under, including its extension."
|
|
31036
|
+
},
|
|
31037
|
+
"contentType": {
|
|
31038
|
+
"type": "string",
|
|
31039
|
+
"description": "MIME type. Required with `base64`; overrides the source's own type otherwise."
|
|
31040
|
+
}
|
|
31041
|
+
},
|
|
31042
|
+
"oneOf": [
|
|
31043
|
+
{
|
|
31044
|
+
"type": "object",
|
|
31045
|
+
"properties": {
|
|
31046
|
+
"url": {
|
|
31047
|
+
"type": "string",
|
|
31048
|
+
"format": "uri",
|
|
31049
|
+
"maxLength": 2048,
|
|
31050
|
+
"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."
|
|
31051
|
+
}
|
|
31052
|
+
},
|
|
31053
|
+
"required": [
|
|
31054
|
+
"url"
|
|
31055
|
+
]
|
|
31056
|
+
},
|
|
31057
|
+
{
|
|
31058
|
+
"type": "object",
|
|
31059
|
+
"properties": {
|
|
31060
|
+
"base64": {
|
|
31061
|
+
"type": "string",
|
|
31062
|
+
"description": "Base64-encoded bytes, max 1MB. Requires `contentType`."
|
|
31063
|
+
}
|
|
31064
|
+
},
|
|
31065
|
+
"required": [
|
|
31066
|
+
"base64"
|
|
31067
|
+
]
|
|
31068
|
+
}
|
|
31069
|
+
]
|
|
31070
|
+
}
|
|
31071
|
+
}
|
|
31072
|
+
},
|
|
31073
|
+
"example": {
|
|
31074
|
+
"operation": "insert_files",
|
|
31075
|
+
"files": [
|
|
31076
|
+
{
|
|
31077
|
+
"ref": "architecture.png",
|
|
31078
|
+
"name": "architecture.png",
|
|
31079
|
+
"url": "https://example.com/architecture.png"
|
|
31080
|
+
}
|
|
31081
|
+
]
|
|
31082
|
+
}
|
|
31083
|
+
},
|
|
30923
31084
|
"ChangeRequestContentChange": {
|
|
30924
31085
|
"oneOf": [
|
|
30925
31086
|
{
|
|
@@ -30933,6 +31094,9 @@
|
|
|
30933
31094
|
},
|
|
30934
31095
|
{
|
|
30935
31096
|
"$ref": "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
31097
|
+
},
|
|
31098
|
+
{
|
|
31099
|
+
"$ref": "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
30936
31100
|
}
|
|
30937
31101
|
],
|
|
30938
31102
|
"discriminator": {
|
|
@@ -30941,7 +31105,8 @@
|
|
|
30941
31105
|
"update_page": "#/components/schemas/ChangeRequestContentChangeUpdatePage",
|
|
30942
31106
|
"insert_page": "#/components/schemas/ChangeRequestContentChangeInsertPage",
|
|
30943
31107
|
"delete_page": "#/components/schemas/ChangeRequestContentChangeDeletePage",
|
|
30944
|
-
"revert_page": "#/components/schemas/ChangeRequestContentChangeRevertPage"
|
|
31108
|
+
"revert_page": "#/components/schemas/ChangeRequestContentChangeRevertPage",
|
|
31109
|
+
"insert_files": "#/components/schemas/ChangeRequestContentChangeInsertFiles"
|
|
30945
31110
|
}
|
|
30946
31111
|
}
|
|
30947
31112
|
},
|
|
@@ -31085,6 +31250,13 @@
|
|
|
31085
31250
|
"items": {
|
|
31086
31251
|
"$ref": "#/components/schemas/ChangeRequestContentUpdateChange"
|
|
31087
31252
|
}
|
|
31253
|
+
},
|
|
31254
|
+
"insertedFiles": {
|
|
31255
|
+
"type": "array",
|
|
31256
|
+
"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.",
|
|
31257
|
+
"items": {
|
|
31258
|
+
"$ref": "#/components/schemas/RevisionFile"
|
|
31259
|
+
}
|
|
31088
31260
|
}
|
|
31089
31261
|
}
|
|
31090
31262
|
},
|
|
@@ -32323,6 +32495,17 @@
|
|
|
32323
32495
|
"enabled"
|
|
32324
32496
|
]
|
|
32325
32497
|
},
|
|
32498
|
+
"BillingCreditsBundle": {
|
|
32499
|
+
"type": "string",
|
|
32500
|
+
"description": "The AI credit bundle to top up every month",
|
|
32501
|
+
"enum": [
|
|
32502
|
+
"none",
|
|
32503
|
+
135001500,
|
|
32504
|
+
240006000,
|
|
32505
|
+
4200018000,
|
|
32506
|
+
6000040000
|
|
32507
|
+
]
|
|
32508
|
+
},
|
|
32326
32509
|
"OrganizationBilling": {
|
|
32327
32510
|
"type": "object",
|
|
32328
32511
|
"properties": {
|
|
@@ -32405,6 +32588,30 @@
|
|
|
32405
32588
|
"canUseSAML": {
|
|
32406
32589
|
"description": "Whether configuring SAML is allowed",
|
|
32407
32590
|
"type": "boolean"
|
|
32591
|
+
},
|
|
32592
|
+
"creditsBundle": {
|
|
32593
|
+
"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.",
|
|
32594
|
+
"oneOf": [
|
|
32595
|
+
{
|
|
32596
|
+
"$ref": "#/components/schemas/BillingCreditsBundle"
|
|
32597
|
+
},
|
|
32598
|
+
{
|
|
32599
|
+
"type": "null"
|
|
32600
|
+
}
|
|
32601
|
+
]
|
|
32602
|
+
},
|
|
32603
|
+
"aiCreditAlertThreshold": {
|
|
32604
|
+
"description": "Percentage of total AI credits remaining at which to send a low-balance alert, or null when the alert is disabled.",
|
|
32605
|
+
"oneOf": [
|
|
32606
|
+
{
|
|
32607
|
+
"type": "number",
|
|
32608
|
+
"minimum": 0,
|
|
32609
|
+
"maximum": 100
|
|
32610
|
+
},
|
|
32611
|
+
{
|
|
32612
|
+
"type": "null"
|
|
32613
|
+
}
|
|
32614
|
+
]
|
|
32408
32615
|
}
|
|
32409
32616
|
},
|
|
32410
32617
|
"required": [
|
|
@@ -32416,7 +32623,9 @@
|
|
|
32416
32623
|
"pricing",
|
|
32417
32624
|
"usageAddons",
|
|
32418
32625
|
"canChangeInterval",
|
|
32419
|
-
"canUseSAML"
|
|
32626
|
+
"canUseSAML",
|
|
32627
|
+
"creditsBundle",
|
|
32628
|
+
"aiCreditAlertThreshold"
|
|
32420
32629
|
]
|
|
32421
32630
|
},
|
|
32422
32631
|
"BillingTrialStatus": {
|
|
@@ -34835,11 +35044,14 @@
|
|
|
34835
35044
|
"sites-ai-search",
|
|
34836
35045
|
"sites-ai-assistant",
|
|
34837
35046
|
"sites-ai-insights",
|
|
35047
|
+
"sites-fix-broken-links",
|
|
34838
35048
|
"sites-connections",
|
|
35049
|
+
"sites-content-gaps",
|
|
34839
35050
|
"sites-channels",
|
|
34840
35051
|
"sites-embed",
|
|
34841
35052
|
"sites-api-playground",
|
|
34842
35053
|
"sites-basic-customization",
|
|
35054
|
+
"sites-broken-links",
|
|
34843
35055
|
"sites-custom-domain",
|
|
34844
35056
|
"sites-custom-fonts",
|
|
34845
35057
|
"sites-custom-subdirectory",
|
|
@@ -35005,6 +35217,11 @@
|
|
|
35005
35217
|
"type": "string",
|
|
35006
35218
|
"format": "date-time"
|
|
35007
35219
|
},
|
|
35220
|
+
"lastScanAt": {
|
|
35221
|
+
"type": "string",
|
|
35222
|
+
"format": "date-time",
|
|
35223
|
+
"description": "When GitBook last completed a scan of the site's content\ngaps. Absent until the site has been scanned at least once.\n"
|
|
35224
|
+
},
|
|
35008
35225
|
"adaptiveContent": {
|
|
35009
35226
|
"$ref": "#/components/schemas/SiteAdaptiveContent"
|
|
35010
35227
|
},
|
|
@@ -37463,6 +37680,9 @@
|
|
|
37463
37680
|
"$ref": "#/components/schemas/BillingMeter"
|
|
37464
37681
|
}
|
|
37465
37682
|
},
|
|
37683
|
+
"creditsBundle": {
|
|
37684
|
+
"$ref": "#/components/schemas/BillingCreditsBundle"
|
|
37685
|
+
},
|
|
37466
37686
|
"mode": {
|
|
37467
37687
|
"type": "string",
|
|
37468
37688
|
"description": "Mode to use for the upgrade (default value is `commit`): - `commit`: a checkout session is returned or the upgrade is applied directly - `preview`: a preview invoice is always returned\n",
|
|
@@ -37477,6 +37697,98 @@
|
|
|
37477
37697
|
"interval"
|
|
37478
37698
|
]
|
|
37479
37699
|
},
|
|
37700
|
+
"BillingInvoiceSummaryLine": {
|
|
37701
|
+
"type": "object",
|
|
37702
|
+
"description": "A product line of an invoice, enriched and normalized for the billing summary UI.",
|
|
37703
|
+
"properties": {
|
|
37704
|
+
"description": {
|
|
37705
|
+
"description": "How Stripe describes the line, as a fallback for lines the client cannot label itself.",
|
|
37706
|
+
"type": "string"
|
|
37707
|
+
},
|
|
37708
|
+
"amount": {
|
|
37709
|
+
"type": "number"
|
|
37710
|
+
},
|
|
37711
|
+
"quantity": {
|
|
37712
|
+
"description": "How many units the line bills, such as the number of members.",
|
|
37713
|
+
"type": "number"
|
|
37714
|
+
},
|
|
37715
|
+
"siteType": {
|
|
37716
|
+
"description": "Which kind of site a `sites` line bills for.",
|
|
37717
|
+
"$ref": "#/components/schemas/SiteType"
|
|
37718
|
+
},
|
|
37719
|
+
"unitAmount": {
|
|
37720
|
+
"description": "Price of a single unit, over the period the line covers.",
|
|
37721
|
+
"type": "number"
|
|
37722
|
+
},
|
|
37723
|
+
"periodStart": {
|
|
37724
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37725
|
+
},
|
|
37726
|
+
"periodEnd": {
|
|
37727
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37728
|
+
},
|
|
37729
|
+
"category": {
|
|
37730
|
+
"type": "string",
|
|
37731
|
+
"description": "What the invoice line is billing for, so a preview can be grouped by product area.",
|
|
37732
|
+
"enum": [
|
|
37733
|
+
"members",
|
|
37734
|
+
"sites",
|
|
37735
|
+
"addons",
|
|
37736
|
+
"credits",
|
|
37737
|
+
"usage",
|
|
37738
|
+
"watermark_removal",
|
|
37739
|
+
"other"
|
|
37740
|
+
]
|
|
37741
|
+
}
|
|
37742
|
+
},
|
|
37743
|
+
"required": [
|
|
37744
|
+
"amount",
|
|
37745
|
+
"description",
|
|
37746
|
+
"periodStart",
|
|
37747
|
+
"periodEnd",
|
|
37748
|
+
"category"
|
|
37749
|
+
]
|
|
37750
|
+
},
|
|
37751
|
+
"BillingInvoiceAdjustment": {
|
|
37752
|
+
"type": "object",
|
|
37753
|
+
"description": "An amount adjusting an invoice, summed across everything of its type.",
|
|
37754
|
+
"properties": {
|
|
37755
|
+
"type": {
|
|
37756
|
+
"type": "string",
|
|
37757
|
+
"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.",
|
|
37758
|
+
"enum": [
|
|
37759
|
+
"proration",
|
|
37760
|
+
"watermark_removal",
|
|
37761
|
+
"balance"
|
|
37762
|
+
]
|
|
37763
|
+
},
|
|
37764
|
+
"amount": {
|
|
37765
|
+
"description": "The adjustment, negative when it reduces the amount billed.",
|
|
37766
|
+
"type": "number"
|
|
37767
|
+
}
|
|
37768
|
+
},
|
|
37769
|
+
"required": [
|
|
37770
|
+
"type",
|
|
37771
|
+
"amount"
|
|
37772
|
+
]
|
|
37773
|
+
},
|
|
37774
|
+
"BillingCreditsTotals": {
|
|
37775
|
+
"type": "object",
|
|
37776
|
+
"description": "A total of AI credits, and how much of it is left.",
|
|
37777
|
+
"properties": {
|
|
37778
|
+
"grantedCredits": {
|
|
37779
|
+
"description": "Credits granted for the current AI billing period.",
|
|
37780
|
+
"type": "number"
|
|
37781
|
+
},
|
|
37782
|
+
"remainingCredits": {
|
|
37783
|
+
"description": "Credits still available of those granted.",
|
|
37784
|
+
"type": "number"
|
|
37785
|
+
}
|
|
37786
|
+
},
|
|
37787
|
+
"required": [
|
|
37788
|
+
"grantedCredits",
|
|
37789
|
+
"remainingCredits"
|
|
37790
|
+
]
|
|
37791
|
+
},
|
|
37480
37792
|
"BillingInvoicePreview": {
|
|
37481
37793
|
"type": "object",
|
|
37482
37794
|
"properties": {
|
|
@@ -37527,6 +37839,204 @@
|
|
|
37527
37839
|
]
|
|
37528
37840
|
}
|
|
37529
37841
|
},
|
|
37842
|
+
"summary": {
|
|
37843
|
+
"type": "object",
|
|
37844
|
+
"description": "Structured representation of the invoice for the current billing summary UI.",
|
|
37845
|
+
"properties": {
|
|
37846
|
+
"lines": {
|
|
37847
|
+
"type": "array",
|
|
37848
|
+
"description": "Product lines enriched and normalized for the billing summary UI.",
|
|
37849
|
+
"items": {
|
|
37850
|
+
"$ref": "#/components/schemas/BillingInvoiceSummaryLine"
|
|
37851
|
+
}
|
|
37852
|
+
},
|
|
37853
|
+
"adjustments": {
|
|
37854
|
+
"type": "array",
|
|
37855
|
+
"description": "What adjusts the amount billed beyond the products listed, each summed across its type. Only the ones that apply are returned.",
|
|
37856
|
+
"items": {
|
|
37857
|
+
"$ref": "#/components/schemas/BillingInvoiceAdjustment"
|
|
37858
|
+
}
|
|
37859
|
+
},
|
|
37860
|
+
"creditGrants": {
|
|
37861
|
+
"type": "array",
|
|
37862
|
+
"description": "AI credits available for the current AI billing period. Empty when the organization is not billed for AI usage.",
|
|
37863
|
+
"items": {
|
|
37864
|
+
"type": "object",
|
|
37865
|
+
"description": "AI credits granted to the organization for the current AI billing period.",
|
|
37866
|
+
"properties": {
|
|
37867
|
+
"type": {
|
|
37868
|
+
"type": "string",
|
|
37869
|
+
"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.",
|
|
37870
|
+
"enum": [
|
|
37871
|
+
"paid",
|
|
37872
|
+
"bonus",
|
|
37873
|
+
"site",
|
|
37874
|
+
"rollover"
|
|
37875
|
+
]
|
|
37876
|
+
},
|
|
37877
|
+
"grantedCredits": {
|
|
37878
|
+
"description": "Credits the grant was created with.",
|
|
37879
|
+
"type": "number"
|
|
37880
|
+
},
|
|
37881
|
+
"usedCredits": {
|
|
37882
|
+
"description": "Credits of the grant spent by the usage metered so far.",
|
|
37883
|
+
"type": "number"
|
|
37884
|
+
},
|
|
37885
|
+
"remainingCredits": {
|
|
37886
|
+
"description": "Credits of the grant still available.",
|
|
37887
|
+
"type": "number"
|
|
37888
|
+
},
|
|
37889
|
+
"sites": {
|
|
37890
|
+
"description": "For a `site` grant, the published sites the credits come from.",
|
|
37891
|
+
"type": "array",
|
|
37892
|
+
"items": {
|
|
37893
|
+
"type": "object",
|
|
37894
|
+
"description": "The published sites of one type that the grant comes from.",
|
|
37895
|
+
"properties": {
|
|
37896
|
+
"siteType": {
|
|
37897
|
+
"$ref": "#/components/schemas/SiteType"
|
|
37898
|
+
},
|
|
37899
|
+
"count": {
|
|
37900
|
+
"description": "How many sites of this type are published.",
|
|
37901
|
+
"type": "number"
|
|
37902
|
+
},
|
|
37903
|
+
"creditsPerSite": {
|
|
37904
|
+
"description": "Credits included with one site of this type.",
|
|
37905
|
+
"type": "number"
|
|
37906
|
+
},
|
|
37907
|
+
"grantedCredits": {
|
|
37908
|
+
"description": "Credits these sites contribute to the grant.",
|
|
37909
|
+
"type": "number"
|
|
37910
|
+
}
|
|
37911
|
+
},
|
|
37912
|
+
"required": [
|
|
37913
|
+
"siteType",
|
|
37914
|
+
"count",
|
|
37915
|
+
"creditsPerSite",
|
|
37916
|
+
"grantedCredits"
|
|
37917
|
+
]
|
|
37918
|
+
}
|
|
37919
|
+
}
|
|
37920
|
+
},
|
|
37921
|
+
"required": [
|
|
37922
|
+
"type",
|
|
37923
|
+
"grantedCredits",
|
|
37924
|
+
"usedCredits",
|
|
37925
|
+
"remainingCredits"
|
|
37926
|
+
]
|
|
37927
|
+
}
|
|
37928
|
+
},
|
|
37929
|
+
"credits": {
|
|
37930
|
+
"type": "object",
|
|
37931
|
+
"description": "The AI credits of the current billing period, grouped the ways the billing screens display them.",
|
|
37932
|
+
"properties": {
|
|
37933
|
+
"grantedCredits": {
|
|
37934
|
+
"description": "Credits granted across every grant.",
|
|
37935
|
+
"type": "number"
|
|
37936
|
+
},
|
|
37937
|
+
"usedCredits": {
|
|
37938
|
+
"description": "Credits spent by the usage metered so far.",
|
|
37939
|
+
"type": "number"
|
|
37940
|
+
},
|
|
37941
|
+
"remainingCredits": {
|
|
37942
|
+
"description": "Credits still available across every grant.",
|
|
37943
|
+
"type": "number"
|
|
37944
|
+
},
|
|
37945
|
+
"coveredAmount": {
|
|
37946
|
+
"description": "Part of the metered AI usage paid by credits rather than billed, as a positive amount.",
|
|
37947
|
+
"type": "number"
|
|
37948
|
+
},
|
|
37949
|
+
"paid": {
|
|
37950
|
+
"description": "The credits the organization pays for.",
|
|
37951
|
+
"$ref": "#/components/schemas/BillingCreditsTotals"
|
|
37952
|
+
},
|
|
37953
|
+
"free": {
|
|
37954
|
+
"description": "The credits included at no extra cost, from the bundle, sites and rollover.",
|
|
37955
|
+
"$ref": "#/components/schemas/BillingCreditsTotals"
|
|
37956
|
+
},
|
|
37957
|
+
"bundle": {
|
|
37958
|
+
"description": "The credits of the monthly bundle, both paid and bonus.",
|
|
37959
|
+
"$ref": "#/components/schemas/BillingCreditsTotals"
|
|
37960
|
+
}
|
|
37961
|
+
},
|
|
37962
|
+
"required": [
|
|
37963
|
+
"grantedCredits",
|
|
37964
|
+
"usedCredits",
|
|
37965
|
+
"remainingCredits",
|
|
37966
|
+
"coveredAmount",
|
|
37967
|
+
"paid",
|
|
37968
|
+
"free",
|
|
37969
|
+
"bundle"
|
|
37970
|
+
]
|
|
37971
|
+
},
|
|
37972
|
+
"chargeDate": {
|
|
37973
|
+
"description": "When the upcoming invoice is charged.",
|
|
37974
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
37975
|
+
},
|
|
37976
|
+
"renewal": {
|
|
37977
|
+
"description": "The renewal invoice, when the plan and the AI usage bill on different cadences. Absent when a single invoice covers everything.",
|
|
37978
|
+
"type": "object",
|
|
37979
|
+
"properties": {
|
|
37980
|
+
"lines": {
|
|
37981
|
+
"type": "array",
|
|
37982
|
+
"description": "Product lines of the renewal invoice.",
|
|
37983
|
+
"items": {
|
|
37984
|
+
"$ref": "#/components/schemas/BillingInvoiceSummaryLine"
|
|
37985
|
+
}
|
|
37986
|
+
},
|
|
37987
|
+
"adjustments": {
|
|
37988
|
+
"type": "array",
|
|
37989
|
+
"description": "What adjusts the renewal beyond the products listed. Prorations and the customer balance are reported on the upcoming invoice instead.",
|
|
37990
|
+
"items": {
|
|
37991
|
+
"$ref": "#/components/schemas/BillingInvoiceAdjustment"
|
|
37992
|
+
}
|
|
37993
|
+
},
|
|
37994
|
+
"discounts": {
|
|
37995
|
+
"type": "array",
|
|
37996
|
+
"description": "Discounts still applying when the subscription renews.",
|
|
37997
|
+
"items": {
|
|
37998
|
+
"type": "object",
|
|
37999
|
+
"properties": {
|
|
38000
|
+
"description": {
|
|
38001
|
+
"description": "The description of the applied discount.",
|
|
38002
|
+
"type": "string"
|
|
38003
|
+
},
|
|
38004
|
+
"amount": {
|
|
38005
|
+
"description": "The amount of the applied discount.",
|
|
38006
|
+
"type": "number"
|
|
38007
|
+
}
|
|
38008
|
+
},
|
|
38009
|
+
"required": [
|
|
38010
|
+
"amount",
|
|
38011
|
+
"description"
|
|
38012
|
+
]
|
|
38013
|
+
}
|
|
38014
|
+
},
|
|
38015
|
+
"amount": {
|
|
38016
|
+
"description": "Total owed for the renewal invoice.",
|
|
38017
|
+
"type": "number"
|
|
38018
|
+
},
|
|
38019
|
+
"chargeDate": {
|
|
38020
|
+
"description": "When the renewal invoice is charged.",
|
|
38021
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
38022
|
+
}
|
|
38023
|
+
},
|
|
38024
|
+
"required": [
|
|
38025
|
+
"lines",
|
|
38026
|
+
"adjustments",
|
|
38027
|
+
"discounts",
|
|
38028
|
+
"amount",
|
|
38029
|
+
"chargeDate"
|
|
38030
|
+
]
|
|
38031
|
+
}
|
|
38032
|
+
},
|
|
38033
|
+
"required": [
|
|
38034
|
+
"lines",
|
|
38035
|
+
"adjustments",
|
|
38036
|
+
"creditGrants",
|
|
38037
|
+
"credits"
|
|
38038
|
+
]
|
|
38039
|
+
},
|
|
37530
38040
|
"discounts": {
|
|
37531
38041
|
"type": "array",
|
|
37532
38042
|
"description": "Discounts applied to the subscription.",
|
|
@@ -37555,7 +38065,8 @@
|
|
|
37555
38065
|
"amountDueToday",
|
|
37556
38066
|
"customerBalance",
|
|
37557
38067
|
"remainingCustomerBalance",
|
|
37558
|
-
"lines"
|
|
38068
|
+
"lines",
|
|
38069
|
+
"summary"
|
|
37559
38070
|
]
|
|
37560
38071
|
},
|
|
37561
38072
|
"BillingUpgrade": {
|
|
@@ -37901,12 +38412,72 @@
|
|
|
37901
38412
|
}
|
|
37902
38413
|
]
|
|
37903
38414
|
},
|
|
38415
|
+
"InstalledIntegrationTarget": {
|
|
38416
|
+
"description": "The resource on which an integration is installed.",
|
|
38417
|
+
"oneOf": [
|
|
38418
|
+
{
|
|
38419
|
+
"type": "object",
|
|
38420
|
+
"required": [
|
|
38421
|
+
"type",
|
|
38422
|
+
"organizationId"
|
|
38423
|
+
],
|
|
38424
|
+
"properties": {
|
|
38425
|
+
"type": {
|
|
38426
|
+
"type": "string",
|
|
38427
|
+
"enum": [
|
|
38428
|
+
"organization"
|
|
38429
|
+
]
|
|
38430
|
+
},
|
|
38431
|
+
"organizationId": {
|
|
38432
|
+
"type": "string"
|
|
38433
|
+
}
|
|
38434
|
+
}
|
|
38435
|
+
},
|
|
38436
|
+
{
|
|
38437
|
+
"type": "object",
|
|
38438
|
+
"required": [
|
|
38439
|
+
"type",
|
|
38440
|
+
"siteId"
|
|
38441
|
+
],
|
|
38442
|
+
"properties": {
|
|
38443
|
+
"type": {
|
|
38444
|
+
"type": "string",
|
|
38445
|
+
"enum": [
|
|
38446
|
+
"site"
|
|
38447
|
+
]
|
|
38448
|
+
},
|
|
38449
|
+
"siteId": {
|
|
38450
|
+
"type": "string"
|
|
38451
|
+
}
|
|
38452
|
+
}
|
|
38453
|
+
},
|
|
38454
|
+
{
|
|
38455
|
+
"type": "object",
|
|
38456
|
+
"required": [
|
|
38457
|
+
"type",
|
|
38458
|
+
"spaceId"
|
|
38459
|
+
],
|
|
38460
|
+
"properties": {
|
|
38461
|
+
"type": {
|
|
38462
|
+
"type": "string",
|
|
38463
|
+
"enum": [
|
|
38464
|
+
"space"
|
|
38465
|
+
]
|
|
38466
|
+
},
|
|
38467
|
+
"spaceId": {
|
|
38468
|
+
"type": "string"
|
|
38469
|
+
}
|
|
38470
|
+
}
|
|
38471
|
+
}
|
|
38472
|
+
]
|
|
38473
|
+
},
|
|
37904
38474
|
"InstalledIntegration": {
|
|
37905
38475
|
"type": "object",
|
|
37906
|
-
"description": "An
|
|
38476
|
+
"description": "An integration installation, its current status, and the resource it targets.",
|
|
37907
38477
|
"required": [
|
|
37908
38478
|
"status",
|
|
37909
|
-
"integration"
|
|
38479
|
+
"integration",
|
|
38480
|
+
"target"
|
|
37910
38481
|
],
|
|
37911
38482
|
"properties": {
|
|
37912
38483
|
"status": {
|
|
@@ -37914,6 +38485,9 @@
|
|
|
37914
38485
|
},
|
|
37915
38486
|
"integration": {
|
|
37916
38487
|
"$ref": "#/components/schemas/Integration"
|
|
38488
|
+
},
|
|
38489
|
+
"target": {
|
|
38490
|
+
"$ref": "#/components/schemas/InstalledIntegrationTarget"
|
|
37917
38491
|
}
|
|
37918
38492
|
}
|
|
37919
38493
|
},
|
|
@@ -39451,12 +40025,11 @@
|
|
|
39451
40025
|
},
|
|
39452
40026
|
"previewExternalBranches": {
|
|
39453
40027
|
"type": "boolean",
|
|
39454
|
-
"
|
|
39455
|
-
"description": "Whether previews should be generated from branches outside the configured branch."
|
|
40028
|
+
"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."
|
|
39456
40029
|
},
|
|
39457
40030
|
"agentInstructions": {
|
|
39458
40031
|
"type": "array",
|
|
39459
|
-
"description": "Agent instruction files GitBook should always export at the repository root.",
|
|
40032
|
+
"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.",
|
|
39460
40033
|
"items": {
|
|
39461
40034
|
"type": "string",
|
|
39462
40035
|
"enum": [
|
|
@@ -39750,6 +40323,60 @@
|
|
|
39750
40323
|
"updatedAt"
|
|
39751
40324
|
]
|
|
39752
40325
|
},
|
|
40326
|
+
"GitSyncRoot": {
|
|
40327
|
+
"type": "object",
|
|
40328
|
+
"description": "A repository-backed review and permission boundary for GitBook content.",
|
|
40329
|
+
"properties": {
|
|
40330
|
+
"object": {
|
|
40331
|
+
"type": "string",
|
|
40332
|
+
"enum": [
|
|
40333
|
+
"git-sync-root"
|
|
40334
|
+
]
|
|
40335
|
+
},
|
|
40336
|
+
"id": {
|
|
40337
|
+
"type": "string",
|
|
40338
|
+
"description": "Unique identifier of the Sync Root."
|
|
40339
|
+
},
|
|
40340
|
+
"installationId": {
|
|
40341
|
+
"type": "string",
|
|
40342
|
+
"description": "Unique identifier of the top-level installation that owns this Sync Root."
|
|
40343
|
+
},
|
|
40344
|
+
"target": {
|
|
40345
|
+
"$ref": "#/components/schemas/GitSyncInstallationTarget"
|
|
40346
|
+
},
|
|
40347
|
+
"defaultMergeAuthorityPolicy": {
|
|
40348
|
+
"type": "string",
|
|
40349
|
+
"enum": [
|
|
40350
|
+
"provider",
|
|
40351
|
+
"gitbook"
|
|
40352
|
+
],
|
|
40353
|
+
"description": "System responsible for completing merges by default for this Sync Root."
|
|
40354
|
+
},
|
|
40355
|
+
"status": {
|
|
40356
|
+
"type": "string",
|
|
40357
|
+
"enum": [
|
|
40358
|
+
"active",
|
|
40359
|
+
"disabled"
|
|
40360
|
+
]
|
|
40361
|
+
},
|
|
40362
|
+
"createdAt": {
|
|
40363
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
40364
|
+
},
|
|
40365
|
+
"updatedAt": {
|
|
40366
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
40367
|
+
}
|
|
40368
|
+
},
|
|
40369
|
+
"required": [
|
|
40370
|
+
"object",
|
|
40371
|
+
"id",
|
|
40372
|
+
"installationId",
|
|
40373
|
+
"target",
|
|
40374
|
+
"defaultMergeAuthorityPolicy",
|
|
40375
|
+
"status",
|
|
40376
|
+
"createdAt",
|
|
40377
|
+
"updatedAt"
|
|
40378
|
+
]
|
|
40379
|
+
},
|
|
39753
40380
|
"GitSyncInstallation": {
|
|
39754
40381
|
"allOf": [
|
|
39755
40382
|
{
|
|
@@ -39784,6 +40411,10 @@
|
|
|
39784
40411
|
"repositoryRef": {
|
|
39785
40412
|
"$ref": "#/components/schemas/GitRepositoryRef"
|
|
39786
40413
|
},
|
|
40414
|
+
"syncRoot": {
|
|
40415
|
+
"$ref": "#/components/schemas/GitSyncRoot",
|
|
40416
|
+
"description": "Effective Sync Root for this installation, inherited from its parent when present."
|
|
40417
|
+
},
|
|
39787
40418
|
"createdAt": {
|
|
39788
40419
|
"$ref": "#/components/schemas/Timestamp"
|
|
39789
40420
|
},
|
|
@@ -40536,6 +41167,11 @@
|
|
|
40536
41167
|
"assistant"
|
|
40537
41168
|
]
|
|
40538
41169
|
},
|
|
41170
|
+
"CustomizationAIGreeting": {
|
|
41171
|
+
"type": "string",
|
|
41172
|
+
"description": "Initial greeting displayed by the AI Assistant when a visitor starts a conversation.",
|
|
41173
|
+
"maxLength": 256
|
|
41174
|
+
},
|
|
40539
41175
|
"CustomizationSuggestedQuestion": {
|
|
40540
41176
|
"type": "string",
|
|
40541
41177
|
"minLength": 3,
|
|
@@ -40860,6 +41496,12 @@
|
|
|
40860
41496
|
"mode": {
|
|
40861
41497
|
"$ref": "#/components/schemas/CustomizationAIMode"
|
|
40862
41498
|
},
|
|
41499
|
+
"greeting": {
|
|
41500
|
+
"$ref": "#/components/schemas/CustomizationAIGreeting"
|
|
41501
|
+
},
|
|
41502
|
+
"localizedGreeting": {
|
|
41503
|
+
"$ref": "#/components/schemas/LocalizedString128"
|
|
41504
|
+
},
|
|
40863
41505
|
"suggestions": {
|
|
40864
41506
|
"$ref": "#/components/schemas/CustomizationSuggestedQuestions"
|
|
40865
41507
|
},
|
|
@@ -41770,11 +42412,12 @@
|
|
|
41770
42412
|
},
|
|
41771
42413
|
"SiteFindingType": {
|
|
41772
42414
|
"type": "string",
|
|
41773
|
-
"description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Other: Any other type of finding not covered by the above categories.",
|
|
42415
|
+
"description": "Classification of a site finding:\n - Outdated content: The content was correct but is no longer up to date with external context and may be misleading or incorrect.\n - Incorrect content: The content is factually wrong or misleading, leading users astray regardless of whether it was ever correct.\n - Content gap: The content is missing important information that should be present to answer user questions effectively.\n - Broken link: A URL on the site returns a 404, and can be resolved by creating a redirect or a new page.\n - Other: Any other type of finding not covered by the above categories.",
|
|
41774
42416
|
"enum": [
|
|
41775
42417
|
"content-outdated",
|
|
41776
42418
|
"content-incorrect",
|
|
41777
42419
|
"content-gap",
|
|
42420
|
+
"broken-link",
|
|
41778
42421
|
"other"
|
|
41779
42422
|
]
|
|
41780
42423
|
},
|
|
@@ -41804,16 +42447,172 @@
|
|
|
41804
42447
|
"enum": [
|
|
41805
42448
|
"updatedAt",
|
|
41806
42449
|
"severity",
|
|
41807
|
-
"
|
|
42450
|
+
"sources"
|
|
41808
42451
|
],
|
|
41809
42452
|
"default": "updatedAt",
|
|
41810
|
-
"description": "The field to sort site findings by. `updatedAt` returns the most recently updated findings first. `severity` returns the most severe findings first. `
|
|
42453
|
+
"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'."
|
|
41811
42454
|
},
|
|
41812
42455
|
"SiteFindingTitle": {
|
|
41813
42456
|
"type": "string",
|
|
41814
42457
|
"description": "Short finding title",
|
|
41815
42458
|
"maxLength": 256
|
|
41816
42459
|
},
|
|
42460
|
+
"SiteRedirectSourcePath": {
|
|
42461
|
+
"type": "string",
|
|
42462
|
+
"description": "The source path to redirect from.",
|
|
42463
|
+
"maxLength": 512,
|
|
42464
|
+
"pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
|
|
42465
|
+
},
|
|
42466
|
+
"SiteRedirectDestinationSiteSection": {
|
|
42467
|
+
"type": "object",
|
|
42468
|
+
"properties": {
|
|
42469
|
+
"kind": {
|
|
42470
|
+
"type": "string",
|
|
42471
|
+
"enum": [
|
|
42472
|
+
"site-section"
|
|
42473
|
+
]
|
|
42474
|
+
},
|
|
42475
|
+
"siteSectionId": {
|
|
42476
|
+
"type": "string",
|
|
42477
|
+
"description": "Unique identifier for the site section to redirect to"
|
|
42478
|
+
}
|
|
42479
|
+
},
|
|
42480
|
+
"required": [
|
|
42481
|
+
"kind",
|
|
42482
|
+
"siteSectionId"
|
|
42483
|
+
]
|
|
42484
|
+
},
|
|
42485
|
+
"SiteRedirectDestinationSiteSpace": {
|
|
42486
|
+
"type": "object",
|
|
42487
|
+
"properties": {
|
|
42488
|
+
"kind": {
|
|
42489
|
+
"type": "string",
|
|
42490
|
+
"enum": [
|
|
42491
|
+
"site-space"
|
|
42492
|
+
]
|
|
42493
|
+
},
|
|
42494
|
+
"siteSpaceId": {
|
|
42495
|
+
"type": "string",
|
|
42496
|
+
"description": "Unique identifier for the site space to redirect to"
|
|
42497
|
+
}
|
|
42498
|
+
},
|
|
42499
|
+
"required": [
|
|
42500
|
+
"kind",
|
|
42501
|
+
"siteSpaceId"
|
|
42502
|
+
]
|
|
42503
|
+
},
|
|
42504
|
+
"SiteRedirectDestinationPage": {
|
|
42505
|
+
"type": "object",
|
|
42506
|
+
"properties": {
|
|
42507
|
+
"kind": {
|
|
42508
|
+
"type": "string",
|
|
42509
|
+
"enum": [
|
|
42510
|
+
"site-page"
|
|
42511
|
+
]
|
|
42512
|
+
},
|
|
42513
|
+
"siteSpaceId": {
|
|
42514
|
+
"type": "string",
|
|
42515
|
+
"description": "Unique identifier for the site space of the page"
|
|
42516
|
+
},
|
|
42517
|
+
"pageId": {
|
|
42518
|
+
"type": "string",
|
|
42519
|
+
"description": "Unique identifier for the page within the site space to redirect to"
|
|
42520
|
+
}
|
|
42521
|
+
},
|
|
42522
|
+
"required": [
|
|
42523
|
+
"kind",
|
|
42524
|
+
"siteSpaceId",
|
|
42525
|
+
"pageId"
|
|
42526
|
+
]
|
|
42527
|
+
},
|
|
42528
|
+
"SiteRedirectDestinationExternal": {
|
|
42529
|
+
"type": "object",
|
|
42530
|
+
"properties": {
|
|
42531
|
+
"kind": {
|
|
42532
|
+
"type": "string",
|
|
42533
|
+
"enum": [
|
|
42534
|
+
"external"
|
|
42535
|
+
]
|
|
42536
|
+
},
|
|
42537
|
+
"url": {
|
|
42538
|
+
"$ref": "#/components/schemas/URL"
|
|
42539
|
+
}
|
|
42540
|
+
},
|
|
42541
|
+
"required": [
|
|
42542
|
+
"kind",
|
|
42543
|
+
"url"
|
|
42544
|
+
]
|
|
42545
|
+
},
|
|
42546
|
+
"SiteRedirectDestination": {
|
|
42547
|
+
"oneOf": [
|
|
42548
|
+
{
|
|
42549
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
42550
|
+
},
|
|
42551
|
+
{
|
|
42552
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
42553
|
+
},
|
|
42554
|
+
{
|
|
42555
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationPage"
|
|
42556
|
+
},
|
|
42557
|
+
{
|
|
42558
|
+
"$ref": "#/components/schemas/SiteRedirectDestinationExternal"
|
|
42559
|
+
}
|
|
42560
|
+
]
|
|
42561
|
+
},
|
|
42562
|
+
"SiteRedirectInputDestinationPath": {
|
|
42563
|
+
"type": "object",
|
|
42564
|
+
"properties": {
|
|
42565
|
+
"kind": {
|
|
42566
|
+
"type": "string",
|
|
42567
|
+
"enum": [
|
|
42568
|
+
"path"
|
|
42569
|
+
]
|
|
42570
|
+
},
|
|
42571
|
+
"spaceId": {
|
|
42572
|
+
"type": "string",
|
|
42573
|
+
"description": "Unique identifier for the space containing the page referenced by the path."
|
|
42574
|
+
},
|
|
42575
|
+
"path": {
|
|
42576
|
+
"type": "string",
|
|
42577
|
+
"description": "Path to the page within the space revision to resolve."
|
|
42578
|
+
}
|
|
42579
|
+
},
|
|
42580
|
+
"required": [
|
|
42581
|
+
"kind",
|
|
42582
|
+
"spaceId",
|
|
42583
|
+
"path"
|
|
42584
|
+
]
|
|
42585
|
+
},
|
|
42586
|
+
"SiteRedirectInputDestination": {
|
|
42587
|
+
"oneOf": [
|
|
42588
|
+
{
|
|
42589
|
+
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
42590
|
+
},
|
|
42591
|
+
{
|
|
42592
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
42593
|
+
}
|
|
42594
|
+
]
|
|
42595
|
+
},
|
|
42596
|
+
"SiteFindingBrokenLinkAction": {
|
|
42597
|
+
"type": "object",
|
|
42598
|
+
"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).",
|
|
42599
|
+
"properties": {
|
|
42600
|
+
"source": {
|
|
42601
|
+
"$ref": "#/components/schemas/SiteRedirectSourcePath"
|
|
42602
|
+
},
|
|
42603
|
+
"captureWildcard": {
|
|
42604
|
+
"type": "boolean",
|
|
42605
|
+
"description": "Whether the redirect appends the wildcard-matched suffix of the source path to the destination."
|
|
42606
|
+
},
|
|
42607
|
+
"destination": {
|
|
42608
|
+
"$ref": "#/components/schemas/SiteRedirectInputDestination"
|
|
42609
|
+
}
|
|
42610
|
+
},
|
|
42611
|
+
"required": [
|
|
42612
|
+
"source",
|
|
42613
|
+
"destination"
|
|
42614
|
+
]
|
|
42615
|
+
},
|
|
41817
42616
|
"SiteFinding": {
|
|
41818
42617
|
"type": "object",
|
|
41819
42618
|
"properties": {
|
|
@@ -41873,6 +42672,9 @@
|
|
|
41873
42672
|
"type": "boolean",
|
|
41874
42673
|
"description": "Whether an AI agent should be able to fix this finding directly"
|
|
41875
42674
|
},
|
|
42675
|
+
"brokenLinkAction": {
|
|
42676
|
+
"$ref": "#/components/schemas/SiteFindingBrokenLinkAction"
|
|
42677
|
+
},
|
|
41876
42678
|
"createdAt": {
|
|
41877
42679
|
"$ref": "#/components/schemas/Timestamp"
|
|
41878
42680
|
},
|
|
@@ -44119,6 +44921,35 @@
|
|
|
44119
44921
|
"changeRequestId"
|
|
44120
44922
|
]
|
|
44121
44923
|
},
|
|
44924
|
+
"AIToolCallArchiveChangeRequest": {
|
|
44925
|
+
"type": "object",
|
|
44926
|
+
"properties": {
|
|
44927
|
+
"tool": {
|
|
44928
|
+
"type": "string",
|
|
44929
|
+
"enum": [
|
|
44930
|
+
"archiveChangeRequest"
|
|
44931
|
+
]
|
|
44932
|
+
},
|
|
44933
|
+
"spaceId": {
|
|
44934
|
+
"type": "string",
|
|
44935
|
+
"description": "The ID of the space the change request belongs to."
|
|
44936
|
+
},
|
|
44937
|
+
"changeRequestId": {
|
|
44938
|
+
"type": "string",
|
|
44939
|
+
"description": "The ID of the change request."
|
|
44940
|
+
},
|
|
44941
|
+
"reason": {
|
|
44942
|
+
"type": "string",
|
|
44943
|
+
"description": "Why the agent gave up on implementing the change request."
|
|
44944
|
+
}
|
|
44945
|
+
},
|
|
44946
|
+
"required": [
|
|
44947
|
+
"tool",
|
|
44948
|
+
"spaceId",
|
|
44949
|
+
"changeRequestId",
|
|
44950
|
+
"reason"
|
|
44951
|
+
]
|
|
44952
|
+
},
|
|
44122
44953
|
"AIToolCallComment": {
|
|
44123
44954
|
"type": "object",
|
|
44124
44955
|
"properties": {
|
|
@@ -44379,6 +45210,9 @@
|
|
|
44379
45210
|
{
|
|
44380
45211
|
"$ref": "#/components/schemas/AIToolCallSetChangeRequestDetails"
|
|
44381
45212
|
},
|
|
45213
|
+
{
|
|
45214
|
+
"$ref": "#/components/schemas/AIToolCallArchiveChangeRequest"
|
|
45215
|
+
},
|
|
44382
45216
|
{
|
|
44383
45217
|
"$ref": "#/components/schemas/AIToolCallComment"
|
|
44384
45218
|
},
|
|
@@ -46492,6 +47326,36 @@
|
|
|
46492
47326
|
{
|
|
46493
47327
|
"$ref": "#/components/schemas/SiteInsightsQueryDateTimeColumn"
|
|
46494
47328
|
},
|
|
47329
|
+
{
|
|
47330
|
+
"type": "object",
|
|
47331
|
+
"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.",
|
|
47332
|
+
"required": [
|
|
47333
|
+
"column"
|
|
47334
|
+
],
|
|
47335
|
+
"properties": {
|
|
47336
|
+
"column": {
|
|
47337
|
+
"type": "string",
|
|
47338
|
+
"enum": [
|
|
47339
|
+
"dayOfWeek"
|
|
47340
|
+
]
|
|
47341
|
+
}
|
|
47342
|
+
}
|
|
47343
|
+
},
|
|
47344
|
+
{
|
|
47345
|
+
"type": "object",
|
|
47346
|
+
"description": "Hour of the day the event happened, in UTC, from 0 to 23.",
|
|
47347
|
+
"required": [
|
|
47348
|
+
"column"
|
|
47349
|
+
],
|
|
47350
|
+
"properties": {
|
|
47351
|
+
"column": {
|
|
47352
|
+
"type": "string",
|
|
47353
|
+
"enum": [
|
|
47354
|
+
"hourOfDay"
|
|
47355
|
+
]
|
|
47356
|
+
}
|
|
47357
|
+
}
|
|
47358
|
+
},
|
|
46495
47359
|
{
|
|
46496
47360
|
"type": "object",
|
|
46497
47361
|
"required": [
|
|
@@ -46506,6 +47370,20 @@
|
|
|
46506
47370
|
}
|
|
46507
47371
|
}
|
|
46508
47372
|
},
|
|
47373
|
+
{
|
|
47374
|
+
"type": "object",
|
|
47375
|
+
"required": [
|
|
47376
|
+
"column"
|
|
47377
|
+
],
|
|
47378
|
+
"properties": {
|
|
47379
|
+
"column": {
|
|
47380
|
+
"type": "string",
|
|
47381
|
+
"enum": [
|
|
47382
|
+
"urlPath"
|
|
47383
|
+
]
|
|
47384
|
+
}
|
|
47385
|
+
}
|
|
47386
|
+
},
|
|
46509
47387
|
{
|
|
46510
47388
|
"type": "object",
|
|
46511
47389
|
"required": [
|
|
@@ -47219,6 +48097,52 @@
|
|
|
47219
48097
|
}
|
|
47220
48098
|
}
|
|
47221
48099
|
},
|
|
48100
|
+
{
|
|
48101
|
+
"type": "object",
|
|
48102
|
+
"required": [
|
|
48103
|
+
"column",
|
|
48104
|
+
"values"
|
|
48105
|
+
],
|
|
48106
|
+
"properties": {
|
|
48107
|
+
"column": {
|
|
48108
|
+
"type": "string",
|
|
48109
|
+
"enum": [
|
|
48110
|
+
"dayOfWeek"
|
|
48111
|
+
]
|
|
48112
|
+
},
|
|
48113
|
+
"values": {
|
|
48114
|
+
"type": "array",
|
|
48115
|
+
"items": {
|
|
48116
|
+
"type": "integer",
|
|
48117
|
+
"minimum": 1,
|
|
48118
|
+
"maximum": 7
|
|
48119
|
+
}
|
|
48120
|
+
}
|
|
48121
|
+
}
|
|
48122
|
+
},
|
|
48123
|
+
{
|
|
48124
|
+
"type": "object",
|
|
48125
|
+
"required": [
|
|
48126
|
+
"column",
|
|
48127
|
+
"values"
|
|
48128
|
+
],
|
|
48129
|
+
"properties": {
|
|
48130
|
+
"column": {
|
|
48131
|
+
"type": "string",
|
|
48132
|
+
"enum": [
|
|
48133
|
+
"hourOfDay"
|
|
48134
|
+
]
|
|
48135
|
+
},
|
|
48136
|
+
"values": {
|
|
48137
|
+
"type": "array",
|
|
48138
|
+
"items": {
|
|
48139
|
+
"type": "integer",
|
|
48140
|
+
"minimum": 0,
|
|
48141
|
+
"maximum": 23
|
|
48142
|
+
}
|
|
48143
|
+
}
|
|
48144
|
+
}
|
|
48145
|
+
},
|
|
47222
48146
|
{
|
|
47223
48147
|
"type": "object",
|
|
47224
48148
|
"required": [
|
|
@@ -47240,6 +48164,27 @@
|
|
|
47240
48164
|
}
|
|
47241
48165
|
}
|
|
47242
48166
|
},
|
|
48167
|
+
{
|
|
48168
|
+
"type": "object",
|
|
48169
|
+
"required": [
|
|
48170
|
+
"column",
|
|
48171
|
+
"values"
|
|
48172
|
+
],
|
|
48173
|
+
"properties": {
|
|
48174
|
+
"column": {
|
|
48175
|
+
"type": "string",
|
|
48176
|
+
"enum": [
|
|
48177
|
+
"urlPath"
|
|
48178
|
+
]
|
|
48179
|
+
},
|
|
48180
|
+
"values": {
|
|
48181
|
+
"type": "array",
|
|
48182
|
+
"items": {
|
|
48183
|
+
"type": "string"
|
|
48184
|
+
}
|
|
48185
|
+
}
|
|
48186
|
+
}
|
|
48187
|
+
},
|
|
47243
48188
|
{
|
|
47244
48189
|
"type": "object",
|
|
47245
48190
|
"required": [
|
|
@@ -48431,108 +49376,6 @@
|
|
|
48431
49376
|
}
|
|
48432
49377
|
}
|
|
48433
49378
|
},
|
|
48434
|
-
"SiteRedirectSourcePath": {
|
|
48435
|
-
"type": "string",
|
|
48436
|
-
"description": "The source path to redirect from.",
|
|
48437
|
-
"maxLength": 512,
|
|
48438
|
-
"pattern": "^\\/(?!\\*)(?!.*\\*.+)(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+(?:\\/(?:[A-Za-z0-9\\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\\/\\*|\\*)?$"
|
|
48439
|
-
},
|
|
48440
|
-
"SiteRedirectDestinationSiteSection": {
|
|
48441
|
-
"type": "object",
|
|
48442
|
-
"properties": {
|
|
48443
|
-
"kind": {
|
|
48444
|
-
"type": "string",
|
|
48445
|
-
"enum": [
|
|
48446
|
-
"site-section"
|
|
48447
|
-
]
|
|
48448
|
-
},
|
|
48449
|
-
"siteSectionId": {
|
|
48450
|
-
"type": "string",
|
|
48451
|
-
"description": "Unique identifier for the site section to redirect to"
|
|
48452
|
-
}
|
|
48453
|
-
},
|
|
48454
|
-
"required": [
|
|
48455
|
-
"kind",
|
|
48456
|
-
"siteSectionId"
|
|
48457
|
-
]
|
|
48458
|
-
},
|
|
48459
|
-
"SiteRedirectDestinationSiteSpace": {
|
|
48460
|
-
"type": "object",
|
|
48461
|
-
"properties": {
|
|
48462
|
-
"kind": {
|
|
48463
|
-
"type": "string",
|
|
48464
|
-
"enum": [
|
|
48465
|
-
"site-space"
|
|
48466
|
-
]
|
|
48467
|
-
},
|
|
48468
|
-
"siteSpaceId": {
|
|
48469
|
-
"type": "string",
|
|
48470
|
-
"description": "Unique identifier for the site space to redirect to"
|
|
48471
|
-
}
|
|
48472
|
-
},
|
|
48473
|
-
"required": [
|
|
48474
|
-
"kind",
|
|
48475
|
-
"siteSpaceId"
|
|
48476
|
-
]
|
|
48477
|
-
},
|
|
48478
|
-
"SiteRedirectDestinationPage": {
|
|
48479
|
-
"type": "object",
|
|
48480
|
-
"properties": {
|
|
48481
|
-
"kind": {
|
|
48482
|
-
"type": "string",
|
|
48483
|
-
"enum": [
|
|
48484
|
-
"site-page"
|
|
48485
|
-
]
|
|
48486
|
-
},
|
|
48487
|
-
"siteSpaceId": {
|
|
48488
|
-
"type": "string",
|
|
48489
|
-
"description": "Unique identifier for the site space of the page"
|
|
48490
|
-
},
|
|
48491
|
-
"pageId": {
|
|
48492
|
-
"type": "string",
|
|
48493
|
-
"description": "Unique identifier for the page within the site space to redirect to"
|
|
48494
|
-
}
|
|
48495
|
-
},
|
|
48496
|
-
"required": [
|
|
48497
|
-
"kind",
|
|
48498
|
-
"siteSpaceId",
|
|
48499
|
-
"pageId"
|
|
48500
|
-
]
|
|
48501
|
-
},
|
|
48502
|
-
"SiteRedirectDestinationExternal": {
|
|
48503
|
-
"type": "object",
|
|
48504
|
-
"properties": {
|
|
48505
|
-
"kind": {
|
|
48506
|
-
"type": "string",
|
|
48507
|
-
"enum": [
|
|
48508
|
-
"external"
|
|
48509
|
-
]
|
|
48510
|
-
},
|
|
48511
|
-
"url": {
|
|
48512
|
-
"$ref": "#/components/schemas/URL"
|
|
48513
|
-
}
|
|
48514
|
-
},
|
|
48515
|
-
"required": [
|
|
48516
|
-
"kind",
|
|
48517
|
-
"url"
|
|
48518
|
-
]
|
|
48519
|
-
},
|
|
48520
|
-
"SiteRedirectDestination": {
|
|
48521
|
-
"oneOf": [
|
|
48522
|
-
{
|
|
48523
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSection"
|
|
48524
|
-
},
|
|
48525
|
-
{
|
|
48526
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationSiteSpace"
|
|
48527
|
-
},
|
|
48528
|
-
{
|
|
48529
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationPage"
|
|
48530
|
-
},
|
|
48531
|
-
{
|
|
48532
|
-
"$ref": "#/components/schemas/SiteRedirectDestinationExternal"
|
|
48533
|
-
}
|
|
48534
|
-
]
|
|
48535
|
-
},
|
|
48536
49379
|
"SiteRedirect": {
|
|
48537
49380
|
"type": "object",
|
|
48538
49381
|
"properties": {
|
|
@@ -48570,40 +49413,6 @@
|
|
|
48570
49413
|
"destination"
|
|
48571
49414
|
]
|
|
48572
49415
|
},
|
|
48573
|
-
"SiteRedirectInputDestinationPath": {
|
|
48574
|
-
"type": "object",
|
|
48575
|
-
"properties": {
|
|
48576
|
-
"kind": {
|
|
48577
|
-
"type": "string",
|
|
48578
|
-
"enum": [
|
|
48579
|
-
"path"
|
|
48580
|
-
]
|
|
48581
|
-
},
|
|
48582
|
-
"spaceId": {
|
|
48583
|
-
"type": "string",
|
|
48584
|
-
"description": "Unique identifier for the space containing the page referenced by the path."
|
|
48585
|
-
},
|
|
48586
|
-
"path": {
|
|
48587
|
-
"type": "string",
|
|
48588
|
-
"description": "Path to the page within the space revision to resolve."
|
|
48589
|
-
}
|
|
48590
|
-
},
|
|
48591
|
-
"required": [
|
|
48592
|
-
"kind",
|
|
48593
|
-
"spaceId",
|
|
48594
|
-
"path"
|
|
48595
|
-
]
|
|
48596
|
-
},
|
|
48597
|
-
"SiteRedirectInputDestination": {
|
|
48598
|
-
"oneOf": [
|
|
48599
|
-
{
|
|
48600
|
-
"$ref": "#/components/schemas/SiteRedirectDestination"
|
|
48601
|
-
},
|
|
48602
|
-
{
|
|
48603
|
-
"$ref": "#/components/schemas/SiteRedirectInputDestinationPath"
|
|
48604
|
-
}
|
|
48605
|
-
]
|
|
48606
|
-
},
|
|
48607
49416
|
"SiteMcpServerName": {
|
|
48608
49417
|
"type": "string",
|
|
48609
49418
|
"description": "Name of the MCP server",
|
|
@@ -49495,6 +50304,12 @@
|
|
|
49495
50304
|
"minimum": 0,
|
|
49496
50305
|
"description": "Current numeric billing override, when set."
|
|
49497
50306
|
},
|
|
50307
|
+
"OrganizationBillingPercentageOverride": {
|
|
50308
|
+
"type": "number",
|
|
50309
|
+
"minimum": 0,
|
|
50310
|
+
"maximum": 100,
|
|
50311
|
+
"description": "Current percentage billing override, when set."
|
|
50312
|
+
},
|
|
49498
50313
|
"OrganizationBillingOverrides": {
|
|
49499
50314
|
"type": "object",
|
|
49500
50315
|
"properties": {
|
|
@@ -49509,6 +50324,18 @@
|
|
|
49509
50324
|
"description": "Current SAML override, when set.",
|
|
49510
50325
|
"$ref": "#/components/schemas/OrganizationBillingDateOverride"
|
|
49511
50326
|
},
|
|
50327
|
+
"aiCreditAllowance": {
|
|
50328
|
+
"description": "Contractual AI credit allowance for Enterprise organizations only.",
|
|
50329
|
+
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
50330
|
+
},
|
|
50331
|
+
"aiCreditRollover": {
|
|
50332
|
+
"description": "Percentage of remaining paid AI credits carried into the next billing period. Paid self-serve organizations default to 50% when unset.",
|
|
50333
|
+
"$ref": "#/components/schemas/OrganizationBillingPercentageOverride"
|
|
50334
|
+
},
|
|
50335
|
+
"aiCreditAlertThreshold": {
|
|
50336
|
+
"description": "Percentage of total AI credits remaining at which to send a low-balance alert.",
|
|
50337
|
+
"$ref": "#/components/schemas/OrganizationBillingPercentageOverride"
|
|
50338
|
+
},
|
|
49512
50339
|
"minUsers": {
|
|
49513
50340
|
"description": "Current minimum users override, when set.",
|
|
49514
50341
|
"$ref": "#/components/schemas/OrganizationBillingNumericOverride"
|
|
@@ -49708,6 +50535,14 @@
|
|
|
49708
50535
|
"type": "object",
|
|
49709
50536
|
"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.",
|
|
49710
50537
|
"properties": {
|
|
50538
|
+
"type": {
|
|
50539
|
+
"type": "string",
|
|
50540
|
+
"enum": [
|
|
50541
|
+
"human",
|
|
50542
|
+
"agent"
|
|
50543
|
+
],
|
|
50544
|
+
"description": "Whether the visitor is a human or an AI agent. Defaults to human when omitted."
|
|
50545
|
+
},
|
|
49711
50546
|
"jwtToken": {
|
|
49712
50547
|
"type": "string",
|
|
49713
50548
|
"description": "JWT token generated for a authenticated access session."
|
|
@@ -50659,7 +51494,7 @@
|
|
|
50659
51494
|
"finalize"
|
|
50660
51495
|
]
|
|
50661
51496
|
},
|
|
50662
|
-
"
|
|
51497
|
+
"GitSyncSpaceOperation": {
|
|
50663
51498
|
"type": "object",
|
|
50664
51499
|
"properties": {
|
|
50665
51500
|
"state": {
|
|
@@ -50692,6 +51527,9 @@
|
|
|
50692
51527
|
"error": {
|
|
50693
51528
|
"type": "string",
|
|
50694
51529
|
"description": "Error details, defined if state is `failure`."
|
|
51530
|
+
},
|
|
51531
|
+
"errorAction": {
|
|
51532
|
+
"$ref": "#/components/schemas/GitSyncOperationErrorAction"
|
|
50695
51533
|
}
|
|
50696
51534
|
},
|
|
50697
51535
|
"required": [
|
|
@@ -50704,6 +51542,62 @@
|
|
|
50704
51542
|
"updatedAt"
|
|
50705
51543
|
]
|
|
50706
51544
|
},
|
|
51545
|
+
"GitSyncOperation": {
|
|
51546
|
+
"description": "Deprecated. Use `GitSyncSpaceOperation` instead.",
|
|
51547
|
+
"deprecated": true,
|
|
51548
|
+
"allOf": [
|
|
51549
|
+
{
|
|
51550
|
+
"$ref": "#/components/schemas/GitSyncSpaceOperation"
|
|
51551
|
+
}
|
|
51552
|
+
]
|
|
51553
|
+
},
|
|
51554
|
+
"GitSyncSiteOperation": {
|
|
51555
|
+
"type": "object",
|
|
51556
|
+
"properties": {
|
|
51557
|
+
"state": {
|
|
51558
|
+
"$ref": "#/components/schemas/GitSyncOperationState"
|
|
51559
|
+
},
|
|
51560
|
+
"direction": {
|
|
51561
|
+
"$ref": "#/components/schemas/GitSyncOperationDirection"
|
|
51562
|
+
},
|
|
51563
|
+
"stage": {
|
|
51564
|
+
"$ref": "#/components/schemas/GitSyncOperationStage"
|
|
51565
|
+
},
|
|
51566
|
+
"startedAt": {
|
|
51567
|
+
"description": "Date when the operation was started",
|
|
51568
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
51569
|
+
},
|
|
51570
|
+
"updatedAt": {
|
|
51571
|
+
"description": "Date when the operation was last updated",
|
|
51572
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
51573
|
+
},
|
|
51574
|
+
"completedAt": {
|
|
51575
|
+
"description": "Date when the operation was successful (when state is `success`)",
|
|
51576
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
51577
|
+
},
|
|
51578
|
+
"error": {
|
|
51579
|
+
"type": "string",
|
|
51580
|
+
"description": "Error details, defined if state is `failure`."
|
|
51581
|
+
},
|
|
51582
|
+
"errorAction": {
|
|
51583
|
+
"$ref": "#/components/schemas/GitSyncOperationErrorAction"
|
|
51584
|
+
},
|
|
51585
|
+
"spaces": {
|
|
51586
|
+
"type": "object",
|
|
51587
|
+
"additionalProperties": {
|
|
51588
|
+
"$ref": "#/components/schemas/GitSyncSpaceOperation"
|
|
51589
|
+
}
|
|
51590
|
+
}
|
|
51591
|
+
},
|
|
51592
|
+
"required": [
|
|
51593
|
+
"state",
|
|
51594
|
+
"direction",
|
|
51595
|
+
"stage",
|
|
51596
|
+
"startedAt",
|
|
51597
|
+
"updatedAt",
|
|
51598
|
+
"spaces"
|
|
51599
|
+
]
|
|
51600
|
+
},
|
|
50707
51601
|
"GitSyncSiteStructureSectionGroup": {
|
|
50708
51602
|
"type": "object",
|
|
50709
51603
|
"additionalProperties": false,
|
|
@@ -51166,6 +52060,14 @@
|
|
|
51166
52060
|
},
|
|
51167
52061
|
"description": "List of spaces that the token is allowed to access."
|
|
51168
52062
|
},
|
|
52063
|
+
"visitorType": {
|
|
52064
|
+
"type": "string",
|
|
52065
|
+
"enum": [
|
|
52066
|
+
"human",
|
|
52067
|
+
"agent"
|
|
52068
|
+
],
|
|
52069
|
+
"description": "Whether the visitor, for which the token was generated, is a human or an AI agent. Defaults to human when omitted."
|
|
52070
|
+
},
|
|
51169
52071
|
"claims": {
|
|
51170
52072
|
"type": "object",
|
|
51171
52073
|
"description": "Attributes or assertions that provide specific details about the visitor for which the token was generated.",
|
|
@@ -52582,6 +53484,24 @@
|
|
|
52582
53484
|
"space"
|
|
52583
53485
|
]
|
|
52584
53486
|
},
|
|
53487
|
+
"APIChannelGitSyncSiteOperation": {
|
|
53488
|
+
"type": "object",
|
|
53489
|
+
"properties": {
|
|
53490
|
+
"channel": {
|
|
53491
|
+
"type": "string",
|
|
53492
|
+
"enum": [
|
|
53493
|
+
"site-gitsync-operation"
|
|
53494
|
+
]
|
|
53495
|
+
},
|
|
53496
|
+
"site": {
|
|
53497
|
+
"type": "string"
|
|
53498
|
+
}
|
|
53499
|
+
},
|
|
53500
|
+
"required": [
|
|
53501
|
+
"channel",
|
|
53502
|
+
"site"
|
|
53503
|
+
]
|
|
53504
|
+
},
|
|
52585
53505
|
"APIChannelOpenAPISpec": {
|
|
52586
53506
|
"type": "object",
|
|
52587
53507
|
"description": "Subscription channel for changes in OpenAPI specification.",
|
|
@@ -52874,6 +53794,9 @@
|
|
|
52874
53794
|
{
|
|
52875
53795
|
"$ref": "#/components/schemas/APIChannelGitSyncOperation"
|
|
52876
53796
|
},
|
|
53797
|
+
{
|
|
53798
|
+
"$ref": "#/components/schemas/APIChannelGitSyncSiteOperation"
|
|
53799
|
+
},
|
|
52877
53800
|
{
|
|
52878
53801
|
"$ref": "#/components/schemas/APIChannelOpenAPISpec"
|
|
52879
53802
|
},
|
|
@@ -52957,7 +53880,25 @@
|
|
|
52957
53880
|
]
|
|
52958
53881
|
},
|
|
52959
53882
|
"data": {
|
|
52960
|
-
"$ref": "#/components/schemas/
|
|
53883
|
+
"$ref": "#/components/schemas/GitSyncSpaceOperation"
|
|
53884
|
+
}
|
|
53885
|
+
},
|
|
53886
|
+
"required": [
|
|
53887
|
+
"channel",
|
|
53888
|
+
"data"
|
|
53889
|
+
]
|
|
53890
|
+
},
|
|
53891
|
+
"APIChannelGitSyncSiteOperationData": {
|
|
53892
|
+
"type": "object",
|
|
53893
|
+
"properties": {
|
|
53894
|
+
"channel": {
|
|
53895
|
+
"type": "string",
|
|
53896
|
+
"enum": [
|
|
53897
|
+
"site-gitsync-operation"
|
|
53898
|
+
]
|
|
53899
|
+
},
|
|
53900
|
+
"data": {
|
|
53901
|
+
"$ref": "#/components/schemas/GitSyncSiteOperation"
|
|
52961
53902
|
}
|
|
52962
53903
|
},
|
|
52963
53904
|
"required": [
|
|
@@ -52999,6 +53940,9 @@
|
|
|
52999
53940
|
{
|
|
53000
53941
|
"$ref": "#/components/schemas/APIChannelGitSyncOperationData"
|
|
53001
53942
|
},
|
|
53943
|
+
{
|
|
53944
|
+
"$ref": "#/components/schemas/APIChannelGitSyncSiteOperationData"
|
|
53945
|
+
},
|
|
53002
53946
|
{
|
|
53003
53947
|
"$ref": "#/components/schemas/APIChannelTranslationRunData"
|
|
53004
53948
|
},
|