@gitbook/api 0.158.0 → 0.160.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/spec/openapi.json CHANGED
@@ -182,6 +182,13 @@
182
182
  "x-parent": "sites",
183
183
  "description": "Give your users a way to ask content-aware AI queries that are scoped entirely to the site's published documents.\n"
184
184
  },
185
+ {
186
+ "name": "site-context",
187
+ "x-page-title": "Site context",
188
+ "x-page-description": "Manage context records, connections, and topics for a docs site.",
189
+ "x-parent": "sites",
190
+ "description": "Manage the contextual records and topics used by your site to power AI experiences and insights.\n\n{% openapi-schemas spec=\"gitbook\" schemas=\"ContextRecord,ContextConnection,ContextTopic\" grouped=\"false\" %}\n The Site Context objects\n{% endopenapi-schemas %}\n"
191
+ },
185
192
  {
186
193
  "name": "collections",
187
194
  "x-page-icon": "folder",
@@ -470,7 +477,8 @@
470
477
  "operationId": "getAuthenticatedUser",
471
478
  "summary": "Get profile of authenticated user",
472
479
  "tags": [
473
- "users"
480
+ "users",
481
+ "critical"
474
482
  ],
475
483
  "security": [
476
484
  {
@@ -11543,6 +11551,14 @@
11543
11551
  },
11544
11552
  {
11545
11553
  "$ref": "#/components/parameters/listLimit"
11554
+ },
11555
+ {
11556
+ "name": "orderBy",
11557
+ "in": "query",
11558
+ "description": "Sort results by language key",
11559
+ "schema": {
11560
+ "$ref": "#/components/schemas/TranslationLanguage"
11561
+ }
11546
11562
  }
11547
11563
  ],
11548
11564
  "responses": {
@@ -14395,6 +14411,517 @@
14395
14411
  }
14396
14412
  }
14397
14413
  },
