@gitbook/api 0.213.0 → 0.215.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/spec/openapi.json CHANGED
@@ -2779,6 +2779,134 @@
2779
2779
  }
2780
2780
  }
2781
2781
  },
2782
+ "/spaces/{spaceId}/change-requests/{changeRequestId}/revert": {
2783
+ "get": {
2784
+ "operationId": "getChangeRequestRevert",
2785
+ "summary": "Check whether a merged change request can be reverted",
2786
+ "description": "Checks whether a revert draft can be created for a merged change request without creating one. Requires permission to edit the space and returns whether the merge can be reverted along with the first blocker when it cannot.",
2787
+ "x-gitbook-mcp": true,
2788
+ "tags": [
2789
+ "change-requests"
2790
+ ],
2791
+ "security": [
2792
+ {
2793
+ "user": []
2794
+ },
2795
+ {
2796
+ "oauth": [
2797
+ "space:read"
2798
+ ]
2799
+ }
2800
+ ],
2801
+ "parameters": [
2802
+ {
2803
+ "$ref": "#/components/parameters/spaceId"
2804
+ },
2805
+ {
2806
+ "$ref": "#/components/parameters/changeRequestId"
2807
+ }
2808
+ ],
2809
+ "responses": {
2810
+ "200": {
2811
+ "description": "Whether the change request can be reverted",
2812
+ "content": {
2813
+ "application/json": {
2814
+ "schema": {
2815
+ "type": "object",
2816
+ "properties": {
2817
+ "revertable": {
2818
+ "type": "boolean",
2819
+ "description": "Whether a revert draft can be created for this change request."
2820
+ },
2821
+ "reason": {
2822
+ "type": "string",
2823
+ "description": "Reason the change request cannot be reverted, when revertable is false."
2824
+ }
2825
+ },
2826
+ "required": [
2827
+ "revertable"
2828
+ ]
2829
+ }
2830
+ }
2831
+ }
2832
+ },
2833
+ "403": {
2834
+ "$ref": "#/components/responses/ForbiddenError"
2835
+ },
2836
+ "404": {
2837
+ "$ref": "#/components/responses/NotFoundError"
2838
+ }
2839
+ }
2840
+ },
2841
+ "post": {
2842
+ "operationId": "revertChangeRequest",
2843
+ "summary": "Create a change request that undoes a merge",
2844
+ "description": "Creates a draft that restores all changed page bodies from before a merge. The draft starts from current content and follows the space's ordinary review and merge rules. This operation may be unavailable for some spaces. It requires permission to edit the space. It returns a conflict when a complete undo is impossible. For example, the merge may have changed more than 100 pages or made changes beyond page bodies. An affected page or its visibility may have changed since the merge, or the earlier content may be unavailable. Restored pages resolve references against current content. Repeating the operation returns the same revert change request in any status.",
2845
+ "x-gitbook-mcp": {
2846
+ "idempotent": true
2847
+ },
2848
+ "tags": [
2849
+ "change-requests"
2850
+ ],
2851
+ "security": [
2852
+ {
2853
+ "user": []
2854
+ },
2855
+ {
2856
+ "oauth": [
2857
+ "space:write"
2858
+ ]
2859
+ }
2860
+ ],
2861
+ "parameters": [
2862
+ {
2863
+ "$ref": "#/components/parameters/spaceId"
2864
+ },
2865
+ {
2866
+ "$ref": "#/components/parameters/changeRequestId"
2867
+ }
2868
+ ],
2869
+ "responses": {
2870
+ "200": {
2871
+ "description": "The existing revert change request",
2872
+ "content": {
2873
+ "application/json": {
2874
+ "schema": {
2875
+ "$ref": "#/components/schemas/ChangeRequest"
2876
+ }
2877
+ }
2878
+ }
2879
+ },
2880
+ "201": {
2881
+ "description": "The new revert change request",
2882
+ "headers": {
2883
+ "Location": {
2884
+ "description": "API URL for the new revert change request",
2885
+ "schema": {
2886
+ "type": "string"
2887
+ }
2888
+ }
2889
+ },
2890
+ "content": {
2891
+ "application/json": {
2892
+ "schema": {
2893
+ "$ref": "#/components/schemas/ChangeRequest"
2894
+ }
2895
+ }
2896
+ }
2897
+ },
2898
+ "403": {
2899
+ "$ref": "#/components/responses/ForbiddenError"
2900
+ },
2901
+ "404": {
2902
+ "$ref": "#/components/responses/NotFoundError"
2903
+ },
2904
+ "409": {
2905
+ "$ref": "#/components/responses/ConflictError"
2906
+ }
2907
+ }
2908
+ }
2909
+ },
2782
2910
  "/spaces/{spaceId}/change-requests/{changeRequestId}/update": {
2783
2911
  "post": {
2784
2912
  "operationId": "updateChangeRequest",
@@ -9572,6 +9700,10 @@
9572
9700
  }
9573
9701
  }
9574
9702
  }
9703
+ },
9704
+ "412": {
9705
+ "description": "The requested role or access change is blocked by a membership restriction.",
9706
+ "$ref": "#/components/responses/PreconditionFailedError"
9575
9707
  }
9576
9708
  },
9577
9709
  "requestBody": {
@@ -9586,7 +9718,7 @@
9586
9718
  },
9587
9719
  "disabled": {
9588
9720
  "type": "boolean",
9589
- "description": "Disable or re-enable the member. Only members disabled by an admin can be re-enabled."
9721
+ "description": "Disable or re-enable the member. Directory-managed access is changed through the identity provider. Only members disabled by an admin can be re-enabled through this operation."
9590
9722
  }
9591
9723
  }
9592
9724
  }
@@ -9597,7 +9729,7 @@
9597
9729
  "delete": {
9598
9730
  "operationId": "removeMemberFromOrganizationById",
9599
9731
  "summary": "Remove an organization member or request an organization admin to do it",
9600
- "description": "Users cannot remove their own membership. Ask another organization admin to remove it.",
9732
+ "description": "Users cannot remove their own membership. Ask another organization admin to remove it. Remove directory-managed members through the identity provider.",
9601
9733
  "tags": [
9602
9734
  "organization-members"
9603
9735
  ],
@@ -9628,6 +9760,10 @@
9628
9760
  },
9629
9761
  "205": {
9630
9762
  "description": "The member was deleted from the organization."
9763
+ },
9764
+ "412": {
9765
+ "description": "The membership is directory-managed or cannot be removed.",
9766
+ "$ref": "#/components/responses/PreconditionFailedError"
9631
9767
  }
9632
9768
  }
9633
9769
  }
@@ -10403,7 +10539,7 @@
10403
10539
  "post": {
10404
10540
  "operationId": "createOrganizationIdPConnection",
10405
10541
  "summary": "Create an identity provider connection",
10406
- "description": "Creates a connection with its SAML service provider URLs and a SCIM token. The token is only returned in this response.\n",
10542
+ "description": "Creates a connection with its SAML service provider URLs. SAML and SCIM are set up afterwards, once the connection has a verified email domain: SAML by updating the connection with the identity provider's settings, SCIM by creating its token.\n",
10407
10543
  "tags": [
10408
10544
  "sso"
10409
10545
  ],
@@ -10466,7 +10602,7 @@
10466
10602
  "content": {
10467
10603
  "application/json": {
10468
10604
  "schema": {
10469
- "$ref": "#/components/schemas/OrganizationIdPConnectionWithToken"
10605
+ "$ref": "#/components/schemas/OrganizationIdPConnection"
10470
10606
  }
10471
10607
  }
10472
10608
  }
@@ -10519,6 +10655,7 @@
10519
10655
  "patch": {
10520
10656
  "operationId": "updateOrganizationIdPConnection",
10521
10657
  "summary": "Update an identity provider connection",
10658
+ "description": "Updates a connection. Setting any of `defaultTeam`, `defaultTeamFromDomain` and `defaultTeamFromSCIM` replaces the default team, and at most one of them can be set. Email domains, when set, must include a verified one, and so must the connection's domains when the request sets SAML settings.\n",
10522
10659
  "tags": [
10523
10660
  "sso"
10524
10661
  ],
@@ -10565,6 +10702,10 @@
10565
10702
  "defaultTeamFromDomain": {
10566
10703
  "type": "boolean"
10567
10704
  },
10705
+ "defaultTeamFromSCIM": {
10706
+ "type": "boolean",
10707
+ "description": "Let the identity provider decide each member's teams through SCIM. Only accepted while SCIM is set up.\n"
10708
+ },
10568
10709
  "ssoURL": {
10569
10710
  "$ref": "#/components/schemas/URL"
10570
10711
  },
@@ -10619,6 +10760,15 @@
10619
10760
  },
10620
10761
  {
10621
10762
  "$ref": "#/components/parameters/idpConnectionId"
10763
+ },
10764
+ {
10765
+ "name": "members",
10766
+ "in": "query",
10767
+ "description": "What happens to the members linked to the connection through SCIM.",
10768
+ "schema": {
10769
+ "$ref": "#/components/schemas/IdPConnectionMembersAction",
10770
+ "default": "keep"
10771
+ }
10622
10772
  }
10623
10773
  ],
