@gitbook/api 0.79.0 → 0.80.1
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 +214 -92
- package/dist/index.cjs +54 -16
- package/dist/index.js +51 -16
- package/package.json +1 -1
- package/spec/openapi.json +609 -236
- package/spec/openapi.yaml +414 -161
package/spec/openapi.yaml
CHANGED
|
@@ -4056,8 +4056,6 @@ paths:
|
|
|
4056
4056
|
tags:
|
|
4057
4057
|
- organizations
|
|
4058
4058
|
- critical
|
|
4059
|
-
security:
|
|
4060
|
-
- user: []
|
|
4061
4059
|
parameters:
|
|
4062
4060
|
- $ref: "#/components/parameters/organizationId"
|
|
4063
4061
|
responses:
|
|
@@ -5079,43 +5077,6 @@ paths:
|
|
|
5079
5077
|
$ref: "#/components/schemas/Space"
|
|
5080
5078
|
default:
|
|
5081
5079
|
$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
5080
|
"/orgs/{organizationId}/collections":
|
|
5120
5081
|
get:
|
|
5121
5082
|
operationId: listCollectionsInOrganizationById
|
|
@@ -5449,6 +5410,7 @@ paths:
|
|
|
5449
5410
|
summary: List the statuses of all integrations installed in an organization
|
|
5450
5411
|
tags:
|
|
5451
5412
|
- integrations
|
|
5413
|
+
- critical
|
|
5452
5414
|
parameters:
|
|
5453
5415
|
- $ref: "#/components/parameters/organizationId"
|
|
5454
5416
|
- $ref: "#/components/parameters/listPage"
|
|
@@ -5675,6 +5637,31 @@ paths:
|
|
|
5675
5637
|
description: SAML provider has been deleted
|
|
5676
5638
|
default:
|
|
5677
5639
|
$ref: "#/components/responses/UnexpectedError"
|
|
5640
|
+
"/orgs/{organizationId}/sso":
|
|
5641
|
+
get:
|
|
5642
|
+
operationId: listSSOProviderLoginsInOrganization
|
|
5643
|
+
summary: List organization SSO provider login information
|
|
5644
|
+
description: Lists SSO login information configured for the specified organization.
|
|
5645
|
+
tags:
|
|
5646
|
+
- organizations
|
|
5647
|
+
parameters:
|
|
5648
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5649
|
+
responses:
|
|
5650
|
+
"200":
|
|
5651
|
+
description: OK
|
|
5652
|
+
content:
|
|
5653
|
+
application/json:
|
|
5654
|
+
schema:
|
|
5655
|
+
type: object
|
|
5656
|
+
required:
|
|
5657
|
+
- items
|
|
5658
|
+
properties:
|
|
5659
|
+
items:
|
|
5660
|
+
type: array
|
|
5661
|
+
items:
|
|
5662
|
+
$ref: "#/components/schemas/OrganizationSSOProviderLogin"
|
|
5663
|
+
default:
|
|
5664
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5678
5665
|
"/orgs/{organizationId}/usage":
|
|
5679
5666
|
get:
|
|
5680
5667
|
operationId: getUsageForOrganizationById
|
|
@@ -6523,6 +6510,8 @@ paths:
|
|
|
6523
6510
|
$ref: "#/components/schemas/SiteVisibility"
|
|
6524
6511
|
basename:
|
|
6525
6512
|
$ref: "#/components/schemas/SiteBasename"
|
|
6513
|
+
adaptiveContent:
|
|
6514
|
+
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
6526
6515
|
defaultSiteSpace:
|
|
6527
6516
|
type: string
|
|
6528
6517
|
description: ID of the site-space to be used as the default at the root level. If site has sections, this will mark the default site space in the site's default section.
|
|
@@ -7336,54 +7325,60 @@ paths:
|
|
|
7336
7325
|
content:
|
|
7337
7326
|
application/json:
|
|
7338
7327
|
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
|
|
7328
|
+
allOf:
|
|
7358
7329
|
- 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
7330
|
required:
|
|
7371
|
-
- mode
|
|
7372
|
-
- siteSpaceId
|
|
7373
7331
|
- query
|
|
7374
|
-
- type: object
|
|
7375
7332
|
properties:
|
|
7376
|
-
mode:
|
|
7377
|
-
description: search in all site-spaces
|
|
7378
|
-
type: string
|
|
7379
|
-
enum:
|
|
7380
|
-
- all
|
|
7381
7333
|
query:
|
|
7382
7334
|
type: string
|
|
7383
7335
|
maxLength: 512
|
|
7384
|
-
|
|
7385
|
-
-
|
|
7386
|
-
|
|
7336
|
+
- oneOf:
|
|
7337
|
+
- type: object
|
|
7338
|
+
required:
|
|
7339
|
+
- scope
|
|
7340
|
+
properties:
|
|
7341
|
+
scope:
|
|
7342
|
+
description: Define the scope of the search.
|
|
7343
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7344
|
+
- type: object
|
|
7345
|
+
properties:
|
|
7346
|
+
mode:
|
|
7347
|
+
description: Search only in the site spaces provided. Deprecated, use scope instead.
|
|
7348
|
+
deprecated: true
|
|
7349
|
+
type: string
|
|
7350
|
+
enum:
|
|
7351
|
+
- specific
|
|
7352
|
+
siteSpaceIds:
|
|
7353
|
+
type: array
|
|
7354
|
+
minLength: 1
|
|
7355
|
+
items:
|
|
7356
|
+
type: string
|
|
7357
|
+
required:
|
|
7358
|
+
- siteSpaceIds
|
|
7359
|
+
- type: object
|
|
7360
|
+
properties:
|
|
7361
|
+
mode:
|
|
7362
|
+
description: Search in the current site space and all section's defaults. Deprecated, use scope instead.
|
|
7363
|
+
deprecated: true
|
|
7364
|
+
type: string
|
|
7365
|
+
enum:
|
|
7366
|
+
- current
|
|
7367
|
+
siteSpaceId:
|
|
7368
|
+
type: string
|
|
7369
|
+
required:
|
|
7370
|
+
- mode
|
|
7371
|
+
- siteSpaceId
|
|
7372
|
+
- type: object
|
|
7373
|
+
properties:
|
|
7374
|
+
mode:
|
|
7375
|
+
description: Search in all site-spaces. Deprecated, use scope instead.
|
|
7376
|
+
deprecated: true
|
|
7377
|
+
type: string
|
|
7378
|
+
enum:
|
|
7379
|
+
- all
|
|
7380
|
+
required:
|
|
7381
|
+
- mode
|
|
7387
7382
|
responses:
|
|
7388
7383
|
"200":
|
|
7389
7384
|
description: OK
|
|
@@ -7402,6 +7397,40 @@ paths:
|
|
|
7402
7397
|
$ref: "#/components/schemas/SearchSpaceResult"
|
|
7403
7398
|
default:
|
|
7404
7399
|
$ref: "#/components/responses/UnexpectedError"
|
|
7400
|
+
"/orgs/{organizationId}/sites/{siteId}/ask":
|
|
7401
|
+
post:
|
|
7402
|
+
operationId: streamAskInSite
|
|
7403
|
+
summary: Ask a question in a site. The response is streamed.
|
|
7404
|
+
security:
|
|
7405
|
+
- user: []
|
|
7406
|
+
parameters:
|
|
7407
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7408
|
+
- $ref: "#/components/parameters/siteId"
|
|
7409
|
+
- $ref: "#/components/parameters/documentFormat"
|
|
7410
|
+
requestBody:
|
|
7411
|
+
required: true
|
|
7412
|
+
content:
|
|
7413
|
+
application/json:
|
|
7414
|
+
schema:
|
|
7415
|
+
type: object
|
|
7416
|
+
required:
|
|
7417
|
+
- question
|
|
7418
|
+
- scope
|
|
7419
|
+
properties:
|
|
7420
|
+
question:
|
|
7421
|
+
type: string
|
|
7422
|
+
maxLength: 512
|
|
7423
|
+
scope:
|
|
7424
|
+
$ref: "#/components/schemas/SiteSearchScope"
|
|
7425
|
+
responses:
|
|
7426
|
+
"200":
|
|
7427
|
+
description: OK
|
|
7428
|
+
content:
|
|
7429
|
+
text/event-stream:
|
|
7430
|
+
schema:
|
|
7431
|
+
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
7432
|
+
default:
|
|
7433
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7405
7434
|
"/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}":
|
|
7406
7435
|
patch:
|
|
7407
7436
|
operationId: updateSiteSpaceById
|
|
@@ -7510,6 +7539,14 @@ paths:
|
|
|
7510
7539
|
nullable: true
|
|
7511
7540
|
enum:
|
|
7512
7541
|
- null
|
|
7542
|
+
tint:
|
|
7543
|
+
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.
|
|
7544
|
+
oneOf:
|
|
7545
|
+
- $ref: "#/components/schemas/CustomizationTint"
|
|
7546
|
+
- type: string
|
|
7547
|
+
nullable: true
|
|
7548
|
+
enum:
|
|
7549
|
+
- null
|
|
7513
7550
|
corners:
|
|
7514
7551
|
description: The style of the corners to use. Set to null to reset the override.
|
|
7515
7552
|
oneOf:
|
|
@@ -7614,7 +7651,7 @@ paths:
|
|
|
7614
7651
|
description: The links that are displayed in the header. Set to null to reset the override.
|
|
7615
7652
|
nullable: true
|
|
7616
7653
|
items:
|
|
7617
|
-
$ref: "#/components/schemas/
|
|
7654
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
7618
7655
|
footer:
|
|
7619
7656
|
type: object
|
|
7620
7657
|
properties:
|
|
@@ -11243,39 +11280,21 @@ components:
|
|
|
11243
11280
|
URL:
|
|
11244
11281
|
type: string
|
|
11245
11282
|
format: uri
|
|
11246
|
-
|
|
11283
|
+
GitSyncProvider:
|
|
11247
11284
|
type: string
|
|
11248
|
-
description:
|
|
11249
|
-
* `running`: The operation is still running
|
|
11250
|
-
* `failure`: The operation failed
|
|
11251
|
-
* `success`: The operation was successful
|
|
11285
|
+
description: The provider of the Git Sync installation.
|
|
11252
11286
|
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
|
|
11287
|
+
- github
|
|
11288
|
+
- gitlab
|
|
11289
|
+
- github-legacy
|
|
11271
11290
|
GitSyncState:
|
|
11272
11291
|
type: object
|
|
11273
11292
|
properties:
|
|
11274
11293
|
installationProvider:
|
|
11294
|
+
$ref: "#/components/schemas/GitSyncProvider"
|
|
11295
|
+
integration:
|
|
11275
11296
|
type: string
|
|
11276
|
-
description: The
|
|
11277
|
-
operation:
|
|
11278
|
-
$ref: "#/components/schemas/GitSyncOperation"
|
|
11297
|
+
description: The integration name providing the Git Sync.
|
|
11279
11298
|
url:
|
|
11280
11299
|
type: string
|
|
11281
11300
|
description: The URL to the repository tree, used when rendering public content.
|
|
@@ -11415,19 +11434,47 @@ components:
|
|
|
11415
11434
|
description: ID of the active revision in the space.
|
|
11416
11435
|
defaultLevel:
|
|
11417
11436
|
$ref: "#/components/schemas/DefaultLevel"
|
|
11437
|
+
comments:
|
|
11438
|
+
type: number
|
|
11439
|
+
description: Count of opened comments on the space.
|
|
11440
|
+
changeRequests:
|
|
11441
|
+
type: number
|
|
11442
|
+
description: Total count of change requests on the space.
|
|
11443
|
+
changeRequestsOpen:
|
|
11444
|
+
type: number
|
|
11445
|
+
description: Count of open change requests on the space.
|
|
11446
|
+
changeRequestsDraft:
|
|
11447
|
+
type: number
|
|
11448
|
+
description: Count of draft change requests on the space.
|
|
11418
11449
|
permissions:
|
|
11419
11450
|
type: object
|
|
11420
11451
|
description: The set of permissions for the space
|
|
11421
11452
|
properties:
|
|
11453
|
+
access:
|
|
11454
|
+
type: boolean
|
|
11455
|
+
description: Can the user access the space in the application.
|
|
11422
11456
|
admin:
|
|
11423
11457
|
type: boolean
|
|
11424
11458
|
description: Can the user edit the title, install integrations, and manage the space.
|
|
11425
11459
|
edit:
|
|
11426
11460
|
type: boolean
|
|
11427
11461
|
description: Can the user edit the content of the space by creating a change request.
|
|
11462
|
+
comment:
|
|
11463
|
+
type: boolean
|
|
11464
|
+
description: Can the user comment on the content.
|
|
11465
|
+
merge:
|
|
11466
|
+
type: boolean
|
|
11467
|
+
description: Can the user merge change requests.
|
|
11468
|
+
review:
|
|
11469
|
+
type: boolean
|
|
11470
|
+
description: Can the user review change requests.
|
|
11428
11471
|
required:
|
|
11472
|
+
- access
|
|
11429
11473
|
- admin
|
|
11430
11474
|
- edit
|
|
11475
|
+
- comment
|
|
11476
|
+
- merge
|
|
11477
|
+
- review
|
|
11431
11478
|
required:
|
|
11432
11479
|
- object
|
|
11433
11480
|
- id
|
|
@@ -11439,6 +11486,10 @@ components:
|
|
|
11439
11486
|
- revision
|
|
11440
11487
|
- createdAt
|
|
11441
11488
|
- updatedAt
|
|
11489
|
+
- comments
|
|
11490
|
+
- changeRequests
|
|
11491
|
+
- changeRequestsOpen
|
|
11492
|
+
- changeRequestsDraft
|
|
11442
11493
|
- urls
|
|
11443
11494
|
- defaultLevel
|
|
11444
11495
|
- permissions
|
|
@@ -12525,6 +12576,7 @@ components:
|
|
|
12525
12576
|
- plus_2024
|
|
12526
12577
|
- pro_2024
|
|
12527
12578
|
- enterprise_2024
|
|
12579
|
+
- community_2024
|
|
12528
12580
|
- free
|
|
12529
12581
|
- plus
|
|
12530
12582
|
- pro
|
|
@@ -12537,6 +12589,10 @@ components:
|
|
|
12537
12589
|
- team_oct_2019_free
|
|
12538
12590
|
- team_dec_2021
|
|
12539
12591
|
- business_dec_2021
|
|
12592
|
+
OrganizationBlockReason:
|
|
12593
|
+
type: string
|
|
12594
|
+
enum:
|
|
12595
|
+
- security
|
|
12540
12596
|
Organization:
|
|
12541
12597
|
type: object
|
|
12542
12598
|
properties:
|
|
@@ -12567,7 +12623,7 @@ components:
|
|
|
12567
12623
|
defaultContent:
|
|
12568
12624
|
$ref: "#/components/schemas/OrganizationDefaultContent"
|
|
12569
12625
|
sso:
|
|
12570
|
-
description: Whether SSO is enforced organization
|
|
12626
|
+
description: Whether SSO is enforced organization-wide
|
|
12571
12627
|
type: boolean
|
|
12572
12628
|
ai:
|
|
12573
12629
|
description: If true, the organization is configured to use all our AI features.
|
|
@@ -12595,6 +12651,41 @@ components:
|
|
|
12595
12651
|
required:
|
|
12596
12652
|
- app
|
|
12597
12653
|
- location
|
|
12654
|
+
trialDecision:
|
|
12655
|
+
type: string
|
|
12656
|
+
description: The decision taken by the user at the end of the trial
|
|
12657
|
+
enum:
|
|
12658
|
+
- downgrade
|
|
12659
|
+
customHostname:
|
|
12660
|
+
description: Custom hostname linked to this organization
|
|
12661
|
+
type: string
|
|
12662
|
+
blocked:
|
|
12663
|
+
type: object
|
|
12664
|
+
description: If the organization is blocked, information about the block will appear here
|
|
12665
|
+
properties:
|
|
12666
|
+
reason:
|
|
12667
|
+
$ref: "#/components/schemas/OrganizationBlockReason"
|
|
12668
|
+
required:
|
|
12669
|
+
- reason
|
|
12670
|
+
internal_isUsingSnippets:
|
|
12671
|
+
type: boolean
|
|
12672
|
+
description: If true, the organization is still using the deprecated snippets feature.
|
|
12673
|
+
internal_isOnNewTrial:
|
|
12674
|
+
type: boolean
|
|
12675
|
+
description: If true, the organization is on the new trial which includes sites and the Pro plan.
|
|
12676
|
+
permissions:
|
|
12677
|
+
type: object
|
|
12678
|
+
description: The set of permissions for the organization
|
|
12679
|
+
properties:
|
|
12680
|
+
admin:
|
|
12681
|
+
type: boolean
|
|
12682
|
+
description: Can the user manage the title, members, etc.
|
|
12683
|
+
createContent:
|
|
12684
|
+
type: boolean
|
|
12685
|
+
description: Can the user create new spaces/collections in the organization
|
|
12686
|
+
required:
|
|
12687
|
+
- admin
|
|
12688
|
+
- createContent
|
|
12598
12689
|
required:
|
|
12599
12690
|
- object
|
|
12600
12691
|
- id
|
|
@@ -12605,6 +12696,7 @@ components:
|
|
|
12605
12696
|
- type
|
|
12606
12697
|
- emailDomains
|
|
12607
12698
|
- urls
|
|
12699
|
+
- permissions
|
|
12608
12700
|
ContentLocationRevisionContext:
|
|
12609
12701
|
type: object
|
|
12610
12702
|
required:
|
|
@@ -14235,21 +14327,32 @@ components:
|
|
|
14235
14327
|
required:
|
|
14236
14328
|
- title
|
|
14237
14329
|
- to
|
|
14238
|
-
|
|
14239
|
-
|
|
14240
|
-
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
|
|
14244
|
-
|
|
14330
|
+
CustomizationHeaderItem:
|
|
14331
|
+
type: object
|
|
14332
|
+
properties:
|
|
14333
|
+
title:
|
|
14334
|
+
type: string
|
|
14335
|
+
style:
|
|
14336
|
+
type: string
|
|
14337
|
+
enum:
|
|
14338
|
+
- link
|
|
14339
|
+
- button-primary
|
|
14340
|
+
- button-secondary
|
|
14341
|
+
to:
|
|
14342
|
+
oneOf:
|
|
14343
|
+
- $ref: "#/components/schemas/ContentRef"
|
|
14344
|
+
- type: string
|
|
14345
|
+
nullable: true
|
|
14245
14346
|
enum:
|
|
14246
|
-
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14347
|
+
- null
|
|
14348
|
+
links:
|
|
14349
|
+
type: array
|
|
14350
|
+
items:
|
|
14351
|
+
$ref: "#/components/schemas/CustomizationContentLink"
|
|
14352
|
+
required:
|
|
14353
|
+
- title
|
|
14354
|
+
- links
|
|
14355
|
+
- to
|
|
14253
14356
|
CustomizationFooterGroup:
|
|
14254
14357
|
type: object
|
|
14255
14358
|
properties:
|
|
@@ -14333,7 +14436,7 @@ components:
|
|
|
14333
14436
|
links:
|
|
14334
14437
|
type: array
|
|
14335
14438
|
items:
|
|
14336
|
-
$ref: "#/components/schemas/
|
|
14439
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
14337
14440
|
required:
|
|
14338
14441
|
- preset
|
|
14339
14442
|
- links
|
|
@@ -16400,6 +16503,14 @@ components:
|
|
|
16400
16503
|
- unlisted
|
|
16401
16504
|
- share-link
|
|
16402
16505
|
- visitor-auth
|
|
16506
|
+
SiteAdaptiveContent:
|
|
16507
|
+
type: object
|
|
16508
|
+
properties:
|
|
16509
|
+
enabled:
|
|
16510
|
+
type: boolean
|
|
16511
|
+
description: Whether adaptive content should be enabled on the site.
|
|
16512
|
+
required:
|
|
16513
|
+
- enabled
|
|
16403
16514
|
SiteAdsTopic:
|
|
16404
16515
|
type: string
|
|
16405
16516
|
description: Topic of the content
|
|
@@ -16484,6 +16595,8 @@ components:
|
|
|
16484
16595
|
createdAt:
|
|
16485
16596
|
type: string
|
|
16486
16597
|
format: date-time
|
|
16598
|
+
adaptiveContent:
|
|
16599
|
+
$ref: "#/components/schemas/SiteAdaptiveContent"
|
|
16487
16600
|
ads:
|
|
16488
16601
|
$ref: "#/components/schemas/SiteAds"
|
|
16489
16602
|
urls:
|
|
@@ -16719,9 +16832,15 @@ components:
|
|
|
16719
16832
|
oneOf:
|
|
16720
16833
|
- $ref: "#/components/schemas/OrganizationAllCollection"
|
|
16721
16834
|
- $ref: "#/components/schemas/OrganizationAllSpace"
|
|
16835
|
+
deletedSpaces:
|
|
16836
|
+
description: List of soft-deleted spaces.
|
|
16837
|
+
type: array
|
|
16838
|
+
items:
|
|
16839
|
+
$ref: "#/components/schemas/OrganizationAllSpace"
|
|
16722
16840
|
required:
|
|
16723
16841
|
- sites
|
|
16724
16842
|
- spaces
|
|
16843
|
+
- deletedSpaces
|
|
16725
16844
|
OrganizationMember:
|
|
16726
16845
|
type: object
|
|
16727
16846
|
properties:
|
|
@@ -17152,16 +17271,6 @@ components:
|
|
|
17152
17271
|
parent:
|
|
17153
17272
|
type: string
|
|
17154
17273
|
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
17274
|
OrganizationExperimentalFeature:
|
|
17166
17275
|
type: object
|
|
17167
17276
|
properties:
|
|
@@ -17258,6 +17367,22 @@ components:
|
|
|
17258
17367
|
- createdAt
|
|
17259
17368
|
- service
|
|
17260
17369
|
- urls
|
|
17370
|
+
OrganizationSSOProviderLogin:
|
|
17371
|
+
type: object
|
|
17372
|
+
properties:
|
|
17373
|
+
id:
|
|
17374
|
+
type: string
|
|
17375
|
+
description: Unique identifier for the provider.
|
|
17376
|
+
label:
|
|
17377
|
+
$ref: "#/components/schemas/SAMLProviderLabel"
|
|
17378
|
+
startURL:
|
|
17379
|
+
type: string
|
|
17380
|
+
description: The starting login URL for the Identity Provider
|
|
17381
|
+
format: uri
|
|
17382
|
+
required:
|
|
17383
|
+
- id
|
|
17384
|
+
- label
|
|
17385
|
+
- startURL
|
|
17261
17386
|
OrganizationUsageSpaces:
|
|
17262
17387
|
type: object
|
|
17263
17388
|
description: Spaces usage metrics of an organization
|
|
@@ -17693,6 +17818,13 @@ components:
|
|
|
17693
17818
|
required:
|
|
17694
17819
|
- type
|
|
17695
17820
|
- plan
|
|
17821
|
+
CustomizationTint:
|
|
17822
|
+
type: object
|
|
17823
|
+
properties:
|
|
17824
|
+
color:
|
|
17825
|
+
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
17826
|
+
required:
|
|
17827
|
+
- color
|
|
17696
17828
|
CustomizationIconsStyle:
|
|
17697
17829
|
type: string
|
|
17698
17830
|
enum:
|
|
@@ -17712,6 +17844,8 @@ components:
|
|
|
17712
17844
|
properties:
|
|
17713
17845
|
primaryColor:
|
|
17714
17846
|
$ref: "#/components/schemas/CustomizationThemedColor"
|
|
17847
|
+
tint:
|
|
17848
|
+
$ref: "#/components/schemas/CustomizationTint"
|
|
17715
17849
|
corners:
|
|
17716
17850
|
$ref: "#/components/schemas/CustomizationCorners"
|
|
17717
17851
|
font:
|
|
@@ -17764,7 +17898,7 @@ components:
|
|
|
17764
17898
|
links:
|
|
17765
17899
|
type: array
|
|
17766
17900
|
items:
|
|
17767
|
-
$ref: "#/components/schemas/
|
|
17901
|
+
$ref: "#/components/schemas/CustomizationHeaderItem"
|
|
17768
17902
|
required:
|
|
17769
17903
|
- preset
|
|
17770
17904
|
- links
|
|
@@ -17996,6 +18130,46 @@ components:
|
|
|
17996
18130
|
type: string
|
|
17997
18131
|
format: uri
|
|
17998
18132
|
description: A fallback URL that will be used if authentication fails.
|
|
18133
|
+
SiteSearchScope:
|
|
18134
|
+
oneOf:
|
|
18135
|
+
- type: object
|
|
18136
|
+
required:
|
|
18137
|
+
- mode
|
|
18138
|
+
properties:
|
|
18139
|
+
mode:
|
|
18140
|
+
description: |
|
|
18141
|
+
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.
|
|
18142
|
+
type: string
|
|
18143
|
+
enum:
|
|
18144
|
+
- default
|
|
18145
|
+
includedSiteSpaces:
|
|
18146
|
+
type: array
|
|
18147
|
+
items:
|
|
18148
|
+
type: string
|
|
18149
|
+
- type: object
|
|
18150
|
+
required:
|
|
18151
|
+
- mode
|
|
18152
|
+
- siteSpaceIds
|
|
18153
|
+
properties:
|
|
18154
|
+
mode:
|
|
18155
|
+
description: Only search in the provided site spaces.
|
|
18156
|
+
type: string
|
|
18157
|
+
enum:
|
|
18158
|
+
- specific
|
|
18159
|
+
siteSpaceIds:
|
|
18160
|
+
type: array
|
|
18161
|
+
minLength: 1
|
|
18162
|
+
items:
|
|
18163
|
+
type: string
|
|
18164
|
+
- type: object
|
|
18165
|
+
required:
|
|
18166
|
+
- mode
|
|
18167
|
+
properties:
|
|
18168
|
+
mode:
|
|
18169
|
+
description: Search in all sections and site spaces. This scope is wide and deep.
|
|
18170
|
+
type: string
|
|
18171
|
+
enum:
|
|
18172
|
+
- all
|
|
17999
18173
|
SiteSectionPointer:
|
|
18000
18174
|
type: object
|
|
18001
18175
|
properties:
|
|
@@ -18153,6 +18327,30 @@ components:
|
|
|
18153
18327
|
type: number
|
|
18154
18328
|
revenue:
|
|
18155
18329
|
type: string
|
|
18330
|
+
SearchInsightsIntervals:
|
|
18331
|
+
type: object
|
|
18332
|
+
properties:
|
|
18333
|
+
values:
|
|
18334
|
+
type: array
|
|
18335
|
+
items:
|
|
18336
|
+
type: object
|
|
18337
|
+
required:
|
|
18338
|
+
- date
|
|
18339
|
+
- total
|
|
18340
|
+
- queries
|
|
18341
|
+
properties:
|
|
18342
|
+
date:
|
|
18343
|
+
description: The start date of this interval
|
|
18344
|
+
type: string
|
|
18345
|
+
format: date-time
|
|
18346
|
+
total:
|
|
18347
|
+
description: The total number of searches during the interval.
|
|
18348
|
+
type: number
|
|
18349
|
+
queries:
|
|
18350
|
+
description: Top queries searched for this content.
|
|
18351
|
+
type: array
|
|
18352
|
+
items:
|
|
18353
|
+
$ref: "#/components/schemas/AnalyticsSearchQuery"
|
|
18156
18354
|
InsightsContentPage:
|
|
18157
18355
|
type: object
|
|
18158
18356
|
description: Page entry in the content insights.
|
|
@@ -18951,6 +19149,21 @@ components:
|
|
|
18951
19149
|
- file_edited
|
|
18952
19150
|
- file_deleted
|
|
18953
19151
|
- custom_fields_edited
|
|
19152
|
+
GitSyncOperationState:
|
|
19153
|
+
type: string
|
|
19154
|
+
description: |
|
|
19155
|
+
* `running`: The operation is still running
|
|
19156
|
+
* `failure`: The operation failed
|
|
19157
|
+
* `success`: The operation was successful
|
|
19158
|
+
enum:
|
|
19159
|
+
- running
|
|
19160
|
+
- failure
|
|
19161
|
+
- success
|
|
19162
|
+
GitSyncOperationDirection:
|
|
19163
|
+
type: string
|
|
19164
|
+
enum:
|
|
19165
|
+
- export
|
|
19166
|
+
- import
|
|
18954
19167
|
GitSyncOperationStage:
|
|
18955
19168
|
type: string
|
|
18956
19169
|
description: |
|
|
@@ -18966,6 +19179,39 @@ components:
|
|
|
18966
19179
|
- config_check
|
|
18967
19180
|
- content_process
|
|
18968
19181
|
- finalize
|
|
19182
|
+
GitSyncOperation:
|
|
19183
|
+
type: object
|
|
19184
|
+
properties:
|
|
19185
|
+
state:
|
|
19186
|
+
$ref: "#/components/schemas/GitSyncOperationState"
|
|
19187
|
+
direction:
|
|
19188
|
+
$ref: "#/components/schemas/GitSyncOperationDirection"
|
|
19189
|
+
stage:
|
|
19190
|
+
$ref: "#/components/schemas/GitSyncOperationStage"
|
|
19191
|
+
dispatchedTasks:
|
|
19192
|
+
type: number
|
|
19193
|
+
completedTasks:
|
|
19194
|
+
type: number
|
|
19195
|
+
startedAt:
|
|
19196
|
+
description: Date when the operation was started
|
|
19197
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19198
|
+
updatedAt:
|
|
19199
|
+
description: Date when the operation was last updated
|
|
19200
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19201
|
+
completedAt:
|
|
19202
|
+
description: Date when the operation was successful (when state is `success`)
|
|
19203
|
+
$ref: "#/components/schemas/Timestamp"
|
|
19204
|
+
error:
|
|
19205
|
+
type: string
|
|
19206
|
+
description: Error details, defined if state is `failure`.
|
|
19207
|
+
required:
|
|
19208
|
+
- state
|
|
19209
|
+
- direction
|
|
19210
|
+
- stage
|
|
19211
|
+
- dispatchedTasks
|
|
19212
|
+
- completedTasks
|
|
19213
|
+
- startedAt
|
|
19214
|
+
- updatedAt
|
|
18969
19215
|
OrganizationTransferResponse:
|
|
18970
19216
|
type: object
|
|
18971
19217
|
required:
|
|
@@ -19117,7 +19363,6 @@ components:
|
|
|
19117
19363
|
required:
|
|
19118
19364
|
- organization
|
|
19119
19365
|
- spaces
|
|
19120
|
-
- claims
|
|
19121
19366
|
SpaceAPIToken:
|
|
19122
19367
|
allOf:
|
|
19123
19368
|
- $ref: "#/components/schemas/ContentAPIBaseToken"
|
|
@@ -19615,6 +19860,19 @@ components:
|
|
|
19615
19860
|
required:
|
|
19616
19861
|
- channel
|
|
19617
19862
|
- organization
|
|
19863
|
+
OrganizationAIIndexationChannel:
|
|
19864
|
+
type: object
|
|
19865
|
+
description: Channel for messages everytime a space is indexed by the AI in an organization
|
|
19866
|
+
properties:
|
|
19867
|
+
channel:
|
|
19868
|
+
type: string
|
|
19869
|
+
enum:
|
|
19870
|
+
- organization-ai-indexation
|
|
19871
|
+
organization:
|
|
19872
|
+
type: string
|
|
19873
|
+
required:
|
|
19874
|
+
- channel
|
|
19875
|
+
- organization
|
|
19618
19876
|
SpaceCommentsChannel:
|
|
19619
19877
|
type: object
|
|
19620
19878
|
properties:
|
|
@@ -20014,6 +20272,7 @@ components:
|
|
|
20014
20272
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
20015
20273
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
20016
20274
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
20275
|
+
- $ref: "#/components/schemas/OrganizationAIIndexationChannel"
|
|
20017
20276
|
- $ref: "#/components/schemas/SpaceCommentsChannel"
|
|
20018
20277
|
- $ref: "#/components/schemas/ChangeRequestCommentsChannel"
|
|
20019
20278
|
- $ref: "#/components/schemas/CommentInfoChannel"
|
|
@@ -20050,32 +20309,7 @@ components:
|
|
|
20050
20309
|
enum:
|
|
20051
20310
|
- space-gitsync-operation
|
|
20052
20311
|
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
|
|
20312
|
+
$ref: "#/components/schemas/GitSyncOperation"
|
|
20079
20313
|
required:
|
|
20080
20314
|
- channel
|
|
20081
20315
|
- data
|
|
@@ -20123,6 +20357,24 @@ components:
|
|
|
20123
20357
|
required:
|
|
20124
20358
|
- channel
|
|
20125
20359
|
- data
|
|
20360
|
+
OrganizationAIIndexationChannelData:
|
|
20361
|
+
type: object
|
|
20362
|
+
properties:
|
|
20363
|
+
channel:
|
|
20364
|
+
type: string
|
|
20365
|
+
enum:
|
|
20366
|
+
- organization-ai-indexation
|
|
20367
|
+
data:
|
|
20368
|
+
type: object
|
|
20369
|
+
properties:
|
|
20370
|
+
space:
|
|
20371
|
+
type: string
|
|
20372
|
+
description: The space that was indexed
|
|
20373
|
+
required:
|
|
20374
|
+
- space
|
|
20375
|
+
required:
|
|
20376
|
+
- channel
|
|
20377
|
+
- data
|
|
20126
20378
|
APIChannelMutationData:
|
|
20127
20379
|
type: object
|
|
20128
20380
|
properties:
|
|
@@ -20148,6 +20400,7 @@ components:
|
|
|
20148
20400
|
- $ref: "#/components/schemas/GitSyncOperationChannelData"
|
|
20149
20401
|
- $ref: "#/components/schemas/SpaceContentRefsChannelData"
|
|
20150
20402
|
- $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
|
|
20403
|
+
- $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
|
|
20151
20404
|
- $ref: "#/components/schemas/APIChannelMutationData"
|
|
20152
20405
|
discriminator:
|
|
20153
20406
|
propertyName: channel
|