14414
+ "/orgs/{organizationId}/sites/{siteId}/context-records": {
14415
+ "get": {
14416
+ "operationId": "listSiteContextRecords",
14417
+ "summary": "List all context records",
14418
+ "tags": [
14419
+ "site-context"
14420
+ ],
14421
+ "security": [
14422
+ {
14423
+ "user": []
14424
+ }
14425
+ ],
14426
+ "parameters": [
14427
+ {
14428
+ "$ref": "#/components/parameters/organizationId"
14429
+ },
14430
+ {
14431
+ "$ref": "#/components/parameters/siteId"
14432
+ },
14433
+ {
14434
+ "$ref": "#/components/parameters/listPage"
14435
+ },
14436
+ {
14437
+ "$ref": "#/components/parameters/listLimit"
14438
+ },
14439
+ {
14440
+ "name": "type",
14441
+ "in": "query",
14442
+ "description": "Filter context records by type.",
14443
+ "schema": {
14444
+ "$ref": "#/components/schemas/ContextRecordType"
14445
+ }
14446
+ },
14447
+ {
14448
+ "name": "connector",
14449
+ "in": "query",
14450
+ "description": "Filter context records by connector type.",
14451
+ "schema": {
14452
+ "$ref": "#/components/schemas/ContextConnector"
14453
+ }
14454
+ },
14455
+ {
14456
+ "name": "connection",
14457
+ "in": "query",
14458
+ "description": "Filter context records by connection id.",
14459
+ "schema": {
14460
+ "type": "string"
14461
+ }
14462
+ }
14463
+ ],
14464
+ "responses": {
14465
+ "200": {
14466
+ "description": "OK",
14467
+ "content": {
14468
+ "application/json": {
14469
+ "schema": {
14470
+ "allOf": [
14471
+ {
14472
+ "$ref": "#/components/schemas/List"
14473
+ },
14474
+ {
14475
+ "type": "object",
14476
+ "required": [
14477
+ "items"
14478
+ ],
14479
+ "properties": {
14480
+ "items": {
14481
+ "type": "array",
14482
+ "items": {
14483
+ "$ref": "#/components/schemas/ContextRecord"
14484
+ }
14485
+ }
14486
+ }
14487
+ }
14488
+ ]
14489
+ }
14490
+ }
14491
+ }
14492
+ }
14493
+ }
14494
+ },
14495
+ "put": {
14496
+ "operationId": "upsertSiteContextRecords",
14497
+ "summary": "Create or update context records",
14498
+ "tags": [
14499
+ "site-context"
14500
+ ],
14501
+ "security": [
14502
+ {
14503
+ "user": []
14504
+ }
14505
+ ],
14506
+ "parameters": [
14507
+ {
14508
+ "$ref": "#/components/parameters/organizationId"
14509
+ },
14510
+ {
14511
+ "$ref": "#/components/parameters/siteId"
14512
+ }
14513
+ ],
14514
+ "requestBody": {
14515
+ "required": true,
14516
+ "content": {
14517
+ "application/json": {
14518
+ "schema": {
14519
+ "type": "array",
14520
+ "items": {
14521
+ "$ref": "#/components/schemas/ContextRecordInput"
14522
+ }
14523
+ }
14524
+ }
14525
+ }
14526
+ },
14527
+ "responses": {
14528
+ "204": {
14529
+ "description": "The context records have been created or updated"
14530
+ }
14531
+ }
14532
+ }
14533
+ },
14534
+ "/orgs/{organizationId}/sites/{siteId}/context-connections": {
14535
+ "get": {
14536
+ "operationId": "listSiteContextConnections",
14537
+ "summary": "List all context connections",
14538
+ "tags": [
14539
+ "site-context"
14540
+ ],
14541
+ "security": [
14542
+ {
14543
+ "user": []
14544
+ }
14545
+ ],
14546
+ "parameters": [
14547
+ {
14548
+ "$ref": "#/components/parameters/organizationId"
14549
+ },
14550
+ {
14551
+ "$ref": "#/components/parameters/siteId"
14552
+ },
14553
+ {
14554
+ "$ref": "#/components/parameters/listPage"
14555
+ },
14556
+ {
14557
+ "$ref": "#/components/parameters/listLimit"
14558
+ }
14559
+ ],
14560
+ "responses": {
14561
+ "200": {
14562
+ "description": "OK",
14563
+ "content": {
14564
+ "application/json": {
14565
+ "schema": {
14566
+ "allOf": [
14567
+ {
14568
+ "$ref": "#/components/schemas/List"
14569
+ },
14570
+ {
14571
+ "type": "object",
14572
+ "required": [
14573
+ "items"
14574
+ ],
14575
+ "properties": {
14576
+ "items": {
14577
+ "type": "array",
14578
+ "items": {
14579
+ "$ref": "#/components/schemas/ContextConnection"
14580
+ }
14581
+ }
14582
+ }
14583
+ }
14584
+ ]
14585
+ }
14586
+ }
14587
+ }
14588
+ }
14589
+ }
14590
+ },
14591
+ "post": {
14592
+ "operationId": "createSiteContextConnection",
14593
+ "summary": "Create a context connection",
14594
+ "tags": [
14595
+ "site-context"
14596
+ ],
14597
+ "security": [
14598
+ {
14599
+ "user": []
14600
+ }
14601
+ ],
14602
+ "parameters": [
14603
+ {
14604
+ "$ref": "#/components/parameters/organizationId"
14605
+ },
14606
+ {
14607
+ "$ref": "#/components/parameters/siteId"
14608
+ }
14609
+ ],
14610
+ "requestBody": {
14611
+ "required": true,
14612
+ "content": {
14613
+ "application/json": {
14614
+ "schema": {
14615
+ "allOf": [
14616
+ {
14617
+ "$ref": "#/components/schemas/ContextConnectorSetup"
14618
+ },
14619
+ {
14620
+ "type": "object",
14621
+ "properties": {
14622
+ "usageSettings": {
14623
+ "$ref": "#/components/schemas/ContextUsageSettings"
14624
+ }
14625
+ }
14626
+ }
14627
+ ]
14628
+ }
14629
+ }
14630
+ }
14631
+ },
14632
+ "responses": {
14633
+ "201": {
14634
+ "description": "Created connection",
14635
+ "content": {
14636
+ "application/json": {
14637
+ "schema": {
14638
+ "$ref": "#/components/schemas/ContextConnection"
14639
+ }
14640
+ }
14641
+ }
14642
+ }
14643
+ }
14644
+ }
14645
+ },
14646
+ "/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}": {
14647
+ "get": {
14648
+ "operationId": "getSiteContextConnectionById",
14649
+ "summary": "Get a context connection",
14650
+ "tags": [
14651
+ "site-context"
14652
+ ],
14653
+ "security": [
14654
+ {
14655
+ "user": []
14656
+ }
14657
+ ],
14658
+ "parameters": [
14659
+ {
14660
+ "$ref": "#/components/parameters/organizationId"
14661
+ },
14662
+ {
14663
+ "$ref": "#/components/parameters/siteId"
14664
+ },
14665
+ {
14666
+ "$ref": "#/components/parameters/siteContextConnectionId"
14667
+ }
14668
+ ],
14669
+ "responses": {
14670
+ "200": {
14671
+ "description": "OK",
14672
+ "content": {
14673
+ "application/json": {
14674
+ "schema": {
14675
+ "$ref": "#/components/schemas/ContextConnection"
14676
+ }
14677
+ }
14678
+ }
14679
+ }
14680
+ }
14681
+ },
14682
+ "patch": {
14683
+ "operationId": "updateSiteContextConnectionById",
14684
+ "summary": "Update a context connection",
14685
+ "tags": [
14686
+ "site-context"
14687
+ ],
14688
+ "security": [
14689
+ {
14690
+ "user": []
14691
+ }
14692
+ ],
14693
+ "parameters": [
14694
+ {
14695
+ "$ref": "#/components/parameters/organizationId"
14696
+ },
14697
+ {
14698
+ "$ref": "#/components/parameters/siteId"
14699
+ },
14700
+ {
14701
+ "$ref": "#/components/parameters/siteContextConnectionId"
14702
+ }
14703
+ ],
14704
+ "requestBody": {
14705
+ "required": true,
14706
+ "content": {
14707
+ "application/json": {
14708
+ "schema": {
14709
+ "anyOf": [
14710
+ {
14711
+ "$ref": "#/components/schemas/ContextConnectorSetup"
14712
+ },
14713
+ {
14714
+ "type": "object",
14715
+ "properties": {
14716
+ "usageSettings": {
14717
+ "$ref": "#/components/schemas/ContextUsageSettings"
14718
+ },
14719
+ "label": {
14720
+ "$ref": "#/components/schemas/ContextConnectionLabel"
14721
+ }
14722
+ }
14723
+ }
14724
+ ]
14725
+ }
14726
+ }
14727
+ }
14728
+ },
14729
+ "responses": {
14730
+ "200": {
14731
+ "description": "OK",
14732
+ "content": {
14733
+ "application/json": {
14734
+ "schema": {
14735
+ "$ref": "#/components/schemas/ContextConnection"
14736
+ }
14737
+ }
14738
+ }
14739
+ }
14740
+ }
14741
+ }
14742
+ },
14743
+ "/orgs/{organizationId}/sites/{siteId}/context-connections/{siteContextConnectionId}/sync": {
14744
+ "post": {
14745
+ "operationId": "syncSiteContextConnection",
14746
+ "summary": "Trigger a sync for a context connection",
14747
+ "tags": [
14748
+ "site-context"
14749
+ ],
14750
+ "security": [
14751
+ {
14752
+ "user": []
14753
+ }
14754
+ ],
14755
+ "parameters": [
14756
+ {
14757
+ "$ref": "#/components/parameters/organizationId"
14758
+ },
14759
+ {
14760
+ "$ref": "#/components/parameters/siteId"
14761
+ },
14762
+ {
14763
+ "$ref": "#/components/parameters/siteContextConnectionId"
14764
+ }
14765
+ ],
14766
+ "responses": {
14767
+ "204": {
14768
+ "description": "Sync started"
14769
+ },
14770
+ "400": {
14771
+ "description": "Connection was synced less than an hour ago or invalid connector",
14772
+ "$ref": "#/components/responses/BadRequestError"
14773
+ }
14774
+ }
14775
+ }
14776
+ },
14777
+ "/orgs/{organizationId}/sites/{siteId}/context-topics": {
14778
+ "get": {
14779
+ "operationId": "listSiteContextTopics",
14780
+ "summary": "List all context topics",
14781
+ "tags": [
14782
+ "site-context"
14783
+ ],
14784
+ "security": [
14785
+ {
14786
+ "user": []
14787
+ }
14788
+ ],
14789
+ "parameters": [
14790
+ {
14791
+ "$ref": "#/components/parameters/organizationId"
14792
+ },
14793
+ {
14794
+ "$ref": "#/components/parameters/siteId"
14795
+ },
14796
+ {
14797
+ "$ref": "#/components/parameters/listPage"
14798
+ },
14799
+ {
14800
+ "$ref": "#/components/parameters/listLimit"
14801
+ }
14802
+ ],
14803
+ "responses": {
14804
+ "200": {
14805
+ "description": "OK",
14806
+ "content": {
14807
+ "application/json": {
14808
+ "schema": {
14809
+ "allOf": [
14810
+ {
14811
+ "$ref": "#/components/schemas/List"
14812
+ },
14813
+ {
14814
+ "type": "object",
14815
+ "required": [
14816
+ "items"
14817
+ ],
14818
+ "properties": {
14819
+ "items": {
14820
+ "type": "array",
14821
+ "items": {
14822
+ "$ref": "#/components/schemas/ContextTopic"
14823
+ }
14824
+ }
14825
+ }
14826
+ }
14827
+ ]
14828
+ }
14829
+ }
14830
+ }
14831
+ }
14832
+ }
14833
+ }
14834
+ },
14835
+ "/orgs/{organizationId}/sites/{siteId}/context-topics/{siteContextTopicId}": {
14836
+ "get": {
14837
+ "operationId": "getSiteContextTopicById",
14838
+ "summary": "Get a context topic",
14839
+ "tags": [
14840
+ "site-context"
14841
+ ],
14842
+ "security": [
14843
+ {
14844
+ "user": []
14845
+ }
14846
+ ],
14847
+ "parameters": [
14848
+ {
14849
+ "$ref": "#/components/parameters/organizationId"
14850
+ },
14851
+ {
14852
+ "$ref": "#/components/parameters/siteId"
14853
+ },
14854
+ {
14855
+ "$ref": "#/components/parameters/siteContextTopicId"
14856
+ }
14857
+ ],
14858
+ "responses": {
14859
+ "200": {
14860
+ "description": "OK",
14861
+ "content": {
14862
+ "application/json": {
14863
+ "schema": {
14864
+ "$ref": "#/components/schemas/ContextTopic"
14865
+ }
14866
+ }
14867
+ }
14868
+ }
14869
+ }
14870
+ },
14871
+ "patch": {
14872
+ "operationId": "updateSiteContextTopicById",
14873
+ "summary": "Update a context topic",
14874
+ "tags": [
14875
+ "site-context"
14876
+ ],
14877
+ "security": [
14878
+ {
14879
+ "user": []
14880
+ }
14881
+ ],
14882
+ "parameters": [
14883
+ {
14884
+ "$ref": "#/components/parameters/organizationId"
14885
+ },
14886
+ {
14887
+ "$ref": "#/components/parameters/siteId"
14888
+ },
14889
+ {
14890
+ "$ref": "#/components/parameters/siteContextTopicId"
14891
+ }
14892
+ ],
14893
+ "requestBody": {
14894
+ "required": true,
14895
+ "content": {
14896
+ "application/json": {
14897
+ "schema": {
14898
+ "type": "object",
14899
+ "properties": {
14900
+ "usageSettings": {
14901
+ "$ref": "#/components/schemas/ContextUsageSettings"
14902
+ }
14903
+ },
14904
+ "required": [
14905
+ "usageSettings"
14906
+ ]
14907
+ }
14908
+ }
14909
+ }
14910
+ },
14911
+ "responses": {
14912
+ "200": {
14913
+ "description": "OK",
14914
+ "content": {
14915
+ "application/json": {
14916
+ "schema": {
14917
+ "$ref": "#/components/schemas/ContextTopic"
14918
+ }
14919
+ }
14920
+ }
14921
+ }
14922
+ }
14923
+ }
14924
+ },
14398
14925
  "/orgs/{organizationId}/sites/{siteId}/site-spaces/{siteSpaceId}": {
14399
14926
  "patch": {
14400
14927
  "operationId": "updateSiteSpaceById",
@@ -14819,6 +15346,40 @@
14819
15346
  ]
14820
15347
  }