10624
10774
  "responses": {
@@ -10637,8 +10787,8 @@
10637
10787
  "/orgs/{organizationId}/idp-connections/{idpConnectionId}/token": {
10638
10788
  "post": {
10639
10789
  "operationId": "rotateOrganizationIdPConnectionToken",
10640
- "summary": "Replace the SCIM token of an identity provider connection",
10641
- "description": "Creates a new SCIM token for a connection. The previous token stops working immediately, and the new token is only returned in this response.\n",
10790
+ "summary": "Rotate the SCIM token of an identity provider connection",
10791
+ "description": "Creates a new SCIM token for a connection. The previous token stops working immediately, and the new token is only returned in this response. Setting up SCIM, when the connection has no token yet, needs a verified email domain on the connection.\n",
10642
10792
  "tags": [
10643
10793
  "sso"
10644
10794
  ],
@@ -10657,7 +10807,7 @@
10657
10807
  ],
10658
10808
  "responses": {
10659
10809
  "200": {
10660
- "description": "Token replaced",
10810
+ "description": "Token rotated",
10661
10811
  "content": {
10662
10812
  "application/json": {
10663
10813
  "schema": {
@@ -10666,6 +10816,9 @@
10666
10816
  }
10667
10817
  }
10668
10818
  },
10819
+ "400": {
10820
+ "$ref": "#/components/responses/BadRequestError"
10821
+ },
10669
10822
  "404": {
10670
10823
  "$ref": "#/components/responses/NotFoundError"
10671
10824
  }
@@ -12481,279 +12634,6 @@
12481
12634
  }
12482
12635
  }
12483
12636
  },
12484
- "/orgs/{organizationId}/scim/connections": {
12485
- "get": {
12486
- "operationId": "listOrganizationSCIMConnections",
12487
- "summary": "List SCIM connections",
12488
- "tags": [
12489
- "scim"
12490
- ],
12491
- "security": [
12492
- {
12493
- "user-internal": []
12494
- }
12495
- ],
12496
- "parameters": [
12497
- {
12498
- "$ref": "#/components/parameters/organizationId"
12499
- }
12500
- ],
12501
- "responses": {
12502
- "200": {
12503
- "description": "OK",
12504
- "content": {
12505
- "application/json": {
12506
- "schema": {
12507
- "allOf": [
12508
- {
12509
- "$ref": "#/components/schemas/List"
12510
- },
12511
- {
12512
- "type": "object",
12513
- "required": [
12514
- "items"
12515
- ],
12516
- "properties": {
12517
- "items": {
12518
- "type": "array",
12519
- "items": {
12520
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12521
- }
12522
- }
12523
- }
12524
- }
12525
- ]
12526
- }
12527
- }
12528
- }
12529
- },
12530
- "404": {
12531
- "$ref": "#/components/responses/NotFoundError"
12532
- }
12533
- }
12534
- },
12535
- "post": {
12536
- "operationId": "createOrganizationSCIMConnection",
12537
- "summary": "Create a SCIM connection",
12538
- "description": "Creates a SCIM connection and its token. The token is only returned in this response.\n",
12539
- "tags": [
12540
- "scim"
12541
- ],
12542
- "security": [
12543
- {
12544
- "user-internal": []
12545
- }
12546
- ],
12547
- "parameters": [
12548
- {
12549
- "$ref": "#/components/parameters/organizationId"
12550
- }
12551
- ],
12552
- "requestBody": {
12553
- "required": true,
12554
- "content": {
12555
- "application/json": {
12556
- "schema": {
12557
- "type": "object",
12558
- "properties": {
12559
- "label": {
12560
- "$ref": "#/components/schemas/SCIMConnectionLabel"
12561
- },
12562
- "provider": {
12563
- "$ref": "#/components/schemas/IdPConnectionProvider"
12564
- }
12565
- },
12566
- "required": [
12567
- "label",
12568
- "provider"
12569
- ]
12570
- }
12571
- }
12572
- }
12573
- },
12574
- "responses": {
12575
- "201": {
12576
- "description": "SCIM connection created",
12577
- "content": {
12578
- "application/json": {
12579
- "schema": {
12580
- "$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
12581
- }
12582
- }
12583
- }
12584
- },
12585
- "400": {
12586
- "$ref": "#/components/responses/BadRequestError"
12587
- },
12588
- "404": {
12589
- "$ref": "#/components/responses/NotFoundError"
12590
- }
12591
- }
12592
- }
12593
- },
12594
- "/orgs/{organizationId}/scim/connections/{scimConnectionId}": {
12595
- "get": {
12596
- "operationId": "getOrganizationSCIMConnection",
12597
- "summary": "Get a SCIM connection by its ID",
12598
- "tags": [
12599
- "scim"
12600
- ],
12601
- "security": [
12602
- {
12603
- "user-internal": []
12604
- }
12605
- ],
12606
- "parameters": [
12607
- {
12608
- "$ref": "#/components/parameters/organizationId"
12609
- },
12610
- {
12611
- "$ref": "#/components/parameters/scimConnectionId"
12612
- }
12613
- ],
12614
- "responses": {
12615
- "200": {
12616
- "description": "OK",
12617
- "content": {
12618
- "application/json": {
12619
- "schema": {
12620
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12621
- }
12622
- }
12623
- }
12624
- },
12625
- "404": {
12626
- "$ref": "#/components/responses/NotFoundError"
12627
- }
12628
- }
12629
- },
12630
- "patch": {
12631
- "operationId": "updateOrganizationSCIMConnection",
12632
- "summary": "Update a SCIM connection",
12633
- "tags": [
12634
- "scim"
12635
- ],
12636
- "security": [
12637
- {
12638
- "user-internal": []
12639
- }
12640
- ],
12641
- "parameters": [
12642
- {
12643
- "$ref": "#/components/parameters/organizationId"
12644
- },
12645
- {
12646
- "$ref": "#/components/parameters/scimConnectionId"
12647
- }
12648
- ],
12649
- "requestBody": {
12650
- "required": true,
12651
- "content": {
12652
- "application/json": {
12653
- "schema": {
12654
- "type": "object",
12655
- "properties": {
12656
- "label": {
12657
- "$ref": "#/components/schemas/SCIMConnectionLabel"
12658
- }
12659
- },
12660
- "required": [
12661
- "label"
12662
- ]
12663
- }
12664
- }
12665
- }
12666
- },
12667
- "responses": {
12668
- "200": {
12669
- "description": "SCIM connection updated",
12670
- "content": {
12671
- "application/json": {
12672
- "schema": {
12673
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12674
- }
12675
- }
12676
- }
12677
- },
12678
- "400": {
12679
- "$ref": "#/components/responses/BadRequestError"
12680
- },
12681
- "404": {
12682
- "$ref": "#/components/responses/NotFoundError"
12683
- }
12684
- }
12685
- },
12686
- "delete": {
12687
- "operationId": "deleteOrganizationSCIMConnection",
12688
- "summary": "Delete a SCIM connection",
12689
- "description": "Deletes a SCIM connection. Its token stops working immediately.\n",
12690
- "tags": [
12691
- "scim"
12692
- ],
12693
- "security": [
12694
- {
12695
- "user-internal": []
12696
- }
12697
- ],
12698
- "parameters": [
12699
- {
12700
- "$ref": "#/components/parameters/organizationId"
12701
- },
12702
- {
12703
- "$ref": "#/components/parameters/scimConnectionId"
12704
- }
12705
- ],
12706
- "responses": {
12707
- "204": {
12708
- "description": "SCIM connection not found"
12709
- },
12710
- "205": {
12711
- "description": "SCIM connection deleted"
12712
- },
12713
- "404": {
12714
- "$ref": "#/components/responses/NotFoundError"
12715
- }
12716
- }
12717
- }
12718
- },
12719
- "/orgs/{organizationId}/scim/connections/{scimConnectionId}/token": {
12720
- "post": {
12721
- "operationId": "rotateOrganizationSCIMConnectionToken",
12722
- "summary": "Rotate the token of a SCIM connection",
12723
- "description": "Replaces the token of a SCIM connection. The previous token stops working immediately, and the new token is only returned in this response.\n",
12724
- "tags": [
12725
- "scim"
12726
- ],
12727
- "security": [
12728
- {
12729
- "user-internal": []
12730
- }
12731
- ],
12732
- "parameters": [
12733
- {
12734
- "$ref": "#/components/parameters/organizationId"
12735
- },
12736
- {
12737
- "$ref": "#/components/parameters/scimConnectionId"
12738
- }
12739
- ],
12740
- "responses": {
12741
- "200": {
12742
- "description": "Token rotated",
12743
- "content": {
12744
- "application/json": {
12745
- "schema": {
12746
- "$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
12747
- }
12748
- }
12749
- }
12750
- },
12751
- "404": {
12752
- "$ref": "#/components/responses/NotFoundError"
12753
- }
12754
- }
12755
- }
12756
- },
12757
12637
  "/orgs/{organizationId}/sso": {
12758
12638
  "get": {
12759
12639
  "operationId": "listSSOProviderLoginsInOrganization",
@@ -18207,6 +18087,9 @@
18207
18087
  "query": {
18208
18088
  "type": "string",
18209
18089
  "maxLength": 512
18090
+ },
18091
+ "searchId": {
18092
+ "$ref": "#/components/schemas/SiteSearchId"
18210
18093
  }
18211
18094
  }
18212
18095
  },
@@ -22251,11 +22134,67 @@
22251
22134
  }
22252
22135
  }
22253
22136
  },
