@gitbook/api 0.214.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
  }
@@ -10624,6 +10760,15 @@
10624
10760
  },
10625
10761
  {
10626
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
+ }
10627
10772
  }
10628
10773
  ],
10629
10774
  "responses": {
@@ -12489,279 +12634,6 @@
12489
12634
  }
12490
12635
  }
12491
12636
  },
12492
- "/orgs/{organizationId}/scim/connections": {
12493
- "get": {
12494
- "operationId": "listOrganizationSCIMConnections",
12495
- "summary": "List SCIM connections",
12496
- "tags": [
12497
- "scim"
12498
- ],
12499
- "security": [
12500
- {
12501
- "user-internal": []
12502
- }
12503
- ],
12504
- "parameters": [
12505
- {
12506
- "$ref": "#/components/parameters/organizationId"
12507
- }
12508
- ],
12509
- "responses": {
12510
- "200": {
12511
- "description": "OK",
12512
- "content": {
12513
- "application/json": {
12514
- "schema": {
12515
- "allOf": [
12516
- {
12517
- "$ref": "#/components/schemas/List"
12518
- },
12519
- {
12520
- "type": "object",
12521
- "required": [
12522
- "items"
12523
- ],
12524
- "properties": {
12525
- "items": {
12526
- "type": "array",
12527
- "items": {
12528
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12529
- }
12530
- }
12531
- }
12532
- }
12533
- ]
12534
- }
12535
- }
12536
- }
12537
- },
12538
- "404": {
12539
- "$ref": "#/components/responses/NotFoundError"
12540
- }
12541
- }
12542
- },
12543
- "post": {
12544
- "operationId": "createOrganizationSCIMConnection",
12545
- "summary": "Create a SCIM connection",
12546
- "description": "Creates a SCIM connection and its token. The token is only returned in this response.\n",
12547
- "tags": [
12548
- "scim"
12549
- ],
12550
- "security": [
12551
- {
12552
- "user-internal": []
12553
- }
12554
- ],
12555
- "parameters": [
12556
- {
12557
- "$ref": "#/components/parameters/organizationId"
12558
- }
12559
- ],
12560
- "requestBody": {
12561
- "required": true,
12562
- "content": {
12563
- "application/json": {
12564
- "schema": {
12565
- "type": "object",
12566
- "properties": {
12567
- "label": {
12568
- "$ref": "#/components/schemas/SCIMConnectionLabel"
12569
- },
12570
- "provider": {
12571
- "$ref": "#/components/schemas/IdPConnectionProvider"
12572
- }
12573
- },
12574
- "required": [
12575
- "label",
12576
- "provider"
12577
- ]
12578
- }
12579
- }
12580
- }
12581
- },
12582
- "responses": {
12583
- "201": {
12584
- "description": "SCIM connection created",
12585
- "content": {
12586
- "application/json": {
12587
- "schema": {
12588
- "$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
12589
- }
12590
- }
12591
- }
12592
- },
12593
- "400": {
12594
- "$ref": "#/components/responses/BadRequestError"
12595
- },
12596
- "404": {
12597
- "$ref": "#/components/responses/NotFoundError"
12598
- }
12599
- }
12600
- }
12601
- },
12602
- "/orgs/{organizationId}/scim/connections/{scimConnectionId}": {
12603
- "get": {
12604
- "operationId": "getOrganizationSCIMConnection",
12605
- "summary": "Get a SCIM connection by its ID",
12606
- "tags": [
12607
- "scim"
12608
- ],
12609
- "security": [
12610
- {
12611
- "user-internal": []
12612
- }
12613
- ],
12614
- "parameters": [
12615
- {
12616
- "$ref": "#/components/parameters/organizationId"
12617
- },
12618
- {
12619
- "$ref": "#/components/parameters/scimConnectionId"
12620
- }
12621
- ],
12622
- "responses": {
12623
- "200": {
12624
- "description": "OK",
12625
- "content": {
12626
- "application/json": {
12627
- "schema": {
12628
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12629
- }
12630
- }
12631
- }
12632
- },
12633
- "404": {
12634
- "$ref": "#/components/responses/NotFoundError"
12635
- }
12636
- }
12637
- },
12638
- "patch": {
12639
- "operationId": "updateOrganizationSCIMConnection",
12640
- "summary": "Update a SCIM connection",
12641
- "tags": [
12642
- "scim"
12643
- ],
12644
- "security": [
12645
- {
12646
- "user-internal": []
12647
- }
12648
- ],
12649
- "parameters": [
12650
- {
12651
- "$ref": "#/components/parameters/organizationId"
12652
- },
12653
- {
12654
- "$ref": "#/components/parameters/scimConnectionId"
12655
- }
12656
- ],
12657
- "requestBody": {
12658
- "required": true,
12659
- "content": {
12660
- "application/json": {
12661
- "schema": {
12662
- "type": "object",
12663
- "properties": {
12664
- "label": {
12665
- "$ref": "#/components/schemas/SCIMConnectionLabel"
12666
- }
12667
- },
12668
- "required": [
12669
- "label"
12670
- ]
12671
- }
12672
- }
12673
- }
12674
- },
12675
- "responses": {
12676
- "200": {
12677
- "description": "SCIM connection updated",
12678
- "content": {
12679
- "application/json": {
12680
- "schema": {
12681
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
12682
- }
12683
- }
12684
- }
12685
- },
12686
- "400": {
12687
- "$ref": "#/components/responses/BadRequestError"
12688
- },
12689
- "404": {
12690
- "$ref": "#/components/responses/NotFoundError"
12691
- }
12692
- }
12693
- },
12694
- "delete": {
12695
- "operationId": "deleteOrganizationSCIMConnection",
12696
- "summary": "Delete a SCIM connection",
12697
- "description": "Deletes a SCIM connection. Its token stops working immediately.\n",
12698
- "tags": [
12699
- "scim"
12700
- ],
12701
- "security": [
12702
- {
12703
- "user-internal": []
12704
- }
12705
- ],
12706
- "parameters": [
12707
- {
12708
- "$ref": "#/components/parameters/organizationId"
12709
- },
12710
- {
12711
- "$ref": "#/components/parameters/scimConnectionId"
12712
- }
12713
- ],
12714
- "responses": {
12715
- "204": {
12716
- "description": "SCIM connection not found"
12717
- },
12718
- "205": {
12719
- "description": "SCIM connection deleted"
12720
- },
12721
- "404": {
12722
- "$ref": "#/components/responses/NotFoundError"
12723
- }
12724
- }
12725
- }
12726
- },
12727
- "/orgs/{organizationId}/scim/connections/{scimConnectionId}/token": {
12728
- "post": {
12729
- "operationId": "rotateOrganizationSCIMConnectionToken",
12730
- "summary": "Rotate the token of a SCIM connection",
12731
- "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",
12732
- "tags": [
12733
- "scim"
12734
- ],
12735
- "security": [
12736
- {
12737
- "user-internal": []
12738
- }
12739
- ],
12740
- "parameters": [
12741
- {
12742
- "$ref": "#/components/parameters/organizationId"
12743
- },
12744
- {
12745
- "$ref": "#/components/parameters/scimConnectionId"
12746
- }
12747
- ],
12748
- "responses": {
12749
- "200": {
12750
- "description": "Token rotated",
12751
- "content": {
12752
- "application/json": {
12753
- "schema": {
12754
- "$ref": "#/components/schemas/OrganizationSCIMConnectionWithToken"
12755
- }
12756
- }
12757
- }
12758
- },
12759
- "404": {
12760
- "$ref": "#/components/responses/NotFoundError"
12761
- }
12762
- }
12763
- }
12764
- },
12765
12637
  "/orgs/{organizationId}/sso": {
12766
12638
  "get": {
12767
12639
  "operationId": "listSSOProviderLoginsInOrganization",
@@ -22262,11 +22134,67 @@
22262
22134
  }
22263
22135
  }
