@gitbook/api 0.79.0 → 0.80.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 +191 -90
- package/dist/index.cjs +39 -15
- package/dist/index.js +37 -15
- package/package.json +1 -1
- package/spec/openapi.json +553 -231
- package/spec/openapi.yaml +375 -159
package/spec/openapi.yaml
CHANGED
|
@@ -5079,43 +5079,6 @@ paths:
|
|
|
5079
5079
|
$ref: "#/components/schemas/Space"
|
|
5080
5080
|
default:
|
|
5081
5081
|
$ref: "#/components/responses/UnexpectedError"
|
|
5082
|
-
"/orgs/{organizationId}/spaces/gitsync":
|
|
5083
|
-
get:
|
|
5084
|
-
operationId: listSpacesWithGitSyncInOrganizationById
|
|
5085
|
-
summary: List organization spaces including Git sync metadata
|
|
5086
|
-
description: |
|
|
5087
|
-
Lists spaces including Git sync metadata for the specified organization.
|
|
5088
|
-
tags:
|
|
5089
|
-
- organizations
|
|
5090
|
-
security:
|
|
5091
|
-
- user: []
|
|
5092
|
-
parameters:
|
|
5093
|
-
- $ref: "#/components/parameters/organizationId"
|
|
5094
|
-
- $ref: "#/components/parameters/listPage"
|
|
5095
|
-
- $ref: "#/components/parameters/listLimit"
|
|
5096
|
-
- name: status
|
|
5097
|
-
in: query
|
|
5098
|
-
description: If defined, only spaces with matching Git sync status are returned
|
|
5099
|
-
schema:
|
|
5100
|
-
$ref: "#/components/schemas/GitSyncOperationState"
|
|
5101
|
-
responses:
|
|
5102
|
-
"200":
|
|
5103
|
-
description: OK
|
|
5104
|
-
content:
|
|
5105
|
-
application/json:
|
|
5106
|
-
schema:
|
|
5107
|
-
allOf:
|
|
5108
|
-
- $ref: "#/components/schemas/List"
|
|
5109
|
-
- type: object
|
|
5110
|
-
required:
|
|
5111
|
-
- items
|
|
5112
|
-
properties:
|
|
5113
|
-
items:
|
|
5114
|
-
type: array
|
|
5115
|
-
items:
|
|
5116
|
-
$ref: "#/components/schemas/SpaceWithGitSync"
|
|
5117
|
-
default:
|
|
5118
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5119
5082
|
"/orgs/{organizationId}/collections":
|
|
5120
5083
|
get:
|
|
5121
5084
|
operationId: listCollectionsInOrganizationById
|
|
@@ -5675,6 +5638,31 @@ paths:
|
|
|
5675
5638
|
description: SAML provider has been deleted
|
|
5676
5639
|
default:
|
|
5677
5640
|
$ref: "#/components/responses/UnexpectedError"
|
|
5641
|
+
"/orgs/{organizationId}/sso":
|
|
5642
|
+
get:
|
|
5643
|
+
operationId: listSSOProviderLoginsInOrganization
|
|
5644
|
+
summary: List organization SSO provider login information
|
|
5645
|
+
description: Lists SSO login information configured for the specified organization.
|
|
5646
|
+
tags:
|
|
5647
|
+
- organizations
|
|
5648
|
+
parameters:
|
|
5649
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5650
|
+
responses:
|
|
5651
|
+
"200":
|
|
5652
|
+
description: OK
|
|
5653
|
+
content:
|
|
5654
|
+
application/json:
|
|
5655
|
+
schema:
|
|
5656
|
+
type: object
|
|
5657
|
+
required:
|
|
5658
|
+
- items
|
|
5659
|
+
properties:
|
|
5660
|
+
items:
|
|
5661
|
+
type: array
|
|
5662
|
+
items:
|
|
5663
|
+
$ref: "#/components/schemas/OrganizationSSOProviderLogin"
|
|
5664
|
+
default:
|
|
5665
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5678
5666
|
"/orgs/{organizationId}/usage":
|
|
5679
5667
|
get:
|
|
5680
5668
|
operationId: getUsageForOrganizationById
|
|
@@ -7336,54 +7324,60 @@ paths:
|
|
|
7336
7324
|
content:
|
|
7337
7325
|
application/json:
|
|
7338
7326
|
schema:
|
|
7339
|
-
|
|
7340
|
-
- type: object
|
|
7341
|
-
properties:
|
|
7342
|
-
mode:
|
|
7343
|
-
description: Search only in the site spaces provided
|
|
7344
|
-
type: string
|
|
7345
|
-
enum:
|
|
7346
|
-
- specific
|
|
7347
|
-
siteSpaceIds:
|
|
7348
|
-
type: array
|
|
7349
|
-
minLength: 1
|
|
7350
|
-
items:
|
|
7351
|
-
type: string
|
|
7352
|
-
query:
|
|
7353
|
-
type: string
|
|
7354
|
-
maxLength: 512
|
|
7355
|
-
required:
|
|
7356
|
-
- siteSpaceIds
|
|
7357
|
-
- query
|
|
7327
|
+
allOf:
|
|
7358
7328
|
- type: object
|
|
7359
|
-
properties:
|
|
7360
|
-
mode:
|
|
7361
|
-
description: Search in the current site space and all section's defaults
|
|
7362
|
-
type: string
|
|
7363
|
-
enum:
|
|
7364
|
-
- current
|
|
7365
|
-
siteSpaceId:
|
|
7366
|
-
type: string
|
|
7367
|
-
query:
|
|
7368
|
-
type: string
|
|
7369
|
-
maxLength: 512
|
|
7370
7329
|
required:
|
|
7371
|
-
- mode
|
|
7372
|
-
- siteSpaceId
|
|
7373
7330
|
- query
|
|
7374
|
-
- type: object
|
|
7375
7331
|
properties:
|
|
7376
|
-
mode:
|
|
7377
|
-
description: search in all site-spaces
|
|
7378
|
-
type: string
|
|
7379
|
-
enum:
|
|
7380
|
-
- all
|
|
7381
7332
|
query:
|
|
7382
7333
|
type: string
|
|
7383
7334
|
maxLength: 512
|
|
7384
|
-
|
|
7385
|
-
-
|
|
7386
|
-
|
|
7335
|
+
- oneOf:
|
|
7336
|
+
- type: object
|
|
7337
|
+
required:
|
|
7338
|
+
- scope
|
|
7339
|
+
properties:
|
|
7340
|
+
scope:
|
|
7341
|
+
description: Define the scope of the search.
|
|
7342
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7343
|
+
- type: object
|
|
7344
|
+
properties:
|
|
7345
|
+
mode:
|
|
7346
|
+
description: Search only in the site spaces provided. Deprecated, use scope instead.
|
|
7347
|
+
deprecated: true
|
|
7348
|
+
type: string
|
|
7349
|
+
enum:
|
|
7350
|
+
- specific
|
|
7351
|
+
siteSpaceIds:
|
|
7352
|
+
type: array
|
|
7353
|
+
minLength: 1
|
|
7354
|
+
items:
|
|
7355
|
+
type: string
|
|
7356
|
+
required:
|
|
7357
|
+
- siteSpaceIds
|
|
7358
|
+
- type: object
|
|
7359
|
+
properties:
|
|
7360
|
+
mode:
|
|
7361
|
+
description: Search in the current site space and all section's defaults. Deprecated, use scope instead.
|
|
7362
|
+
deprecated: true
|
|
7363
|
+
type: string
|
|
7364
|
+
enum:
|
|
7365
|
+
- current
|
|
7366
|
+
siteSpaceId:
|
|
7367
|
+
type: string
|
|
7368
|
+
required:
|
|
7369
|
+
- mode
|
|
7370
|
+
- siteSpaceId
|
|
7371
|
+
- type: object
|
|
7372
|
+
properties:
|
|
7373
|
+
mode:
|
|
7374
|
+
description: Search in all site-spaces. Deprecated, use scope instead.
|
|
7375
|
+
deprecated: true
|
|
7376
|
+
type: string
|
|
7377
|
+
enum:
|
|
7378
|
+
- all
|
|
7379
|
+
required:
|
|
7380
|
+
- mode
|
|
7387
7381
|
responses:
|
|
7388
7382
|
"200":
|
|
7389
7383
|
description: OK
|
|
@@ -7402,6 +7396,40 @@ paths:
|
|
|
7402
7396
|
$ref: "#/components/schemas/SearchSpaceResult"
|
|
7403
7397
|
default:
|
|
7404
7398
|
$ref: "#/components/responses/UnexpectedError"
|
|
7399
|
+
"/orgs/{organizationId}/sites/{siteId}/ask":
|
|
7400
|
+
post:
|
|
7401
|
+
operationId: streamAskInSite
|
|
7402
|
+
summary: Ask a question in a site. The response is streamed.
|
|
7403
|
+
security:
|
|
7404
|
+
- user: []
|
|
7405
|
+
parameters:
|
|
7406
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7407
|
+
- $ref: "#/components/parameters/siteId"
|
|
7408
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
7409
|
+
requestBody:
|
|
7410
|
+
required: true
|
|
7411
|
+
content:
|
|
7412
|
+
application/json:
|
|
7413
|
+
schema:
|
|
7414
|
+
type: object
|
|
7415
|
+
required:
|
|
7416
|
+
- question
|
|
7417
|
+
- scope
|
|
7418
|
+
properties:
|
|
7419
|
+
question:
|
|
7420
|
+
type: string
|
|
7421
|
+
maxLength: 512
|
|
7422
|
+
scope:
|
|
7423
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7424
|
+
responses:
|
|
7425
|
+
"200":
|
|
7426
|
+
description: OK
|
|
7427
|
+
content:
|
|
7428
|
+
text/event-stream:
|
|
7429
|
+
schema:
|
|
7430
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
7431
|
+
default:
|
|
7432
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7405
7433
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
|
|
7406
7434
|
patch:
|
|
7407
7435
|
operationId: updateSiteSpaceById
|
|
@@ -7510,6 +7538,14 @@ paths:
|
|
|
7510
7538
|
nullable: true
|
|
7511
7539
|
enum:
|
|
7512
7540
|
- null
|
|
7541
|
+
tint:
|
|
7542
|
+
description: The tint will colour the site’s UI beyond links and buttons, such as header, sidebar and background. By default, the tint colour is the same as your Primary colour, but you can set a custom one too.
|
|
7543
|
+
oneOf:
|
|
7544
|
+
- $ref: "#/components/schemas/CustomizationTint"
|
|
7545
|
+
- type: string
|
|
7546
|
+
nullable: true
|
|
7547
|
+
enum:
|
|
7548
|
+
- null
|
|
7513
7549
|
corners:
|
|
7514
7550
|
description: The style of the corners to use. Set to null to reset the override.
|
|
7515
7551
|
oneOf:
|
|
@@ -7614,7 +7650,7 @@ paths:
|
|
|
7614
7650
|
description: The links that are displayed in the header. Set to null to reset the override.
|
|
7615
7651
|
nullable: true
|
|
7616
7652
|
items:
|
|
7617
|
-
$ref: "#/components/schemas/
|
|
7653
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
7618
7654
|
footer:
|
|
7619
7655
|
type: object
|
|
7620
7656
|
properties:
|
|
@@ -11243,39 +11279,21 @@ components:
|
|
|
11243
11279
|
URL:
|
|
11244
11280
|
type: string
|
|
11245
11281
|
format: uri
|
|
11246
|
-
|
|
11282
|
+
GitSyncProvider:
|
|
11247
11283
|
type: string
|
|
11248
|
-
description:
|
|
11249
|
-
* `running`: The operation is still running
|
|
11250
|
-
* `failure`: The operation failed
|
|
11251
|
-
* `success`: The operation was successful
|
|
11284
|
+
description: The provider of the Git Sync installation.
|
|
11252
11285
|
enum:
|
|
11253
|
-
-
|
|
11254
|
-
-
|
|
11255
|
-
-
|
|
11256
|
-
GitSyncOperation:
|
|
11257
|
-
type: object
|
|
11258
|
-
properties:
|
|
11259
|
-
state:
|
|
11260
|
-
$ref: "#/components/schemas/GitSyncOperationState"
|
|
11261
|
-
startedAt:
|
|
11262
|
-
$ref: "#/components/schemas/Timestamp"
|
|
11263
|
-
completedAt:
|
|
11264
|
-
description: Date when the operation was successful (when state is `success`)
|
|
11265
|
-
$ref: "#/components/schemas/Timestamp"
|
|
11266
|
-
error:
|
|
11267
|
-
type: string
|
|
11268
|
-
description: Error details, defined if state is `failure`.
|
|
11269
|
-
required:
|
|
11270
|
-
- state
|
|
11286
|
+
- github
|
|
11287
|
+
- gitlab
|
|
11288
|
+
- github-legacy
|
|
11271
11289
|
GitSyncState:
|
|
11272
11290
|
type: object
|
|
11273
11291
|
properties:
|
|
11274
11292
|
installationProvider:
|
|
11293
|
+
$ref: "#/components/schemas/GitSyncProvider"
|
|
11294
|
+
integration:
|
|
11275
11295
|
type: string
|
|
11276
|
-
description: The
|
|
11277
|
-
operation:
|
|
11278
|
-
$ref: "#/components/schemas/GitSyncOperation"
|
|
11296
|
+
description: The integration name providing the Git Sync.
|
|
11279
11297
|
url:
|
|
11280
11298
|
type: string
|
|
11281
11299
|
description: The URL to the repository tree, used when rendering public content.
|
|
@@ -11415,19 +11433,47 @@ components:
|
|
|
11415
11433
|
description: ID of the active revision in the space.
|
|
11416
11434
|
defaultLevel:
|
|
11417
11435
|
$ref: "#/components/schemas/DefaultLevel"
|
|
11436
|
+
comments:
|
|
11437
|
+
type: number
|
|
11438
|
+
description: Count of opened comments on the space.
|
|
11439
|
+
changeRequests:
|
|
11440
|
+
type: number
|
|
11441
|
+
description: Total count of change requests on the space.
|
|
11442
|
+
changeRequestsOpen:
|
|
11443
|
+
type: number
|
|
11444
|
+
description: Count of open change requests on the space.
|
|
11445
|
+
changeRequestsDraft:
|
|
11446
|
+
type: number
|
|
11447
|
+
description: Count of draft change requests on the space.
|
|
11418
11448
|
permissions:
|
|
11419
11449
|
type: object
|
|
11420
11450
|
description: The set of permissions for the space
|
|
11421
11451
|
properties:
|
|
11452
|
+
access:
|
|
11453
|
+
type: boolean
|
|
11454
|
+
description: Can the user access the space in the application.
|
|
11422
11455
|
admin:
|
|
11423
11456
|
type: boolean
|
|
11424
11457
|
description: Can the user edit the title, install integrations, and manage the space.
|
|
11425
11458
|
edit:
|
|
11426
11459
|
type: boolean
|
|
11427
11460
|
description: Can the user edit the content of the space by creating a change request.
|
|
11461
|
+
comment:
|
|
11462
|
+
type: boolean
|
|
11463
|
+
description: Can the user comment on the content.
|
|
11464
|
+
merge:
|
|
11465
|
+
type: boolean
|
|
11466
|
+
description: Can the user merge change requests.
|
|
11467
|
+
review:
|
|
11468
|
+
type: boolean
|
|
11469
|
+
description: Can the user review change requests.
|
|
11428
11470
|
required:
|
|
11471
|
+
- access
|
|
11429
11472
|
- admin
|
|
11430
11473
|
- edit
|
|
11474
|
+
- comment
|
|
11475
|
+
- merge
|
|
11476
|
+
- review
|
|
11431
11477
|
required:
|
|
11432
11478
|
- object
|
|
11433
11479
|
- id
|
|
@@ -11439,6 +11485,10 @@ components:
|
|
|
11439
11485
|
- revision
|
|
11440
11486
|
- createdAt
|
|
11441
11487
|
- updatedAt
|
|
11488
|
+
- comments
|
|
11489
|
+
- changeRequests
|
|
11490
|
+
- changeRequestsOpen
|
|
11491
|
+
- changeRequestsDraft
|
|
11442
11492
|
- urls
|
|
11443
11493
|
- defaultLevel
|
|
11444
11494
|
- permissions
|
|
@@ -12525,6 +12575,7 @@ components:
|
|
|
12525
12575
|
- plus_2024
|
|
12526
12576
|
- pro_2024
|
|
12527
12577
|
- enterprise_2024
|
|
12578
|
+
- community_2024
|
|
12528
12579
|
- free
|
|
12529
12580
|
- plus
|
|
12530
12581
|
- pro
|
|
@@ -12567,7 +12618,7 @@ components:
|
|
|
12567
12618
|
defaultContent:
|
|
12568
12619
|
$ref: "#/components/schemas/OrganizationDefaultContent"
|
|
12569
12620
|
sso:
|
|
12570
|
-
description: Whether SSO is enforced organization
|
|
12621
|
+
description: Whether SSO is enforced organization-wide
|
|
12571
12622
|
type: boolean
|
|
12572
12623
|
ai:
|
|
12573
12624
|
description: If true, the organization is configured to use all our AI features.
|
|
@@ -12595,6 +12646,19 @@ components:
|
|
|
12595
12646
|
required:
|
|
12596
12647
|
- app
|
|
12597
12648
|
- location
|
|
12649
|
+
permissions:
|
|
12650
|
+
type: object
|
|
12651
|
+
description: The set of permissions for the organization
|
|
12652
|
+
properties:
|
|
12653
|
+
admin:
|
|
12654
|
+
type: boolean
|
|
12655
|
+
description: Can the user manage the title, members, etc.
|
|
12656
|
+
createContent:
|
|
12657
|
+
type: boolean
|
|
12658
|
+
description: Can the user create new spaces/collections in the organization
|
|
12659
|
+
required:
|
|
12660
|
+
- admin
|
|
12661
|
+
- createContent
|
|
12598
12662
|
required:
|
|
12599
12663
|
- object
|
|
12600
12664
|
- id
|
|
@@ -12605,6 +12669,7 @@ components:
|
|
|
12605
12669
|
- type
|
|
12606
12670
|
- emailDomains
|
|
12607
12671
|
- urls
|
|
12672
|
+
- permissions
|
|
12608
12673
|
ContentLocationRevisionContext:
|
|
12609
12674
|
type: object
|
|
12610
12675
|
required:
|
|
@@ -14235,21 +14300,32 @@ components:
|
|
|
14235
14300
|
required:
|
|
14236
14301
|
- title
|
|
14237
14302
|
- to
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14303
|
+
CustomizationHeaderItem:
|
|
14304
|
+
type: object
|
|
14305
|
+
properties:
|
|
14306
|
+
title:
|
|
14307
|
+
type: string
|
|
14308
|
+
style:
|
|
14309
|
+
type: string
|
|
14310
|
+
enum:
|
|
14311
|
+
- link
|
|
14312
|
+
- button-primary
|
|
14313
|
+
- button-secondary
|
|
14314
|
+
to:
|
|
14315
|
+
oneOf:
|
|
14316
|
+
- $ref: "#/components/schemas/ContentRef"
|
|
14317
|
+
- type: string
|
|
14318
|
+
nullable: true
|
|
14245
14319
|
enum:
|
|
14246
|
-
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14320
|
+
- null
|
|
14321
|
+
links:
|
|
14322
|
+
type: array
|
|
14323
|
+
items:
|
|
14324
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
14325
|
+
required:
|
|
14326
|
+
- title
|
|
14327
|
+
- links
|
|
14328
|
+
- to
|
|
14253
14329
|
CustomizationFooterGroup:
|
|
14254
14330
|
type: object
|
|
14255
14331
|
properties:
|
|
@@ -14333,7 +14409,7 @@ components:
|
|
|
14333
14409
|
links:
|
|
14334
14410
|
type: array
|
|
14335
14411
|
items:
|
|
14336
|
-
$ref: "#/components/schemas/
|
|
14412
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
14337
14413
|
required:
|
|
14338
14414
|
- preset
|
|
14339
14415
|
- links
|
|
@@ -16719,9 +16795,15 @@ components:
|
|
|
16719
16795
|
oneOf:
|
|
16720
16796
|
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16721
16797
|
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16798
|
+
deletedSpaces:
|
|
16799
|
+
description: List of soft-deleted spaces.
|
|
16800
|
+
type: array
|
|
16801
|
+
items:
|
|
16802
|
+
$ref: "#/components/schemas/OrganizationAllSpace"
|
|
16722
16803
|
required:
|
|
16723
16804
|
- sites
|
|
16724
16805
|
- spaces
|
|
16806
|
+
- deletedSpaces
|
|
16725
16807
|
OrganizationMember:
|
|
16726
16808
|
type: object
|
|
16727
16809
|
properties:
|
|
@@ -17152,16 +17234,6 @@ components:
|
|
|
17152
17234
|
parent:
|
|
17153
17235
|
type: string
|
|
17154
17236
|
description: ID of a parent collection
|
|
17155
|
-
SpaceWithGitSync:
|
|
17156
|
-
type: object
|
|
17157
|
-
properties:
|
|
17158
|
-
space:
|
|
17159
|
-
$ref: "#/components/schemas/Space"
|
|
17160
|
-
gitSync:
|
|
17161
|
-
deprecated: true
|
|
17162
|
-
$ref: "#/components/schemas/GitSyncState"
|
|
17163
|
-
required:
|
|
17164
|
-
- space
|
|
17165
17237
|
OrganizationExperimentalFeature:
|
|
17166
17238
|
type: object
|
|
17167
17239
|
properties:
|
|
@@ -17258,6 +17330,22 @@ components:
|
|
|
17258
17330
|
- createdAt
|
|
17259
17331
|
- service
|
|
17260
17332
|
- urls
|
|
17333
|
+
OrganizationSSOProviderLogin:
|
|
17334
|
+
type: object
|
|
17335
|
+
properties:
|
|
17336
|
+
id:
|
|
17337
|
+
type: string
|
|
17338
|
+
description: Unique identifier for the provider.
|
|
17339
|
+
label:
|
|
17340
|
+
$ref: "#/components/schemas/SAMLProviderLabel"
|
|
17341
|
+
startURL:
|
|
17342
|
+
type: string
|
|
17343
|
+
description: The starting login URL for the Identity Provider
|
|
17344
|
+
format: uri
|
|
17345
|
+
required:
|
|
17346
|
+
- id
|
|
17347
|
+
- label
|
|
17348
|
+
- startURL
|
|
17261
17349
|
OrganizationUsageSpaces:
|
|
17262
17350
|
type: object
|
|
17263
17351
|
description: Spaces usage metrics of an organization
|
|
@@ -17693,6 +17781,13 @@ components:
|
|
|
17693
17781
|
required:
|
|
17694
17782
|
- type
|
|
17695
17783
|
- plan
|
|
17784
|
+
CustomizationTint:
|
|
17785
|
+
type: object
|
|
17786
|
+
properties:
|
|
17787
|
+
color:
|
|
17788
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
17789
|
+
required:
|
|
17790
|
+
- color
|
|
17696
17791
|
CustomizationIconsStyle:
|
|
17697
17792
|
type: string
|
|
17698
17793
|
enum:
|
|
@@ -17712,6 +17807,8 @@ components:
|
|
|
17712
17807
|
properties:
|
|
17713
17808
|
primaryColor:
|
|
17714
17809
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
17810
|
+
tint:
|
|
17811
|
+
$ref: "#/components/schemas/CustomizationTint"
|
|
17715
17812
|
corners:
|
|
17716
17813
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
17717
17814
|
font:
|
|
@@ -17764,7 +17861,7 @@ components:
|
|
|
17764
17861
|
links:
|
|
17765
17862
|
type: array
|
|
17766
17863
|
items:
|
|
17767
|
-
$ref: "#/components/schemas/
|
|
17864
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
17768
17865
|
required:
|
|
17769
17866
|
- preset
|
|
17770
17867
|
- links
|
|
@@ -17996,6 +18093,46 @@ components:
|
|
|
17996
18093
|
type: string
|
|
17997
18094
|
format: uri
|
|
17998
18095
|
description: A fallback URL that will be used if authentication fails.
|
|
18096
|
+
SiteSearchScope:
|
|
18097
|
+
oneOf:
|
|
18098
|
+
- type: object
|
|
18099
|
+
required:
|
|
18100
|
+
- mode
|
|
18101
|
+
properties:
|
|
18102
|
+
mode:
|
|
18103
|
+
description: |
|
|
18104
|
+
Search across all sections of a site, only including the default content of each section. This scope is wide and shallow. You may optionally specify a list of additional site spaces to search in alongside the default content.
|
|
18105
|
+
type: string
|
|
18106
|
+
enum:
|
|
18107
|
+
- default
|
|
18108
|
+
includedSiteSpaces:
|
|
18109
|
+
type: array
|
|
18110
|
+
items:
|
|
18111
|
+
type: string
|
|
18112
|
+
- type: object
|
|
18113
|
+
required:
|
|
18114
|
+
- mode
|
|
18115
|
+
- siteSpaceIds
|
|
18116
|
+
properties:
|
|
18117
|
+
mode:
|
|
18118
|
+
description: Only search in the provided site spaces.
|
|
18119
|
+
type: string
|
|
18120
|
+
enum:
|
|
18121
|
+
- specific
|
|
18122
|
+
siteSpaceIds:
|
|
18123
|
+
type: array
|
|
18124
|
+
minLength: 1
|
|
18125
|
+
items:
|
|
18126
|
+
type: string
|
|
18127
|
+
- type: object
|
|
18128
|
+
required:
|
|
18129
|
+
- mode
|
|
18130
|
+
properties:
|
|
18131
|
+
mode:
|
|
18132
|
+
description: Search in all sections and site spaces. This scope is wide and deep.
|
|
18133
|
+
type: string
|
|
18134
|
+
enum:
|
|
18135
|
+
- all
|
|
17999
18136
|
SiteSectionPointer:
|
|
18000
18137
|
type: object
|
|
18001
18138
|
properties:
|
|
@@ -18153,6 +18290,30 @@ components:
|
|
|
18153
18290
|
type: number
|
|
18154
18291
|
revenue:
|
|
18155
18292
|
type: string
|
|
18293
|
+
SearchInsightsIntervals:
|
|
18294
|
+
type: object
|
|
18295
|
+
properties:
|
|
18296
|
+
values:
|
|
18297
|
+
type: array
|
|
18298
|
+
items:
|
|
18299
|
+
type: object
|
|
18300
|
+
required:
|
|
18301
|
+
- date
|
|
18302
|
+
- total
|
|
18303
|
+
- queries
|
|
18304
|
+
properties:
|
|
18305
|
+
date:
|
|
18306
|
+
description: The start date of this interval
|
|
18307
|
+
type: string
|
|
18308
|
+
format: date-time
|
|
18309
|
+
total:
|
|
18310
|
+
description: The total number of searches during the interval.
|
|
18311
|
+
type: number
|
|
18312
|
+
queries:
|
|
18313
|
+
description: Top queries searched for this content.
|
|
18314
|
+
type: array
|
|
18315
|
+
items:
|
|
18316
|
+
$ref: "#/components/schemas/AnalyticsSearchQuery"
|
|
18156
18317
|
InsightsContentPage:
|
|
18157
18318
|
type: object
|
|
18158
18319
|
description: Page entry in the content insights.
|
|
@@ -18951,6 +19112,21 @@ components:
|
|
|
18951
19112
|
- file_edited
|
|
18952
19113
|
- file_deleted
|
|
18953
19114
|
- custom_fields_edited
|
|
19115
|
+
GitSyncOperationState:
|
|
19116
|
+
type: string
|
|
19117
|
+
description: |
|
|
19118
|
+
* `running`: The operation is still running
|
|
19119
|
+
* `failure`: The operation failed
|
|
19120
|
+
* `success`: The operation was successful
|
|
19121
|
+
enum:
|
|
19122
|
+
- running
|
|
19123
|
+
- failure
|
|
19124
|
+
- success
|
|
19125
|
+
GitSyncOperationDirection:
|
|
19126
|
+
type: string
|
|
19127
|
+
enum:
|
|
19128
|
+
- export
|
|
19129
|
+
- import
|
|
18954
19130
|
GitSyncOperationStage:
|
|
18955
19131
|
type: string
|
|
18956
19132
|
description: |
|
|
@@ -18966,6 +19142,39 @@ components:
|
|
|
18966
19142
|
- config_check
|
|
18967
19143
|
- content_process
|
|
18968
19144
|
- finalize
|
|
19145
|
+
GitSyncOperation:
|
|
19146
|
+
type: object
|
|
19147
|
+
properties:
|
|
19148
|
+
state:
|
|
19149
|
+
$ref: "#/components/schemas/GitSyncOperationState"
|
|
19150
|
+
direction:
|
|
19151
|
+
$ref: "#/components/schemas/GitSyncOperationDirection"
|
|
19152
|
+
stage:
|
|
19153
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
19154
|
+
dispatchedTasks:
|
|
19155
|
+
type: number
|
|
19156
|
+
completedTasks:
|
|
19157
|
+
type: number
|
|
19158
|
+
startedAt:
|
|
19159
|
+
description: Date when the operation was started
|
|
19160
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19161
|
+
updatedAt:
|
|
19162
|
+
description: Date when the operation was last updated
|
|
19163
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19164
|
+
completedAt:
|
|
19165
|
+
description: Date when the operation was successful (when state is `success`)
|
|
19166
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19167
|
+
error:
|
|
19168
|
+
type: string
|
|
19169
|
+
description: Error details, defined if state is `failure`.
|
|
19170
|
+
required:
|
|
19171
|
+
- state
|
|
19172
|
+
- direction
|
|
19173
|
+
- stage
|
|
19174
|
+
- dispatchedTasks
|
|
19175
|
+
- completedTasks
|
|
19176
|
+
- startedAt
|
|
19177
|
+
- updatedAt
|
|
18969
19178
|
OrganizationTransferResponse:
|
|
18970
19179
|
type: object
|
|
18971
19180
|
required:
|
|
@@ -19117,7 +19326,6 @@ components:
|
|
|
19117
19326
|
required:
|
|
19118
19327
|
- organization
|
|
19119
19328
|
- spaces
|
|
19120
|
-
- claims
|
|
19121
19329
|
SpaceAPIToken:
|
|
19122
19330
|
allOf:
|
|
19123
19331
|
- $ref: "#/components/schemas/ContentAPIBaseToken"
|
|
@@ -19615,6 +19823,19 @@ components:
|
|
|
19615
19823
|
required:
|
|
19616
19824
|
- channel
|
|
19617
19825
|
- organization
|
|
19826
|
+
OrganizationAIIndexationChannel:
|
|
19827
|
+
type: object
|
|
19828
|
+
description: Channel for messages everytime a space is indexed by the AI in an organization
|
|
19829
|
+
properties:
|
|
19830
|
+
channel:
|
|
19831
|
+
type: string
|
|
19832
|
+
enum:
|
|
19833
|
+
- organization-ai-indexation
|
|
19834
|
+
organization:
|
|
19835
|
+
type: string
|
|
19836
|
+
required:
|
|
19837
|
+
- channel
|
|
19838
|
+
- organization
|
|
19618
19839
|
SpaceCommentsChannel:
|
|
19619
19840
|
type: object
|
|
19620
19841
|
properties:
|
|
@@ -20014,6 +20235,7 @@ components:
|
|
|
20014
20235
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
20015
20236
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
20016
20237
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
20238
|
+
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
20017
20239
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
20018
20240
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
20019
20241
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
@@ -20050,32 +20272,7 @@ components:
|
|
|
20050
20272
|
enum:
|
|
20051
20273
|
- space-gitsync-operation
|
|
20052
20274
|
data:
|
|
20053
|
-
|
|
20054
|
-
nullable: true
|
|
20055
|
-
description: Data passed on the channel messages for GitSync running in a space.
|
|
20056
|
-
properties:
|
|
20057
|
-
direction:
|
|
20058
|
-
type: string
|
|
20059
|
-
enum:
|
|
20060
|
-
- export
|
|
20061
|
-
- import
|
|
20062
|
-
stage:
|
|
20063
|
-
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
20064
|
-
dispatchedTasks:
|
|
20065
|
-
type: number
|
|
20066
|
-
completedTasks:
|
|
20067
|
-
type: number
|
|
20068
|
-
startedAt:
|
|
20069
|
-
type: number
|
|
20070
|
-
updatedAt:
|
|
20071
|
-
type: number
|
|
20072
|
-
required:
|
|
20073
|
-
- direction
|
|
20074
|
-
- stage
|
|
20075
|
-
- dispatchedTasks
|
|
20076
|
-
- completedTasks
|
|
20077
|
-
- startedAt
|
|
20078
|
-
- updatedAt
|
|
20275
|
+
$ref: "#/components/schemas/GitSyncOperation"
|
|
20079
20276
|
required:
|
|
20080
20277
|
- channel
|
|
20081
20278
|
- data
|
|
@@ -20123,6 +20320,24 @@ components:
|
|
|
20123
20320
|
required:
|
|
20124
20321
|
- channel
|
|
20125
20322
|
- data
|
|
20323
|
+
OrganizationAIIndexationChannelData:
|
|
20324
|
+
type: object
|
|
20325
|
+
properties:
|
|
20326
|
+
channel:
|
|
20327
|
+
type: string
|
|
20328
|
+
enum:
|
|
20329
|
+
- organization-ai-indexation
|
|
20330
|
+
data:
|
|
20331
|
+
type: object
|
|
20332
|
+
properties:
|
|
20333
|
+
space:
|
|
20334
|
+
type: string
|
|
20335
|
+
description: The space that was indexed
|
|
20336
|
+
required:
|
|
20337
|
+
- space
|
|
20338
|
+
required:
|
|
20339
|
+
- channel
|
|
20340
|
+
- data
|
|
20126
20341
|
APIChannelMutationData:
|
|
20127
20342
|
type: object
|
|
20128
20343
|
properties:
|
|
@@ -20148,6 +20363,7 @@ components:
|
|
|
20148
20363
|
- $ref: "#/components/schemas/GitSyncOperationChannelData"
|
|
20149
20364
|
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
20150
20365
|
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
20366
|
+
- $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
|
|
20151
20367
|
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
20152
20368
|
discriminator:
|
|
20153
20369
|
propertyName: channel
|