@gitbook/api 0.60.0 → 0.61.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 +356 -332
- package/dist/index.cjs +104 -93
- package/dist/index.js +103 -91
- package/package.json +1 -1
- package/spec/openapi.json +1244 -1131
- package/spec/openapi.yaml +713 -643
package/spec/openapi.yaml
CHANGED
|
@@ -245,11 +245,6 @@ paths:
|
|
|
245
245
|
$ref: "#/components/schemas/SpaceEditMode"
|
|
246
246
|
title:
|
|
247
247
|
$ref: "#/components/schemas/SpaceTitle"
|
|
248
|
-
visibility:
|
|
249
|
-
$ref: "#/components/schemas/ContentVisibility"
|
|
250
|
-
visitorAuth:
|
|
251
|
-
$ref: "#/components/schemas/VisitorAuth"
|
|
252
|
-
description: The integration property, if set, is ignored.
|
|
253
248
|
defaultLevel:
|
|
254
249
|
$ref: "#/components/schemas/DefaultLevel"
|
|
255
250
|
- oneOf:
|
|
@@ -779,6 +774,52 @@ paths:
|
|
|
779
774
|
application/json:
|
|
780
775
|
schema:
|
|
781
776
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
777
|
+
"/spaces/{spaceId}/permissions":
|
|
778
|
+
post:
|
|
779
|
+
operationId: inviteToSpace
|
|
780
|
+
summary: Invite to a space (only teams supported for now)
|
|
781
|
+
tags:
|
|
782
|
+
- spaces
|
|
783
|
+
security:
|
|
784
|
+
- user: []
|
|
785
|
+
parameters:
|
|
786
|
+
- $ref: "#/components/parameters/spaceId"
|
|
787
|
+
responses:
|
|
788
|
+
"204":
|
|
789
|
+
description: OK
|
|
790
|
+
"404":
|
|
791
|
+
description: No team with the provided Id
|
|
792
|
+
$ref: "#/components/responses/NotFoundError"
|
|
793
|
+
default:
|
|
794
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
795
|
+
requestBody:
|
|
796
|
+
required: true
|
|
797
|
+
content:
|
|
798
|
+
application/json:
|
|
799
|
+
schema:
|
|
800
|
+
$ref: "#/components/schemas/InviteEmailsUsersTeamsToSpace"
|
|
801
|
+
"/spaces/{spaceId}/permissions/teams/{teamId}":
|
|
802
|
+
delete:
|
|
803
|
+
operationId: removeTeamFromSpace
|
|
804
|
+
summary: Remove a team from a space
|
|
805
|
+
tags:
|
|
806
|
+
- spaces
|
|
807
|
+
security:
|
|
808
|
+
- user: []
|
|
809
|
+
parameters:
|
|
810
|
+
- $ref: "#/components/parameters/spaceId"
|
|
811
|
+
- $ref: "#/components/parameters/teamId"
|
|
812
|
+
responses:
|
|
813
|
+
"205":
|
|
814
|
+
description: The team has been removed from the space
|
|
815
|
+
"400":
|
|
816
|
+
description: Team does not have access to space
|
|
817
|
+
$ref: "#/components/responses/BadRequestError"
|
|
818
|
+
"404":
|
|
819
|
+
description: No team found with the given ID
|
|
820
|
+
$ref: "#/components/responses/NotFoundError"
|
|
821
|
+
default:
|
|
822
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
782
823
|
"/spaces/{spaceId}/content":
|
|
783
824
|
get:
|
|
784
825
|
operationId: getCurrentRevision
|
|
@@ -2550,79 +2591,6 @@ paths:
|
|
|
2550
2591
|
$ref: "#/components/responses/BadRequestError"
|
|
2551
2592
|
default:
|
|
2552
2593
|
$ref: "#/components/responses/UnexpectedError"
|
|
2553
|
-
"/spaces/{spaceId}/publishing/auth":
|
|
2554
|
-
get:
|
|
2555
|
-
operationId: getSpacePublishingAuthById
|
|
2556
|
-
summary: Get the publishing authentication configuration for a space.
|
|
2557
|
-
tags:
|
|
2558
|
-
- spaces
|
|
2559
|
-
security:
|
|
2560
|
-
- user: []
|
|
2561
|
-
parameters:
|
|
2562
|
-
- $ref: "#/components/parameters/spaceId"
|
|
2563
|
-
responses:
|
|
2564
|
-
"200":
|
|
2565
|
-
description: OK
|
|
2566
|
-
content:
|
|
2567
|
-
application/json:
|
|
2568
|
-
schema:
|
|
2569
|
-
$ref: "#/components/schemas/ContentPublishingAuth"
|
|
2570
|
-
"400":
|
|
2571
|
-
$ref: "#/components/responses/BadRequestError"
|
|
2572
|
-
default:
|
|
2573
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
2574
|
-
post:
|
|
2575
|
-
operationId: updateSpacePublishingAuthById
|
|
2576
|
-
summary: Update the publishing authentication configuration for a space.
|
|
2577
|
-
tags:
|
|
2578
|
-
- spaces
|
|
2579
|
-
security:
|
|
2580
|
-
- user: []
|
|
2581
|
-
parameters:
|
|
2582
|
-
- $ref: "#/components/parameters/spaceId"
|
|
2583
|
-
requestBody:
|
|
2584
|
-
required: true
|
|
2585
|
-
content:
|
|
2586
|
-
application/json:
|
|
2587
|
-
schema:
|
|
2588
|
-
$ref: "#/components/schemas/UpdateContentPublishingAuth"
|
|
2589
|
-
responses:
|
|
2590
|
-
"200":
|
|
2591
|
-
description: OK
|
|
2592
|
-
content:
|
|
2593
|
-
application/json:
|
|
2594
|
-
schema:
|
|
2595
|
-
$ref: "#/components/schemas/ContentPublishingAuth"
|
|
2596
|
-
"400":
|
|
2597
|
-
$ref: "#/components/responses/BadRequestError"
|
|
2598
|
-
default:
|
|
2599
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
2600
|
-
"/spaces/{spaceId}/publishing/preview":
|
|
2601
|
-
get:
|
|
2602
|
-
operationId: getSpacePublishingPreviewById
|
|
2603
|
-
summary: Get a URL to preview the published content of a space. The URL will be valid for 1 hour.
|
|
2604
|
-
tags:
|
|
2605
|
-
- spaces
|
|
2606
|
-
security:
|
|
2607
|
-
- user: []
|
|
2608
|
-
parameters:
|
|
2609
|
-
- $ref: "#/components/parameters/spaceId"
|
|
2610
|
-
responses:
|
|
2611
|
-
"200":
|
|
2612
|
-
description: OK
|
|
2613
|
-
content:
|
|
2614
|
-
application/json:
|
|
2615
|
-
schema:
|
|
2616
|
-
type: object
|
|
2617
|
-
properties:
|
|
2618
|
-
url:
|
|
2619
|
-
$ref: "#/components/schemas/URL"
|
|
2620
|
-
required:
|
|
2621
|
-
- url
|
|
2622
|
-
"400":
|
|
2623
|
-
$ref: "#/components/responses/BadRequestError"
|
|
2624
|
-
default:
|
|
2625
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
2626
2594
|
"/spaces/{spaceId}/integrations":
|
|
2627
2595
|
get:
|
|
2628
2596
|
operationId: listSpaceIntegrations
|
|
@@ -3165,53 +3133,6 @@ paths:
|
|
|
3165
3133
|
$ref: "#/components/schemas/UserContentPermission"
|
|
3166
3134
|
default:
|
|
3167
3135
|
$ref: "#/components/responses/UnexpectedError"
|
|
3168
|
-
"/collections/{collectionId}/publishing/auth":
|
|
3169
|
-
get:
|
|
3170
|
-
operationId: getCollectionPublishingAuthById
|
|
3171
|
-
summary: Get the publishing authentication configuration for a collection.
|
|
3172
|
-
tags:
|
|
3173
|
-
- collections
|
|
3174
|
-
security:
|
|
3175
|
-
- user: []
|
|
3176
|
-
parameters:
|
|
3177
|
-
- $ref: "#/components/parameters/collectionId"
|
|
3178
|
-
responses:
|
|
3179
|
-
"200":
|
|
3180
|
-
description: OK
|
|
3181
|
-
content:
|
|
3182
|
-
application/json:
|
|
3183
|
-
schema:
|
|
3184
|
-
$ref: "#/components/schemas/ContentPublishingAuth"
|
|
3185
|
-
"400":
|
|
3186
|
-
$ref: "#/components/responses/BadRequestError"
|
|
3187
|
-
default:
|
|
3188
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
3189
|
-
post:
|
|
3190
|
-
operationId: updateCollectionPublishingAuthById
|
|
3191
|
-
summary: Update the publishing authentication configuration for a collection.
|
|
3192
|
-
tags:
|
|
3193
|
-
- collections
|
|
3194
|
-
security:
|
|
3195
|
-
- user: []
|
|
3196
|
-
parameters:
|
|
3197
|
-
- $ref: "#/components/parameters/collectionId"
|
|
3198
|
-
requestBody:
|
|
3199
|
-
required: true
|
|
3200
|
-
content:
|
|
3201
|
-
application/json:
|
|
3202
|
-
schema:
|
|
3203
|
-
$ref: "#/components/schemas/UpdateContentPublishingAuth"
|
|
3204
|
-
responses:
|
|
3205
|
-
"200":
|
|
3206
|
-
description: OK
|
|
3207
|
-
content:
|
|
3208
|
-
application/json:
|
|
3209
|
-
schema:
|
|
3210
|
-
$ref: "#/components/schemas/ContentPublishingAuth"
|
|
3211
|
-
"400":
|
|
3212
|
-
$ref: "#/components/responses/BadRequestError"
|
|
3213
|
-
default:
|
|
3214
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
3215
3136
|
"/collections/{collectionId}/publishing/customization":
|
|
3216
3137
|
get:
|
|
3217
3138
|
operationId: getCollectionPublishingCustomizationById
|
|
@@ -4188,8 +4109,6 @@ paths:
|
|
|
4188
4109
|
type: boolean
|
|
4189
4110
|
ai:
|
|
4190
4111
|
type: boolean
|
|
4191
|
-
aiInsights:
|
|
4192
|
-
type: boolean
|
|
4193
4112
|
responses:
|
|
4194
4113
|
"200":
|
|
4195
4114
|
description: The organization has been updated
|
|
@@ -4231,6 +4150,15 @@ paths:
|
|
|
4231
4150
|
description: A query to filter the member list (displayName and email)
|
|
4232
4151
|
schema:
|
|
4233
4152
|
type: string
|
|
4153
|
+
- name: sort
|
|
4154
|
+
in: query
|
|
4155
|
+
description: The property to sort the results by. When sorting by lastSeenAt, only active members will be listed.
|
|
4156
|
+
schema:
|
|
4157
|
+
type: string
|
|
4158
|
+
default: joinedAt
|
|
4159
|
+
enum:
|
|
4160
|
+
- joinedAt
|
|
4161
|
+
- lastSeenAt
|
|
4234
4162
|
responses:
|
|
4235
4163
|
"200":
|
|
4236
4164
|
description: OK
|
|
@@ -4869,6 +4797,52 @@ paths:
|
|
|
4869
4797
|
$ref: "#/components/schemas/BillingPortal"
|
|
4870
4798
|
default:
|
|
4871
4799
|
$ref: "#/components/responses/UnexpectedError"
|
|
4800
|
+
"/orgs/{organizationId}/billing/preview":
|
|
4801
|
+
get:
|
|
4802
|
+
operationId: previewBillingInvoice
|
|
4803
|
+
summary: Generates a billing invoice preview for organizations without an active subscription
|
|
4804
|
+
tags:
|
|
4805
|
+
- organizations
|
|
4806
|
+
security:
|
|
4807
|
+
- user-internal: []
|
|
4808
|
+
parameters:
|
|
4809
|
+
- $ref: "#/components/parameters/organizationId"
|
|
4810
|
+
- name: interval
|
|
4811
|
+
in: query
|
|
4812
|
+
required: true
|
|
4813
|
+
description: The desired billing interval plan
|
|
4814
|
+
schema:
|
|
4815
|
+
$ref: "#/components/schemas/BillingInterval"
|
|
4816
|
+
- name: product
|
|
4817
|
+
in: query
|
|
4818
|
+
required: true
|
|
4819
|
+
description: The desired core plan
|
|
4820
|
+
schema:
|
|
4821
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
4822
|
+
- name: members
|
|
4823
|
+
in: query
|
|
4824
|
+
description: The desired amount of members in the organization
|
|
4825
|
+
schema:
|
|
4826
|
+
type: number
|
|
4827
|
+
- name: premiumSites
|
|
4828
|
+
in: query
|
|
4829
|
+
description: The desired amount of published premium sites
|
|
4830
|
+
schema:
|
|
4831
|
+
type: number
|
|
4832
|
+
- name: audienceSites
|
|
4833
|
+
in: query
|
|
4834
|
+
description: The desired amount of published audience sites
|
|
4835
|
+
schema:
|
|
4836
|
+
type: number
|
|
4837
|
+
responses:
|
|
4838
|
+
"200":
|
|
4839
|
+
description: OK
|
|
4840
|
+
content:
|
|
4841
|
+
application/json:
|
|
4842
|
+
schema:
|
|
4843
|
+
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
4844
|
+
default:
|
|
4845
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
4872
4846
|
"/orgs/{organizationId}/request_upgrade":
|
|
4873
4847
|
post:
|
|
4874
4848
|
operationId: requestOrganizationUpgrade
|
|
@@ -5433,97 +5407,249 @@ paths:
|
|
|
5433
5407
|
description: OK
|
|
5434
5408
|
default:
|
|
5435
5409
|
$ref: "#/components/responses/UnexpectedError"
|
|
5436
|
-
"/orgs/{organizationId}/
|
|
5410
|
+
"/orgs/{organizationId}/saml":
|
|
5437
5411
|
get:
|
|
5438
|
-
operationId:
|
|
5439
|
-
summary:
|
|
5412
|
+
operationId: listSAMLProvidersInOrganizationById
|
|
5413
|
+
summary: List organization SAML providers
|
|
5414
|
+
description: |
|
|
5415
|
+
Lists SAML providers configured for the specified organization.
|
|
5440
5416
|
tags:
|
|
5441
5417
|
- organizations
|
|
5442
|
-
- usage
|
|
5443
5418
|
security:
|
|
5444
|
-
- user
|
|
5419
|
+
- user: []
|
|
5445
5420
|
parameters:
|
|
5446
5421
|
- $ref: "#/components/parameters/organizationId"
|
|
5422
|
+
- $ref: "#/components/parameters/listPage"
|
|
5423
|
+
- $ref: "#/components/parameters/listLimit"
|
|
5447
5424
|
responses:
|
|
5448
5425
|
"200":
|
|
5449
5426
|
description: OK
|
|
5450
5427
|
content:
|
|
5451
5428
|
application/json:
|
|
5452
5429
|
schema:
|
|
5453
|
-
|
|
5430
|
+
allOf:
|
|
5431
|
+
- $ref: "#/components/schemas/List"
|
|
5432
|
+
- type: object
|
|
5433
|
+
required:
|
|
5434
|
+
- items
|
|
5435
|
+
properties:
|
|
5436
|
+
items:
|
|
5437
|
+
type: array
|
|
5438
|
+
items:
|
|
5439
|
+
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5454
5440
|
default:
|
|
5455
5441
|
$ref: "#/components/responses/UnexpectedError"
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
summary: Get collections usage metrics for an organization
|
|
5442
|
+
post:
|
|
5443
|
+
operationId: createOrganizationSAMLProvider
|
|
5444
|
+
summary: Create a new SAML provider in an orgamization
|
|
5460
5445
|
tags:
|
|
5461
5446
|
- organizations
|
|
5462
|
-
- usage
|
|
5463
5447
|
security:
|
|
5464
|
-
- user
|
|
5448
|
+
- user: []
|
|
5465
5449
|
parameters:
|
|
5466
5450
|
- $ref: "#/components/parameters/organizationId"
|
|
5451
|
+
requestBody:
|
|
5452
|
+
required: true
|
|
5453
|
+
content:
|
|
5454
|
+
application/json:
|
|
5455
|
+
schema:
|
|
5456
|
+
type: object
|
|
5457
|
+
properties:
|
|
5458
|
+
label:
|
|
5459
|
+
$ref: "#/components/schemas/SAMLProviderLabel"
|
|
5460
|
+
entityID:
|
|
5461
|
+
$ref: "#/components/schemas/SAMLProviderEntityID"
|
|
5462
|
+
certificate:
|
|
5463
|
+
$ref: "#/components/schemas/SAMLProviderCertificate"
|
|
5464
|
+
ssoURL:
|
|
5465
|
+
$ref: "#/components/schemas/URL"
|
|
5466
|
+
defaultTeam:
|
|
5467
|
+
type: string
|
|
5468
|
+
defaultRole:
|
|
5469
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5470
|
+
required:
|
|
5471
|
+
- label
|
|
5467
5472
|
responses:
|
|
5468
|
-
"
|
|
5469
|
-
description:
|
|
5473
|
+
"201":
|
|
5474
|
+
description: SAML Provider created
|
|
5475
|
+
headers:
|
|
5476
|
+
Location:
|
|
5477
|
+
description: API URL for the newly created SAML Provider
|
|
5478
|
+
schema:
|
|
5479
|
+
type: string
|
|
5470
5480
|
content:
|
|
5471
5481
|
application/json:
|
|
5472
5482
|
schema:
|
|
5473
|
-
|
|
5474
|
-
properties:
|
|
5475
|
-
collections:
|
|
5476
|
-
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
5477
|
-
required:
|
|
5478
|
-
- collections
|
|
5483
|
+
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5479
5484
|
default:
|
|
5480
5485
|
$ref: "#/components/responses/UnexpectedError"
|
|
5481
|
-
"/orgs/{organizationId}/
|
|
5486
|
+
"/orgs/{organizationId}/saml/{samlProviderId}":
|
|
5482
5487
|
get:
|
|
5483
|
-
operationId:
|
|
5484
|
-
summary: Get
|
|
5488
|
+
operationId: getOrganizationSAMLProviderById
|
|
5489
|
+
summary: Get a SAML provider in an organization by its ID
|
|
5485
5490
|
tags:
|
|
5486
5491
|
- organizations
|
|
5487
|
-
- usage
|
|
5488
5492
|
security:
|
|
5489
|
-
- user
|
|
5493
|
+
- user: []
|
|
5490
5494
|
parameters:
|
|
5491
5495
|
- $ref: "#/components/parameters/organizationId"
|
|
5496
|
+
- $ref: "#/components/parameters/samlProviderId"
|
|
5492
5497
|
responses:
|
|
5493
5498
|
"200":
|
|
5494
5499
|
description: OK
|
|
5495
5500
|
content:
|
|
5496
5501
|
application/json:
|
|
5497
5502
|
schema:
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
required:
|
|
5503
|
-
- spaces
|
|
5503
|
+
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5504
|
+
"404":
|
|
5505
|
+
description: No matching provider found
|
|
5506
|
+
$ref: "#/components/responses/NotFoundError"
|
|
5504
5507
|
default:
|
|
5505
5508
|
$ref: "#/components/responses/UnexpectedError"
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
summary: Get sites usage metrics for an organization
|
|
5509
|
+
patch:
|
|
5510
|
+
operationId: updateOrganizationSAMLProvider
|
|
5511
|
+
summary: Update a SAML provider in an organization
|
|
5510
5512
|
tags:
|
|
5511
5513
|
- organizations
|
|
5512
|
-
- usage
|
|
5513
5514
|
security:
|
|
5514
|
-
- user
|
|
5515
|
+
- user: []
|
|
5515
5516
|
parameters:
|
|
5516
5517
|
- $ref: "#/components/parameters/organizationId"
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5518
|
+
- $ref: "#/components/parameters/samlProviderId"
|
|
5519
|
+
requestBody:
|
|
5520
|
+
required: true
|
|
5521
|
+
content:
|
|
5522
|
+
application/json:
|
|
5523
|
+
schema:
|
|
5524
|
+
type: object
|
|
5525
|
+
properties:
|
|
5526
|
+
label:
|
|
5527
|
+
$ref: "#/components/schemas/SAMLProviderLabel"
|
|
5528
|
+
entityID:
|
|
5529
|
+
$ref: "#/components/schemas/SAMLProviderEntityID"
|
|
5530
|
+
certificate:
|
|
5531
|
+
$ref: "#/components/schemas/SAMLProviderCertificate"
|
|
5532
|
+
ssoURL:
|
|
5533
|
+
$ref: "#/components/schemas/URL"
|
|
5534
|
+
defaultTeam:
|
|
5535
|
+
type: string
|
|
5536
|
+
defaultRole:
|
|
5537
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
5538
|
+
responses:
|
|
5539
|
+
"200":
|
|
5540
|
+
description: SAML provider has been updated
|
|
5541
|
+
content:
|
|
5542
|
+
application/json:
|
|
5543
|
+
schema:
|
|
5544
|
+
$ref: "#/components/schemas/OrganizationSAMLProvider"
|
|
5545
|
+
default:
|
|
5546
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5547
|
+
delete:
|
|
5548
|
+
operationId: deleteOrganizationSAMLProvider
|
|
5549
|
+
summary: Delete a SAML provider in an organization
|
|
5550
|
+
tags:
|
|
5551
|
+
- organizations
|
|
5552
|
+
security:
|
|
5553
|
+
- user: []
|
|
5554
|
+
parameters:
|
|
5555
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5556
|
+
- $ref: "#/components/parameters/samlProviderId"
|
|
5557
|
+
responses:
|
|
5558
|
+
"204":
|
|
5559
|
+
description: SAML provider has been deleted
|
|
5560
|
+
default:
|
|
5561
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5562
|
+
"/orgs/{organizationId}/usage":
|
|
5563
|
+
get:
|
|
5564
|
+
operationId: getUsageForOrganizationById
|
|
5565
|
+
summary: Get all usage metrics for an organization
|
|
5566
|
+
tags:
|
|
5567
|
+
- organizations
|
|
5568
|
+
- usage
|
|
5569
|
+
security:
|
|
5570
|
+
- user-internal: []
|
|
5571
|
+
parameters:
|
|
5572
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5573
|
+
responses:
|
|
5574
|
+
"200":
|
|
5575
|
+
description: OK
|
|
5576
|
+
content:
|
|
5577
|
+
application/json:
|
|
5578
|
+
schema:
|
|
5579
|
+
$ref: "#/components/schemas/OrganizationUsage"
|
|
5580
|
+
default:
|
|
5581
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5582
|
+
"/orgs/{organizationId}/usage/collections":
|
|
5583
|
+
get:
|
|
5584
|
+
operationId: getCollectionsUsageForOrganizationById
|
|
5585
|
+
summary: Get collections usage metrics for an organization
|
|
5586
|
+
tags:
|
|
5587
|
+
- organizations
|
|
5588
|
+
- usage
|
|
5589
|
+
security:
|
|
5590
|
+
- user-internal: []
|
|
5591
|
+
parameters:
|
|
5592
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5593
|
+
responses:
|
|
5594
|
+
"200":
|
|
5595
|
+
description: OK
|
|
5596
|
+
content:
|
|
5597
|
+
application/json:
|
|
5598
|
+
schema:
|
|
5599
|
+
type: object
|
|
5600
|
+
properties:
|
|
5601
|
+
collections:
|
|
5602
|
+
$ref: "#/components/schemas/OrganizationUsageCollections"
|
|
5603
|
+
required:
|
|
5604
|
+
- collections
|
|
5605
|
+
default:
|
|
5606
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5607
|
+
"/orgs/{organizationId}/usage/spaces":
|
|
5608
|
+
get:
|
|
5609
|
+
operationId: getSpacesUsageForOrganizationById
|
|
5610
|
+
summary: Get spaces usage metrics for an organization
|
|
5611
|
+
tags:
|
|
5612
|
+
- organizations
|
|
5613
|
+
- usage
|
|
5614
|
+
security:
|
|
5615
|
+
- user-internal: []
|
|
5616
|
+
parameters:
|
|
5617
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5618
|
+
responses:
|
|
5619
|
+
"200":
|
|
5620
|
+
description: OK
|
|
5621
|
+
content:
|
|
5622
|
+
application/json:
|
|
5623
|
+
schema:
|
|
5624
|
+
type: object
|
|
5625
|
+
properties:
|
|
5626
|
+
spaces:
|
|
5627
|
+
$ref: "#/components/schemas/OrganizationUsageSpaces"
|
|
5628
|
+
required:
|
|
5629
|
+
- spaces
|
|
5630
|
+
default:
|
|
5631
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5632
|
+
"/orgs/{organizationId}/usage/sites":
|
|
5633
|
+
get:
|
|
5634
|
+
operationId: getSitesUsageForOrganizationById
|
|
5635
|
+
summary: Get sites usage metrics for an organization
|
|
5636
|
+
tags:
|
|
5637
|
+
- organizations
|
|
5638
|
+
- usage
|
|
5639
|
+
security:
|
|
5640
|
+
- user-internal: []
|
|
5641
|
+
parameters:
|
|
5642
|
+
- $ref: "#/components/parameters/organizationId"
|
|
5643
|
+
responses:
|
|
5644
|
+
"200":
|
|
5645
|
+
description: OK
|
|
5646
|
+
content:
|
|
5647
|
+
application/json:
|
|
5648
|
+
schema:
|
|
5649
|
+
type: object
|
|
5650
|
+
properties:
|
|
5651
|
+
sites:
|
|
5652
|
+
$ref: "#/components/schemas/OrganizationUsageSites"
|
|
5527
5653
|
required:
|
|
5528
5654
|
- sites
|
|
5529
5655
|
default:
|
|
@@ -6013,6 +6139,35 @@ paths:
|
|
|
6013
6139
|
default:
|
|
6014
6140
|
$ref: "#/components/responses/UnexpectedError"
|
|
6015
6141
|
"/orgs/{organizationId}/synced-blocks":
|
|
6142
|
+
get:
|
|
6143
|
+
operationId: listSyncedBlocks
|
|
6144
|
+
summary: List all the synced blocks created in an organization
|
|
6145
|
+
tags:
|
|
6146
|
+
- organizations
|
|
6147
|
+
security:
|
|
6148
|
+
- user: []
|
|
6149
|
+
parameters:
|
|
6150
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6151
|
+
- $ref: "#/components/parameters/listPage"
|
|
6152
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6153
|
+
responses:
|
|
6154
|
+
"200":
|
|
6155
|
+
description: OK
|
|
6156
|
+
content:
|
|
6157
|
+
application/json:
|
|
6158
|
+
schema:
|
|
6159
|
+
allOf:
|
|
6160
|
+
- $ref: "#/components/schemas/List"
|
|
6161
|
+
- type: object
|
|
6162
|
+
required:
|
|
6163
|
+
- items
|
|
6164
|
+
properties:
|
|
6165
|
+
items:
|
|
6166
|
+
type: array
|
|
6167
|
+
items:
|
|
6168
|
+
$ref: "#/components/schemas/SyncedBlock"
|
|
6169
|
+
default:
|
|
6170
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6016
6171
|
post:
|
|
6017
6172
|
operationId: createSyncedBlock
|
|
6018
6173
|
summary: Create a new synced block
|
|
@@ -6156,6 +6311,37 @@ paths:
|
|
|
6156
6311
|
$ref: "#/components/schemas/ContentLocation"
|
|
6157
6312
|
default:
|
|
6158
6313
|
$ref: "#/components/responses/UnexpectedError"
|
|
6314
|
+
"/orgs/{organizationId}/synced-blocks/{syncedBlockId}/usage/spaces":
|
|
6315
|
+
get:
|
|
6316
|
+
operationId: listSyncedBlockSpaces
|
|
6317
|
+
summary: Get a list of spaces that reference this synced block.
|
|
6318
|
+
tags:
|
|
6319
|
+
- organizations
|
|
6320
|
+
security:
|
|
6321
|
+
- user: []
|
|
6322
|
+
parameters:
|
|
6323
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6324
|
+
- $ref: "#/components/parameters/syncedBlockId"
|
|
6325
|
+
- $ref: "#/components/parameters/listPage"
|
|
6326
|
+
- $ref: "#/components/parameters/listLimit"
|
|
6327
|
+
responses:
|
|
6328
|
+
"200":
|
|
6329
|
+
description: OK
|
|
6330
|
+
content:
|
|
6331
|
+
application/json:
|
|
6332
|
+
schema:
|
|
6333
|
+
allOf:
|
|
6334
|
+
- $ref: "#/components/schemas/List"
|
|
6335
|
+
- type: object
|
|
6336
|
+
required:
|
|
6337
|
+
- items
|
|
6338
|
+
properties:
|
|
6339
|
+
items:
|
|
6340
|
+
type: array
|
|
6341
|
+
items:
|
|
6342
|
+
$ref: "#/components/schemas/Space"
|
|
6343
|
+
default:
|
|
6344
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6159
6345
|
"/orgs/{organizationId}/ask":
|
|
6160
6346
|
post:
|
|
6161
6347
|
operationId: askInOrganization
|
|
@@ -6250,163 +6436,36 @@ paths:
|
|
|
6250
6436
|
$ref: "#/components/schemas/SearchAIAnswerStream"
|
|
6251
6437
|
default:
|
|
6252
6438
|
$ref: "#/components/responses/UnexpectedError"
|
|
6253
|
-
"/orgs/{organizationId}/
|
|
6439
|
+
"/orgs/{organizationId}/sites":
|
|
6254
6440
|
get:
|
|
6255
|
-
operationId:
|
|
6256
|
-
summary: List the
|
|
6441
|
+
operationId: listSites
|
|
6442
|
+
summary: List all the sites created in an organization
|
|
6257
6443
|
tags:
|
|
6258
|
-
-
|
|
6259
|
-
- spaces
|
|
6444
|
+
- sites
|
|
6260
6445
|
security:
|
|
6261
6446
|
- user: []
|
|
6262
6447
|
parameters:
|
|
6263
6448
|
- $ref: "#/components/parameters/organizationId"
|
|
6264
6449
|
- $ref: "#/components/parameters/listPage"
|
|
6265
6450
|
- $ref: "#/components/parameters/listLimit"
|
|
6266
|
-
- name: status
|
|
6267
|
-
in: query
|
|
6268
|
-
required: false
|
|
6269
|
-
description: Status of the audit relation to filter on
|
|
6270
|
-
schema:
|
|
6271
|
-
default: pending
|
|
6272
|
-
oneOf:
|
|
6273
|
-
- $ref: "#/components/schemas/ContentAuditRelationStatus"
|
|
6274
|
-
- type: string
|
|
6275
|
-
enum:
|
|
6276
|
-
- all
|
|
6277
6451
|
- name: space
|
|
6278
6452
|
in: query
|
|
6453
|
+
description: Identifier of the space to filter the sites by
|
|
6279
6454
|
required: false
|
|
6280
|
-
description: Space concerned by the relation
|
|
6281
6455
|
schema:
|
|
6282
6456
|
type: string
|
|
6283
|
-
- name:
|
|
6457
|
+
- name: title
|
|
6284
6458
|
in: query
|
|
6459
|
+
description: Filter sites by their title
|
|
6285
6460
|
required: false
|
|
6286
|
-
description: Type of the audit relation to filter on
|
|
6287
|
-
schema:
|
|
6288
|
-
default: all
|
|
6289
|
-
oneOf:
|
|
6290
|
-
- $ref: "#/components/schemas/ContentAuditRelationType"
|
|
6291
|
-
- type: string
|
|
6292
|
-
enum:
|
|
6293
|
-
- all
|
|
6294
|
-
responses:
|
|
6295
|
-
"200":
|
|
6296
|
-
description: Content audit relations
|
|
6297
|
-
content:
|
|
6298
|
-
application/json:
|
|
6299
|
-
schema:
|
|
6300
|
-
allOf:
|
|
6301
|
-
- $ref: "#/components/schemas/List"
|
|
6302
|
-
- type: object
|
|
6303
|
-
required:
|
|
6304
|
-
- items
|
|
6305
|
-
properties:
|
|
6306
|
-
items:
|
|
6307
|
-
type: array
|
|
6308
|
-
items:
|
|
6309
|
-
$ref: "#/components/schemas/ContentAuditRelation"
|
|
6310
|
-
default:
|
|
6311
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6312
|
-
"/orgs/{organizationId}/insights/audit-relations/{relationId}":
|
|
6313
|
-
get:
|
|
6314
|
-
operationId: getContentAuditRelationById
|
|
6315
|
-
summary: Get an audit relation by ID
|
|
6316
|
-
tags:
|
|
6317
|
-
- organizations
|
|
6318
|
-
security:
|
|
6319
|
-
- user: []
|
|
6320
|
-
parameters:
|
|
6321
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6322
|
-
- $ref: "#/components/parameters/relationId"
|
|
6323
|
-
responses:
|
|
6324
|
-
"200":
|
|
6325
|
-
description: OK
|
|
6326
|
-
content:
|
|
6327
|
-
application/json:
|
|
6328
|
-
schema:
|
|
6329
|
-
$ref: "#/components/schemas/ContentAuditRelation"
|
|
6330
|
-
"404":
|
|
6331
|
-
description: No matching content relation found for given ID
|
|
6332
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6333
|
-
default:
|
|
6334
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6335
|
-
patch:
|
|
6336
|
-
operationId: updateContentAuditRelationStatusById
|
|
6337
|
-
summary: Update an audit relation status
|
|
6338
|
-
tags:
|
|
6339
|
-
- organizations
|
|
6340
|
-
security:
|
|
6341
|
-
- user: []
|
|
6342
|
-
parameters:
|
|
6343
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6344
|
-
- $ref: "#/components/parameters/relationId"
|
|
6345
|
-
requestBody:
|
|
6346
|
-
required: true
|
|
6347
|
-
content:
|
|
6348
|
-
application/json:
|
|
6349
|
-
schema:
|
|
6350
|
-
$ref: "#/components/schemas/ContentAuditRelationStatusUpdate"
|
|
6351
|
-
responses:
|
|
6352
|
-
"200":
|
|
6353
|
-
description: OK
|
|
6354
|
-
content:
|
|
6355
|
-
application/json:
|
|
6356
|
-
schema:
|
|
6357
|
-
$ref: "#/components/schemas/ContentAuditRelation"
|
|
6358
|
-
"404":
|
|
6359
|
-
description: No matching content relation found for given ID
|
|
6360
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6361
|
-
default:
|
|
6362
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6363
|
-
"/orgs/{organizationId}/insights/audit-sources/{sourceId}/content":
|
|
6364
|
-
get:
|
|
6365
|
-
operationId: getContentAuditSourceContentById
|
|
6366
|
-
summary: Get the content of an audit source
|
|
6367
|
-
tags:
|
|
6368
|
-
- organizations
|
|
6369
|
-
security:
|
|
6370
|
-
- user: []
|
|
6371
|
-
parameters:
|
|
6372
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6373
|
-
- name: sourceId
|
|
6374
|
-
in: path
|
|
6375
|
-
required: true
|
|
6376
|
-
description: The id of the content audit source
|
|
6377
6461
|
schema:
|
|
6378
6462
|
type: string
|
|
6379
|
-
-
|
|
6380
|
-
responses:
|
|
6381
|
-
"200":
|
|
6382
|
-
description: OK
|
|
6383
|
-
content:
|
|
6384
|
-
application/json:
|
|
6385
|
-
schema:
|
|
6386
|
-
$ref: "#/components/schemas/Document"
|
|
6387
|
-
"404":
|
|
6388
|
-
description: No matching content source found for given ID
|
|
6389
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6390
|
-
default:
|
|
6391
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6392
|
-
"/orgs/{organizationId}/sites":
|
|
6393
|
-
get:
|
|
6394
|
-
operationId: listSites
|
|
6395
|
-
summary: List all the sites created in an organization
|
|
6396
|
-
tags:
|
|
6397
|
-
- sites
|
|
6398
|
-
security:
|
|
6399
|
-
- user: []
|
|
6400
|
-
parameters:
|
|
6401
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6402
|
-
- $ref: "#/components/parameters/listPage"
|
|
6403
|
-
- $ref: "#/components/parameters/listLimit"
|
|
6404
|
-
- name: space
|
|
6463
|
+
- name: published
|
|
6405
6464
|
in: query
|
|
6406
|
-
description:
|
|
6465
|
+
description: Filter sites by their published status
|
|
6407
6466
|
required: false
|
|
6408
6467
|
schema:
|
|
6409
|
-
type:
|
|
6468
|
+
type: boolean
|
|
6410
6469
|
responses:
|
|
6411
6470
|
"200":
|
|
6412
6471
|
description: OK
|
|
@@ -6472,6 +6531,31 @@ paths:
|
|
|
6472
6531
|
$ref: "#/components/schemas/Site"
|
|
6473
6532
|
default:
|
|
6474
6533
|
$ref: "#/components/responses/UnexpectedError"
|
|
6534
|
+
"/orgs/{organizationId}/sites/publishing/checkout":
|
|
6535
|
+
get:
|
|
6536
|
+
operationId: previewSitePublishCheckout
|
|
6537
|
+
summary: Preview checkout information upon publishing a site in the organization.
|
|
6538
|
+
tags:
|
|
6539
|
+
- sites
|
|
6540
|
+
security:
|
|
6541
|
+
- user-internal: []
|
|
6542
|
+
parameters:
|
|
6543
|
+
- $ref: "#/components/parameters/organizationId"
|
|
6544
|
+
- in: query
|
|
6545
|
+
name: plan
|
|
6546
|
+
description: The plan of the site to preview the checkout information for.
|
|
6547
|
+
required: true
|
|
6548
|
+
schema:
|
|
6549
|
+
$ref: "#/components/schemas/SiteType"
|
|
6550
|
+
responses:
|
|
6551
|
+
"200":
|
|
6552
|
+
description: OK
|
|
6553
|
+
content:
|
|
6554
|
+
application/json:
|
|
6555
|
+
schema:
|
|
6556
|
+
$ref: "#/components/schemas/BillingOperationPreviewResponse"
|
|
6557
|
+
default:
|
|
6558
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
6475
6559
|
"/orgs/{organizationId}/sites/{siteId}":
|
|
6476
6560
|
get:
|
|
6477
6561
|
operationId: getSiteById
|
|
@@ -6815,99 +6899,7 @@ paths:
|
|
|
6815
6899
|
content:
|
|
6816
6900
|
application/json:
|
|
6817
6901
|
schema:
|
|
6818
|
-
|
|
6819
|
-
- type: object
|
|
6820
|
-
properties:
|
|
6821
|
-
type:
|
|
6822
|
-
description: User can go ahead with the update without any billing.
|
|
6823
|
-
type: string
|
|
6824
|
-
enum:
|
|
6825
|
-
- update
|
|
6826
|
-
required:
|
|
6827
|
-
- type
|
|
6828
|
-
- type: object
|
|
6829
|
-
properties:
|
|
6830
|
-
type:
|
|
6831
|
-
description: User must checkout to complete the update.
|
|
6832
|
-
type: string
|
|
6833
|
-
enum:
|
|
6834
|
-
- checkout
|
|
6835
|
-
required:
|
|
6836
|
-
- type
|
|
6837
|
-
- type: object
|
|
6838
|
-
properties:
|
|
6839
|
-
type:
|
|
6840
|
-
description: User cannot proceed with the update due to lack of permissions.
|
|
6841
|
-
type: string
|
|
6842
|
-
enum:
|
|
6843
|
-
- no-permissions
|
|
6844
|
-
required:
|
|
6845
|
-
- type
|
|
6846
|
-
- type: object
|
|
6847
|
-
properties:
|
|
6848
|
-
type:
|
|
6849
|
-
description: User needs to go through the legacy update flow.
|
|
6850
|
-
type: string
|
|
6851
|
-
enum:
|
|
6852
|
-
- legacy-upgrade
|
|
6853
|
-
plan:
|
|
6854
|
-
description: The plan the user must upgrade to.
|
|
6855
|
-
$ref: "#/components/schemas/BillingProduct"
|
|
6856
|
-
invoice:
|
|
6857
|
-
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
6858
|
-
required:
|
|
6859
|
-
- type
|
|
6860
|
-
- plan
|
|
6861
|
-
"404":
|
|
6862
|
-
description: No matching site found
|
|
6863
|
-
$ref: "#/components/responses/NotFoundError"
|
|
6864
|
-
default:
|
|
6865
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
6866
|
-
"/orgs/{organizationId}/sites/{siteId}/publishing/checkout":
|
|
6867
|
-
get:
|
|
6868
|
-
operationId: previewSitePublish
|
|
6869
|
-
summary: Preview publishing a site, returning checkout information.
|
|
6870
|
-
tags:
|
|
6871
|
-
- sites
|
|
6872
|
-
security:
|
|
6873
|
-
- user-internal: []
|
|
6874
|
-
parameters:
|
|
6875
|
-
- $ref: "#/components/parameters/organizationId"
|
|
6876
|
-
- $ref: "#/components/parameters/siteId"
|
|
6877
|
-
responses:
|
|
6878
|
-
"200":
|
|
6879
|
-
description: OK
|
|
6880
|
-
content:
|
|
6881
|
-
application/json:
|
|
6882
|
-
schema:
|
|
6883
|
-
oneOf:
|
|
6884
|
-
- type: object
|
|
6885
|
-
properties:
|
|
6886
|
-
type:
|
|
6887
|
-
description: User can publish the site without any billing.
|
|
6888
|
-
type: string
|
|
6889
|
-
enum:
|
|
6890
|
-
- publish
|
|
6891
|
-
required:
|
|
6892
|
-
- type
|
|
6893
|
-
- type: object
|
|
6894
|
-
properties:
|
|
6895
|
-
type:
|
|
6896
|
-
description: User must complete a checkout before publishing.
|
|
6897
|
-
type: string
|
|
6898
|
-
enum:
|
|
6899
|
-
- checkout
|
|
6900
|
-
required:
|
|
6901
|
-
- type
|
|
6902
|
-
- type: object
|
|
6903
|
-
properties:
|
|
6904
|
-
type:
|
|
6905
|
-
description: User cannot publish due to lack of permissions.
|
|
6906
|
-
type: string
|
|
6907
|
-
enum:
|
|
6908
|
-
- no-permissions
|
|
6909
|
-
required:
|
|
6910
|
-
- type
|
|
6902
|
+
$ref: "#/components/schemas/BillingOperationPreviewResponse"
|
|
6911
6903
|
"404":
|
|
6912
6904
|
description: No matching site found
|
|
6913
6905
|
$ref: "#/components/responses/NotFoundError"
|
|
@@ -7194,6 +7186,11 @@ paths:
|
|
|
7194
7186
|
- $ref: "#/components/parameters/siteShareKey"
|
|
7195
7187
|
- $ref: "#/components/parameters/listPage"
|
|
7196
7188
|
- $ref: "#/components/parameters/listLimit"
|
|
7189
|
+
- name: default
|
|
7190
|
+
in: query
|
|
7191
|
+
description: If true, only the default site space will be returned. If false, only the non-default site spaces are returned. If undefined, all site spaces are returned.
|
|
7192
|
+
schema:
|
|
7193
|
+
type: boolean
|
|
7197
7194
|
responses:
|
|
7198
7195
|
"200":
|
|
7199
7196
|
description: OK
|
|
@@ -7574,6 +7571,26 @@ paths:
|
|
|
7574
7571
|
description: OK
|
|
7575
7572
|
default:
|
|
7576
7573
|
$ref: "#/components/responses/UnexpectedError"
|
|
7574
|
+
"/orgs/{organizationId}/sites/{siteId}/ads/stats":
|
|
7575
|
+
post:
|
|
7576
|
+
operationId: getSiteAdsStatsById
|
|
7577
|
+
summary: Get the stats about Ads on a site.
|
|
7578
|
+
tags:
|
|
7579
|
+
- sites
|
|
7580
|
+
security:
|
|
7581
|
+
- user: []
|
|
7582
|
+
parameters:
|
|
7583
|
+
- $ref: "#/components/parameters/organizationId"
|
|
7584
|
+
- $ref: "#/components/parameters/siteId"
|
|
7585
|
+
responses:
|
|
7586
|
+
"200":
|
|
7587
|
+
description: OK
|
|
7588
|
+
content:
|
|
7589
|
+
application/json:
|
|
7590
|
+
schema:
|
|
7591
|
+
$ref: "#/components/schemas/SiteAdsStats"
|
|
7592
|
+
default:
|
|
7593
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
7577
7594
|
"/custom-hostnames/{hostname}":
|
|
7578
7595
|
get:
|
|
7579
7596
|
operationId: getCustomHostname
|
|
@@ -7733,15 +7750,18 @@ paths:
|
|
|
7733
7750
|
type: object
|
|
7734
7751
|
required:
|
|
7735
7752
|
- id
|
|
7736
|
-
- ads
|
|
7737
7753
|
- url
|
|
7754
|
+
- email
|
|
7755
|
+
- topic
|
|
7738
7756
|
properties:
|
|
7739
7757
|
id:
|
|
7740
7758
|
type: string
|
|
7741
7759
|
url:
|
|
7742
7760
|
type: string
|
|
7743
|
-
|
|
7744
|
-
|
|
7761
|
+
email:
|
|
7762
|
+
type: string
|
|
7763
|
+
topic:
|
|
7764
|
+
$ref: "#/components/schemas/SiteAdsTopic"
|
|
7745
7765
|
default:
|
|
7746
7766
|
$ref: "#/components/responses/UnexpectedError"
|
|
7747
7767
|
"/ads/sites/{siteId}":
|
|
@@ -7750,8 +7770,6 @@ paths:
|
|
|
7750
7770
|
summary: Update the Ads configuration for a site
|
|
7751
7771
|
tags:
|
|
7752
7772
|
- ads
|
|
7753
|
-
security:
|
|
7754
|
-
- user: []
|
|
7755
7773
|
parameters:
|
|
7756
7774
|
- $ref: "#/components/parameters/siteId"
|
|
7757
7775
|
- $ref: "#/components/parameters/xGitBookPartnerKey"
|
|
@@ -7924,9 +7942,7 @@ paths:
|
|
|
7924
7942
|
content:
|
|
7925
7943
|
application/json:
|
|
7926
7944
|
schema:
|
|
7927
|
-
|
|
7928
|
-
- $ref: "#/components/schemas/PublishedContentLookup"
|
|
7929
|
-
- $ref: "#/components/schemas/PublishedSiteContentLookup"
|
|
7945
|
+
$ref: "#/components/schemas/PublishedSiteContentLookup"
|
|
7930
7946
|
"404":
|
|
7931
7947
|
description: No content found for the URL.
|
|
7932
7948
|
$ref: "#/components/responses/NotFoundError"
|
|
@@ -8000,6 +8016,13 @@ components:
|
|
|
8000
8016
|
description: For sites published via share-links, the share key is useful to resolve published URLs.
|
|
8001
8017
|
schema:
|
|
8002
8018
|
type: string
|
|
8019
|
+
teamId:
|
|
8020
|
+
name: teamId
|
|
8021
|
+
in: path
|
|
8022
|
+
required: true
|
|
8023
|
+
description: The unique ID of the Team
|
|
8024
|
+
schema:
|
|
8025
|
+
type: string
|
|
8003
8026
|
revisionMetadata:
|
|
8004
8027
|
name: metadata
|
|
8005
8028
|
in: query
|
|
@@ -8157,18 +8180,18 @@ components:
|
|
|
8157
8180
|
description: The unique id of the organization
|
|
8158
8181
|
schema:
|
|
8159
8182
|
type: string
|
|
8160
|
-
|
|
8161
|
-
name:
|
|
8183
|
+
inviteId:
|
|
8184
|
+
name: inviteId
|
|
8162
8185
|
in: path
|
|
8163
8186
|
required: true
|
|
8164
|
-
description: The unique
|
|
8187
|
+
description: The unique id of the invite
|
|
8165
8188
|
schema:
|
|
8166
8189
|
type: string
|
|
8167
|
-
|
|
8168
|
-
name:
|
|
8190
|
+
samlProviderId:
|
|
8191
|
+
name: samlProviderId
|
|
8169
8192
|
in: path
|
|
8170
8193
|
required: true
|
|
8171
|
-
description: The unique id of the
|
|
8194
|
+
description: The unique id of the SAML provider
|
|
8172
8195
|
schema:
|
|
8173
8196
|
type: string
|
|
8174
8197
|
captureId:
|
|
@@ -8199,13 +8222,6 @@ components:
|
|
|
8199
8222
|
description: The unique id of a synced block
|
|
8200
8223
|
schema:
|
|
8201
8224
|
type: string
|
|
8202
|
-
relationId:
|
|
8203
|
-
name: relationId
|
|
8204
|
-
in: path
|
|
8205
|
-
required: true
|
|
8206
|
-
description: The id of the content audit relation
|
|
8207
|
-
schema:
|
|
8208
|
-
type: string
|
|
8209
8225
|
siteCustomizationUnmasked:
|
|
8210
8226
|
name: unmasked
|
|
8211
8227
|
in: query
|
|
@@ -11253,6 +11269,20 @@ components:
|
|
|
11253
11269
|
- visitor
|
|
11254
11270
|
- url
|
|
11255
11271
|
- referrer
|
|
11272
|
+
InviteEmailsUsersTeamsToSpace:
|
|
11273
|
+
type: object
|
|
11274
|
+
properties:
|
|
11275
|
+
teams:
|
|
11276
|
+
type: array
|
|
11277
|
+
items:
|
|
11278
|
+
type: string
|
|
11279
|
+
description: The ID of the team to be invited
|
|
11280
|
+
role:
|
|
11281
|
+
description: Role to set on the team.
|
|
11282
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
11283
|
+
required:
|
|
11284
|
+
- teams
|
|
11285
|
+
- role
|
|
11256
11286
|
RevisionPageGroup:
|
|
11257
11287
|
allOf:
|
|
11258
11288
|
- $ref: "#/components/schemas/RevisionPageBase"
|
|
@@ -11661,9 +11691,6 @@ components:
|
|
|
11661
11691
|
ai:
|
|
11662
11692
|
description: If true, the organization is configured to use all our AI features.
|
|
11663
11693
|
type: boolean
|
|
11664
|
-
aiInsights:
|
|
11665
|
-
description: If true, the organization is configured to run content audits on any space update
|
|
11666
|
-
type: boolean
|
|
11667
11694
|
urls:
|
|
11668
11695
|
type: object
|
|
11669
11696
|
description: URLs associated with the object
|
|
@@ -12353,6 +12380,15 @@ components:
|
|
|
12353
12380
|
type: string
|
|
12354
12381
|
description: Title describing the synced block.
|
|
12355
12382
|
maxLength: 100
|
|
12383
|
+
usage:
|
|
12384
|
+
type: object
|
|
12385
|
+
description: Usage of synced block
|
|
12386
|
+
properties:
|
|
12387
|
+
spaces:
|
|
12388
|
+
description: Number of spaces where the synced block is used in
|
|
12389
|
+
type: integer
|
|
12390
|
+
required:
|
|
12391
|
+
- spaces
|
|
12356
12392
|
urls:
|
|
12357
12393
|
type: object
|
|
12358
12394
|
description: URLs associated with the object
|
|
@@ -12367,6 +12403,7 @@ components:
|
|
|
12367
12403
|
- organization
|
|
12368
12404
|
- source
|
|
12369
12405
|
- createdAt
|
|
12406
|
+
- usage
|
|
12370
12407
|
- urls
|
|
12371
12408
|
ContentLocationSyncedBlock:
|
|
12372
12409
|
type: object
|
|
@@ -13206,6 +13243,7 @@ components:
|
|
|
13206
13243
|
- zh
|
|
13207
13244
|
- ja
|
|
13208
13245
|
- de
|
|
13246
|
+
- nl
|
|
13209
13247
|
- pt-br
|
|
13210
13248
|
CustomizationThemedURL:
|
|
13211
13249
|
type: object
|
|
@@ -13430,35 +13468,6 @@ components:
|
|
|
13430
13468
|
- git
|
|
13431
13469
|
- privacyPolicy
|
|
13432
13470
|
- socialPreview
|
|
13433
|
-
ContentPublishingAuth:
|
|
13434
|
-
type: object
|
|
13435
|
-
properties:
|
|
13436
|
-
object:
|
|
13437
|
-
type: string
|
|
13438
|
-
description: Type of Object, always equals to "publishing-auth"
|
|
13439
|
-
enum:
|
|
13440
|
-
- publishing-auth
|
|
13441
|
-
id:
|
|
13442
|
-
type: string
|
|
13443
|
-
description: Unique identifier for the content.
|
|
13444
|
-
privateKey:
|
|
13445
|
-
type: string
|
|
13446
|
-
description: Private key used to sign JWT tokens.
|
|
13447
|
-
fallbackURL:
|
|
13448
|
-
type: string
|
|
13449
|
-
format: uri
|
|
13450
|
-
description: URL to redirect to when the visitor auth secret is invalid.
|
|
13451
|
-
required:
|
|
13452
|
-
- object
|
|
13453
|
-
- id
|
|
13454
|
-
- privateKey
|
|
13455
|
-
UpdateContentPublishingAuth:
|
|
13456
|
-
type: object
|
|
13457
|
-
properties:
|
|
13458
|
-
fallbackURL:
|
|
13459
|
-
type: string
|
|
13460
|
-
format: uri
|
|
13461
|
-
description: A fallback URL that will be used if authentication fails.
|
|
13462
13471
|
SpaceIntegrationBlocks:
|
|
13463
13472
|
type: array
|
|
13464
13473
|
items:
|
|
@@ -15601,6 +15610,26 @@ components:
|
|
|
15601
15610
|
$ref: "#/components/schemas/BillingProduct"
|
|
15602
15611
|
interval:
|
|
15603
15612
|
$ref: "#/components/schemas/BillingInterval"
|
|
15613
|
+
exclude:
|
|
15614
|
+
type: object
|
|
15615
|
+
description: Members to remove or sites to unpublish before upgrading
|
|
15616
|
+
minProperties: 1
|
|
15617
|
+
properties:
|
|
15618
|
+
members:
|
|
15619
|
+
type: array
|
|
15620
|
+
items:
|
|
15621
|
+
type: string
|
|
15622
|
+
description: A list of member identifiers to be removed
|
|
15623
|
+
premiumSites:
|
|
15624
|
+
type: array
|
|
15625
|
+
items:
|
|
15626
|
+
type: string
|
|
15627
|
+
description: A list of premium site identifiers to be unpublished
|
|
15628
|
+
audienceSites:
|
|
15629
|
+
type: array
|
|
15630
|
+
items:
|
|
15631
|
+
type: string
|
|
15632
|
+
description: A list of audience site identifiers to be unpublished
|
|
15604
15633
|
reason:
|
|
15605
15634
|
type: string
|
|
15606
15635
|
description: Reason that triggered the billing upgrade
|
|
@@ -15743,14 +15772,88 @@ components:
|
|
|
15743
15772
|
stage:
|
|
15744
15773
|
type: string
|
|
15745
15774
|
enum:
|
|
15746
|
-
- alpha
|
|
15747
|
-
- beta
|
|
15775
|
+
- alpha
|
|
15776
|
+
- beta
|
|
15777
|
+
required:
|
|
15778
|
+
- id
|
|
15779
|
+
- title
|
|
15780
|
+
- description
|
|
15781
|
+
- enabled
|
|
15782
|
+
- stage
|
|
15783
|
+
SAMLProviderLabel:
|
|
15784
|
+
type: string
|
|
15785
|
+
minLength: 1
|
|
15786
|
+
maxLength: 30
|
|
15787
|
+
SAMLProviderEntityID:
|
|
15788
|
+
type: string
|
|
15789
|
+
maxLength: 1024
|
|
15790
|
+
SAMLProviderCertificate:
|
|
15791
|
+
type: string
|
|
15792
|
+
maxLength: 10000
|
|
15793
|
+
OrganizationSAMLProvider:
|
|
15794
|
+
type: object
|
|
15795
|
+
properties:
|
|
15796
|
+
object:
|
|
15797
|
+
type: string
|
|
15798
|
+
description: Type of Object, always equals to "saml-provider"
|
|
15799
|
+
enum:
|
|
15800
|
+
- saml-provider
|
|
15801
|
+
id:
|
|
15802
|
+
type: string
|
|
15803
|
+
description: Unique identifier for the provider.
|
|
15804
|
+
label:
|
|
15805
|
+
$ref: "#/components/schemas/SAMLProviderLabel"
|
|
15806
|
+
ssoURL:
|
|
15807
|
+
$ref: "#/components/schemas/URL"
|
|
15808
|
+
entityID:
|
|
15809
|
+
$ref: "#/components/schemas/SAMLProviderEntityID"
|
|
15810
|
+
certificate:
|
|
15811
|
+
$ref: "#/components/schemas/SAMLProviderCertificate"
|
|
15812
|
+
defaultTeam:
|
|
15813
|
+
$ref: "#/components/schemas/OrganizationTeam"
|
|
15814
|
+
defaultRole:
|
|
15815
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
15816
|
+
createdAt:
|
|
15817
|
+
description: Date at which the provider was created.
|
|
15818
|
+
$ref: "#/components/schemas/Timestamp"
|
|
15819
|
+
service:
|
|
15820
|
+
description: Metadata about the service provider.
|
|
15821
|
+
properties:
|
|
15822
|
+
acsURL:
|
|
15823
|
+
type: string
|
|
15824
|
+
description: Assertion Consumer Service (ACS) URL
|
|
15825
|
+
format: uri
|
|
15826
|
+
startURL:
|
|
15827
|
+
type: string
|
|
15828
|
+
description: Start URL for the Identity Provider
|
|
15829
|
+
format: uri
|
|
15830
|
+
entityID:
|
|
15831
|
+
$ref: "#/components/schemas/SAMLProviderEntityID"
|
|
15832
|
+
required:
|
|
15833
|
+
- acsURL
|
|
15834
|
+
- startURL
|
|
15835
|
+
- entityID
|
|
15836
|
+
urls:
|
|
15837
|
+
type: object
|
|
15838
|
+
description: URLs associated with the object
|
|
15839
|
+
properties:
|
|
15840
|
+
location:
|
|
15841
|
+
type: string
|
|
15842
|
+
description: URL of the SAML Provider in the API
|
|
15843
|
+
format: uri
|
|
15844
|
+
required:
|
|
15845
|
+
- location
|
|
15748
15846
|
required:
|
|
15847
|
+
- object
|
|
15749
15848
|
- id
|
|
15750
|
-
-
|
|
15751
|
-
-
|
|
15752
|
-
-
|
|
15753
|
-
-
|
|
15849
|
+
- label
|
|
15850
|
+
- ssoURL
|
|
15851
|
+
- entityID
|
|
15852
|
+
- certificate
|
|
15853
|
+
- defaultRole
|
|
15854
|
+
- createdAt
|
|
15855
|
+
- service
|
|
15856
|
+
- urls
|
|
15754
15857
|
OrganizationUsageSpaces:
|
|
15755
15858
|
type: object
|
|
15756
15859
|
description: Spaces usage metrics of an organization
|
|
@@ -16114,83 +16217,13 @@ components:
|
|
|
16114
16217
|
title:
|
|
16115
16218
|
type: string
|
|
16116
16219
|
description: A new title for the snippet.
|
|
16117
|
-
ContentAuditRelationStatus:
|
|
16118
|
-
description: Status of the audit relation to filter on
|
|
16119
|
-
type: string
|
|
16120
|
-
enum:
|
|
16121
|
-
- pending
|
|
16122
|
-
- rejected
|
|
16123
|
-
ContentAuditRelationType:
|
|
16124
|
-
description: The type of the relation between the sources
|
|
16125
|
-
type: string
|
|
16126
|
-
enum:
|
|
16127
|
-
- contradiction
|
|
16128
|
-
- duplicate
|
|
16129
|
-
ContentAuditSourceSection:
|
|
16130
|
-
type: object
|
|
16131
|
-
description: A GitBook section source
|
|
16132
|
-
properties:
|
|
16133
|
-
id:
|
|
16134
|
-
type: string
|
|
16135
|
-
type:
|
|
16136
|
-
type: string
|
|
16137
|
-
enum:
|
|
16138
|
-
- section
|
|
16139
|
-
space:
|
|
16140
|
-
$ref: "#/components/schemas/Space"
|
|
16141
|
-
page:
|
|
16142
|
-
$ref: "#/components/schemas/RevisionPageDocument"
|
|
16143
|
-
required:
|
|
16144
|
-
- id
|
|
16145
|
-
- type
|
|
16146
|
-
- space
|
|
16147
|
-
- page
|
|
16148
|
-
ContentAuditSource:
|
|
16149
|
-
oneOf:
|
|
16150
|
-
- $ref: "#/components/schemas/ContentAuditSourceSection"
|
|
16151
|
-
ContentAuditRelation:
|
|
16152
|
-
type: object
|
|
16153
|
-
description: Content audit relation
|
|
16154
|
-
properties:
|
|
16155
|
-
id:
|
|
16156
|
-
type: string
|
|
16157
|
-
sources:
|
|
16158
|
-
description: The sources that are related
|
|
16159
|
-
type: array
|
|
16160
|
-
items:
|
|
16161
|
-
$ref: "#/components/schemas/ContentAuditSource"
|
|
16162
|
-
type:
|
|
16163
|
-
description: The type of the relation between the sources
|
|
16164
|
-
$ref: "#/components/schemas/ContentAuditRelationType"
|
|
16165
|
-
reason:
|
|
16166
|
-
type: string
|
|
16167
|
-
description: A human readable description of the reason for the relation
|
|
16168
|
-
status:
|
|
16169
|
-
description: The status of the relation
|
|
16170
|
-
$ref: "#/components/schemas/ContentAuditRelationStatus"
|
|
16171
|
-
createdAt:
|
|
16172
|
-
description: The date at which the relation was created
|
|
16173
|
-
$ref: "#/components/schemas/Timestamp"
|
|
16174
|
-
required:
|
|
16175
|
-
- id
|
|
16176
|
-
- sources
|
|
16177
|
-
- type
|
|
16178
|
-
- status
|
|
16179
|
-
- createdAt
|
|
16180
|
-
ContentAuditRelationStatusUpdate:
|
|
16181
|
-
type: object
|
|
16182
|
-
properties:
|
|
16183
|
-
status:
|
|
16184
|
-
$ref: "#/components/schemas/ContentAuditRelationStatus"
|
|
16185
|
-
required:
|
|
16186
|
-
- status
|
|
16187
16220
|
SiteType:
|
|
16188
16221
|
type: string
|
|
16189
16222
|
description: The type of the site
|
|
16190
16223
|
enum:
|
|
16191
16224
|
- basic
|
|
16192
|
-
- standard
|
|
16193
16225
|
- premium
|
|
16226
|
+
- audience
|
|
16194
16227
|
- legacy-basic
|
|
16195
16228
|
- legacy-premium
|
|
16196
16229
|
SiteTitle:
|
|
@@ -16252,9 +16285,6 @@ components:
|
|
|
16252
16285
|
- in-review
|
|
16253
16286
|
topic:
|
|
16254
16287
|
$ref: "#/components/schemas/SiteAdsTopic"
|
|
16255
|
-
accountEmail:
|
|
16256
|
-
type: string
|
|
16257
|
-
description: The email address linked to the Ads partner account
|
|
16258
16288
|
- type: object
|
|
16259
16289
|
required:
|
|
16260
16290
|
- status
|
|
@@ -16268,7 +16298,6 @@ components:
|
|
|
16268
16298
|
- status
|
|
16269
16299
|
- topic
|
|
16270
16300
|
- zoneId
|
|
16271
|
-
- accountEmail
|
|
16272
16301
|
properties:
|
|
16273
16302
|
status:
|
|
16274
16303
|
type: string
|
|
@@ -16280,9 +16309,6 @@ components:
|
|
|
16280
16309
|
zoneId:
|
|
16281
16310
|
type: string
|
|
16282
16311
|
description: The ad network zone ID
|
|
16283
|
-
accountEmail:
|
|
16284
|
-
type: string
|
|
16285
|
-
description: The email address linked to the Ads partner account
|
|
16286
16312
|
Site:
|
|
16287
16313
|
type: object
|
|
16288
16314
|
properties:
|
|
@@ -16343,6 +16369,63 @@ components:
|
|
|
16343
16369
|
- siteSpaces
|
|
16344
16370
|
- defaultSpace
|
|
16345
16371
|
- urls
|
|
16372
|
+
BillingOperationPreviewResponse:
|
|
16373
|
+
description: |
|
|
16374
|
+
A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.
|
|
16375
|
+
oneOf:
|
|
16376
|
+
- type: object
|
|
16377
|
+
properties:
|
|
16378
|
+
type:
|
|
16379
|
+
description: User can go ahead with the operation without any additional steps. Their subscription will be updated to reflect the new changes.
|
|
16380
|
+
type: string
|
|
16381
|
+
enum:
|
|
16382
|
+
- go-ahead
|
|
16383
|
+
required:
|
|
16384
|
+
- type
|
|
16385
|
+
- type: object
|
|
16386
|
+
properties:
|
|
16387
|
+
type:
|
|
16388
|
+
description: By going ahead with this operation, the user will be starting a trial in GitBook.
|
|
16389
|
+
type: string
|
|
16390
|
+
enum:
|
|
16391
|
+
- trial-available
|
|
16392
|
+
required:
|
|
16393
|
+
- type
|
|
16394
|
+
- type: object
|
|
16395
|
+
properties:
|
|
16396
|
+
type:
|
|
16397
|
+
description: User must checkout to complete the operation.
|
|
16398
|
+
type: string
|
|
16399
|
+
enum:
|
|
16400
|
+
- checkout
|
|
16401
|
+
invoice:
|
|
16402
|
+
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
16403
|
+
required:
|
|
16404
|
+
- type
|
|
16405
|
+
- type: object
|
|
16406
|
+
properties:
|
|
16407
|
+
type:
|
|
16408
|
+
description: User cannot proceed with the operation due to lack of permissions.
|
|
16409
|
+
type: string
|
|
16410
|
+
enum:
|
|
16411
|
+
- no-permissions
|
|
16412
|
+
required:
|
|
16413
|
+
- type
|
|
16414
|
+
- type: object
|
|
16415
|
+
properties:
|
|
16416
|
+
type:
|
|
16417
|
+
description: User needs to go through the legacy upgrade flow.
|
|
16418
|
+
type: string
|
|
16419
|
+
enum:
|
|
16420
|
+
- legacy-upgrade
|
|
16421
|
+
plan:
|
|
16422
|
+
description: The plan the user must upgrade to.
|
|
16423
|
+
$ref: "#/components/schemas/BillingProduct"
|
|
16424
|
+
invoice:
|
|
16425
|
+
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
16426
|
+
required:
|
|
16427
|
+
- type
|
|
16428
|
+
- plan
|
|
16346
16429
|
SitePublishingAuth:
|
|
16347
16430
|
allOf:
|
|
16348
16431
|
- oneOf:
|
|
@@ -16959,6 +17042,32 @@ components:
|
|
|
16959
17042
|
- url
|
|
16960
17043
|
- referrer
|
|
16961
17044
|
- spaceId
|
|
17045
|
+
SiteAdsStats:
|
|
17046
|
+
type: object
|
|
17047
|
+
required:
|
|
17048
|
+
- impressions
|
|
17049
|
+
- clicks
|
|
17050
|
+
- revenue
|
|
17051
|
+
- account
|
|
17052
|
+
properties:
|
|
17053
|
+
impressions:
|
|
17054
|
+
type: number
|
|
17055
|
+
clicks:
|
|
17056
|
+
type: number
|
|
17057
|
+
revenue:
|
|
17058
|
+
type: string
|
|
17059
|
+
account:
|
|
17060
|
+
type: object
|
|
17061
|
+
properties:
|
|
17062
|
+
email:
|
|
17063
|
+
type: string
|
|
17064
|
+
description: Email address on the Ads platform.
|
|
17065
|
+
url:
|
|
17066
|
+
type: string
|
|
17067
|
+
description: URL to configure payout.
|
|
17068
|
+
required:
|
|
17069
|
+
- email
|
|
17070
|
+
- url
|
|
16962
17071
|
CustomHostnameDnsStatus:
|
|
16963
17072
|
type: string
|
|
16964
17073
|
enum:
|
|
@@ -17193,50 +17302,6 @@ components:
|
|
|
17193
17302
|
required:
|
|
17194
17303
|
- id
|
|
17195
17304
|
- searchKey
|
|
17196
|
-
UserRiskEvaluation:
|
|
17197
|
-
type: object
|
|
17198
|
-
description: The GitBook User risk evaluation.
|
|
17199
|
-
properties:
|
|
17200
|
-
wasRisky:
|
|
17201
|
-
description: True if the user was originally considered as risky
|
|
17202
|
-
type: boolean
|
|
17203
|
-
isRisky:
|
|
17204
|
-
description: True if the user is currently considered as risky
|
|
17205
|
-
type: boolean
|
|
17206
|
-
isVerified:
|
|
17207
|
-
description: True if the user went through the verification process
|
|
17208
|
-
type: boolean
|
|
17209
|
-
riskScore:
|
|
17210
|
-
description: Risk score of the user
|
|
17211
|
-
type: number
|
|
17212
|
-
completedSteps:
|
|
17213
|
-
description: Number of verification steps completed by the user
|
|
17214
|
-
type: number
|
|
17215
|
-
expectedSteps:
|
|
17216
|
-
description: Total number of verification steps expected
|
|
17217
|
-
type: number
|
|
17218
|
-
googleLogin:
|
|
17219
|
-
description: User completed the Google Account verification step
|
|
17220
|
-
type: boolean
|
|
17221
|
-
githubLogin:
|
|
17222
|
-
description: User completed the GitHub Account verification step
|
|
17223
|
-
type: boolean
|
|
17224
|
-
emailVerified:
|
|
17225
|
-
description: User completed the Email verification step
|
|
17226
|
-
type: boolean
|
|
17227
|
-
activeDaysRemaining:
|
|
17228
|
-
type: number
|
|
17229
|
-
required:
|
|
17230
|
-
- wasRisky
|
|
17231
|
-
- isRisky
|
|
17232
|
-
- isVerified
|
|
17233
|
-
- riskScore
|
|
17234
|
-
- completedSteps
|
|
17235
|
-
- expectedSteps
|
|
17236
|
-
- googleLogin
|
|
17237
|
-
- githubLogin
|
|
17238
|
-
- emailVerified
|
|
17239
|
-
- activeDaysRemaining
|
|
17240
17305
|
FirebaseUserInfo:
|
|
17241
17306
|
type: object
|
|
17242
17307
|
description: The User Firebase Auth Info.
|
|
@@ -17261,8 +17326,6 @@ components:
|
|
|
17261
17326
|
properties:
|
|
17262
17327
|
id:
|
|
17263
17328
|
type: string
|
|
17264
|
-
riskEvaluation:
|
|
17265
|
-
$ref: "#/components/schemas/UserRiskEvaluation"
|
|
17266
17329
|
authProviders:
|
|
17267
17330
|
type: array
|
|
17268
17331
|
items:
|
|
@@ -17275,7 +17338,6 @@ components:
|
|
|
17275
17338
|
type: boolean
|
|
17276
17339
|
required:
|
|
17277
17340
|
- id
|
|
17278
|
-
- riskEvaluation
|
|
17279
17341
|
- authProviders
|
|
17280
17342
|
- createdAt
|
|
17281
17343
|
- lastSignInAt
|
|
@@ -17406,49 +17468,6 @@ components:
|
|
|
17406
17468
|
description: ID of the organization owning this site
|
|
17407
17469
|
required:
|
|
17408
17470
|
- organization
|
|
17409
|
-
PublishedContentLookup:
|
|
17410
|
-
oneOf:
|
|
17411
|
-
- type: object
|
|
17412
|
-
title: Redirect
|
|
17413
|
-
properties:
|
|
17414
|
-
target:
|
|
17415
|
-
type: string
|
|
17416
|
-
description: Type of target for the redirect
|
|
17417
|
-
enum:
|
|
17418
|
-
- application
|
|
17419
|
-
- content
|
|
17420
|
-
- external
|
|
17421
|
-
redirect:
|
|
17422
|
-
$ref: "#/components/schemas/URL"
|
|
17423
|
-
required:
|
|
17424
|
-
- target
|
|
17425
|
-
- redirect
|
|
17426
|
-
- type: object
|
|
17427
|
-
title: Content
|
|
17428
|
-
properties:
|
|
17429
|
-
space:
|
|
17430
|
-
type: string
|
|
17431
|
-
description: ID of the space matching.
|
|
17432
|
-
changeRequest:
|
|
17433
|
-
type: string
|
|
17434
|
-
description: Identifier of the change request being previewed in this URL.
|
|
17435
|
-
revision:
|
|
17436
|
-
type: string
|
|
17437
|
-
description: Identifier of the revision being previewed in this URL.
|
|
17438
|
-
pathname:
|
|
17439
|
-
type: string
|
|
17440
|
-
description: Path of the content relative to the space
|
|
17441
|
-
basePath:
|
|
17442
|
-
type: string
|
|
17443
|
-
description: Prefix of the path in the URL dedicated to the space
|
|
17444
|
-
apiToken:
|
|
17445
|
-
type: string
|
|
17446
|
-
description: Short-lived API token to fetch content related to the space in the context of the URL.
|
|
17447
|
-
required:
|
|
17448
|
-
- space
|
|
17449
|
-
- pathname
|
|
17450
|
-
- basePath
|
|
17451
|
-
- apiToken
|
|
17452
17471
|
PublishedSiteContentLookup:
|
|
17453
17472
|
oneOf:
|
|
17454
17473
|
- type: object
|
|
@@ -17507,6 +17526,13 @@ components:
|
|
|
17507
17526
|
- basePath
|
|
17508
17527
|
- apiToken
|
|
17509
17528
|
- organization
|
|
17529
|
+
UpdateContentPublishingAuth:
|
|
17530
|
+
type: object
|
|
17531
|
+
properties:
|
|
17532
|
+
fallbackURL:
|
|
17533
|
+
type: string
|
|
17534
|
+
format: uri
|
|
17535
|
+
description: A fallback URL that will be used if authentication fails.
|
|
17510
17536
|
TriggerContentIndexingContext:
|
|
17511
17537
|
type: object
|
|
17512
17538
|
description: The context to send when triggering a content indexing.
|
|
@@ -17520,6 +17546,28 @@ components:
|
|
|
17520
17546
|
required:
|
|
17521
17547
|
- spaceId
|
|
17522
17548
|
- force
|
|
17549
|
+
ContentPublishingAuth:
|
|
17550
|
+
type: object
|
|
17551
|
+
properties:
|
|
17552
|
+
object:
|
|
17553
|
+
type: string
|
|
17554
|
+
description: Type of Object, always equals to "publishing-auth"
|
|
17555
|
+
enum:
|
|
17556
|
+
- publishing-auth
|
|
17557
|
+
id:
|
|
17558
|
+
type: string
|
|
17559
|
+
description: Unique identifier for the content.
|
|
17560
|
+
privateKey:
|
|
17561
|
+
type: string
|
|
17562
|
+
description: Private key used to sign JWT tokens.
|
|
17563
|
+
fallbackURL:
|
|
17564
|
+
type: string
|
|
17565
|
+
format: uri
|
|
17566
|
+
description: URL to redirect to when the visitor auth secret is invalid.
|
|
17567
|
+
required:
|
|
17568
|
+
- object
|
|
17569
|
+
- id
|
|
17570
|
+
- privateKey
|
|
17523
17571
|
DocumentBlock:
|
|
17524
17572
|
oneOf:
|
|
17525
17573
|
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -17629,6 +17677,14 @@ components:
|
|
|
17629
17677
|
- integration
|
|
17630
17678
|
- signingSecrets
|
|
17631
17679
|
- secrets
|
|
17680
|
+
BillingTrialStatus:
|
|
17681
|
+
type: string
|
|
17682
|
+
enum:
|
|
17683
|
+
- notapplicable
|
|
17684
|
+
- none
|
|
17685
|
+
- active
|
|
17686
|
+
- ended
|
|
17687
|
+
- expired
|
|
17632
17688
|
APIIntegrationScope:
|
|
17633
17689
|
type: string
|
|
17634
17690
|
enum:
|
|
@@ -17904,6 +17960,18 @@ components:
|
|
|
17904
17960
|
- channel
|
|
17905
17961
|
- organization
|
|
17906
17962
|
- user
|
|
17963
|
+
OrganizationSAMLChannel:
|
|
17964
|
+
type: object
|
|
17965
|
+
properties:
|
|
17966
|
+
channel:
|
|
17967
|
+
type: string
|
|
17968
|
+
enum:
|
|
17969
|
+
- organization-saml
|
|
17970
|
+
organization:
|
|
17971
|
+
type: string
|
|
17972
|
+
required:
|
|
17973
|
+
- channel
|
|
17974
|
+
- organization
|
|
17907
17975
|
OrganizationTeamsChannel:
|
|
17908
17976
|
type: object
|
|
17909
17977
|
properties:
|
|
@@ -18001,62 +18069,63 @@ components:
|
|
|
18001
18069
|
required:
|
|
18002
18070
|
- channel
|
|
18003
18071
|
- organization
|
|
18004
|
-
|
|
18072
|
+
OrganizationIntegrationsChannel:
|
|
18005
18073
|
type: object
|
|
18006
18074
|
properties:
|
|
18007
18075
|
channel:
|
|
18008
18076
|
type: string
|
|
18009
18077
|
enum:
|
|
18010
|
-
- organization-
|
|
18078
|
+
- organization-integrations
|
|
18011
18079
|
organization:
|
|
18012
18080
|
type: string
|
|
18013
18081
|
required:
|
|
18014
18082
|
- channel
|
|
18015
18083
|
- organization
|
|
18016
|
-
|
|
18084
|
+
OrganizationInstallationsChannel:
|
|
18017
18085
|
type: object
|
|
18018
18086
|
properties:
|
|
18019
18087
|
channel:
|
|
18020
18088
|
type: string
|
|
18021
18089
|
enum:
|
|
18022
|
-
- organization-
|
|
18090
|
+
- organization-installations
|
|
18023
18091
|
organization:
|
|
18024
18092
|
type: string
|
|
18025
18093
|
required:
|
|
18026
18094
|
- channel
|
|
18027
18095
|
- organization
|
|
18028
|
-
|
|
18096
|
+
OrganizationSitesChannel:
|
|
18029
18097
|
type: object
|
|
18098
|
+
description: Subscription channel for changes in sites in an organization.
|
|
18030
18099
|
properties:
|
|
18031
18100
|
channel:
|
|
18032
18101
|
type: string
|
|
18033
18102
|
enum:
|
|
18034
|
-
- organization-
|
|
18103
|
+
- organization-sites
|
|
18035
18104
|
organization:
|
|
18036
18105
|
type: string
|
|
18037
18106
|
required:
|
|
18038
18107
|
- channel
|
|
18039
18108
|
- organization
|
|
18040
|
-
|
|
18109
|
+
OrganizationExperimentalFeaturesChannel:
|
|
18041
18110
|
type: object
|
|
18042
|
-
description: Subscription channel for changes in sites in an organization.
|
|
18043
18111
|
properties:
|
|
18044
18112
|
channel:
|
|
18045
18113
|
type: string
|
|
18046
18114
|
enum:
|
|
18047
|
-
- organization-
|
|
18115
|
+
- organization-experimental-features
|
|
18048
18116
|
organization:
|
|
18049
18117
|
type: string
|
|
18050
18118
|
required:
|
|
18051
18119
|
- channel
|
|
18052
18120
|
- organization
|
|
18053
|
-
|
|
18121
|
+
OrganizationSyncedBlocksChannel:
|
|
18054
18122
|
type: object
|
|
18123
|
+
description: Subscription channel for changes in synced blocks in an organization.
|
|
18055
18124
|
properties:
|
|
18056
18125
|
channel:
|
|
18057
18126
|
type: string
|
|
18058
18127
|
enum:
|
|
18059
|
-
- organization-
|
|
18128
|
+
- organization-synced-blocks
|
|
18060
18129
|
organization:
|
|
18061
18130
|
type: string
|
|
18062
18131
|
required:
|
|
@@ -18393,6 +18462,7 @@ components:
|
|
|
18393
18462
|
- $ref: "#/components/schemas/OrganizationInfoChannel"
|
|
18394
18463
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
18395
18464
|
- $ref: "#/components/schemas/OrganizationMemberChannel"
|
|
18465
|
+
- $ref: "#/components/schemas/OrganizationSAMLChannel"
|
|
18396
18466
|
- $ref: "#/components/schemas/OrganizationTeamsChannel"
|
|
18397
18467
|
- $ref: "#/components/schemas/OrganizationTeamChannel"
|
|
18398
18468
|
- $ref: "#/components/schemas/OrganizationTeamMembersChannel"
|
|
@@ -18400,11 +18470,11 @@ components:
|
|
|
18400
18470
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
18401
18471
|
- $ref: "#/components/schemas/OrganizationCollectionsChannel"
|
|
18402
18472
|
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
18403
|
-
- $ref: "#/components/schemas/OrganizationContentAuditsChannel"
|
|
18404
18473
|
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
18405
18474
|
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
18406
18475
|
- $ref: "#/components/schemas/OrganizationSitesChannel"
|
|
18407
18476
|
- $ref: "#/components/schemas/OrganizationExperimentalFeaturesChannel"
|
|
18477
|
+
- $ref: "#/components/schemas/OrganizationSyncedBlocksChannel"
|
|
18408
18478
|
- $ref: "#/components/schemas/OrganizationSyncedBlockChannel"
|
|
18409
18479
|
- $ref: "#/components/schemas/CommentsChannel"
|
|
18410
18480
|
- $ref: "#/components/schemas/CommentInfoChannel"
|