14821
15348
  ]
15349
+ },
15350
+ "codeTheme": {
15351
+ "description": "The code theme to use. Set to null to reset the override.",
15352
+ "type": "object",
15353
+ "properties": {
15354
+ "default": {
15355
+ "oneOf": [
15356
+ {
15357
+ "$ref": "#/components/schemas/CustomizationThemedCodeTheme"
15358
+ },
15359
+ {
15360
+ "type": "string",
15361
+ "nullable": true,
15362
+ "enum": [
15363
+ null
15364
+ ]
15365
+ }
15366
+ ]
15367
+ },
15368
+ "openapi": {
15369
+ "oneOf": [
15370
+ {
15371
+ "$ref": "#/components/schemas/CustomizationThemedCodeTheme"
15372
+ },
15373
+ {
15374
+ "type": "string",
15375
+ "nullable": true,
15376
+ "enum": [
15377
+ null
15378
+ ]
15379
+ }
15380
+ ]
15381
+ }
15382
+ }
14822
15383
  }
14823
15384
  }
14824
15385
  },
@@ -17393,6 +17954,24 @@
17393
17954
  "type": "string"
17394
17955
  }
17395
17956
  },
17957
+ "siteContextConnectionId": {
17958
+ "name": "siteContextConnectionId",
17959
+ "in": "path",
17960
+ "required": true,
17961
+ "description": "The unique id of the context connection",
17962
+ "schema": {
17963
+ "type": "string"
17964
+ }
17965
+ },
17966
+ "siteContextTopicId": {
17967
+ "name": "siteContextTopicId",
17968
+ "in": "path",
17969
+ "required": true,
17970
+ "description": "The unique id of the context topic",
17971
+ "schema": {
17972
+ "type": "string"
17973
+ }
17974
+ },
17396
17975
  "siteSpaceId": {
17397
17976
  "name": "siteSpaceId",
17398
17977
  "in": "path",
@@ -18547,7 +19126,8 @@
18547
19126
  },