22137
+ "/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/changes": {
22138
+ "get": {
22139
+ "operationId": "getSiteRevisionChanges",
22140
+ "summary": "Get the changes of a site revision",
22141
+ "description": "Returns the changes between two site revisions.",
22142
+ "tags": [
22143
+ "sites"
22144
+ ],
22145
+ "security": [
22146
+ {
22147
+ "user": []
22148
+ },
22149
+ {
22150
+ "oauth": [
22151
+ "site:read",
22152
+ "space:read"
22153
+ ]
22154
+ }
22155
+ ],
22156
+ "parameters": [
22157
+ {
22158
+ "$ref": "#/components/parameters/organizationId"
22159
+ },
22160
+ {
22161
+ "$ref": "#/components/parameters/siteId"
22162
+ },
22163
+ {
22164
+ "$ref": "#/components/parameters/siteRevisionId"
22165
+ },
22166
+ {
22167
+ "name": "base",
22168
+ "in": "query",
22169
+ "description": "Site revision to compare against. Defaults to the live site.",
22170
+ "schema": {
22171
+ "type": "string"
22172
+ }
22173
+ }
22174
+ ],
22175
+ "responses": {
22176
+ "200": {
22177
+ "description": "OK",
22178
+ "content": {
22179
+ "application/json": {
22180
+ "schema": {
22181
+ "$ref": "#/components/schemas/SiteRevisionChanges"
22182
+ }
22183
+ }
22184
+ }
22185
+ },
22186
+ "404": {
22187
+ "description": "No matching site revision found",
22188
+ "$ref": "#/components/responses/NotFoundError"
22189
+ }
22190
+ }
22191
+ }
22192
+ },
22254
22193
  "/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}": {
22255
22194
  "get": {
22256
22195
  "operationId": "getRevisionInSiteRevision",
22257
22196
  "summary": "Get the content revision of a space at a site revision",
22258
- "description": "Retrieves the revision a space of the site was at when the site revision was recorded, including the full page tree structure and associated files. A space the site revision does not record returns 404.",
22197
+ "description": "Returns the revision of a space at a site revision.",
22259
22198
  "tags": [
22260
22199
  "sites"
22261
22200
  ],
@@ -22308,7 +22247,7 @@
22308
22247
  "get": {
22309
22248
  "operationId": "getPageInSiteRevision",
22310
22249
  "summary": "Get a page of a space at a site revision",
22311
- "description": "Returns a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
22250
+ "description": "Returns a page of a space at a site revision.",
22312
22251
  "tags": [
22313
22252
  "sites"
22314
22253
  ],
@@ -22376,7 +22315,7 @@
22376
22315
  "get": {
22377
22316
  "operationId": "listPageMetaLinksInSiteRevision",
22378
22317
  "summary": "List the meta links of a page at a site revision",
22379
- "description": "Returns the meta links of a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
22318
+ "description": "Returns the meta links of a page at a site revision.",
22380
22319
  "tags": [
22381
22320
  "sites"
22382
22321
  ],
@@ -22426,7 +22365,7 @@
22426
22365
  "get": {
22427
22366
  "operationId": "getPageByPathInSiteRevision",
22428
22367
  "summary": "Get a page of a space by its path at a site revision",
22429
- "description": "Returns the page at a path in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
22368
+ "description": "Returns a page of a space by its path at a site revision.",
22430
22369
  "tags": [
22431
22370
  "sites"
22432
22371
  ],
@@ -22504,7 +22443,7 @@
22504
22443
  "get": {
22505
22444
  "operationId": "getReusableContentDocumentInSiteRevision",
22506
22445
  "summary": "Get the document of a reusable content at a site revision",
22507
- "description": "Returns the document of a reusable content in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
22446
+ "description": "Returns the document of a reusable content at a site revision.",
22508
22447
  "tags": [
22509
22448
  "sites"
22510
22449
  ],
@@ -22560,7 +22499,7 @@
22560
22499
  "get": {
22561
22500
  "operationId": "getPageDocumentInSiteRevision",
22562
22501
  "summary": "Get the document of a page in a space at a site revision",
22563
- "description": "Returns the structured JSON document of a page in the revision a space was at when the site revision was recorded. A space the site revision does not record returns 404.",
22502
+ "description": "Returns the document of a page at a site revision.",
22564
22503
  "tags": [
22565
22504
  "sites"
22566
22505
  ],
@@ -22616,7 +22555,7 @@
22616
22555
  "get": {
22617
22556
  "operationId": "getOpenAPISpecContentInSiteRevision",
22618
22557
  "summary": "Get the content of an OpenAPI spec at a site revision",
22619
- "description": "Retrieves the content of the OpenAPI spec version the site revision pins. A spec the site revision does not record returns 404.",
22558
+ "description": "Returns the content of an OpenAPI spec at a site revision.",
22620
22559
  "tags": [
22621
22560
  "sites"
22622
22561
  ],
@@ -24042,7 +23981,7 @@
24042
23981
  "put": {
24043
23982
  "operationId": "bulkUpsertSiteRedirects",
24044
23983
  "summary": "Create, update, delete, or publish site redirect rules in bulk",
24045
- "description": "Processes up to 500 redirect operations in a single request. Each redirect in the array is processed independently and the response includes per-item status. Prefer this over individual create/update calls when managing large sets of redirects.",
23984
+ "description": "Processes up to 2,000 redirect operations in a single request. Each redirect in the array is processed independently and the response includes per-item status. Prefer this over individual create/update calls when managing large sets of redirects.",
24046
23985
  "x-gitbook-mcp": true,
24047
23986
  "tags": [
24048
23987
  "site-redirects"
@@ -24075,7 +24014,7 @@
24075
24014
  "redirects": {
24076
24015
  "type": "array",
24077
24016
  "minItems": 1,
24078
- "maxItems": 500,
24017
+ "maxItems": 2000,
24079
24018
  "items": {
24080
24019
  "oneOf": [
24081
24020
  {
@@ -24348,7 +24287,7 @@
24348
24287
  {
24349
24288
  "name": "search",
24350
24289
  "in": "query",
24351
- "description": "Search for a redirect by path",
24290
+ "description": "Search for a redirect by path. Values starting with \"/\" match by prefix; other values match any substring.",
24352
24291
  "schema": {
24353
24292
  "type": "string"
24354
24293
  }
@@ -27223,15 +27162,6 @@
27223
27162
  "type": "string"
27224
27163
  }
27225
27164
  },
27226
- "scimConnectionId": {
27227
- "name": "scimConnectionId",
27228
- "in": "path",
27229
- "required": true,
27230
- "description": "The unique id of the SCIM connection",
27231
- "schema": {
27232
- "type": "string"
27233
- }
27234
- },
27235
27165
  "openapiSpecSlug": {
27236
27166
  "name": "specSlug",
27237
27167
  "in": "path",
@@ -30569,7 +30499,8 @@
30569
30499
  "enum": [
30570
30500
  "heading-1",
30571
30501
  "heading-2",
30572
- "heading-3"
30502
+ "heading-3",
30503
+ "heading-4"
30573
30504
  ]
30574
30505
  },
30575
30506
  "key": {
@@ -34490,6 +34421,15 @@
34490
34421
  "description": {
34491
34422
  "type": "string"
34492
34423
  },
34424
+ "keywords": {
34425
+ "type": "array",
34426
+ "description": "Authored terms and phrases that can help readers find this page.",
34427
+ "maxItems": 20,
34428
+ "items": {
34429
+ "type": "string",
34430
+ "maxLength": 100
34431
+ }
34432
+ },
34493
34433
  "tagTitle": {
34494
34434
  "description": "Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself.",
34495
34435
  "type": "string",
@@ -35812,6 +35752,23 @@
35812
35752
  }
35813
35753
  ]
35814
35754
  },
35755
+ "ChangeRequestReference": {
35756
+ "type": "object",
35757
+ "required": [
35758
+ "id",
35759
+ "number"
35760
+ ],
35761
+ "properties": {
35762
+ "id": {
35763
+ "type": "string",
35764
+ "description": "ID of the change request"
35765
+ },
35766
+ "number": {
35767
+ "type": "number",
35768
+ "description": "Number of the change request within its space"
35769
+ }
35770
+ }
35771
+ },
35815
35772
  "ChangeRequestStatus": {
35816
35773
  "type": "string",
35817
35774
  "enum": [
@@ -36055,6 +36012,14 @@
36055
36012
  "type": "number",
36056
36013
  "description": "Incremental identifier of the change request"
36057
36014
  },
36015
+ "reverts": {
36016
+ "$ref": "#/components/schemas/ChangeRequestReference",
36017
+ "description": "The merged change request this change request reverts."
36018
+ },
36019
+ "revertedBy": {
36020
+ "$ref": "#/components/schemas/ChangeRequestReference",
36021
+ "description": "The change request created to revert this merge."
36022
+ },
36058
36023
  "status": {
36059
36024
  "$ref": "#/components/schemas/ChangeRequestStatus"
36060
36025
  },
@@ -38884,6 +38849,15 @@
38884
38849
  "type": "string",
38885
38850
  "maxLength": 100
38886
38851
  },
38852
+ "keywords": {
38853
+ "type": "array",
38854
+ "description": "Search terms and phrases for a document page. Replaces the entire list. Use an empty array to clear it. Omit the field to keep the existing list.",
38855
+ "maxItems": 20,
38856
+ "items": {
38857
+ "type": "string",
38858
+ "maxLength": 100
38859
+ }
38860
+ },
38887
38861
  "tagTitle": {
38888
38862
  "description": "Optional title for the page's HTML `<title>` tag. When set, it replaces the page title in the composed `<title>` (`<tagTitle || title> | <section> | <site>`), while the page's visible heading and navigation title remain unchanged. Use this when the search result or browser tab should use a different title from the page itself. Set to an empty string to remove it.",
38889
38863
  "type": "string",
@@ -39960,6 +39934,23 @@
39960
39934
  "description": {
39961
39935
  "$ref": "#/components/schemas/ChangeAttributeString"
39962
39936
  },
39937
+ "keywords": {
39938
+ "type": "object",
39939
+ "properties": {
39940
+ "before": {
39941
+ "type": "array",
39942
+ "items": {
39943
+ "type": "string"
39944
+ }
39945
+ },
39946
+ "after": {
39947
+ "type": "array",
39948
+ "items": {
39949
+ "type": "string"
39950
+ }
39951
+ }
39952
+ }
39953
+ },
39963
39954
  "slug": {
39964
39955
  "$ref": "#/components/schemas/ChangeAttributeString"
39965
39956
  },
@@ -40625,6 +40616,14 @@
40625
40616
  "disabled": {
40626
40617
  "$ref": "#/components/schemas/MemberDisabled"
40627
40618
  },
40619
+ "directoryManagedBy": {
40620
+ "type": "string",
40621
+ "description": "Label of the identity provider connection that manages this membership."
40622
+ },
40623
+ "directoryDisplayName": {
40624
+ "type": "string",
40625
+ "description": "Display name supplied by the identity provider for this organization membership. The GitBook account name is available in user.displayName."
40626
+ },
40628
40627
  "joinedAt": {
40629
40628
  "description": "Date at which the user joined the organization.",
40630
40629
  "$ref": "#/components/schemas/Timestamp"
@@ -45631,6 +45630,10 @@
45631
45630
  "type": "boolean",
45632
45631
  "description": "Whether people join the team of the verified email domain they signed in with, instead of `defaultTeam`.\n"
45633
45632
  },
45633
+ "defaultTeamFromSCIM": {
45634
+ "type": "boolean",
45635
+ "description": "Whether the identity provider decides each member's teams through SCIM, instead of `defaultTeam`.\n"
45636
+ },
45634
45637
  "saml": {
45635
45638
  "type": "object",
45636
45639
  "description": "SAML sign-in through the connection.",
@@ -45744,6 +45747,7 @@
45744
45747
  "status",
45745
45748
  "defaultRole",
45746
45749
  "defaultTeamFromDomain",
45750
+ "defaultTeamFromSCIM",
45747
45751
  "saml",
45748
45752
  "createdAt",
45749
45753
  "updatedAt",
@@ -45761,6 +45765,15 @@
45761
45765
  "maxLength": 255
45762
45766
  }
45763
45767
  },
45768
+ "IdPConnectionMembersAction": {
45769
+ "type": "string",
45770
+ "description": "What happens to the members that SCIM provisioned or linked through the connection.\n- `keep`: They keep their access. Those the identity provider deactivated become disabled by an admin.\n- `disable`: They are disabled by an admin, and keep their role.\n- `remove`: They are removed from the organization.\nThe admin who deletes the connection is never disabled or removed.\n",
45771
+ "enum": [
45772
+ "keep",
45773
+ "disable",
45774
+ "remove"
45775
+ ]
45776
+ },
45764
45777
  "OrganizationIdPConnectionWithToken": {
45765
45778
  "description": "An identity provider connection, with the SCIM token the request created. The token can't be retrieved again.\n",
45766
45779
  "type": "object",
@@ -47650,101 +47663,6 @@
47650
47663
  "urls"
47651
47664
  ]
47652
47665
  },
47653
- "SCIMConnectionLabel": {
47654
- "type": "string",
47655
- "description": "Name of the SCIM connection, shown to organization admins.",
47656
- "minLength": 1,
47657
- "maxLength": 100
47658
- },
47659
- "OrganizationSCIMConnection": {
47660
- "type": "object",
47661
- "description": "A SCIM connection through which an identity provider provisions organization members.",
47662
- "properties": {
47663
- "object": {
47664
- "type": "string",
47665
- "description": "The object type, which is always \"scim-connection\"",
47666
- "enum": [
47667
- "scim-connection"
47668
- ]
47669
- },
47670
- "id": {
47671
- "type": "string",
47672
- "description": "Unique identifier of the SCIM connection"
47673
- },
47674
- "label": {
47675
- "$ref": "#/components/schemas/SCIMConnectionLabel"
47676
- },
47677
- "provider": {
47678
- "$ref": "#/components/schemas/IdPConnectionProvider"
47679
- },
47680
- "baseURL": {
47681
- "description": "SCIM base URL to configure in the identity provider",
47682
- "$ref": "#/components/schemas/URL"
47683
- },
47684
- "tokenHint": {
47685
- "type": "string",
47686
- "description": "Last characters of the current token, to identify it"
47687
- },
47688
- "tokenCreatedAt": {
47689
- "description": "Date the current token was created",
47690
- "$ref": "#/components/schemas/Timestamp"
47691
- },
47692
- "lastUsedAt": {
47693
- "description": "Date of the last request authenticated with the token",
47694
- "$ref": "#/components/schemas/Timestamp"
47695
- },
47696
- "createdAt": {
47697
- "description": "Date of creation",
47698
- "$ref": "#/components/schemas/Timestamp"
47699
- },
47700
- "updatedAt": {
47701
- "description": "Date of the last update",
47702
- "$ref": "#/components/schemas/Timestamp"
47703
- },
47704
- "urls": {
47705
- "type": "object",
47706
- "description": "URLs associated with the object",
47707
- "properties": {
47708
- "location": {
47709
- "description": "URL of the SCIM connection in the API",
47710
- "$ref": "#/components/schemas/URL"
47711
- }
47712
- },
47713
- "required": [
47714
- "location"
47715
- ]
47716
- }
47717
- },
47718
- "required": [
47719
- "object",
47720
- "id",
47721
- "label",
47722
- "provider",
47723
- "baseURL",
47724
- "tokenHint",
47725
- "tokenCreatedAt",
47726
- "createdAt",
47727
- "updatedAt",
47728
- "urls"
47729
- ]
47730
- },
47731
- "OrganizationSCIMConnectionWithToken": {
47732
- "description": "A SCIM connection with its token, returned only when the token is created.",
47733
- "type": "object",
47734
- "properties": {
47735
- "connection": {
47736
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
47737
- },
47738
- "token": {
47739
- "type": "string",
47740
- "description": "Bearer token to configure in the identity provider. It can't be retrieved again."
47741
- }
47742
- },
47743
- "required": [
47744
- "connection",
47745
- "token"
47746
- ]
47747
- },
47748
47666
  "OrganizationSSOProviderLogin": {
47749
47667
  "type": "object",
47750
47668
  "properties": {
@@ -50318,6 +50236,13 @@
50318
50236
  }
50319
50237
  ]
50320
50238
  },
50239
+ "SiteSearchId": {
50240
+ "type": "string",
50241
+ "description": "Client-generated 128-bit identifier for a search request, encoded as hexadecimal.",
50242
+ "minLength": 32,
50243
+ "maxLength": 32,
50244
+ "pattern": "^[0-9A-Fa-f]{32}$"
50245
+ },
50321
50246
  "SiteSearchScope": {
50322
50247
  "oneOf": [
50323
50248
  {
@@ -55138,6 +55063,541 @@
55138
55063
  }
55139
55064
  ]
55140
55065
  },
55066
+ "SiteRevisionNodeContentSpace": {
55067
+ "type": "object",
55068
+ "title": "Site revision node content from a space",
55069
+ "description": "A space, at a revision.",
55070
+ "properties": {
55071
+ "type": {
55072
+ "type": "string",
55073
+ "enum": [
55074
+ "space"
55075
+ ]
55076
+ },
55077
+ "space": {
55078
+ "type": "string",
55079
+ "description": "ID of the space."
55080
+ },
55081
+ "revision": {
55082
+ "type": "string",
55083
+ "description": "ID of the revision."
55084
+ }
55085
+ },
55086
+ "required": [
55087
+ "type",
55088
+ "space",
55089
+ "revision"
55090
+ ]
55091
+ },
55092
+ "SiteRevisionNodeContent": {
55093
+ "title": "Site revision node content",
55094
+ "description": "Content a space node shows.",
55095
+ "oneOf": [
55096
+ {
55097
+ "$ref": "#/components/schemas/SiteRevisionNodeContentSpace"
55098
+ }
55099
+ ],
55100
+ "discriminator": {
55101
+ "propertyName": "type",
55102
+ "mapping": {
55103
+ "space": "#/components/schemas/SiteRevisionNodeContentSpace"
55104
+ }
55105
+ }
55106
+ },
55107
+ "SiteRevisionChangePageCreated": {
55108
+ "type": "object",
55109
+ "properties": {
55110
+ "type": {
55111
+ "type": "string",
55112
+ "enum": [
55113
+ "page_created"
55114
+ ]
55115
+ },
55116
+ "page": {
55117
+ "type": "string",
55118
+ "description": "ID of the page."
55119
+ }
55120
+ },
55121
+ "required": [
55122
+ "type",
55123
+ "page"
55124
+ ]
55125
+ },
55126
+ "SiteRevisionChangePageEdited": {
55127
+ "type": "object",
55128
+ "properties": {
55129
+ "type": {
55130
+ "type": "string",
55131
+ "enum": [
55132
+ "page_edited"
55133
+ ]
55134
+ },
55135
+ "page": {
55136
+ "type": "string",
55137
+ "description": "ID of the page."
55138
+ },
55139
+ "attributes": {
55140
+ "description": "Attributes of the page that changed.",
55141
+ "anyOf": [
55142
+ {
55143
+ "type": "object",
55144
+ "description": "Attributes every kind of page has.",
55145
+ "minProperties": 1,
55146
+ "properties": {
55147
+ "title": {
55148
+ "$ref": "#/components/schemas/ChangeAttributeString"
55149
+ },
55150
+ "emoji": {
55151
+ "$ref": "#/components/schemas/ChangeAttributeString"
55152
+ }
55153
+ }
55154
+ },
55155
+ {
55156
+ "oneOf": [
55157
+ {
55158
+ "$ref": "#/components/schemas/RevisionPageDocumentChangeAttributes"
55159
+ },
55160
+ {
55161
+ "$ref": "#/components/schemas/RevisionPageGroupChangeAttributes"
55162
+ },
55163
+ {
55164
+ "$ref": "#/components/schemas/RevisionPageLinkChangeAttributes"
55165
+ }
55166
+ ]
55167
+ }
55168
+ ]
55169
+ }
55170
+ },
55171
+ "required": [
55172
+ "type",
55173
+ "page",
55174
+ "attributes"
55175
+ ]
55176
+ },
55177
+ "SiteRevisionChangePageDeleted": {
55178
+ "type": "object",
55179
+ "properties": {
55180
+ "type": {
55181
+ "type": "string",
55182
+ "enum": [
55183
+ "page_deleted"
55184
+ ]
55185
+ },
55186
+ "page": {
55187
+ "type": "string",
55188
+ "description": "ID of the page."
55189
+ }
55190
+ },
55191
+ "required": [
55192
+ "type",
55193
+ "page"
55194
+ ]
55195
+ },
55196
+ "SiteRevisionChangePageMoved": {
55197
+ "type": "object",
55198
+ "properties": {
55199
+ "type": {
55200
+ "type": "string",
55201
+ "enum": [
55202
+ "page_moved"
55203
+ ]
55204
+ },
55205
+ "page": {
55206
+ "type": "string",
55207
+ "description": "ID of the page."
55208
+ },
55209
+ "parent": {
55210
+ "type": "object",
55211
+ "description": "ID of the page it is in. Null at the top of the node.",
55212
+ "properties": {
55213
+ "before": {
55214
+ "oneOf": [
55215
+ {
55216
+ "type": "string"
55217
+ },
55218
+ {
55219
+ "type": "null"
55220
+ }
55221
+ ]
55222
+ },
55223
+ "after": {
55224
+ "oneOf": [
55225
+ {
55226
+ "type": "string"
55227
+ },
55228
+ {
55229
+ "type": "null"
55230
+ }
55231
+ ]
55232
+ }
55233
+ },
55234
+ "required": [
55235
+ "before",
55236
+ "after"
55237
+ ]
55238
+ }
55239
+ },
55240
+ "required": [
55241
+ "type",
55242
+ "page",
55243
+ "parent"
55244
+ ]
55245
+ },
55246
+ "SiteRevisionContentChange": {
55247
+ "title": "Site revision content change",
55248
+ "description": "A change of a page or of the library of a space.",
55249
+ "oneOf": [
55250
+ {
55251
+ "$ref": "#/components/schemas/SiteRevisionChangePageCreated"
55252
+ },
55253
+ {
55254
+ "$ref": "#/components/schemas/SiteRevisionChangePageEdited"
55255
+ },
55256
+ {
55257
+ "$ref": "#/components/schemas/SiteRevisionChangePageDeleted"
55258
+ },
55259
+ {
55260
+ "$ref": "#/components/schemas/SiteRevisionChangePageMoved"
55261
+ },
55262
+ {
55263
+ "$ref": "#/components/schemas/RevisionSemanticChangeFileCreated"
55264
+ },
55265
+ {
55266
+ "$ref": "#/components/schemas/RevisionSemanticChangeFileEdited"
55267
+ },
55268
+ {
55269
+ "$ref": "#/components/schemas/RevisionSemanticChangeFileDeleted"
55270
+ },
55271
+ {
55272
+ "$ref": "#/components/schemas/RevisionSemanticChangeVariablesEdited"
55273
+ },
55274
+ {
55275
+ "$ref": "#/components/schemas/RevisionSemanticChangeReusableContentCreated"
55276
+ },
55277
+ {
55278
+ "$ref": "#/components/schemas/RevisionSemanticChangeReusableContentDeleted"
55279
+ },
55280
+ {
55281
+ "$ref": "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
55282
+ },
55283
+ {
55284
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagCreated"
55285
+ },
55286
+ {
55287
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagDeleted"
55288
+ },
55289
+ {
55290
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagEdited"
55291
+ }
55292
+ ]
55293
+ },
55294
+ "SiteRevisionChangeSpaceContentEdited": {
55295
+ "type": "object",
55296
+ "description": "The content of the space a node shows changed. `before` and `after` are always the same space; a node that shows another space is a different change. A space shown by several nodes has this change, with the same page changes, under each of them. Pages the changes refer to are listed under the node in `includes.pages`.",
55297
+ "properties": {
55298
+ "type": {
55299
+ "type": "string",
55300
+ "enum": [
55301
+ "space_content_edited"
55302
+ ]
55303
+ },
55304
+ "node": {
55305
+ "type": "string",
55306
+ "description": "Key of the space node."
55307
+ },
55308
+ "content": {
55309
+ "type": "object",
55310
+ "properties": {
55311
+ "before": {
55312
+ "description": "Content in the base. Absent when the base has none, in which case every page is listed as created.",
55313
+ "$ref": "#/components/schemas/SiteRevisionNodeContent"
55314
+ },
55315
+ "after": {
55316
+ "description": "Content in the site revision.",
55317
+ "$ref": "#/components/schemas/SiteRevisionNodeContent"
55318
+ }
55319
+ },
55320
+ "required": [
55321
+ "after"
55322
+ ]
55323
+ },
55324
+ "changes": {
55325
+ "type": "array",
55326
+ "description": "Changes of the content's pages and library.",
55327
+ "items": {
55328
+ "$ref": "#/components/schemas/SiteRevisionContentChange"
55329
+ }
55330
+ }
55331
+ },
55332
+ "required": [
55333
+ "type",
55334
+ "node",
55335
+ "content",
55336
+ "changes"
55337
+ ]
55338
+ },
55339
+ "SiteRevisionStructureChange": {
55340
+ "title": "Site revision structure change",
55341
+ "description": "A change to a node of the site's structure.",
55342
+ "oneOf": [
55343
+ {
55344
+ "$ref": "#/components/schemas/SiteRevisionChangeSpaceContentEdited"
55345
+ }
55346
+ ]
55347
+ },
55348
+ "ChangedOpenAPISpec": {
55349
+ "type": "object",
55350
+ "description": "An OpenAPI spec of the organization.",
55351
+ "properties": {
55352
+ "id": {
55353
+ "type": "string",
55354
+ "description": "ID of the spec."
55355
+ },
55356
+ "slug": {
55357
+ "type": "string",
55358
+ "description": "Slug of the spec."
55359
+ }
55360
+ },
55361
+ "required": [
55362
+ "id",
55363
+ "slug"
55364
+ ]
55365
+ },
55366
+ "SiteRevisionChangeOpenAPISpecEdited": {
55367
+ "type": "object",
55368
+ "description": "An OpenAPI spec is at another version.",
55369
+ "properties": {
55370
+ "type": {
55371
+ "type": "string",
55372
+ "enum": [
55373
+ "openapi_spec_edited"
55374
+ ]
55375
+ },
55376
+ "spec": {
55377
+ "$ref": "#/components/schemas/ChangedOpenAPISpec"
55378
+ },
55379
+ "version": {
55380
+ "type": "object",
55381
+ "description": "Version of the spec.",
55382
+ "properties": {
55383
+ "before": {
55384
+ "type": "string",
55385
+ "description": "Version in the base. Absent when the base has none."
55386
+ },
55387
+ "after": {
55388
+ "type": "string",
55389
+ "description": "Version in the site revision."
55390
+ }
55391
+ },
55392
+ "required": [
55393
+ "after"
55394
+ ]
55395
+ }
55396
+ },
55397
+ "required": [
55398
+ "type",
55399
+ "spec",
55400
+ "version"
55401
+ ]
55402
+ },
55403
+ "SiteRevisionOpenAPIChange": {
55404
+ "title": "Site revision OpenAPI change",
55405
+ "description": "A change to an OpenAPI spec.",
55406
+ "oneOf": [
55407
+ {
55408
+ "$ref": "#/components/schemas/SiteRevisionChangeOpenAPISpecEdited"
55409
+ }
55410
+ ]
55411
+ },
55412
+ "SiteRevisionNodeType": {
55413
+ "type": "string",
55414
+ "description": "Type of a node of the site's structure.",
55415
+ "enum": [
55416
+ "section-group",
55417
+ "section",
55418
+ "space"
55419
+ ]
55420
+ },
55421
+ "SiteRevisionNode": {
55422
+ "type": "object",
55423
+ "description": "A node of the site's structure: a section group, a section or a space. A space node is a place where the site shows content; the same content can be shown by several of them. Fields hold the node as it is in the site revision, whether or not they changed; a change to one is listed as its own change.",
55424
+ "properties": {
55425
+ "key": {
55426
+ "type": "string",
55427
+ "description": "Key of the node, unique across the nodes of the site. It is the node's key in the site's Git Sync configuration, or the key exporting the site would store for it when it has none yet."
55428
+ },
55429
+ "type": {
55430
+ "$ref": "#/components/schemas/SiteRevisionNodeType"
55431
+ },
55432
+ "parent": {
55433
+ "description": "Key of the node it is in. Null for a node at the top of the site.",
55434
+ "oneOf": [
55435
+ {
55436
+ "type": "string"
55437
+ },
55438
+ {
55439
+ "type": "null"
55440
+ }
55441
+ ]
55442
+ },
55443
+ "title": {
55444
+ "type": "string"
55445
+ },
55446
+ "path": {
55447
+ "type": "string",
55448
+ "description": "Path of a section or space in the site's URLs."
55449
+ },
55450
+ "icon": {
55451
+ "description": "Icon of a section or section group, if it has one.",
55452
+ "$ref": "#/components/schemas/Icon"
55453
+ },
55454
+ "emoji": {
55455
+ "description": "Emoji of the space a space node shows. It'll match the emoji shown in the GitBook app.",
55456
+ "$ref": "#/components/schemas/Emoji"
55457
+ },
55458
+ "iconURL": {
55459
+ "description": "URL of the icon of the space a space node shows, if defined.",
55460
+ "$ref": "#/components/schemas/URL"
55461
+ },
55462
+ "draft": {
55463
+ "type": "boolean",
55464
+ "description": "Whether the node is a draft, not shown on the live site."
55465
+ },
55466
+ "hidden": {
55467
+ "type": "boolean",
55468
+ "description": "Whether a space node is hidden from the site's navigation. Only on space nodes: a section is hidden when all of its space nodes are."
55469
+ },
55470
+ "content": {
55471
+ "description": "Content a space node shows.",
55472
+ "$ref": "#/components/schemas/SiteRevisionNodeContent"
55473
+ }
55474
+ },
55475
+ "required": [
55476
+ "key",
55477
+ "type",
55478
+ "parent",
55479
+ "title",
55480
+ "draft"
55481
+ ]
55482
+ },
55483
+ "SiteRevisionPage": {
55484
+ "type": "object",
55485
+ "description": "A page of the content a space node shows. Fields hold the page as it is in the site revision, or in the base for a page deleted since.",
55486
+ "properties": {
55487
+ "node": {
55488
+ "type": "string",
55489
+ "description": "Key of the space node showing the page."
55490
+ },
55491
+ "id": {
55492
+ "type": "string",
55493
+ "description": "ID of the page, unique within the node."
55494
+ },
55495
+ "type": {
55496
+ "$ref": "#/components/schemas/RevisionPageType"
55497
+ },
55498
+ "title": {
55499
+ "type": "string"
55500
+ },
55501
+ "path": {
55502
+ "type": "string",
55503
+ "description": "Path of the page within the node. Absent for a link."
55504
+ },
55505
+ "parent": {
55506
+ "description": "ID of the page it is in. Null for a page at the top of the node.",
55507
+ "oneOf": [
55508
+ {
55509
+ "type": "string"
55510
+ },
55511
+ {
55512
+ "type": "null"
55513
+ }
55514
+ ]
55515
+ }
55516
+ },
55517
+ "required": [
55518
+ "node",
55519
+ "id",
55520
+ "type",
55521
+ "title",
55522
+ "parent"
55523
+ ]
55524
+ },
55525
+ "SiteRevisionChanges": {
55526
+ "title": "Site revision changes",
55527
+ "description": "Changes between a site revision and its base. A space or spec the site revision doesn't pin is read live, so it is never a change. Changes refer to nodes and pages, which are listed once in `includes`.",
55528
+ "type": "object",
55529
+ "properties": {
55530
+ "head": {
55531
+ "type": "string",
55532
+ "description": "Site revision whose changes are listed."
55533
+ },
55534
+ "base": {
55535
+ "type": "string",
55536
+ "description": "Site revision compared against. Absent when compared against the live site."
55537
+ },
55538
+ "structure": {
55539
+ "type": "object",
55540
+ "description": "Changes to the site's structure and the content it shows, in site order.",
55541
+ "properties": {
55542
+ "changes": {
55543
+ "type": "array",
55544
+ "description": "Changes the caller can view.",
55545
+ "items": {
55546
+ "$ref": "#/components/schemas/SiteRevisionStructureChange"
55547
+ }
55548
+ }
55549
+ },
55550
+ "required": [
55551
+ "changes"
55552
+ ]
55553
+ },
55554
+ "openapi": {
55555
+ "type": "object",
55556
+ "description": "Changes to OpenAPI specs. Empty when the caller can't read the organization's specs.",
55557
+ "properties": {
55558
+ "changes": {
55559
+ "type": "array",
55560
+ "items": {
55561
+ "$ref": "#/components/schemas/SiteRevisionOpenAPIChange"
55562
+ }
55563
+ }
55564
+ },
55565
+ "required": [
55566
+ "changes"
55567
+ ]
55568
+ },
55569
+ "includes": {
55570
+ "type": "object",
55571
+ "description": "What the changes refer to, with their ancestors, each listed once. Every entry comes after its parent, so a tree can be built in one pass.",
55572
+ "properties": {
55573
+ "structure": {
55574
+ "type": "array",
55575
+ "description": "Nodes of the site's structure the changes refer to, and their ancestors, as a flat list in site order. Nodes are linked to their parent by `parent`.",
55576
+ "items": {
55577
+ "$ref": "#/components/schemas/SiteRevisionNode"
55578
+ }
55579
+ },
55580
+ "pages": {
55581
+ "type": "array",
55582
+ "description": "Pages the changes refer to, and their ancestors, under the space node showing them. Pages come in the order of the node's content; a page deleted since the base comes after those of the site revision.",
55583
+ "items": {
55584
+ "$ref": "#/components/schemas/SiteRevisionPage"
55585
+ }
55586
+ }
55587
+ },
55588
+ "required": [
55589
+ "structure",
55590
+ "pages"
55591
+ ]
55592
+ }
55593
+ },
55594
+ "required": [
55595
+ "head",
55596
+ "structure",
55597
+ "openapi",
55598
+ "includes"
55599
+ ]
55600
+ },
55141
55601
  "SiteSectionGroupPointer": {
55142
55602
  "type": "object",
55143
55603
  "properties": {
@@ -56341,6 +56801,12 @@
56341
56801
  }
56342
56802
  ]
56343
56803
  },
56804
+ "SiteInsightsSearchResultNumber": {
56805
+ "type": "integer",
56806
+ "minimum": 1,
56807
+ "maximum": 20,
56808
+ "description": "Published site search displays up to ten page results and ten supplemental records per request."
56809
+ },
56344
56810
  "SiteInsightsEventSearchOpenResult": {
56345
56811
  "allOf": [
56346
56812
  {
@@ -56359,6 +56825,25 @@
56359
56825
  "type": "string",
56360
56826
  "description": "Query of the search."
56361
56827
  },
56828
+ "position": {
56829
+ "description": "One-based position of the opened result in the displayed list.",
56830
+ "allOf": [
56831
+ {
56832
+ "$ref": "#/components/schemas/SiteInsightsSearchResultNumber"
56833
+ }
56834
+ ]
56835
+ },
56836
+ "resultsCount": {
56837
+ "description": "Number of results in the displayed list.",
56838
+ "allOf": [
56839
+ {
56840
+ "$ref": "#/components/schemas/SiteInsightsSearchResultNumber"
56841
+ }
56842
+ ]
56843
+ },
56844
+ "searchId": {
56845
+ "$ref": "#/components/schemas/SiteSearchId"
56846
+ },
56362
56847
  "result": {
56363
56848
  "description": "Target of the opened search result.",
56364
56849
  "oneOf": [
@@ -57481,6 +57966,21 @@
57481
57966
  }
57482
57967
  }
57483
57968
  },
57969
+ {
57970
+ "type": "object",
57971
+ "description": "Search query in lowercase with leading and trailing whitespace removed and internal whitespace collapsed.",
57972
+ "required": [
57973
+ "column"
57974
+ ],
57975
+ "properties": {
57976
+ "column": {
57977
+ "type": "string",
57978
+ "enum": [
57979
+ "eventNormalizedSearchQuery"
57980
+ ]
57981
+ }
57982
+ }
57983
+ },
57484
57984
  {
57485
57985
  "type": "object",
57486
57986
  "required": [
@@ -57495,6 +57995,21 @@
57495
57995
  }
57496
57996
  }
57497
57997
  },
57998
+ {
57999
+ "type": "object",
58000
+ "description": "Clicked search result position bucket. Null when rank was not recorded.",
58001
+ "required": [
58002
+ "column"
58003
+ ],
58004
+ "properties": {
58005
+ "column": {
58006
+ "type": "string",
58007
+ "enum": [
58008
+ "eventSearchResultPositionBucket"
58009
+ ]
58010
+ }
58011
+ }
58012
+ },
57498
58013
  {
57499
58014
  "type": "object",
57500
58015
  "required": [
@@ -58522,214 +59037,270 @@
58522
59037
  "column": {
58523
59038
  "type": "string",
58524
59039
  "enum": [
58525
- "visitorGeoPoint"
59040
+ "visitorGeoPoint"
59041
+ ]
59042
+ },
59043
+ "values": {
59044
+ "type": "array",
59045
+ "items": {
59046
+ "type": [
59047
+ "object",
59048
+ "null"
59049
+ ],
59050
+ "required": [
59051
+ "latitude",
59052
+ "longitude",
59053
+ "h3"
59054
+ ],
59055
+ "properties": {
59056
+ "latitude": {
59057
+ "type": "number"
59058
+ },
59059
+ "longitude": {
59060
+ "type": "number"
59061
+ },
59062
+ "h3": {
59063
+ "type": "string"
59064
+ }
59065
+ }
59066
+ }
59067
+ }
59068
+ }
59069
+ },
59070
+ {
59071
+ "type": "object",
59072
+ "required": [
59073
+ "column",
59074
+ "values"
59075
+ ],
59076
+ "properties": {
59077
+ "column": {
59078
+ "type": "string",
59079
+ "enum": [
59080
+ "visitorLanguage"
59081
+ ]
59082
+ },
59083
+ "values": {
59084
+ "type": "array",
59085
+ "items": {
59086
+ "type": [
59087
+ "string",
59088
+ "null"
59089
+ ]
59090
+ }
59091
+ }
59092
+ }
59093
+ },
59094
+ {
59095
+ "type": "object",
59096
+ "required": [
59097
+ "column",
59098
+ "values"
59099
+ ],
59100
+ "properties": {
59101
+ "column": {
59102
+ "type": "string",
59103
+ "enum": [
59104
+ "visitorUserAgent"
59105
+ ]
59106
+ },
59107
+ "values": {
59108
+ "type": "array",
59109
+ "items": {
59110
+ "type": "string"
59111
+ }
59112
+ }
59113
+ }
59114
+ },
59115
+ {
59116
+ "type": "object",
59117
+ "required": [
59118
+ "column",
59119
+ "values"
59120
+ ],
59121
+ "properties": {
59122
+ "column": {
59123
+ "type": "string",
59124
+ "enum": [
59125
+ "visitorId"
59126
+ ]
59127
+ },
59128
+ "values": {
59129
+ "type": "array",
59130
+ "items": {
59131
+ "type": "string"
59132
+ }
59133
+ }
59134
+ }
59135
+ },
59136
+ {
59137
+ "type": "object",
59138
+ "required": [
59139
+ "column",
59140
+ "values"
59141
+ ],
59142
+ "properties": {
59143
+ "column": {
59144
+ "type": "string",
59145
+ "enum": [
59146
+ "eventLinkTargetDomain"
59147
+ ]
59148
+ },
59149
+ "values": {
59150
+ "type": "array",
59151
+ "items": {
59152
+ "type": [
59153
+ "string",
59154
+ "null"
59155
+ ]
59156
+ }
59157
+ }
59158
+ }
59159
+ },
59160
+ {
59161
+ "type": "object",
59162
+ "required": [
59163
+ "column",
59164
+ "values"
59165
+ ],
59166
+ "properties": {
59167
+ "column": {
59168
+ "type": "string",
59169
+ "enum": [
59170
+ "eventAPIOperationPath"
59171
+ ]
59172
+ },
59173
+ "values": {
59174
+ "type": "array",
59175
+ "items": {
59176
+ "type": [
59177
+ "string",
59178
+ "null"
59179
+ ]
59180
+ }
59181
+ }
59182
+ }
59183
+ },
59184
+ {
59185
+ "type": "object",
59186
+ "required": [
59187
+ "column",
59188
+ "values"
59189
+ ],
59190
+ "properties": {
59191
+ "column": {
59192
+ "type": "string",
59193
+ "enum": [
59194
+ "eventAPIOperationMethod"
59195
+ ]
59196
+ },
59197
+ "values": {
59198
+ "type": "array",
59199
+ "items": {
59200
+ "type": [
59201
+ "string",
59202
+ "null"
59203
+ ]
59204
+ }
59205
+ }
59206
+ }
59207
+ },
59208
+ {
59209
+ "type": "object",
59210
+ "required": [
59211
+ "column",
59212
+ "values"
59213
+ ],
59214
+ "properties": {
59215
+ "column": {
59216
+ "type": "string",
59217
+ "enum": [
59218
+ "eventSearchQuery"
59219
+ ]
59220
+ },
59221
+ "values": {
59222
+ "type": "array",
59223
+ "items": {
59224
+ "type": "string"
59225
+ }
59226
+ }
59227
+ }
59228
+ },
59229
+ {
59230
+ "type": "object",
59231
+ "description": "Search query in lowercase with leading and trailing whitespace removed and internal whitespace collapsed.",
59232
+ "required": [
59233
+ "column",
59234
+ "values"
59235
+ ],
59236
+ "properties": {
59237
+ "column": {
59238
+ "type": "string",
59239
+ "enum": [
59240
+ "eventNormalizedSearchQuery"
59241
+ ]
59242
+ },
59243
+ "values": {
59244
+ "type": "array",
59245
+ "items": {
59246
+ "type": "string"
59247
+ }
59248
+ }
59249
+ }
59250
+ },
59251
+ {
59252
+ "type": "object",
59253
+ "required": [
59254
+ "column",
59255
+ "values"
59256
+ ],
59257
+ "properties": {
59258
+ "column": {
59259
+ "type": "string",
59260
+ "enum": [
59261
+ "eventSearchResultRecordId"
59262
+ ]
59263
+ },
59264
+ "values": {
59265
+ "type": "array",
59266
+ "items": {
59267
+ "type": [
59268
+ "string",
59269
+ "null"
59270
+ ]
59271
+ }
59272
+ }
59273
+ }
59274
+ },
59275
+ {
59276
+ "type": "object",
59277
+ "description": "Clicked search result position bucket. Null when rank was not recorded.",
59278
+ "required": [
59279
+ "column",
59280
+ "values"
59281
+ ],
59282
+ "properties": {
59283
+ "column": {
59284
+ "type": "string",
59285
+ "enum": [
59286
+ "eventSearchResultPositionBucket"
58526
59287
  ]
58527
59288
  },
58528
59289
  "values": {
58529
59290
  "type": "array",
58530
59291
  "items": {
58531
- "type": [
58532
- "object",
58533
- "null"
58534
- ],
58535
- "required": [
58536
- "latitude",
58537
- "longitude",
58538
- "h3"
58539
- ],
58540
- "properties": {
58541
- "latitude": {
58542
- "type": "number"
58543
- },
58544
- "longitude": {
58545
- "type": "number"
59292
+ "oneOf": [
59293
+ {
59294
+ "type": "null"
58546
59295
  },
58547
- "h3": {
58548
- "type": "string"
59296
+ {
59297
+ "type": "string",
59298
+ "enum": [
59299
+ "first",
59300
+ "secondToFourth",
59301
+ "fifthOrLater"
59302
+ ]
58549
59303
  }
58550
- }
58551
- }
58552
- }
58553
- }
58554
- },
58555
- {
58556
- "type": "object",
58557
- "required": [
58558
- "column",
58559
- "values"
58560
- ],
58561
- "properties": {
58562
- "column": {
58563
- "type": "string",
58564
- "enum": [
58565
- "visitorLanguage"
58566
- ]
58567
- },
58568
- "values": {
58569
- "type": "array",
58570
- "items": {
58571
- "type": [
58572
- "string",
58573
- "null"
58574
- ]
58575
- }
58576
- }
58577
- }
58578
- },
58579
- {
58580
- "type": "object",
58581
- "required": [
58582
- "column",
58583
- "values"
58584
- ],
58585
- "properties": {
58586
- "column": {
58587
- "type": "string",
58588
- "enum": [
58589
- "visitorUserAgent"
58590
- ]
58591
- },
58592
- "values": {
58593
- "type": "array",
58594
- "items": {
58595
- "type": "string"
58596
- }
58597
- }
58598
- }
58599
- },
58600
- {
58601
- "type": "object",
58602
- "required": [
58603
- "column",
58604
- "values"
58605
- ],
58606
- "properties": {
58607
- "column": {
58608
- "type": "string",
58609
- "enum": [
58610
- "visitorId"
58611
- ]
58612
- },
58613
- "values": {
58614
- "type": "array",
58615
- "items": {
58616
- "type": "string"
58617
- }
58618
- }
58619
- }
58620
- },
58621
- {
58622
- "type": "object",
58623
- "required": [
58624
- "column",
58625
- "values"
58626
- ],
58627
- "properties": {
58628
- "column": {
58629
- "type": "string",
58630
- "enum": [
58631
- "eventLinkTargetDomain"
58632
- ]
58633
- },
58634
- "values": {
58635
- "type": "array",
58636
- "items": {
58637
- "type": [
58638
- "string",
58639
- "null"
58640
- ]
58641
- }
58642
- }
58643
- }
58644
- },
58645
- {
58646
- "type": "object",
58647
- "required": [
58648
- "column",
58649
- "values"
58650
- ],
58651
- "properties": {
58652
- "column": {
58653
- "type": "string",
58654
- "enum": [
58655
- "eventAPIOperationPath"
58656
- ]
58657
- },
58658
- "values": {
58659
- "type": "array",
58660
- "items": {
58661
- "type": [
58662
- "string",
58663
- "null"
58664
- ]
58665
- }
58666
- }
58667
- }
58668
- },
58669
- {
58670
- "type": "object",
58671
- "required": [
58672
- "column",
58673
- "values"
58674
- ],
58675
- "properties": {
58676
- "column": {
58677
- "type": "string",
58678
- "enum": [
58679
- "eventAPIOperationMethod"
58680
- ]
58681
- },
58682
- "values": {
58683
- "type": "array",
58684
- "items": {
58685
- "type": [
58686
- "string",
58687
- "null"
58688
- ]
58689
- }
58690
- }
58691
- }
58692
- },
58693
- {
58694
- "type": "object",
58695
- "required": [
58696
- "column",
58697
- "values"
58698
- ],
58699
- "properties": {
58700
- "column": {
58701
- "type": "string",
58702
- "enum": [
58703
- "eventSearchQuery"
58704
- ]
58705
- },
58706
- "values": {
58707
- "type": "array",
58708
- "items": {
58709
- "type": "string"
58710
- }
58711
- }
58712
- }
58713
- },
58714
- {
58715
- "type": "object",
58716
- "required": [
58717
- "column",
58718
- "values"
58719
- ],
58720
- "properties": {
58721
- "column": {
58722
- "type": "string",
58723
- "enum": [
58724
- "eventSearchResultRecordId"
58725
- ]
58726
- },
58727
- "values": {
58728
- "type": "array",
58729
- "items": {
58730
- "type": [
58731
- "string",
58732
- "null"
58733
59304
  ]
58734
59305
  }
58735
59306
  }
@@ -59216,12 +59787,62 @@
59216
59787
  "minimum": 1,
59217
59788
  "maximum": 1000
59218
59789
  },
59790
+ "includeSearchRankTrackingStart": {
59791
+ "type": "boolean",
59792
+ "description": "Return the site's earliest recorded ranked browser search open by a human. The date is independent of the query's range and filters."
59793
+ },
59794
+ "includeLowSearchResultPages": {
59795
+ "type": "boolean",
59796
+ "description": "Count only search opens at position 5 or later, and return page details for each query. Group by eventNormalizedSearchQuery alone. The page size is capped at 50."
59797
+ },
59219
59798
  "page": {
59220
59799
  "type": "string",
59221
59800
  "description": "The `next.page` value of a previous result, to fetch the rows that follow it. Send the rest of the query unchanged. Relative ranges stay fixed to the time of the first page, but events recorded while paging can still move rows between pages."
59222
59801
  }
59223
59802
  }
59224
59803
  },
59804
+ "SiteInsightsLowSearchResultPage": {
59805
+ "type": "object",
59806
+ "required": [
59807
+ "query",
59808
+ "page",
59809
+ "medianPosition",
59810
+ "otherPagesCount"
59811
+ ],
59812
+ "properties": {
59813
+ "query": {
59814
+ "type": "string",
59815
+ "description": "Normalized search query."
59816
+ },
59817
+ "page": {
59818
+ "type": "object",
59819
+ "description": "The page with the most opens at position 5 or later for this query.",
59820
+ "required": [
59821
+ "space",
59822
+ "page"
59823
+ ],
59824
+ "properties": {
59825
+ "space": {
59826
+ "type": "string",
59827
+ "description": "ID of the space that contains the opened page."
59828
+ },
59829
+ "page": {
59830
+ "type": "string",
59831
+ "description": "ID of the opened page."
59832
+ }
59833
+ }
59834
+ },
59835
+ "medianPosition": {
59836
+ "type": "number",
59837
+ "description": "Median position across opens of this page at position 5 or later."
59838
+ },
59839
+ "otherPagesCount": {
59840
+ "type": "integer",
59841
+ "minimum": 0,
59842
+ "description": "Number of other distinct pages opened at position 5 or later for this query."
59843
+ }
59844
+ }
59845
+ },
59225
59846
  "SiteInsightsQueryEventsAggregationResult": {
59226
59847
  "allOf": [
59227
59848
  {
@@ -59233,6 +59854,21 @@
59233
59854
  "columns"
59234
59855
  ],
59235
59856
  "properties": {
59857
+ "searchRankTrackingStart": {
59858
+ "type": [
59859
+ "string",
59860
+ "null"
59861
+ ],
59862
+ "format": "date-time",
59863
+ "description": "Returned when requested. Null if the site has no recorded ranked search opens."
59864
+ },
59865
+ "lowSearchResultPages": {
59866
+ "type": "array",
59867
+ "description": "Returned when requested. Queries with no page opens are omitted.",
59868
+ "items": {
59869
+ "$ref": "#/components/schemas/SiteInsightsLowSearchResultPage"
59870
+ }
59871
+ },
59236
59872
  "columns": {
59237
59873
  "type": "array",
59238
59874
  "items": {
@@ -60075,7 +60711,8 @@
60075
60711
  "type": "string",
60076
60712
  "enum": [
60077
60713
  "cpu",
60078
- "allocations"
60714
+ "allocations",
60715
+ "heap-snapshot"
60079
60716
  ],
60080
60717
  "description": "The profiler selected for this session. Earlier sessions without this field use CPU profiling."
60081
60718
  },
@@ -62347,6 +62984,34 @@
62347
62984
  "$ref": "#/components/schemas/GitSyncSiteStructureNode"
62348
62985
  }
62349
62986
  },
62987
+ "GitSyncSiteOpenAPISpecPath": {
62988
+ "type": "string",
62989
+ "description": "Path of a YAML or JSON file, relative to the directory holding\n`gitbook-docs.yaml`. The path must stay inside that directory.\n",
62990
+ "minLength": 1,
62991
+ "maxLength": 1024,
62992
+ "pattern": "\\.(ya?ml|json)$"
62993
+ },
62994
+ "GitSyncSiteOpenAPISpec": {
62995
+ "description": "An OpenAPI specification imported from the repository. Either the path of\nthe specification file, or an object with the file as `source`.\n",
62996
+ "oneOf": [
62997
+ {
62998
+ "$ref": "#/components/schemas/GitSyncSiteOpenAPISpecPath"
62999
+ },
63000
+ {
63001
+ "type": "object",
63002
+ "additionalProperties": false,
63003
+ "properties": {
63004
+ "source": {
63005
+ "$ref": "#/components/schemas/GitSyncSiteOpenAPISpecPath",
63006
+ "description": "Path of the specification file."
63007
+ }
63008
+ },
63009
+ "required": [
63010
+ "source"
63011
+ ]
63012
+ }
63013
+ ]
63014
+ },
62350
63015
  "GitSyncSiteConfig": {
62351
63016
  "type": "object",
62352
63017
  "description": "Schema for a site `gitbook-docs.yaml` file — the canonical contract for what\ncan be authored in Git Sync to drive a site's structure.\n\nThe file lives at the root of the site's project directory in the synced\nrepository. It names the site and maps the repository's content directories\nonto the site's navigation.\n",
@@ -62381,12 +63046,37 @@
62381
63046
  "title",
62382
63047
  "structure"
62383
63048
  ]
63049
+ },
63050
+ "openapi": {
63051
+ "type": "object",
63052
+ "description": "OpenAPI specifications imported from the repository, keyed by the slug\nof the organization's specification they update. Each value is either\nthe path of the specification file, or an object with the file as\n`source`:\n\n```yaml\nopenapi:\n petstore: ./petstore.yaml\n billing:\n source: ./billing.yaml\n```\n\nThis is in early rollout: it may not take effect for your organization\nyet, in which case listed specifications are not imported.\n\nEach commit that changes a listed file updates the specification, which\nis created private if the organization has none with that slug. Changes\nmade in GitBook are not written back to the repository: the next commit\nto the file replaces them. Removing an entry leaves the specification in\nGitBook.\n",
63053
+ "maxProperties": 50,
63054
+ "propertyNames": {
63055
+ "$ref": "#/components/schemas/OpenAPISpecSlug"
63056
+ },
63057
+ "additionalProperties": {
63058
+ "$ref": "#/components/schemas/GitSyncSiteOpenAPISpec"
63059
+ }
62384
63060
  }
62385
63061
  },
62386
63062
  "required": [
62387
63063
  "site"
62388
63064
  ]
62389
63065
  },
63066
+ "SCIMConnectionLabel": {
63067
+ "type": "string",
63068
+ "description": "Name of the SCIM connection, shown to organization admins.",
63069
+ "minLength": 1,
63070
+ "maxLength": 100
63071
+ },
63072
+ "SiteRevisionChangeType": {
63073
+ "type": "string",
63074
+ "description": "The type of change between two site revisions.",
63075
+ "enum": [
63076
+ "space_content_edited",
63077
+ "openapi_spec_edited"
63078
+ ]
63079
+ },
62390
63080
  "IntegrationEnvironmentSpaceInstallation": {
62391
63081
  "allOf": [
62392
63082
  {
@@ -64454,25 +65144,6 @@
64454
65144
  "organization"
64455
65145
  ]
64456
65146
  },
64457
- "APIChannelOrganizationSCIMConnections": {
64458
- "type": "object",
64459
- "description": "Subscription channel for changes in the SCIM connections of an organization.",
64460
- "properties": {
64461
- "channel": {
64462
- "type": "string",
64463
- "enum": [
64464
- "organization-scim-connections"
64465
- ]
64466
- },
64467
- "organization": {
64468
- "type": "string"
64469
- }
64470
- },
64471
- "required": [
64472
- "channel",
64473
- "organization"
64474
- ]
64475
- },
64476
65147
  "APIChannelOrganizationDomains": {
64477
65148
  "type": "object",
64478
65149
  "description": "Subscription channel for changes in the email domains of an organization.",
@@ -65401,9 +66072,6 @@
65401
66072
  {
65402
66073
  "$ref": "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
65403
66074
  },
65404
- {
65405
- "$ref": "#/components/schemas/APIChannelOrganizationSCIMConnections"
65406
- },
65407
66075
  {
65408
66076
  "$ref": "#/components/schemas/APIChannelOrganizationDomains"
65409
66077
  },
@@ -66354,8 +67022,8 @@
66354
67022
  }
66355
67023
  }
66356
67024
  },
66357
- "PreconditionFailedError": {
66358
- "description": "PreconditionFailed",
67025
+ "ForbiddenError": {
67026
+ "description": "Forbidden",
66359
67027
  "content": {
66360
67028
  "application/json": {
66361
67029
  "schema": {
@@ -66371,7 +67039,7 @@
66371
67039
  "type": "integer",
66372
67040
  "format": "int32",
66373
67041
  "enum": [
66374
- 412
67042
+ 403
66375
67043
  ]
66376
67044
  },
66377
67045
  "message": {
@@ -66388,8 +67056,8 @@
66388
67056
  }
66389
67057
  }
66390
67058
  },
66391
- "ForbiddenError": {
66392
- "description": "Forbidden",
67059
+ "PreconditionFailedError": {
67060
+ "description": "PreconditionFailed",
66393
67061
  "content": {
66394
67062
  "application/json": {
66395
67063
  "schema": {
@@ -66405,7 +67073,7 @@
66405
67073
  "type": "integer",
66406
67074
  "format": "int32",
66407
67075
  "enum": [
66408
- 403
67076
+ 412
66409
67077
  ]
66410
67078
  },
66411
67079
  "message": {