22264
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
+ },
22265
22193
  "/orgs/{organizationId}/sites/{siteId}/revisions/{siteRevisionId}/content/{spaceId}": {
22266
22194
  "get": {
22267
22195
  "operationId": "getRevisionInSiteRevision",
22268
22196
  "summary": "Get the content revision of a space at a site revision",
22269
- "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.",
22270
22198
  "tags": [
22271
22199
  "sites"
22272
22200
  ],
@@ -22319,7 +22247,7 @@
22319
22247
  "get": {
22320
22248
  "operationId": "getPageInSiteRevision",
22321
22249
  "summary": "Get a page of a space at a site revision",
22322
- "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.",
22323
22251
  "tags": [
22324
22252
  "sites"
22325
22253
  ],
@@ -22387,7 +22315,7 @@
22387
22315
  "get": {
22388
22316
  "operationId": "listPageMetaLinksInSiteRevision",
22389
22317
  "summary": "List the meta links of a page at a site revision",
22390
- "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.",
22391
22319
  "tags": [
22392
22320
  "sites"
22393
22321
  ],
@@ -22437,7 +22365,7 @@
22437
22365
  "get": {
22438
22366
  "operationId": "getPageByPathInSiteRevision",
22439
22367
  "summary": "Get a page of a space by its path at a site revision",
22440
- "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.",
22441
22369
  "tags": [
22442
22370
  "sites"
22443
22371
  ],
@@ -22515,7 +22443,7 @@
22515
22443
  "get": {
22516
22444
  "operationId": "getReusableContentDocumentInSiteRevision",
22517
22445
  "summary": "Get the document of a reusable content at a site revision",
22518
- "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.",
22519
22447
  "tags": [
22520
22448
  "sites"
22521
22449
  ],
@@ -22571,7 +22499,7 @@
22571
22499
  "get": {
22572
22500
  "operationId": "getPageDocumentInSiteRevision",
22573
22501
  "summary": "Get the document of a page in a space at a site revision",
22574
- "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.",
22575
22503
  "tags": [
22576
22504
  "sites"
22577
22505
  ],
@@ -22627,7 +22555,7 @@
22627
22555
  "get": {
22628
22556
  "operationId": "getOpenAPISpecContentInSiteRevision",
22629
22557
  "summary": "Get the content of an OpenAPI spec at a site revision",
22630
- "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.",
22631
22559
  "tags": [
22632
22560
  "sites"
22633
22561
  ],
@@ -24053,7 +23981,7 @@
24053
23981
  "put": {
24054
23982
  "operationId": "bulkUpsertSiteRedirects",
24055
23983
  "summary": "Create, update, delete, or publish site redirect rules in bulk",
24056
- "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.",
24057
23985
  "x-gitbook-mcp": true,
24058
23986
  "tags": [
24059
23987
  "site-redirects"
@@ -24086,7 +24014,7 @@
24086
24014
  "redirects": {
24087
24015
  "type": "array",
24088
24016
  "minItems": 1,
24089
- "maxItems": 500,
24017
+ "maxItems": 2000,
24090
24018
  "items": {
24091
24019
  "oneOf": [
24092
24020
  {
@@ -24359,7 +24287,7 @@
24359
24287
  {
24360
24288
  "name": "search",
24361
24289
  "in": "query",
24362
- "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.",
24363
24291
  "schema": {
24364
24292
  "type": "string"
24365
24293
  }
@@ -27234,15 +27162,6 @@
27234
27162
  "type": "string"
27235
27163
  }
27236
27164
  },
27237
- "scimConnectionId": {
27238
- "name": "scimConnectionId",
27239
- "in": "path",
27240
- "required": true,
27241
- "description": "The unique id of the SCIM connection",
27242
- "schema": {
27243
- "type": "string"
27244
- }
27245
- },
27246
27165
  "openapiSpecSlug": {
27247
27166
  "name": "specSlug",
27248
27167
  "in": "path",
@@ -30580,7 +30499,8 @@
30580
30499
  "enum": [
30581
30500
  "heading-1",
30582
30501
  "heading-2",
30583
- "heading-3"
30502
+ "heading-3",
30503
+ "heading-4"
30584
30504
  ]
30585
30505
  },
30586
30506
  "key": {
@@ -35832,6 +35752,23 @@
35832
35752
  }
35833
35753
  ]
35834
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
+ },
35835
35772
  "ChangeRequestStatus": {
35836
35773
  "type": "string",
35837
35774
  "enum": [
@@ -36075,6 +36012,14 @@
36075
36012
  "type": "number",
36076
36013
  "description": "Incremental identifier of the change request"
36077
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
+ },
36078
36023
  "status": {
36079
36024
  "$ref": "#/components/schemas/ChangeRequestStatus"
36080
36025
  },
@@ -40671,6 +40616,14 @@
40671
40616
  "disabled": {
40672
40617
  "$ref": "#/components/schemas/MemberDisabled"
40673
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
+ },
40674
40627
  "joinedAt": {
40675
40628
  "description": "Date at which the user joined the organization.",
40676
40629
  "$ref": "#/components/schemas/Timestamp"
@@ -45812,6 +45765,15 @@
45812
45765
  "maxLength": 255
45813
45766
  }
45814
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
+ },
45815
45777
  "OrganizationIdPConnectionWithToken": {
45816
45778
  "description": "An identity provider connection, with the SCIM token the request created. The token can't be retrieved again.\n",
45817
45779
  "type": "object",
@@ -47701,101 +47663,6 @@
47701
47663
  "urls"
47702
47664
  ]
47703
47665
  },
47704
- "SCIMConnectionLabel": {
47705
- "type": "string",
47706
- "description": "Name of the SCIM connection, shown to organization admins.",
47707
- "minLength": 1,
47708
- "maxLength": 100
47709
- },
47710
- "OrganizationSCIMConnection": {
47711
- "type": "object",
47712
- "description": "A SCIM connection through which an identity provider provisions organization members.",
47713
- "properties": {
47714
- "object": {
47715
- "type": "string",
47716
- "description": "The object type, which is always \"scim-connection\"",
47717
- "enum": [
47718
- "scim-connection"
47719
- ]
47720
- },
47721
- "id": {
47722
- "type": "string",
47723
- "description": "Unique identifier of the SCIM connection"
47724
- },
47725
- "label": {
47726
- "$ref": "#/components/schemas/SCIMConnectionLabel"
47727
- },
47728
- "provider": {
47729
- "$ref": "#/components/schemas/IdPConnectionProvider"
47730
- },
47731
- "baseURL": {
47732
- "description": "SCIM base URL to configure in the identity provider",
47733
- "$ref": "#/components/schemas/URL"
47734
- },
47735
- "tokenHint": {
47736
- "type": "string",
47737
- "description": "Last characters of the current token, to identify it"
47738
- },
47739
- "tokenCreatedAt": {
47740
- "description": "Date the current token was created",
47741
- "$ref": "#/components/schemas/Timestamp"
47742
- },
47743
- "lastUsedAt": {
47744
- "description": "Date of the last request authenticated with the token",
47745
- "$ref": "#/components/schemas/Timestamp"
47746
- },
47747
- "createdAt": {
47748
- "description": "Date of creation",
47749
- "$ref": "#/components/schemas/Timestamp"
47750
- },
47751
- "updatedAt": {
47752
- "description": "Date of the last update",
47753
- "$ref": "#/components/schemas/Timestamp"
47754
- },
47755
- "urls": {
47756
- "type": "object",
47757
- "description": "URLs associated with the object",
47758
- "properties": {
47759
- "location": {
47760
- "description": "URL of the SCIM connection in the API",
47761
- "$ref": "#/components/schemas/URL"
47762
- }
47763
- },
47764
- "required": [
47765
- "location"
47766
- ]
47767
- }
47768
- },
47769
- "required": [
47770
- "object",
47771
- "id",
47772
- "label",
47773
- "provider",
47774
- "baseURL",
47775
- "tokenHint",
47776
- "tokenCreatedAt",
47777
- "createdAt",
47778
- "updatedAt",
47779
- "urls"
47780
- ]
47781
- },
47782
- "OrganizationSCIMConnectionWithToken": {
47783
- "description": "A SCIM connection with its token, returned only when the token is created.",
47784
- "type": "object",
47785
- "properties": {
47786
- "connection": {
47787
- "$ref": "#/components/schemas/OrganizationSCIMConnection"
47788
- },
47789
- "token": {
47790
- "type": "string",
47791
- "description": "Bearer token to configure in the identity provider. It can't be retrieved again."
47792
- }
47793
- },
47794
- "required": [
47795
- "connection",
47796
- "token"
47797
- ]
47798
- },
47799
47666
  "OrganizationSSOProviderLogin": {
47800
47667
  "type": "object",
47801
47668
  "properties": {
@@ -55196,6 +55063,541 @@
55196
55063
  }
55197
55064
  ]
55198
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
+ },
55199
55601
  "SiteSectionGroupPointer": {
55200
55602
  "type": "object",
55201
55603
  "properties": {
@@ -60309,7 +60711,8 @@
60309
60711
  "type": "string",
60310
60712
  "enum": [
60311
60713
  "cpu",
60312
- "allocations"
60714
+ "allocations",
60715
+ "heap-snapshot"
60313
60716
  ],
60314
60717
  "description": "The profiler selected for this session. Earlier sessions without this field use CPU profiling."
60315
60718
  },
@@ -62581,6 +62984,34 @@
62581
62984
  "$ref": "#/components/schemas/GitSyncSiteStructureNode"
62582
62985
  }
62583
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
+ },
62584
63015
  "GitSyncSiteConfig": {
62585
63016
  "type": "object",
62586
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",
@@ -62615,12 +63046,37 @@
62615
63046
  "title",
62616
63047
  "structure"
62617
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
+ }
62618
63060
  }
62619
63061
  },
62620
63062
  "required": [
62621
63063
  "site"
62622
63064
  ]
62623
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
+ },
62624
63080
  "IntegrationEnvironmentSpaceInstallation": {
62625
63081
  "allOf": [
62626
63082
  {
@@ -64688,25 +65144,6 @@
64688
65144
  "organization"
64689
65145
  ]
64690
65146
  },
64691
- "APIChannelOrganizationSCIMConnections": {
64692
- "type": "object",
64693
- "description": "Subscription channel for changes in the SCIM connections of an organization.",
64694
- "properties": {
64695
- "channel": {
64696
- "type": "string",
64697
- "enum": [
64698
- "organization-scim-connections"
64699
- ]
64700
- },
64701
- "organization": {
64702
- "type": "string"
64703
- }
64704
- },
64705
- "required": [
64706
- "channel",
64707
- "organization"
64708
- ]
64709
- },
64710
65147
  "APIChannelOrganizationDomains": {
64711
65148
  "type": "object",
64712
65149
  "description": "Subscription channel for changes in the email domains of an organization.",
@@ -65635,9 +66072,6 @@
65635
66072
  {
65636
66073
  "$ref": "#/components/schemas/APIChannelOrganizationTranslationsGlossary"
65637
66074
  },
65638
- {
65639
- "$ref": "#/components/schemas/APIChannelOrganizationSCIMConnections"
65640
- },
65641
66075
  {
65642
66076
  "$ref": "#/components/schemas/APIChannelOrganizationDomains"
65643
66077
  },
@@ -66588,8 +67022,8 @@
66588
67022
  }
66589
67023
  }
66590
67024
  },
66591
- "PreconditionFailedError": {
66592
- "description": "PreconditionFailed",
67025
+ "ForbiddenError": {
67026
+ "description": "Forbidden",
66593
67027
  "content": {
66594
67028
  "application/json": {
66595
67029
  "schema": {
@@ -66605,7 +67039,7 @@
66605
67039
  "type": "integer",
66606
67040
  "format": "int32",
66607
67041
  "enum": [
66608
- 412
67042
+ 403
66609
67043
  ]
66610
67044
  },
66611
67045
  "message": {
@@ -66622,8 +67056,8 @@
66622
67056
  }
66623
67057
  }
66624
67058
  },
66625
- "ForbiddenError": {
66626
- "description": "Forbidden",
67059
+ "PreconditionFailedError": {
67060
+ "description": "PreconditionFailed",
66627
67061
  "content": {
66628
67062
  "application/json": {
66629
67063
  "schema": {
@@ -66639,7 +67073,7 @@
66639
67073
  "type": "integer",
66640
67074
  "format": "int32",
66641
67075
  "enum": [
66642
- 403
67076
+ 412
66643
67077
  ]
66644
67078
  },
66645
67079
  "message": {