18548
19127
  "repoCacheID": {
18549
19128
  "type": "string",
18550
- "description": "Unique identifier to use to cache the Git repository across multiple operations."
19129
+ "description": "Unique identifier to use to cache the Git repository across multiple operations.",
19130
+ "deprecated": true
18551
19131
  },
18552
19132
  "repoTreeURL": {
18553
19133
  "type": "string",
@@ -18599,7 +19179,8 @@
18599
19179
  },
18600
19180
  "repoCacheID": {
18601
19181
  "type": "string",
18602
- "description": "Unique identifier to use to cache the Git repository across multiple operations."
19182
+ "description": "Unique identifier to use to cache the Git repository across multiple operations.",
19183
+ "deprecated": true
18603
19184
  },
18604
19185
  "repoTreeURL": {
18605
19186
  "type": "string",
@@ -21481,7 +22062,11 @@
21481
22062
  },
21482
22063
  "data": {
21483
22064
  "type": "object",
21484
- "properties": {},
22065
+ "properties": {
22066
+ "defaultExpanded": {
22067
+ "type": "boolean"
22068
+ }
22069
+ },
21485
22070
  "additionalProperties": false
21486
22071
  },
21487
22072
  "fragments": {
@@ -22603,6 +23188,29 @@
22603
23188
  "isVoid"
22604
23189
  ]
22605
23190
  },
23191
+ "ContentRefTag": {
23192
+ "type": "object",
23193
+ "properties": {
23194
+ "kind": {
23195
+ "type": "string",
23196
+ "enum": [
23197
+ "tag"
23198
+ ]
23199
+ },
23200
+ "tag": {
23201
+ "type": "string",
23202
+ "description": "The slug of the tag, also used as the ID, and references the tags defined on a revision."
23203
+ },
23204
+ "space": {
23205
+ "type": "string",
23206
+ "description": "The space in which the tag is defined. If undefined, the tag is assumed to be in the same space as the content reference."
23207
+ }
23208
+ },
23209
+ "required": [
23210
+ "kind",
23211
+ "tag"
23212
+ ]
23213
+ },
22606
23214
  "DocumentBlockUpdate": {
22607
23215
  "type": "object",
22608
23216
  "properties": {
@@ -22675,8 +23283,9 @@
22675
23283
  },
22676
23284
  "tags": {
22677
23285
  "type": "array",
23286
+ "description": "Array of tags. Each tag is id'ed by its slug.",
22678
23287
  "items": {
22679
- "type": "string"
23288
+ "$ref": "#/components/schemas/ContentRefTag"
22680
23289
  }
22681
23290
  }
22682
23291
  },
@@ -23197,6 +23806,13 @@
23197
23806
  "metaLinks": {
23198
23807
  "description": "Meta links associated with the page.",
23199
23808
  "$ref": "#/components/schemas/RevisionPageMetaLinks"
23809
+ },
23810
+ "tags": {
23811
+ "type": "array",
23812
+ "description": "A list of all the tags added to this page",
23813
+ "items": {
23814
+ "$ref": "#/components/schemas/RevisionPageTag"
23815
+ }
23200
23816
  }
23201
23817
  },
23202
23818
  "required": [
@@ -23282,6 +23898,14 @@
23282
23898
  }
23283
23899
  ]
23284
23900
  },
23901
+ "OpenAPISpecVisibility": {
23902
+ "type": "string",
23903
+ "description": "The visibility setting of the OpenAPI spec.\n* `private`: The spec is not publicly available.\n* `public`: The spec is available to anyone with a public link.\n",
23904
+ "enum": [
23905
+ "private",
23906
+ "public"
23907
+ ]
23908
+ },
23285
23909
  "ComputedContentDependencyOpenAPI": {
23286
23910
  "type": "object",
23287
23911
  "properties": {
@@ -23307,6 +23931,9 @@
23307
23931
  },
23308
23932
  "lastVersion": {
23309
23933
  "type": "string"
23934
+ },
23935
+ "visibility": {
23936
+ "$ref": "#/components/schemas/OpenAPISpecVisibility"
23310
23937
  }
23311
23938
  },
23312
23939
  "required": [
@@ -23822,6 +24449,22 @@
23822
24449
  }
23823
24450
  }
23824
24451
  },
24452
+ "RevisionPageTag": {
24453
+ "type": "object",
24454
+ "description": "A reference to a tag with optional primary flag for page-level tags.",
24455
+ "properties": {
24456
+ "tag": {
24457
+ "$ref": "#/components/schemas/ContentRefTag"
24458
+ },
24459
+ "primary": {
24460
+ "type": "boolean",
24461
+ "description": "Whether this is the primary tag for display in table of contents."
24462
+ }
24463
+ },
24464
+ "required": [
24465
+ "tag"
24466
+ ]
24467
+ },
23825
24468
  "ComputedContentSourceDocumentOpenAPI": {
23826
24469
  "allOf": [
23827
24470
  {
@@ -24108,6 +24751,24 @@
24108
24751
  }
24109
24752
  ]
24110
24753
  },
24754
+ "RevisionTag": {
24755
+ "type": "object",
24756
+ "description": "A reusable tag that different types of content can be associated to (e.g. pages, update entries)",
24757
+ "properties": {
24758
+ "slug": {
24759
+ "type": "string",
24760
+ "description": "The slug identifier for the tag, immutable after creation."
24761
+ },
24762
+ "label": {
24763
+ "type": "string",
24764
+ "description": "Display label for the tag. Can be renamed and differ from the slug."
24765
+ }
24766
+ },
24767
+ "required": [
24768
+ "slug",
24769
+ "label"
24770
+ ]
24771
+ },
24111
24772
  "GitSyncCommit": {
24112
24773
  "type": "object",
24113
24774
  "properties": {
@@ -24177,6 +24838,13 @@
24177
24838
  "$ref": "#/components/schemas/RevisionReusableContent"
24178
24839
  }
24179
24840
  },
24841
+ "tags": {
24842
+ "type": "array",
24843
+ "description": "List of available tags within this revision",
24844
+ "items": {
24845
+ "$ref": "#/components/schemas/RevisionTag"
24846
+ }
24847
+ },
24180
24848
  "variables": {
24181
24849
  "$ref": "#/components/schemas/Variables"
24182
24850
  },
@@ -24915,6 +25583,10 @@
24915
25583
  "type": "boolean",
24916
25584
  "description": "Can the user view the organization."
24917
25585
  },
25586
+ "access": {
25587
+ "type": "boolean",
25588
+ "description": "Can the user view the organization in the application."
25589
+ },
24918
25590
  "admin": {
24919
25591
  "type": "boolean",
24920
25592
  "description": "Can the user manage the title, members, etc."
@@ -24962,6 +25634,7 @@
24962
25634
  },
24963
25635
  "required": [
24964
25636
  "view",
25637
+ "access",
24965
25638
  "admin",
24966
25639
  "ownTeam",
24967
25640
  "createContent",
@@ -25379,14 +26052,6 @@
25379
26052
  "complete"
25380
26053
  ]
25381
26054
  },
25382
- "OpenAPISpecVisibility": {
25383
- "type": "string",
25384
- "description": "The visibility setting of the OpenAPI spec.\n* `private`: The spec is not publicly available.\n* `public`: The spec is available to anyone with a public link.\n",
25385
- "enum": [
25386
- "private",
25387
- "public"
25388
- ]
25389
- },
25390
26055
  "OpenAPISpecProcessingErrorCode": {
25391
26056
  "description": "OpenAPI processing error code",
25392
26057
  "enum": [
@@ -26801,6 +27466,88 @@
26801
27466
  "attributes"
26802
27467
  ]
26803
27468
  },
27469
+ "ChangedRevisionTag": {
27470
+ "type": "object",
27471
+ "properties": {
27472
+ "slug": {
27473
+ "type": "string"
27474
+ },
27475
+ "label": {
27476
+ "type": "string"
27477
+ }
27478
+ },
27479
+ "required": [
27480
+ "slug",
27481
+ "label"
27482
+ ]
27483
+ },
27484
+ "RevisionSemanticChangeTagCreated": {
27485
+ "type": "object",
27486
+ "properties": {
27487
+ "type": {
27488
+ "type": "string",
27489
+ "enum": [
27490
+ "tag_created"
27491
+ ]
27492
+ },
27493
+ "tag": {
27494
+ "$ref": "#/components/schemas/ChangedRevisionTag"
27495
+ }
27496
+ },
27497
+ "required": [
27498
+ "type",
27499
+ "tag"
27500
+ ]
27501
+ },
27502
+ "RevisionSemanticChangeTagDeleted": {
27503
+ "type": "object",
27504
+ "properties": {
27505
+ "type": {
27506
+ "type": "string",
27507
+ "enum": [
27508
+ "tag_deleted"
27509
+ ]
27510
+ },
27511
+ "tag": {
27512
+ "$ref": "#/components/schemas/ChangedRevisionTag"
27513
+ }
27514
+ },
27515
+ "required": [
27516
+ "type",
27517
+ "tag"
27518
+ ]
27519
+ },
27520
+ "RevisionTagChangeAttributes": {
27521
+ "type": "object",
27522
+ "minProperties": 1,
27523
+ "properties": {
27524
+ "label": {
27525
+ "$ref": "#/components/schemas/ChangeAttributeString"
27526
+ }
27527
+ }
27528
+ },
27529
+ "RevisionSemanticChangeTagEdited": {
27530
+ "type": "object",
27531
+ "properties": {
27532
+ "type": {
27533
+ "type": "string",
27534
+ "enum": [
27535
+ "tag_edited"
27536
+ ]
27537
+ },
27538
+ "tag": {
27539
+ "$ref": "#/components/schemas/ChangedRevisionTag"
27540
+ },
27541
+ "attributes": {
27542
+ "$ref": "#/components/schemas/RevisionTagChangeAttributes"
27543
+ }
27544
+ },
27545
+ "required": [
27546
+ "type",
27547
+ "tag",
27548
+ "attributes"
27549
+ ]
27550
+ },
26804
27551
  "RevisionSemanticChange": {
26805
27552
  "oneOf": [
26806
27553
  {
@@ -26835,6 +27582,15 @@
26835
27582
  },
26836
27583
  {
26837
27584
  "$ref": "#/components/schemas/RevisionSemanticChangeReusableContentEdited"
27585
+ },
27586
+ {
27587
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagCreated"
27588
+ },
27589
+ {
27590
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagDeleted"
27591
+ },
27592
+ {
27593
+ "$ref": "#/components/schemas/RevisionSemanticChangeTagEdited"
26838
27594
  }
26839
27595
  ]
26840
27596
  },
@@ -34157,6 +34913,90 @@
34157
34913
  "thin"
34158
34914
  ]
34159
34915
  },
34916
+ "CustomizationCodeTheme": {
34917
+ "type": "string",
34918
+ "enum": [
34919
+ "default-light",
34920
+ "default-dark",
34921
+ "monochrome-light",
34922
+ "monochrome-dark",
34923
+ "andromeeda",
34924
+ "aurora-x",
34925
+ "ayu-dark",
34926
+ "catppuccin-frappe",
34927
+ "catppuccin-latte",
34928
+ "catppuccin-macchiato",
34929
+ "catppuccin-mocha",
34930
+ "dark-plus",
34931
+ "dracula",
34932
+ "dracula-soft",
34933
+ "everforest-dark",
34934
+ "everforest-light",
34935
+ "github-dark",
34936
+ "github-dark-default",
34937
+ "github-dark-dimmed",
34938
+ "github-dark-high-contrast",
34939
+ "github-light",
34940
+ "github-light-default",
34941
+ "github-light-high-contrast",
34942
+ "gruvbox-dark-hard",
34943
+ "gruvbox-dark-medium",
34944
+ "gruvbox-dark-soft",
34945
+ "gruvbox-light-hard",
34946
+ "gruvbox-light-medium",
34947
+ "gruvbox-light-soft",
34948
+ "houston",
34949
+ "kanagawa-dragon",
34950
+ "kanagawa-lotus",
34951
+ "kanagawa-wave",
34952
+ "laserwave",
34953
+ "light-plus",
34954
+ "material-theme",
34955
+ "material-theme-darker",
34956
+ "material-theme-lighter",
34957
+ "material-theme-ocean",
34958
+ "material-theme-palenight",
34959
+ "min-dark",
34960
+ "min-light",
34961
+ "monokai",
34962
+ "night-owl",
34963
+ "nord",
34964
+ "one-dark-pro",
34965
+ "one-light",
34966
+ "plastic",
34967
+ "poimandres",
34968
+ "red",
34969
+ "rose-pine",
34970
+ "rose-pine-dawn",
34971
+ "rose-pine-moon",
34972
+ "slack-dark",
34973
+ "slack-ochin",
34974
+ "snazzy-light",
34975
+ "solarized-dark",
34976
+ "solarized-light",
34977
+ "synthwave-84",
34978
+ "tokyo-night",
34979
+ "vesper",
34980
+ "vitesse-black",
34981
+ "vitesse-dark",
34982
+ "vitesse-light"
34983
+ ]
34984
+ },
34985
+ "CustomizationThemedCodeTheme": {
34986
+ "type": "object",
34987
+ "properties": {
34988
+ "light": {
34989
+ "$ref": "#/components/schemas/CustomizationCodeTheme"
34990
+ },
34991
+ "dark": {
34992
+ "$ref": "#/components/schemas/CustomizationCodeTheme"
34993
+ }
34994
+ },
34995
+ "required": [
34996
+ "light",
34997
+ "dark"
34998
+ ]
34999
+ },
34160
35000
  "CustomizationSidebarBackgroundStyle": {
34161
35001
  "type": "string",
34162
35002
  "description": "- `default`: No background, content sits directly against sidebar edge.\n- `filled`: Muted background color that extends to sidebar edges.\n",
@@ -34481,6 +35321,21 @@
34481
35321
  "icons": {
34482
35322
  "$ref": "#/components/schemas/CustomizationIconsStyle"
34483
35323
  },
35324
+ "codeTheme": {
35325
+ "type": "object",
35326
+ "properties": {
35327
+ "default": {
35328
+ "$ref": "#/components/schemas/CustomizationThemedCodeTheme"
35329
+ },
35330
+ "openapi": {
35331
+ "$ref": "#/components/schemas/CustomizationThemedCodeTheme"
35332
+ }
35333
+ },
35334
+ "required": [
35335
+ "default",
35336
+ "openapi"
35337
+ ]
35338
+ },
34484
35339
  "sidebar": {
34485
35340
  "type": "object",
34486
35341
  "properties": {
@@ -34512,6 +35367,7 @@
34512
35367
  "links",
34513
35368
  "font",
34514
35369
  "monospaceFont",
35370
+ "codeTheme",
34515
35371
  "background",
34516
35372
  "icons",
34517
35373
  "sidebar",
@@ -35148,6 +36004,418 @@
35148
36004
  }
35149
36005
  ]
35150
36006
  },
36007
+ "ContextRecordType": {
36008
+ "type": "string",
36009
+ "enum": [
36010
+ "ticket",
36011
+ "document"
36012
+ ]
36013
+ },
36014
+ "ContextConnector": {
36015
+ "oneOf": [
36016
+ {
36017
+ "type": "string",
36018
+ "description": "Integration source",
36019
+ "pattern": "^integration:[^:]+$",
36020
+ "x-typescript": "`integration:${string}`"
36021
+ },
36022
+ {
36023
+ "type": "string",
36024
+ "description": "Builtin sources",
36025
+ "enum": [
36026
+ "builtin:email",
36027
+ "builtin:api",
36028
+ "builtin:website"
36029
+ ]
36030
+ }
36031
+ ]
36032
+ },
36033
+ "ContextRecordTitle": {
36034
+ "type": "string",
36035
+ "description": "Title for the context record",
36036
+ "minLength": 1,
36037
+ "maxLength": 256
36038
+ },
36039
+ "ContextRecordDescription": {
36040
+ "type": "string",
36041
+ "description": "Optional short description of the context record",
36042
+ "maxLength": 512
36043
+ },
36044
+ "ContextRecord": {
36045
+ "type": "object",
36046
+ "properties": {
36047
+ "object": {
36048
+ "type": "string",
36049
+ "enum": [
36050
+ "context-record"
36051
+ ]
36052
+ },
36053
+ "id": {
36054
+ "type": "string",
36055
+ "description": "The ID of the record"
36056
+ },
36057
+ "title": {
36058
+ "$ref": "#/components/schemas/ContextRecordTitle"
36059
+ },
36060
+ "description": {
36061
+ "$ref": "#/components/schemas/ContextRecordDescription"
36062
+ },
36063
+ "type": {
36064
+ "$ref": "#/components/schemas/ContextRecordType"
36065
+ },
36066
+ "createdAt": {
36067
+ "$ref": "#/components/schemas/Timestamp"
36068
+ },
36069
+ "processedAt": {
36070
+ "$ref": "#/components/schemas/Timestamp"
36071
+ },
36072
+ "connection": {
36073
+ "type": "string",
36074
+ "description": "The connection ID associated with the record"
36075
+ },
36076
+ "connector": {
36077
+ "description": "The connector type associated with the record",
36078
+ "$ref": "#/components/schemas/ContextConnector"
36079
+ },
36080
+ "topics": {
36081
+ "type": "array",
36082
+ "description": "The associated topics of the record",
36083
+ "items": {
36084
+ "type": "string"
36085
+ }
36086
+ },
36087
+ "urls": {
36088
+ "type": "object",
36089
+ "description": "URLs associated with the record",
36090
+ "properties": {
36091
+ "location": {
36092
+ "type": "string",
36093
+ "description": "URL of the record in the API",
36094
+ "format": "uri"
36095
+ },
36096
+ "source": {
36097
+ "type": "string",
36098
+ "description": "URL of the record in the source",
36099
+ "format": "uri"
36100
+ }
36101
+ },
36102
+ "required": [
36103
+ "location"
36104
+ ]
36105
+ }
36106
+ },
36107
+ "required": [
36108
+ "object",
36109
+ "id",
36110
+ "title",
36111
+ "type",
36112
+ "createdAt",
36113
+ "connection",
36114
+ "connector",
36115
+ "urls"
36116
+ ]
36117
+ },
36118
+ "ContextRecordInput": {
36119
+ "type": "object",
36120
+ "description": "Input to ingest a new context record",
36121
+ "properties": {
36122
+ "id": {
36123
+ "type": "string",
36124
+ "description": "Unique local identifier for the record"
36125
+ },
36126
+ "type": {
36127
+ "$ref": "#/components/schemas/ContextRecordType"
36128
+ },
36129
+ "title": {
36130
+ "$ref": "#/components/schemas/ContextRecordTitle"
36131
+ },
36132
+ "description": {
36133
+ "$ref": "#/components/schemas/ContextRecordDescription"
36134
+ },
36135
+ "body": {
36136
+ "type": "string",
36137
+ "description": "Body content of the record as markdown"
36138
+ },
36139
+ "url": {
36140
+ "type": "string",
36141
+ "description": "URL of the record",
36142
+ "format": "uri"
36143
+ },
36144
+ "metadata": {
36145
+ "type": "object",
36146
+ "additionalProperties": {
36147
+ "type": "string"
36148
+ }
36149
+ }
36150
+ },
36151
+ "required": [
36152
+ "id",
36153
+ "title",
36154
+ "body",
36155
+ "type"
36156
+ ]
36157
+ },
36158
+ "ContextConnectionLabel": {
36159
+ "type": "string",
36160
+ "description": "Optional label for the connection",
36161
+ "minLength": 0,
36162
+ "maxLength": 128
36163
+ },
36164
+ "ContextConnectionStatus": {
36165
+ "type": "string",
36166
+ "enum": [
36167
+ "pending",
36168
+ "syncing",
36169
+ "succeeded",
36170
+ "failed"
36171
+ ]
36172
+ },
36173
+ "ContextUsageSettings": {
36174
+ "type": "object",
36175
+ "properties": {
36176
+ "changeRequests": {
36177
+ "type": "boolean",
36178
+ "description": "Whether to use context to propose change requests"
36179
+ },
36180
+ "search": {
36181
+ "type": "boolean",
36182
+ "description": "Whether to expose records in search results"
36183
+ }
36184
+ },
36185
+ "required": [
36186
+ "changeRequests",
36187
+ "search"
36188
+ ]
36189
+ },
36190
+ "ContextConnectorSetup": {
36191
+ "oneOf": [
36192
+ {
36193
+ "type": "object",
36194
+ "properties": {
36195
+ "connector": {
36196
+ "type": "string",
36197
+ "enum": [
36198
+ "builtin:email",
36199
+ "builtin:api"
36200
+ ]
36201
+ }
36202
+ },
36203
+ "required": [
36204
+ "connector"
36205
+ ]
36206
+ },
36207
+ {
36208
+ "type": "object",
36209
+ "properties": {
36210
+ "connector": {
36211
+ "type": "string",
36212
+ "pattern": "^integration:[^:]+$",
36213
+ "x-typescript": "`integration:${string}`"
36214
+ }
36215
+ },
36216
+ "required": [
36217
+ "connector"
36218
+ ]
36219
+ },
36220
+ {
36221
+ "type": "object",
36222
+ "properties": {
36223
+ "connector": {
36224
+ "type": "string",
36225
+ "enum": [
36226
+ "builtin:website"
36227
+ ]
36228
+ },
36229
+ "setupSettings": {
36230
+ "type": "object",
36231
+ "properties": {
36232
+ "url": {
36233
+ "type": "string",
36234
+ "format": "uri"
36235
+ }
36236
+ },
36237
+ "required": [
36238
+ "url"
36239
+ ]
36240
+ }
36241
+ },
36242
+ "required": [
36243
+ "connector",
36244
+ "setupSettings"
36245
+ ]
36246
+ }
36247
+ ]
36248
+ },
36249
+ "ContextConnection": {
36250
+ "allOf": [
36251
+ {
36252
+ "type": "object",
36253
+ "properties": {
36254
+ "object": {
36255
+ "type": "string",
36256
+ "enum": [
36257
+ "context-connection"
36258
+ ]
36259
+ },
36260
+ "id": {
36261
+ "type": "string",
36262
+ "description": "The ID of the connection"
36263
+ },
36264
+ "createdAt": {
36265
+ "$ref": "#/components/schemas/Timestamp"
36266
+ },
36267
+ "syncedAt": {
36268
+ "$ref": "#/components/schemas/Timestamp"
36269
+ },
36270
+ "label": {
36271
+ "$ref": "#/components/schemas/ContextConnectionLabel"
36272
+ },
36273
+ "status": {
36274
+ "$ref": "#/components/schemas/ContextConnectionStatus"
36275
+ },
36276
+ "records": {
36277
+ "type": "integer",
36278
+ "description": "Number of records ingested from this connection"
36279
+ },
36280
+ "failureMessage": {
36281
+ "type": "string",
36282
+ "description": "Failure message when synchronization fails"
36283
+ },
36284
+ "email": {
36285
+ "type": "object",
36286
+ "description": "Parameters associated with the connection when it is an email connection",
36287
+ "properties": {
36288
+ "ingestionAddress": {
36289
+ "type": "string",
36290
+ "description": "Inbound email address for the connection",
36291
+ "format": "email"
36292
+ }
36293
+ }
36294
+ },
36295
+ "usageSettings": {
36296
+ "$ref": "#/components/schemas/ContextUsageSettings"
36297
+ },
36298
+ "urls": {
36299
+ "type": "object",
36300
+ "description": "URLs associated with the connection",
36301
+ "properties": {
36302
+ "location": {
36303
+ "type": "string",
36304
+ "description": "URL of the connection in the API",
36305
+ "format": "uri"
36306
+ }
36307
+ },
36308
+ "required": [
36309
+ "location"
36310
+ ]
36311
+ }
36312
+ },
36313
+ "required": [
36314
+ "object",
36315
+ "id",
36316
+ "createdAt",
36317
+ "status",
36318
+ "records",
36319
+ "usageSettings",
36320
+ "urls"
36321
+ ]
36322
+ },
36323
+ {
36324
+ "$ref": "#/components/schemas/ContextConnectorSetup"
36325
+ }
36326
+ ]
36327
+ },
36328
+ "ContextTopic": {
36329
+ "type": "object",
36330
+ "properties": {
36331
+ "object": {
36332
+ "type": "string",
36333
+ "enum": [
36334
+ "context-topic"
36335
+ ]
36336
+ },
36337
+ "id": {
36338
+ "type": "string",
36339
+ "description": "The ID of the topic"
36340
+ },
36341
+ "label": {
36342
+ "type": "string",
36343
+ "description": "The label of the topic"
36344
+ },
36345
+ "createdAt": {
36346
+ "$ref": "#/components/schemas/Timestamp"
36347
+ },
36348
+ "updatedAt": {
36349
+ "$ref": "#/components/schemas/Timestamp"
36350
+ },
36351
+ "icon": {
36352
+ "$ref": "#/components/schemas/Icon"
36353
+ },
36354
+ "summary": {
36355
+ "$ref": "#/components/schemas/JSONDocument"
36356
+ },
36357
+ "usageSettings": {
36358
+ "$ref": "#/components/schemas/ContextUsageSettings"
36359
+ },
36360
+ "weeklyPulse": {
36361
+ "type": "array",
36362
+ "minItems": 13,
36363
+ "maxItems": 13,
36364
+ "description": "The weekly pulse of the records for the past 3 months",
36365
+ "items": {
36366
+ "type": "number"
36367
+ }
36368
+ },
36369
+ "connectors": {
36370
+ "type": "object",
36371
+ "additionalProperties": {
36372
+ "type": "number",
36373
+ "description": "The number of records for the connector"
36374
+ }
36375
+ },
36376
+ "stats": {
36377
+ "type": "object",
36378
+ "description": "The stats of the topic",
36379
+ "properties": {
36380
+ "records": {
36381
+ "type": "number",
36382
+ "description": "The number of records in the topic"
36383
+ }
36384
+ },
36385
+ "required": [
36386
+ "records"
36387
+ ]
36388
+ },
36389
+ "urls": {
36390
+ "type": "object",
36391
+ "description": "URLs associated with the topic",
36392
+ "properties": {
36393
+ "location": {
36394
+ "type": "string",
36395
+ "description": "URL of the topic in the API",
36396
+ "format": "uri"
36397
+ }
36398
+ },
36399
+ "required": [
36400
+ "location"
36401
+ ]
36402
+ }
36403
+ },
36404
+ "required": [
36405
+ "object",
36406
+ "id",
36407
+ "label",
36408
+ "summary",
36409
+ "icon",
36410
+ "usageSettings",
36411
+ "connectors",
36412
+ "stats",
36413
+ "weeklyPulse",
36414
+ "createdAt",
36415
+ "updatedAt",
36416
+ "urls"
36417
+ ]
36418
+ },
35151
36419
  "SiteSpaceCustomizationSettings": {
35152
36420
  "allOf": [
35153
36421
  {
@@ -40498,7 +41766,10 @@
40498
41766
  "file_created",
40499
41767
  "file_edited",
40500
41768
  "file_deleted",
40501
- "custom_fields_edited"
41769
+ "custom_fields_edited",
41770
+ "tag_created",
41771
+ "tag_deleted",
41772
+ "tag_edited"
40502
41773
  ]
40503
41774
  },
40504
41775
  "GitSyncOperationState": {
@@ -41896,6 +43167,25 @@
41896
43167
  "site"
41897
43168
  ]
41898
43169
  },
43170
+ "SiteContextChannel": {
43171
+ "type": "object",
43172
+ "description": "Subscription channel for changes in site context.",
43173
+ "properties": {
43174
+ "channel": {
43175
+ "type": "string",
43176
+ "enum": [
43177
+ "site-context"
43178
+ ]
43179
+ },
43180
+ "site": {
43181
+ "type": "string"
43182
+ }
43183
+ },
43184
+ "required": [
43185
+ "channel",
43186
+ "site"
43187
+ ]
43188
+ },
41899
43189
  "SiteCustomizationChannel": {
41900
43190
  "type": "object",
41901
43191
  "properties": {
@@ -42414,6 +43704,9 @@
42414
43704
  {
42415
43705
  "$ref": "#/components/schemas/SiteChannel"
42416
43706
  },
43707
+ {
43708
+ "$ref": "#/components/schemas/SiteContextChannel"
43709
+ },
42417
43710
  {
42418
43711
  "$ref": "#/components/schemas/SiteCustomizationChannel"
42419
43712
  },