@gitbook/api 0.143.2 → 0.144.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +252 -201
- package/dist/index.cjs +75 -61
- package/dist/index.js +73 -60
- package/package.json +1 -1
- package/spec/openapi.json +694 -657
- package/spec/openapi.yaml +447 -432
package/spec/openapi.json
CHANGED
|
@@ -1545,55 +1545,6 @@
|
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
1547
|
},
|
|
1548
|
-
"/spaces/{spaceId}/content/import": {
|
|
1549
|
-
"post": {
|
|
1550
|
-
"operationId": "importContent",
|
|
1551
|
-
"summary": "Import content in a space",
|
|
1552
|
-
"tags": [
|
|
1553
|
-
"space-content"
|
|
1554
|
-
],
|
|
1555
|
-
"security": [
|
|
1556
|
-
{
|
|
1557
|
-
"user": []
|
|
1558
|
-
}
|
|
1559
|
-
],
|
|
1560
|
-
"parameters": [
|
|
1561
|
-
{
|
|
1562
|
-
"$ref": "#/components/parameters/spaceId"
|
|
1563
|
-
}
|
|
1564
|
-
],
|
|
1565
|
-
"responses": {
|
|
1566
|
-
"201": {
|
|
1567
|
-
"description": "Content imported in a new revision",
|
|
1568
|
-
"headers": {
|
|
1569
|
-
"Location": {
|
|
1570
|
-
"description": "API URL for the newly created revision",
|
|
1571
|
-
"schema": {
|
|
1572
|
-
"type": "string"
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
"content": {
|
|
1577
|
-
"application/json": {
|
|
1578
|
-
"schema": {
|
|
1579
|
-
"$ref": "#/components/schemas/ImportContentResult"
|
|
1580
|
-
}
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
"requestBody": {
|
|
1586
|
-
"required": true,
|
|
1587
|
-
"content": {
|
|
1588
|
-
"application/json": {
|
|
1589
|
-
"schema": {
|
|
1590
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
},
|
|
1597
1548
|
"/spaces/{spaceId}/content/template": {
|
|
1598
1549
|
"post": {
|
|
1599
1550
|
"operationId": "applyTemplateToSpace",
|
|
@@ -2010,58 +1961,6 @@
|
|
|
2010
1961
|
}
|
|
2011
1962
|
}
|
|
2012
1963
|
},
|
|
2013
|
-
"/spaces/{spaceId}/content/page/{pageId}/import": {
|
|
2014
|
-
"post": {
|
|
2015
|
-
"operationId": "importContentInPageById",
|
|
2016
|
-
"summary": "Import content into a space page",
|
|
2017
|
-
"tags": [
|
|
2018
|
-
"space-content"
|
|
2019
|
-
],
|
|
2020
|
-
"security": [
|
|
2021
|
-
{
|
|
2022
|
-
"user": []
|
|
2023
|
-
}
|
|
2024
|
-
],
|
|
2025
|
-
"parameters": [
|
|
2026
|
-
{
|
|
2027
|
-
"$ref": "#/components/parameters/spaceId"
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"$ref": "#/components/parameters/pageId"
|
|
2031
|
-
}
|
|
2032
|
-
],
|
|
2033
|
-
"responses": {
|
|
2034
|
-
"201": {
|
|
2035
|
-
"description": "Content imported in a new revision",
|
|
2036
|
-
"headers": {
|
|
2037
|
-
"Location": {
|
|
2038
|
-
"description": "API URL for the newly created revision",
|
|
2039
|
-
"schema": {
|
|
2040
|
-
"type": "string"
|
|
2041
|
-
}
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
"content": {
|
|
2045
|
-
"application/json": {
|
|
2046
|
-
"schema": {
|
|
2047
|
-
"$ref": "#/components/schemas/ImportContentResult"
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2050
|
-
}
|
|
2051
|
-
}
|
|
2052
|
-
},
|
|
2053
|
-
"requestBody": {
|
|
2054
|
-
"required": true,
|
|
2055
|
-
"content": {
|
|
2056
|
-
"application/json": {
|
|
2057
|
-
"schema": {
|
|
2058
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
},
|
|
2065
1964
|
"/spaces/{spaceId}/content/path/{pagePath}": {
|
|
2066
1965
|
"get": {
|
|
2067
1966
|
"operationId": "getPageByPath",
|
|
@@ -2440,6 +2339,24 @@
|
|
|
2440
2339
|
"type": "string"
|
|
2441
2340
|
},
|
|
2442
2341
|
"description": "If defined, only change requests with contributions from this user will be returned."
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"name": "requestedReviewer",
|
|
2345
|
+
"in": "query",
|
|
2346
|
+
"required": false,
|
|
2347
|
+
"schema": {
|
|
2348
|
+
"type": "string"
|
|
2349
|
+
},
|
|
2350
|
+
"description": "If defined, only change requests with a requested reviewer for this user will be returned."
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"name": "conversationsIssuesCluster",
|
|
2354
|
+
"in": "query",
|
|
2355
|
+
"required": false,
|
|
2356
|
+
"schema": {
|
|
2357
|
+
"type": "string"
|
|
2358
|
+
},
|
|
2359
|
+
"description": "If defined, only change requests associated with this conversations issues cluster will be returned."
|
|
2443
2360
|
}
|
|
2444
2361
|
],
|
|
2445
2362
|
"responses": {
|
|
@@ -2808,6 +2725,50 @@
|
|
|
2808
2725
|
}
|
|
2809
2726
|
}
|
|
2810
2727
|
},
|
|
2728
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/reviews/{reviewId}": {
|
|
2729
|
+
"get": {
|
|
2730
|
+
"operationId": "getChangeRequestReviewById",
|
|
2731
|
+
"summary": "Get a change request review by its ID",
|
|
2732
|
+
"tags": [
|
|
2733
|
+
"change-requests-reviews"
|
|
2734
|
+
],
|
|
2735
|
+
"security": [
|
|
2736
|
+
{
|
|
2737
|
+
"user": []
|
|
2738
|
+
}
|
|
2739
|
+
],
|
|
2740
|
+
"parameters": [
|
|
2741
|
+
{
|
|
2742
|
+
"$ref": "#/components/parameters/spaceId"
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"$ref": "#/components/parameters/reviewId"
|
|
2749
|
+
},
|
|
2750
|
+
{
|
|
2751
|
+
"$ref": "#/components/parameters/documentFormat"
|
|
2752
|
+
}
|
|
2753
|
+
],
|
|
2754
|
+
"responses": {
|
|
2755
|
+
"200": {
|
|
2756
|
+
"description": "The matching change request review.",
|
|
2757
|
+
"content": {
|
|
2758
|
+
"application/json": {
|
|
2759
|
+
"schema": {
|
|
2760
|
+
"$ref": "#/components/schemas/ChangeRequestReview"
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
},
|
|
2765
|
+
"404": {
|
|
2766
|
+
"description": "The change request review could not be found.",
|
|
2767
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2811
2772
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers": {
|
|
2812
2773
|
"get": {
|
|
2813
2774
|
"operationId": "getRequestedReviewersByChangeRequestId",
|
|
@@ -3565,7 +3526,7 @@
|
|
|
3565
3526
|
"items": {
|
|
3566
3527
|
"type": "array",
|
|
3567
3528
|
"items": {
|
|
3568
|
-
"$ref": "#/components/schemas/
|
|
3529
|
+
"$ref": "#/components/schemas/ChangeRequestUserContributor"
|
|
3569
3530
|
}
|
|
3570
3531
|
}
|
|
3571
3532
|
}
|
|
@@ -3622,58 +3583,6 @@
|
|
|
3622
3583
|
}
|
|
3623
3584
|
}
|
|
3624
3585
|
},
|
|
3625
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/import": {
|
|
3626
|
-
"post": {
|
|
3627
|
-
"operationId": "importContentInChangeRequest",
|
|
3628
|
-
"summary": "Import content in a change request",
|
|
3629
|
-
"tags": [
|
|
3630
|
-
"change-request-content"
|
|
3631
|
-
],
|
|
3632
|
-
"security": [
|
|
3633
|
-
{
|
|
3634
|
-
"user": []
|
|
3635
|
-
}
|
|
3636
|
-
],
|
|
3637
|
-
"parameters": [
|
|
3638
|
-
{
|
|
3639
|
-
"$ref": "#/components/parameters/spaceId"
|
|
3640
|
-
},
|
|
3641
|
-
{
|
|
3642
|
-
"$ref": "#/components/parameters/changeRequestId"
|
|
3643
|
-
}
|
|
3644
|
-
],
|
|
3645
|
-
"responses": {
|
|
3646
|
-
"201": {
|
|
3647
|
-
"description": "Content imported in a new revision",
|
|
3648
|
-
"headers": {
|
|
3649
|
-
"Location": {
|
|
3650
|
-
"description": "API URL for the newly created revision",
|
|
3651
|
-
"schema": {
|
|
3652
|
-
"type": "string"
|
|
3653
|
-
}
|
|
3654
|
-
}
|
|
3655
|
-
},
|
|
3656
|
-
"content": {
|
|
3657
|
-
"application/json": {
|
|
3658
|
-
"schema": {
|
|
3659
|
-
"$ref": "#/components/schemas/ImportContentResult"
|
|
3660
|
-
}
|
|
3661
|
-
}
|
|
3662
|
-
}
|
|
3663
|
-
}
|
|
3664
|
-
},
|
|
3665
|
-
"requestBody": {
|
|
3666
|
-
"required": true,
|
|
3667
|
-
"content": {
|
|
3668
|
-
"application/json": {
|
|
3669
|
-
"schema": {
|
|
3670
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
3671
|
-
}
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
|
-
}
|
|
3675
|
-
}
|
|
3676
|
-
},
|
|
3677
3586
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages": {
|
|
3678
3587
|
"get": {
|
|
3679
3588
|
"operationId": "listPagesInChangeRequest",
|
|
@@ -4069,117 +3978,6 @@
|
|
|
4069
3978
|
}
|
|
4070
3979
|
}
|
|
4071
3980
|
},
|
|
4072
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import": {
|
|
4073
|
-
"post": {
|
|
4074
|
-
"operationId": "importContentInChangeRequestPageById",
|
|
4075
|
-
"summary": "Import content into a change request page",
|
|
4076
|
-
"tags": [
|
|
4077
|
-
"change-request-content"
|
|
4078
|
-
],
|
|
4079
|
-
"security": [
|
|
4080
|
-
{
|
|
4081
|
-
"user": []
|
|
4082
|
-
}
|
|
4083
|
-
],
|
|
4084
|
-
"parameters": [
|
|
4085
|
-
{
|
|
4086
|
-
"$ref": "#/components/parameters/spaceId"
|
|
4087
|
-
},
|
|
4088
|
-
{
|
|
4089
|
-
"$ref": "#/components/parameters/changeRequestId"
|
|
4090
|
-
},
|
|
4091
|
-
{
|
|
4092
|
-
"$ref": "#/components/parameters/pageId"
|
|
4093
|
-
}
|
|
4094
|
-
],
|
|
4095
|
-
"responses": {
|
|
4096
|
-
"201": {
|
|
4097
|
-
"description": "Content imported in a new revision",
|
|
4098
|
-
"headers": {
|
|
4099
|
-
"Location": {
|
|
4100
|
-
"description": "API URL for the newly created revision",
|
|
4101
|
-
"schema": {
|
|
4102
|
-
"type": "string"
|
|
4103
|
-
}
|
|
4104
|
-
}
|
|
4105
|
-
},
|
|
4106
|
-
"content": {
|
|
4107
|
-
"application/json": {
|
|
4108
|
-
"schema": {
|
|
4109
|
-
"$ref": "#/components/schemas/ImportContentResult"
|
|
4110
|
-
}
|
|
4111
|
-
}
|
|
4112
|
-
}
|
|
4113
|
-
}
|
|
4114
|
-
},
|
|
4115
|
-
"requestBody": {
|
|
4116
|
-
"required": true,
|
|
4117
|
-
"content": {
|
|
4118
|
-
"application/json": {
|
|
4119
|
-
"schema": {
|
|
4120
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
4121
|
-
}
|
|
4122
|
-
}
|
|
4123
|
-
}
|
|
4124
|
-
}
|
|
4125
|
-
}
|
|
4126
|
-
},
|
|
4127
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}": {
|
|
4128
|
-
"get": {
|
|
4129
|
-
"operationId": "getPageInChangeRequestByPath",
|
|
4130
|
-
"summary": "Get a change request page by its path",
|
|
4131
|
-
"tags": [
|
|
4132
|
-
"change-request-content"
|
|
4133
|
-
],
|
|
4134
|
-
"security": [
|
|
4135
|
-
{
|
|
4136
|
-
"user": []
|
|
4137
|
-
}
|
|
4138
|
-
],
|
|
4139
|
-
"parameters": [
|
|
4140
|
-
{
|
|
4141
|
-
"$ref": "#/components/parameters/spaceId"
|
|
4142
|
-
},
|
|
4143
|
-
{
|
|
4144
|
-
"$ref": "#/components/parameters/changeRequestId"
|
|
4145
|
-
},
|
|
4146
|
-
{
|
|
4147
|
-
"$ref": "#/components/parameters/pagePath"
|
|
4148
|
-
},
|
|
4149
|
-
{
|
|
4150
|
-
"$ref": "#/components/parameters/documentFormat"
|
|
4151
|
-
},
|
|
4152
|
-
{
|
|
4153
|
-
"$ref": "#/components/parameters/documentEvaluated"
|
|
4154
|
-
},
|
|
4155
|
-
{
|
|
4156
|
-
"$ref": "#/components/parameters/revisionMetadata"
|
|
4157
|
-
},
|
|
4158
|
-
{
|
|
4159
|
-
"$ref": "#/components/parameters/revisionComputed"
|
|
4160
|
-
}
|
|
4161
|
-
],
|
|
4162
|
-
"responses": {
|
|
4163
|
-
"200": {
|
|
4164
|
-
"description": "OK",
|
|
4165
|
-
"content": {
|
|
4166
|
-
"application/json": {
|
|
4167
|
-
"schema": {
|
|
4168
|
-
"oneOf": [
|
|
4169
|
-
{
|
|
4170
|
-
"$ref": "#/components/schemas/RevisionPageDocument"
|
|
4171
|
-
},
|
|
4172
|
-
{
|
|
4173
|
-
"$ref": "#/components/schemas/RevisionPageGroup"
|
|
4174
|
-
}
|
|
4175
|
-
]
|
|
4176
|
-
}
|
|
4177
|
-
}
|
|
4178
|
-
}
|
|
4179
|
-
}
|
|
4180
|
-
}
|
|
4181
|
-
}
|
|
4182
|
-
},
|
|
4183
3981
|
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/reusable-contents/{reusableContentId}": {
|
|
4184
3982
|
"get": {
|
|
4185
3983
|
"operationId": "getReusableContentInChangeRequestById",
|
|
@@ -4723,6 +4521,62 @@
|
|
|
4723
4521
|
}
|
|
4724
4522
|
}
|
|
4725
4523
|
},
|
|
4524
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/path/{pagePath}": {
|
|
4525
|
+
"get": {
|
|
4526
|
+
"operationId": "getPageInChangeRequestByPath",
|
|
4527
|
+
"summary": "Get a change request page by its path",
|
|
4528
|
+
"tags": [
|
|
4529
|
+
"change-request-content"
|
|
4530
|
+
],
|
|
4531
|
+
"security": [
|
|
4532
|
+
{
|
|
4533
|
+
"user": []
|
|
4534
|
+
}
|
|
4535
|
+
],
|
|
4536
|
+
"parameters": [
|
|
4537
|
+
{
|
|
4538
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"$ref": "#/components/parameters/pagePath"
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
"$ref": "#/components/parameters/documentFormat"
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
"$ref": "#/components/parameters/documentEvaluated"
|
|
4551
|
+
},
|
|
4552
|
+
{
|
|
4553
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
4557
|
+
}
|
|
4558
|
+
],
|
|
4559
|
+
"responses": {
|
|
4560
|
+
"200": {
|
|
4561
|
+
"description": "OK",
|
|
4562
|
+
"content": {
|
|
4563
|
+
"application/json": {
|
|
4564
|
+
"schema": {
|
|
4565
|
+
"oneOf": [
|
|
4566
|
+
{
|
|
4567
|
+
"$ref": "#/components/schemas/RevisionPageDocument"
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"$ref": "#/components/schemas/RevisionPageGroup"
|
|
4571
|
+
}
|
|
4572
|
+
]
|
|
4573
|
+
}
|
|
4574
|
+
}
|
|
4575
|
+
}
|
|
4576
|
+
}
|
|
4577
|
+
}
|
|
4578
|
+
}
|
|
4579
|
+
},
|
|
4726
4580
|
"/spaces/{spaceId}/revisions/{revisionId}/reusable-contents/{reusableContentId}": {
|
|
4727
4581
|
"get": {
|
|
4728
4582
|
"operationId": "getReusableContentInRevisionById",
|
|
@@ -9138,6 +8992,24 @@
|
|
|
9138
8992
|
"type": "string"
|
|
9139
8993
|
},
|
|
9140
8994
|
"description": "If defined, only change requests with contributions from this user will be returned."
|
|
8995
|
+
},
|
|
8996
|
+
{
|
|
8997
|
+
"name": "requestedReviewer",
|
|
8998
|
+
"in": "query",
|
|
8999
|
+
"required": false,
|
|
9000
|
+
"schema": {
|
|
9001
|
+
"type": "string"
|
|
9002
|
+
},
|
|
9003
|
+
"description": "If defined, only change requests with a requested reviewer for this user will be returned."
|
|
9004
|
+
},
|
|
9005
|
+
{
|
|
9006
|
+
"name": "conversationsIssuesCluster",
|
|
9007
|
+
"in": "query",
|
|
9008
|
+
"required": false,
|
|
9009
|
+
"schema": {
|
|
9010
|
+
"type": "string"
|
|
9011
|
+
},
|
|
9012
|
+
"description": "If defined, only change requests associated with this conversations issues cluster will be returned."
|
|
9141
9013
|
}
|
|
9142
9014
|
],
|
|
9143
9015
|
"responses": {
|
|
@@ -10623,7 +10495,7 @@
|
|
|
10623
10495
|
"operationId": "listConversationsIssuesClusters",
|
|
10624
10496
|
"summary": "List conversations issues clusters",
|
|
10625
10497
|
"tags": [
|
|
10626
|
-
"
|
|
10498
|
+
"conversations"
|
|
10627
10499
|
],
|
|
10628
10500
|
"parameters": [
|
|
10629
10501
|
{
|
|
@@ -10741,25 +10613,143 @@
|
|
|
10741
10613
|
}
|
|
10742
10614
|
}
|
|
10743
10615
|
},
|
|
10744
|
-
"/orgs/{organizationId}/conversations
|
|
10616
|
+
"/orgs/{organizationId}/conversations": {
|
|
10745
10617
|
"get": {
|
|
10746
|
-
"operationId": "
|
|
10747
|
-
"summary": "List conversations
|
|
10618
|
+
"operationId": "listConversations",
|
|
10619
|
+
"summary": "List conversations",
|
|
10748
10620
|
"tags": [
|
|
10749
|
-
"
|
|
10621
|
+
"conversations"
|
|
10622
|
+
],
|
|
10623
|
+
"security": [
|
|
10624
|
+
{
|
|
10625
|
+
"user": []
|
|
10626
|
+
}
|
|
10750
10627
|
],
|
|
10751
10628
|
"parameters": [
|
|
10752
10629
|
{
|
|
10753
10630
|
"$ref": "#/components/parameters/organizationId"
|
|
10754
10631
|
},
|
|
10755
10632
|
{
|
|
10756
|
-
"$ref": "#/components/parameters/
|
|
10633
|
+
"$ref": "#/components/parameters/listPage"
|
|
10634
|
+
},
|
|
10635
|
+
{
|
|
10636
|
+
"$ref": "#/components/parameters/listLimit"
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
"name": "source",
|
|
10640
|
+
"in": "query",
|
|
10641
|
+
"description": "Filter conversations by their source identifier",
|
|
10642
|
+
"schema": {
|
|
10643
|
+
"type": "string"
|
|
10644
|
+
}
|
|
10645
|
+
}
|
|
10646
|
+
],
|
|
10647
|
+
"responses": {
|
|
10648
|
+
"200": {
|
|
10649
|
+
"description": "OK",
|
|
10650
|
+
"content": {
|
|
10651
|
+
"application/json": {
|
|
10652
|
+
"schema": {
|
|
10653
|
+
"allOf": [
|
|
10654
|
+
{
|
|
10655
|
+
"$ref": "#/components/schemas/List"
|
|
10656
|
+
},
|
|
10657
|
+
{
|
|
10658
|
+
"type": "object",
|
|
10659
|
+
"required": [
|
|
10660
|
+
"items"
|
|
10661
|
+
],
|
|
10662
|
+
"properties": {
|
|
10663
|
+
"items": {
|
|
10664
|
+
"type": "array",
|
|
10665
|
+
"items": {
|
|
10666
|
+
"$ref": "#/components/schemas/Conversation"
|
|
10667
|
+
}
|
|
10668
|
+
}
|
|
10669
|
+
}
|
|
10670
|
+
}
|
|
10671
|
+
]
|
|
10672
|
+
}
|
|
10673
|
+
}
|
|
10674
|
+
}
|
|
10675
|
+
}
|
|
10676
|
+
}
|
|
10677
|
+
},
|
|
10678
|
+
"post": {
|
|
10679
|
+
"operationId": "ingestConversation",
|
|
10680
|
+
"summary": "Ingest conversations",
|
|
10681
|
+
"tags": [
|
|
10682
|
+
"conversations"
|
|
10683
|
+
],
|
|
10684
|
+
"security": [
|
|
10685
|
+
{
|
|
10686
|
+
"integration-installation": []
|
|
10687
|
+
}
|
|
10688
|
+
],
|
|
10689
|
+
"parameters": [
|
|
10690
|
+
{
|
|
10691
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10692
|
+
}
|
|
10693
|
+
],
|
|
10694
|
+
"requestBody": {
|
|
10695
|
+
"required": true,
|
|
10696
|
+
"content": {
|
|
10697
|
+
"application/json": {
|
|
10698
|
+
"schema": {
|
|
10699
|
+
"oneOf": [
|
|
10700
|
+
{
|
|
10701
|
+
"$ref": "#/components/schemas/ConversationInput"
|
|
10702
|
+
},
|
|
10703
|
+
{
|
|
10704
|
+
"type": "array",
|
|
10705
|
+
"items": {
|
|
10706
|
+
"$ref": "#/components/schemas/ConversationInput"
|
|
10707
|
+
}
|
|
10708
|
+
}
|
|
10709
|
+
]
|
|
10710
|
+
}
|
|
10711
|
+
}
|
|
10712
|
+
}
|
|
10713
|
+
},
|
|
10714
|
+
"responses": {
|
|
10715
|
+
"204": {
|
|
10716
|
+
"description": "Conversations ingested"
|
|
10717
|
+
}
|
|
10718
|
+
}
|
|
10719
|
+
}
|
|
10720
|
+
},
|
|
10721
|
+
"/orgs/{organizationId}/conversations-issues": {
|
|
10722
|
+
"get": {
|
|
10723
|
+
"operationId": "listConversationsIssues",
|
|
10724
|
+
"summary": "List conversation issues",
|
|
10725
|
+
"tags": [
|
|
10726
|
+
"conversations"
|
|
10727
|
+
],
|
|
10728
|
+
"parameters": [
|
|
10729
|
+
{
|
|
10730
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10757
10731
|
},
|
|
10758
10732
|
{
|
|
10759
10733
|
"$ref": "#/components/parameters/listPage"
|
|
10760
10734
|
},
|
|
10761
10735
|
{
|
|
10762
10736
|
"$ref": "#/components/parameters/listLimit"
|
|
10737
|
+
},
|
|
10738
|
+
{
|
|
10739
|
+
"name": "cluster",
|
|
10740
|
+
"in": "query",
|
|
10741
|
+
"description": "Filter conversation issues by cluster identifier.",
|
|
10742
|
+
"schema": {
|
|
10743
|
+
"type": "string"
|
|
10744
|
+
}
|
|
10745
|
+
},
|
|
10746
|
+
{
|
|
10747
|
+
"name": "conversation",
|
|
10748
|
+
"in": "query",
|
|
10749
|
+
"description": "Filter conversation issues by conversation identifier.",
|
|
10750
|
+
"schema": {
|
|
10751
|
+
"type": "string"
|
|
10752
|
+
}
|
|
10763
10753
|
}
|
|
10764
10754
|
],
|
|
10765
10755
|
"security": [
|
|
@@ -10807,53 +10797,113 @@
|
|
|
10807
10797
|
}
|
|
10808
10798
|
}
|
|
10809
10799
|
}
|
|
10800
|
+
}
|
|
10801
|
+
}
|
|
10802
|
+
}
|
|
10803
|
+
},
|
|
10804
|
+
"/orgs/{organizationId}/conversations-issues/{issueId}": {
|
|
10805
|
+
"get": {
|
|
10806
|
+
"operationId": "getConversationIssueById",
|
|
10807
|
+
"summary": "Get a conversation issue by ID",
|
|
10808
|
+
"tags": [
|
|
10809
|
+
"conversations"
|
|
10810
|
+
],
|
|
10811
|
+
"security": [
|
|
10812
|
+
{
|
|
10813
|
+
"user": []
|
|
10814
|
+
}
|
|
10815
|
+
],
|
|
10816
|
+
"parameters": [
|
|
10817
|
+
{
|
|
10818
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"$ref": "#/components/parameters/conversationIssueId"
|
|
10822
|
+
}
|
|
10823
|
+
],
|
|
10824
|
+
"responses": {
|
|
10825
|
+
"200": {
|
|
10826
|
+
"description": "OK",
|
|
10827
|
+
"content": {
|
|
10828
|
+
"application/json": {
|
|
10829
|
+
"schema": {
|
|
10830
|
+
"type": "object",
|
|
10831
|
+
"required": [
|
|
10832
|
+
"issue",
|
|
10833
|
+
"conversation"
|
|
10834
|
+
],
|
|
10835
|
+
"properties": {
|
|
10836
|
+
"issue": {
|
|
10837
|
+
"$ref": "#/components/schemas/ConversationIssue"
|
|
10838
|
+
},
|
|
10839
|
+
"conversation": {
|
|
10840
|
+
"$ref": "#/components/schemas/Conversation"
|
|
10841
|
+
}
|
|
10842
|
+
}
|
|
10843
|
+
}
|
|
10844
|
+
}
|
|
10845
|
+
}
|
|
10810
10846
|
},
|
|
10811
10847
|
"404": {
|
|
10848
|
+
"description": "Conversation issue not found",
|
|
10812
10849
|
"$ref": "#/components/responses/NotFoundError"
|
|
10813
10850
|
}
|
|
10814
10851
|
}
|
|
10815
10852
|
}
|
|
10816
10853
|
},
|
|
10817
|
-
"/orgs/{organizationId}/conversations": {
|
|
10818
|
-
"
|
|
10819
|
-
"operationId": "
|
|
10820
|
-
"summary": "
|
|
10854
|
+
"/orgs/{organizationId}/conversations/{conversationId}": {
|
|
10855
|
+
"get": {
|
|
10856
|
+
"operationId": "getConversationById",
|
|
10857
|
+
"summary": "Get a conversation by ID",
|
|
10821
10858
|
"tags": [
|
|
10822
10859
|
"conversations"
|
|
10823
10860
|
],
|
|
10824
10861
|
"security": [
|
|
10825
10862
|
{
|
|
10826
|
-
"
|
|
10863
|
+
"user": []
|
|
10827
10864
|
}
|
|
10828
10865
|
],
|
|
10829
10866
|
"parameters": [
|
|
10830
10867
|
{
|
|
10831
10868
|
"$ref": "#/components/parameters/organizationId"
|
|
10869
|
+
},
|
|
10870
|
+
{
|
|
10871
|
+
"$ref": "#/components/parameters/conversationId"
|
|
10832
10872
|
}
|
|
10833
10873
|
],
|
|
10834
|
-
"
|
|
10835
|
-
"
|
|
10836
|
-
|
|
10837
|
-
"
|
|
10838
|
-
"
|
|
10839
|
-
"
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
"
|
|
10845
|
-
|
|
10846
|
-
|
|
10874
|
+
"responses": {
|
|
10875
|
+
"200": {
|
|
10876
|
+
"description": "OK",
|
|
10877
|
+
"content": {
|
|
10878
|
+
"application/json": {
|
|
10879
|
+
"schema": {
|
|
10880
|
+
"type": "object",
|
|
10881
|
+
"required": [
|
|
10882
|
+
"conversation",
|
|
10883
|
+
"parts",
|
|
10884
|
+
"metadata"
|
|
10885
|
+
],
|
|
10886
|
+
"properties": {
|
|
10887
|
+
"conversation": {
|
|
10888
|
+
"$ref": "#/components/schemas/Conversation"
|
|
10889
|
+
},
|
|
10890
|
+
"parts": {
|
|
10891
|
+
"type": "array",
|
|
10892
|
+
"items": {
|
|
10893
|
+
"$ref": "#/components/schemas/ConversationPart"
|
|
10894
|
+
}
|
|
10895
|
+
},
|
|
10896
|
+
"metadata": {
|
|
10897
|
+
"$ref": "#/components/schemas/ConversationMetadata"
|
|
10847
10898
|
}
|
|
10848
10899
|
}
|
|
10849
|
-
|
|
10900
|
+
}
|
|
10850
10901
|
}
|
|
10851
10902
|
}
|
|
10852
|
-
}
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
"description": "Conversations ingested"
|
|
10903
|
+
},
|
|
10904
|
+
"404": {
|
|
10905
|
+
"description": "Conversation not found",
|
|
10906
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
10857
10907
|
}
|
|
10858
10908
|
}
|
|
10859
10909
|
}
|
|
@@ -11892,10 +11942,9 @@
|
|
|
11892
11942
|
"tags": [
|
|
11893
11943
|
"imports"
|
|
11894
11944
|
],
|
|
11895
|
-
"x-internal": true,
|
|
11896
11945
|
"security": [
|
|
11897
11946
|
{
|
|
11898
|
-
"user
|
|
11947
|
+
"user": []
|
|
11899
11948
|
}
|
|
11900
11949
|
],
|
|
11901
11950
|
"parameters": [
|
|
@@ -11952,10 +12001,9 @@
|
|
|
11952
12001
|
"tags": [
|
|
11953
12002
|
"imports"
|
|
11954
12003
|
],
|
|
11955
|
-
"x-internal": true,
|
|
11956
12004
|
"security": [
|
|
11957
12005
|
{
|
|
11958
|
-
"user
|
|
12006
|
+
"user": []
|
|
11959
12007
|
}
|
|
11960
12008
|
],
|
|
11961
12009
|
"parameters": [
|
|
@@ -15338,10 +15386,6 @@
|
|
|
15338
15386
|
"$ref": "#/components/schemas/AIMessageInput"
|
|
15339
15387
|
}
|
|
15340
15388
|
},
|
|
15341
|
-
"output": {
|
|
15342
|
-
"deprecated": true,
|
|
15343
|
-
"$ref": "#/components/schemas/AIOutputFormat"
|
|
15344
|
-
},
|
|
15345
15389
|
"model": {
|
|
15346
15390
|
"$ref": "#/components/schemas/AIModel"
|
|
15347
15391
|
},
|
|
@@ -16917,6 +16961,15 @@
|
|
|
16917
16961
|
"type": "string"
|
|
16918
16962
|
}
|
|
16919
16963
|
},
|
|
16964
|
+
"reviewId": {
|
|
16965
|
+
"name": "reviewId",
|
|
16966
|
+
"in": "path",
|
|
16967
|
+
"required": true,
|
|
16968
|
+
"description": "The unique ID of the change request review.",
|
|
16969
|
+
"schema": {
|
|
16970
|
+
"type": "string"
|
|
16971
|
+
}
|
|
16972
|
+
},
|
|
16920
16973
|
"listOrder": {
|
|
16921
16974
|
"name": "order",
|
|
16922
16975
|
"in": "query",
|
|
@@ -17183,6 +17236,24 @@
|
|
|
17183
17236
|
"type": "string"
|
|
17184
17237
|
}
|
|
17185
17238
|
},
|
|
17239
|
+
"conversationIssueId": {
|
|
17240
|
+
"name": "issueId",
|
|
17241
|
+
"in": "path",
|
|
17242
|
+
"required": true,
|
|
17243
|
+
"description": "Identifier of the conversation issue",
|
|
17244
|
+
"schema": {
|
|
17245
|
+
"type": "string"
|
|
17246
|
+
}
|
|
17247
|
+
},
|
|
17248
|
+
"conversationId": {
|
|
17249
|
+
"name": "conversationId",
|
|
17250
|
+
"in": "path",
|
|
17251
|
+
"required": true,
|
|
17252
|
+
"description": "Identifier of the conversation",
|
|
17253
|
+
"schema": {
|
|
17254
|
+
"type": "string"
|
|
17255
|
+
}
|
|
17256
|
+
},
|
|
17186
17257
|
"agentTaskId": {
|
|
17187
17258
|
"name": "agentTaskId",
|
|
17188
17259
|
"in": "path",
|
|
@@ -18765,6 +18836,40 @@
|
|
|
18765
18836
|
"type"
|
|
18766
18837
|
]
|
|
18767
18838
|
},
|
|
18839
|
+
"DocumentTextColor": {
|
|
18840
|
+
"type": "string",
|
|
18841
|
+
"enum": [
|
|
18842
|
+
"default",
|
|
18843
|
+
"green",
|
|
18844
|
+
"blue",
|
|
18845
|
+
"red",
|
|
18846
|
+
"orange",
|
|
18847
|
+
"yellow",
|
|
18848
|
+
"purple",
|
|
18849
|
+
"$primary",
|
|
18850
|
+
"$info",
|
|
18851
|
+
"$success",
|
|
18852
|
+
"$warning",
|
|
18853
|
+
"$danger"
|
|
18854
|
+
]
|
|
18855
|
+
},
|
|
18856
|
+
"DocumentTextBackgroundColor": {
|
|
18857
|
+
"type": "string",
|
|
18858
|
+
"enum": [
|
|
18859
|
+
"default",
|
|
18860
|
+
"green",
|
|
18861
|
+
"blue",
|
|
18862
|
+
"red",
|
|
18863
|
+
"orange",
|
|
18864
|
+
"yellow",
|
|
18865
|
+
"purple",
|
|
18866
|
+
"$primary",
|
|
18867
|
+
"$info",
|
|
18868
|
+
"$success",
|
|
18869
|
+
"$warning",
|
|
18870
|
+
"$danger"
|
|
18871
|
+
]
|
|
18872
|
+
},
|
|
18768
18873
|
"DocumentMarkColor": {
|
|
18769
18874
|
"type": "object",
|
|
18770
18875
|
"properties": {
|
|
@@ -18784,38 +18889,10 @@
|
|
|
18784
18889
|
"type": "object",
|
|
18785
18890
|
"properties": {
|
|
18786
18891
|
"text": {
|
|
18787
|
-
"
|
|
18788
|
-
"enum": [
|
|
18789
|
-
"default",
|
|
18790
|
-
"green",
|
|
18791
|
-
"blue",
|
|
18792
|
-
"red",
|
|
18793
|
-
"orange",
|
|
18794
|
-
"yellow",
|
|
18795
|
-
"purple",
|
|
18796
|
-
"$primary",
|
|
18797
|
-
"$info",
|
|
18798
|
-
"$success",
|
|
18799
|
-
"$warning",
|
|
18800
|
-
"$danger"
|
|
18801
|
-
]
|
|
18892
|
+
"$ref": "#/components/schemas/DocumentTextColor"
|
|
18802
18893
|
},
|
|
18803
18894
|
"background": {
|
|
18804
|
-
"
|
|
18805
|
-
"enum": [
|
|
18806
|
-
"default",
|
|
18807
|
-
"green",
|
|
18808
|
-
"blue",
|
|
18809
|
-
"red",
|
|
18810
|
-
"orange",
|
|
18811
|
-
"yellow",
|
|
18812
|
-
"purple",
|
|
18813
|
-
"$primary",
|
|
18814
|
-
"$info",
|
|
18815
|
-
"$success",
|
|
18816
|
-
"$warning",
|
|
18817
|
-
"$danger"
|
|
18818
|
-
]
|
|
18895
|
+
"$ref": "#/components/schemas/DocumentTextBackgroundColor"
|
|
18819
18896
|
}
|
|
18820
18897
|
},
|
|
18821
18898
|
"required": [
|
|
@@ -19355,6 +19432,9 @@
|
|
|
19355
19432
|
"properties": {
|
|
19356
19433
|
"icon": {
|
|
19357
19434
|
"type": "string"
|
|
19435
|
+
},
|
|
19436
|
+
"color": {
|
|
19437
|
+
"$ref": "#/components/schemas/DocumentTextColor"
|
|
19358
19438
|
}
|
|
19359
19439
|
},
|
|
19360
19440
|
"required": [
|
|
@@ -19825,6 +19905,15 @@
|
|
|
19825
19905
|
},
|
|
19826
19906
|
"fullWidth": {
|
|
19827
19907
|
"type": "boolean"
|
|
19908
|
+
},
|
|
19909
|
+
"expandable": {
|
|
19910
|
+
"type": "boolean"
|
|
19911
|
+
},
|
|
19912
|
+
"collapsedLineCount": {
|
|
19913
|
+
"type": "integer",
|
|
19914
|
+
"description": "Number of lines rendered in a code block when it is collapsed",
|
|
19915
|
+
"minimum": 1,
|
|
19916
|
+
"default": 10
|
|
19828
19917
|
}
|
|
19829
19918
|
}
|
|
19830
19919
|
},
|
|
@@ -23880,6 +23969,10 @@
|
|
|
23880
23969
|
"type": "boolean",
|
|
23881
23970
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
23882
23971
|
},
|
|
23972
|
+
"conversationsIssuesCluster": {
|
|
23973
|
+
"type": "string",
|
|
23974
|
+
"description": "ID of the conversations issues cluster associated with this change request."
|
|
23975
|
+
},
|
|
23883
23976
|
"urls": {
|
|
23884
23977
|
"type": "object",
|
|
23885
23978
|
"description": "URLs associated with the object",
|
|
@@ -24032,59 +24125,6 @@
|
|
|
24032
24125
|
"propertyName": "type"
|
|
24033
24126
|
}
|
|
24034
24127
|
},
|
|
24035
|
-
"ImportContentSource": {
|
|
24036
|
-
"type": "string",
|
|
24037
|
-
"enum": [
|
|
24038
|
-
"website",
|
|
24039
|
-
"docx",
|
|
24040
|
-
"markdown",
|
|
24041
|
-
"html",
|
|
24042
|
-
"zip",
|
|
24043
|
-
"confluence",
|
|
24044
|
-
"github-wiki",
|
|
24045
|
-
"notion",
|
|
24046
|
-
"google-docs"
|
|
24047
|
-
]
|
|
24048
|
-
},
|
|
24049
|
-
"ImportContent": {
|
|
24050
|
-
"type": "object",
|
|
24051
|
-
"properties": {
|
|
24052
|
-
"url": {
|
|
24053
|
-
"type": "string",
|
|
24054
|
-
"format": "uri",
|
|
24055
|
-
"description": "URL of the content to import."
|
|
24056
|
-
},
|
|
24057
|
-
"source": {
|
|
24058
|
-
"$ref": "#/components/schemas/ImportContentSource"
|
|
24059
|
-
}
|
|
24060
|
-
},
|
|
24061
|
-
"required": [
|
|
24062
|
-
"url",
|
|
24063
|
-
"source"
|
|
24064
|
-
]
|
|
24065
|
-
},
|
|
24066
|
-
"ImportContentResult": {
|
|
24067
|
-
"type": "object",
|
|
24068
|
-
"required": [
|
|
24069
|
-
"revision",
|
|
24070
|
-
"importedResources",
|
|
24071
|
-
"totalResources"
|
|
24072
|
-
],
|
|
24073
|
-
"properties": {
|
|
24074
|
-
"revision": {
|
|
24075
|
-
"type": "string",
|
|
24076
|
-
"description": "ID of the newly created revision."
|
|
24077
|
-
},
|
|
24078
|
-
"importedResources": {
|
|
24079
|
-
"type": "number",
|
|
24080
|
-
"description": "How many resources were imported"
|
|
24081
|
-
},
|
|
24082
|
-
"totalResources": {
|
|
24083
|
-
"type": "number",
|
|
24084
|
-
"description": "How many resources were processed"
|
|
24085
|
-
}
|
|
24086
|
-
}
|
|
24087
|
-
},
|
|
24088
24128
|
"SpaceTemplateParams": {
|
|
24089
24129
|
"type": "object",
|
|
24090
24130
|
"description": "Parameters for a space template",
|
|
@@ -24443,6 +24483,10 @@
|
|
|
24443
24483
|
"status": {
|
|
24444
24484
|
"$ref": "#/components/schemas/BillingTrialStatus"
|
|
24445
24485
|
},
|
|
24486
|
+
"count": {
|
|
24487
|
+
"type": "integer",
|
|
24488
|
+
"description": "Number of trials the organization has consumed."
|
|
24489
|
+
},
|
|
24446
24490
|
"endDate": {
|
|
24447
24491
|
"description": "The trial's end date, if the organization has or had a trial.",
|
|
24448
24492
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -24456,7 +24500,8 @@
|
|
|
24456
24500
|
}
|
|
24457
24501
|
},
|
|
24458
24502
|
"required": [
|
|
24459
|
-
"status"
|
|
24503
|
+
"status",
|
|
24504
|
+
"count"
|
|
24460
24505
|
]
|
|
24461
24506
|
},
|
|
24462
24507
|
"customHostname": {
|
|
@@ -25291,6 +25336,26 @@
|
|
|
25291
25336
|
"$ref": "#/components/schemas/EmojiReaction"
|
|
25292
25337
|
}
|
|
25293
25338
|
},
|
|
25339
|
+
"UserContributor": {
|
|
25340
|
+
"type": "object",
|
|
25341
|
+
"description": "Contributor towards content.",
|
|
25342
|
+
"properties": {
|
|
25343
|
+
"updatedAt": {
|
|
25344
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
25345
|
+
},
|
|
25346
|
+
"count": {
|
|
25347
|
+
"type": "integer"
|
|
25348
|
+
},
|
|
25349
|
+
"user": {
|
|
25350
|
+
"$ref": "#/components/schemas/User"
|
|
25351
|
+
}
|
|
25352
|
+
},
|
|
25353
|
+
"required": [
|
|
25354
|
+
"updatedAt",
|
|
25355
|
+
"count",
|
|
25356
|
+
"user"
|
|
25357
|
+
]
|
|
25358
|
+
},
|
|
25294
25359
|
"TableCellTarget": {
|
|
25295
25360
|
"type": "object",
|
|
25296
25361
|
"description": "Details about the table cell this comment is attached to, if any.",
|
|
@@ -25343,6 +25408,13 @@
|
|
|
25343
25408
|
"description": "The number of replies to this comment.",
|
|
25344
25409
|
"type": "number"
|
|
25345
25410
|
},
|
|
25411
|
+
"repliers": {
|
|
25412
|
+
"description": "The users who replied to this comment.",
|
|
25413
|
+
"type": "array",
|
|
25414
|
+
"items": {
|
|
25415
|
+
"$ref": "#/components/schemas/UserContributor"
|
|
25416
|
+
}
|
|
25417
|
+
},
|
|
25346
25418
|
"body": {
|
|
25347
25419
|
"description": "The content of the comment.",
|
|
25348
25420
|
"$ref": "#/components/schemas/Document"
|
|
@@ -25357,9 +25429,6 @@
|
|
|
25357
25429
|
"properties": {
|
|
25358
25430
|
"id": {
|
|
25359
25431
|
"type": "string"
|
|
25360
|
-
},
|
|
25361
|
-
"preview": {
|
|
25362
|
-
"type": "string"
|
|
25363
25432
|
}
|
|
25364
25433
|
},
|
|
25365
25434
|
"required": [
|
|
@@ -25379,27 +25448,15 @@
|
|
|
25379
25448
|
},
|
|
25380
25449
|
"page": {
|
|
25381
25450
|
"description": "Information about the page, if this comment refers to a specific page.",
|
|
25382
|
-
"
|
|
25383
|
-
|
|
25384
|
-
|
|
25385
|
-
|
|
25386
|
-
|
|
25387
|
-
"type": "object",
|
|
25388
|
-
"properties": {
|
|
25389
|
-
"path": {
|
|
25390
|
-
"description": "The fully qualified path to the page",
|
|
25391
|
-
"type": "string"
|
|
25392
|
-
},
|
|
25393
|
-
"outdated": {
|
|
25394
|
-
"description": "True if the target of this comment no longer exists in the primary content",
|
|
25395
|
-
"type": "boolean"
|
|
25396
|
-
}
|
|
25397
|
-
},
|
|
25398
|
-
"required": [
|
|
25399
|
-
"path",
|
|
25400
|
-
"outdated"
|
|
25401
|
-
]
|
|
25451
|
+
"type": "object",
|
|
25452
|
+
"properties": {
|
|
25453
|
+
"id": {
|
|
25454
|
+
"type": "string",
|
|
25455
|
+
"description": "The ID of the page"
|
|
25402
25456
|
}
|
|
25457
|
+
},
|
|
25458
|
+
"required": [
|
|
25459
|
+
"id"
|
|
25403
25460
|
]
|
|
25404
25461
|
},
|
|
25405
25462
|
"space": {
|
|
@@ -25462,6 +25519,7 @@
|
|
|
25462
25519
|
"object",
|
|
25463
25520
|
"id",
|
|
25464
25521
|
"replies",
|
|
25522
|
+
"repliers",
|
|
25465
25523
|
"body",
|
|
25466
25524
|
"postedBy",
|
|
25467
25525
|
"postedAt",
|
|
@@ -25561,6 +25619,20 @@
|
|
|
25561
25619
|
},
|
|
25562
25620
|
"updatedAt": {
|
|
25563
25621
|
"$ref": "#/components/schemas/Timestamp"
|
|
25622
|
+
},
|
|
25623
|
+
"urls": {
|
|
25624
|
+
"type": "object",
|
|
25625
|
+
"description": "URLs associated with the object",
|
|
25626
|
+
"properties": {
|
|
25627
|
+
"location": {
|
|
25628
|
+
"type": "string",
|
|
25629
|
+
"description": "URL of the review in the API",
|
|
25630
|
+
"format": "uri"
|
|
25631
|
+
}
|
|
25632
|
+
},
|
|
25633
|
+
"required": [
|
|
25634
|
+
"location"
|
|
25635
|
+
]
|
|
25564
25636
|
}
|
|
25565
25637
|
},
|
|
25566
25638
|
"required": [
|
|
@@ -25571,7 +25643,8 @@
|
|
|
25571
25643
|
"status",
|
|
25572
25644
|
"outdated",
|
|
25573
25645
|
"createdAt",
|
|
25574
|
-
"updatedAt"
|
|
25646
|
+
"updatedAt",
|
|
25647
|
+
"urls"
|
|
25575
25648
|
]
|
|
25576
25649
|
},
|
|
25577
25650
|
"Team": {
|
|
@@ -25816,32 +25889,26 @@
|
|
|
25816
25889
|
"body"
|
|
25817
25890
|
]
|
|
25818
25891
|
},
|
|
25819
|
-
"
|
|
25820
|
-
"
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
"updatedAt": {
|
|
25824
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
25825
|
-
},
|
|
25826
|
-
"count": {
|
|
25827
|
-
"type": "integer"
|
|
25828
|
-
},
|
|
25829
|
-
"user": {
|
|
25830
|
-
"$ref": "#/components/schemas/User"
|
|
25892
|
+
"ChangeRequestUserContributor": {
|
|
25893
|
+
"allOf": [
|
|
25894
|
+
{
|
|
25895
|
+
"$ref": "#/components/schemas/UserContributor"
|
|
25831
25896
|
},
|
|
25832
|
-
|
|
25833
|
-
"type": "
|
|
25834
|
-
"
|
|
25835
|
-
"
|
|
25836
|
-
|
|
25897
|
+
{
|
|
25898
|
+
"type": "object",
|
|
25899
|
+
"properties": {
|
|
25900
|
+
"actionType": {
|
|
25901
|
+
"type": "string",
|
|
25902
|
+
"enum": [
|
|
25903
|
+
"edit",
|
|
25904
|
+
"comment"
|
|
25905
|
+
]
|
|
25906
|
+
}
|
|
25907
|
+
},
|
|
25908
|
+
"required": [
|
|
25909
|
+
"actionType"
|
|
25837
25910
|
]
|
|
25838
25911
|
}
|
|
25839
|
-
},
|
|
25840
|
-
"required": [
|
|
25841
|
-
"updatedAt",
|
|
25842
|
-
"count",
|
|
25843
|
-
"user",
|
|
25844
|
-
"actionType"
|
|
25845
25912
|
]
|
|
25846
25913
|
},
|
|
25847
25914
|
"RevisionPageType": {
|
|
@@ -31568,6 +31635,21 @@
|
|
|
31568
31635
|
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
31569
31636
|
}
|
|
31570
31637
|
}
|
|
31638
|
+
},
|
|
31639
|
+
{
|
|
31640
|
+
"type": "object",
|
|
31641
|
+
"description": "Create a completely empty space (no page in it)",
|
|
31642
|
+
"required": [
|
|
31643
|
+
"empty"
|
|
31644
|
+
],
|
|
31645
|
+
"properties": {
|
|
31646
|
+
"empty": {
|
|
31647
|
+
"type": "boolean",
|
|
31648
|
+
"enum": [
|
|
31649
|
+
true
|
|
31650
|
+
]
|
|
31651
|
+
}
|
|
31652
|
+
}
|
|
31571
31653
|
}
|
|
31572
31654
|
]
|
|
31573
31655
|
}
|
|
@@ -32290,67 +32372,6 @@
|
|
|
32290
32372
|
"urls"
|
|
32291
32373
|
]
|
|
32292
32374
|
},
|
|
32293
|
-
"ConversationIssue": {
|
|
32294
|
-
"type": "object",
|
|
32295
|
-
"properties": {
|
|
32296
|
-
"object": {
|
|
32297
|
-
"type": "string",
|
|
32298
|
-
"enum": [
|
|
32299
|
-
"conversation-issue"
|
|
32300
|
-
]
|
|
32301
|
-
},
|
|
32302
|
-
"id": {
|
|
32303
|
-
"type": "string",
|
|
32304
|
-
"description": "The ID of the conversation issue"
|
|
32305
|
-
},
|
|
32306
|
-
"title": {
|
|
32307
|
-
"type": "string",
|
|
32308
|
-
"description": "The title of the conversation issue"
|
|
32309
|
-
},
|
|
32310
|
-
"summary": {
|
|
32311
|
-
"type": "string",
|
|
32312
|
-
"description": "The summary of the conversation issue"
|
|
32313
|
-
},
|
|
32314
|
-
"createdAt": {
|
|
32315
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32316
|
-
},
|
|
32317
|
-
"ingestedAt": {
|
|
32318
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32319
|
-
},
|
|
32320
|
-
"conversation": {
|
|
32321
|
-
"type": "string",
|
|
32322
|
-
"description": "The ID of the conversation the issue belongs to"
|
|
32323
|
-
},
|
|
32324
|
-
"cluster": {
|
|
32325
|
-
"type": "string",
|
|
32326
|
-
"description": "The ID of the cluster the issue has been linked to"
|
|
32327
|
-
},
|
|
32328
|
-
"urls": {
|
|
32329
|
-
"type": "object",
|
|
32330
|
-
"description": "URLs associated with the conversation issue",
|
|
32331
|
-
"properties": {
|
|
32332
|
-
"location": {
|
|
32333
|
-
"type": "string",
|
|
32334
|
-
"description": "URL of the conversation issue in the API",
|
|
32335
|
-
"format": "uri"
|
|
32336
|
-
}
|
|
32337
|
-
},
|
|
32338
|
-
"required": [
|
|
32339
|
-
"location"
|
|
32340
|
-
]
|
|
32341
|
-
}
|
|
32342
|
-
},
|
|
32343
|
-
"required": [
|
|
32344
|
-
"object",
|
|
32345
|
-
"id",
|
|
32346
|
-
"title",
|
|
32347
|
-
"summary",
|
|
32348
|
-
"createdAt",
|
|
32349
|
-
"ingestedAt",
|
|
32350
|
-
"conversation",
|
|
32351
|
-
"urls"
|
|
32352
|
-
]
|
|
32353
|
-
},
|
|
32354
32375
|
"ConversationSource": {
|
|
32355
32376
|
"oneOf": [
|
|
32356
32377
|
{
|
|
@@ -32506,6 +32527,67 @@
|
|
|
32506
32527
|
"parts"
|
|
32507
32528
|
]
|
|
32508
32529
|
},
|
|
32530
|
+
"ConversationIssue": {
|
|
32531
|
+
"type": "object",
|
|
32532
|
+
"properties": {
|
|
32533
|
+
"object": {
|
|
32534
|
+
"type": "string",
|
|
32535
|
+
"enum": [
|
|
32536
|
+
"conversation-issue"
|
|
32537
|
+
]
|
|
32538
|
+
},
|
|
32539
|
+
"id": {
|
|
32540
|
+
"type": "string",
|
|
32541
|
+
"description": "The ID of the conversation issue"
|
|
32542
|
+
},
|
|
32543
|
+
"title": {
|
|
32544
|
+
"type": "string",
|
|
32545
|
+
"description": "The title of the conversation issue"
|
|
32546
|
+
},
|
|
32547
|
+
"summary": {
|
|
32548
|
+
"type": "string",
|
|
32549
|
+
"description": "The summary of the conversation issue"
|
|
32550
|
+
},
|
|
32551
|
+
"createdAt": {
|
|
32552
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32553
|
+
},
|
|
32554
|
+
"ingestedAt": {
|
|
32555
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32556
|
+
},
|
|
32557
|
+
"conversation": {
|
|
32558
|
+
"type": "string",
|
|
32559
|
+
"description": "The ID of the conversation the issue belongs to"
|
|
32560
|
+
},
|
|
32561
|
+
"cluster": {
|
|
32562
|
+
"type": "string",
|
|
32563
|
+
"description": "The ID of the cluster the issue has been linked to"
|
|
32564
|
+
},
|
|
32565
|
+
"urls": {
|
|
32566
|
+
"type": "object",
|
|
32567
|
+
"description": "URLs associated with the conversation issue",
|
|
32568
|
+
"properties": {
|
|
32569
|
+
"location": {
|
|
32570
|
+
"type": "string",
|
|
32571
|
+
"description": "URL of the conversation issue in the API",
|
|
32572
|
+
"format": "uri"
|
|
32573
|
+
}
|
|
32574
|
+
},
|
|
32575
|
+
"required": [
|
|
32576
|
+
"location"
|
|
32577
|
+
]
|
|
32578
|
+
}
|
|
32579
|
+
},
|
|
32580
|
+
"required": [
|
|
32581
|
+
"object",
|
|
32582
|
+
"id",
|
|
32583
|
+
"title",
|
|
32584
|
+
"summary",
|
|
32585
|
+
"createdAt",
|
|
32586
|
+
"ingestedAt",
|
|
32587
|
+
"conversation",
|
|
32588
|
+
"urls"
|
|
32589
|
+
]
|
|
32590
|
+
},
|
|
32509
32591
|
"AgentsSetupState": {
|
|
32510
32592
|
"type": "object",
|
|
32511
32593
|
"description": "State and settings of the agent",
|
|
@@ -33265,8 +33347,8 @@
|
|
|
33265
33347
|
"status"
|
|
33266
33348
|
]
|
|
33267
33349
|
},
|
|
33268
|
-
"
|
|
33269
|
-
"description": "A response to a request to preview
|
|
33350
|
+
"SitePublishOperationPreviewResponse": {
|
|
33351
|
+
"description": "A response to a request to preview the publishing of a site. It indicates whether the operation can proceed immediately, requires checkout, if a trial is available or if a trial extension is available.\n",
|
|
33270
33352
|
"oneOf": [
|
|
33271
33353
|
{
|
|
33272
33354
|
"type": "object",
|
|
@@ -33298,6 +33380,21 @@
|
|
|
33298
33380
|
"type"
|
|
33299
33381
|
]
|
|
33300
33382
|
},
|
|
33383
|
+
{
|
|
33384
|
+
"type": "object",
|
|
33385
|
+
"properties": {
|
|
33386
|
+
"type": {
|
|
33387
|
+
"description": "The organization is eligible for an additional trial when publishing the site.",
|
|
33388
|
+
"type": "string",
|
|
33389
|
+
"enum": [
|
|
33390
|
+
"extended-trial-available"
|
|
33391
|
+
]
|
|
33392
|
+
}
|
|
33393
|
+
},
|
|
33394
|
+
"required": [
|
|
33395
|
+
"type"
|
|
33396
|
+
]
|
|
33397
|
+
},
|
|
33301
33398
|
{
|
|
33302
33399
|
"type": "object",
|
|
33303
33400
|
"properties": {
|
|
@@ -34432,6 +34529,59 @@
|
|
|
34432
34529
|
}
|
|
34433
34530
|
]
|
|
34434
34531
|
},
|
|
34532
|
+
"BillingOperationPreviewResponse": {
|
|
34533
|
+
"description": "A response to a request to preview a paid operation or action. A user might preview an operation before executing it to see which billing steps would be required (if any). This schema defines the response of that preview request.\n",
|
|
34534
|
+
"oneOf": [
|
|
34535
|
+
{
|
|
34536
|
+
"type": "object",
|
|
34537
|
+
"properties": {
|
|
34538
|
+
"type": {
|
|
34539
|
+
"description": "User can go ahead with the operation without any additional steps. Their subscription will be updated to reflect the new changes.",
|
|
34540
|
+
"type": "string",
|
|
34541
|
+
"enum": [
|
|
34542
|
+
"go-ahead"
|
|
34543
|
+
]
|
|
34544
|
+
}
|
|
34545
|
+
},
|
|
34546
|
+
"required": [
|
|
34547
|
+
"type"
|
|
34548
|
+
]
|
|
34549
|
+
},
|
|
34550
|
+
{
|
|
34551
|
+
"type": "object",
|
|
34552
|
+
"properties": {
|
|
34553
|
+
"type": {
|
|
34554
|
+
"description": "By going ahead with this operation, the user will be starting a trial in GitBook.",
|
|
34555
|
+
"type": "string",
|
|
34556
|
+
"enum": [
|
|
34557
|
+
"trial-available"
|
|
34558
|
+
]
|
|
34559
|
+
}
|
|
34560
|
+
},
|
|
34561
|
+
"required": [
|
|
34562
|
+
"type"
|
|
34563
|
+
]
|
|
34564
|
+
},
|
|
34565
|
+
{
|
|
34566
|
+
"type": "object",
|
|
34567
|
+
"properties": {
|
|
34568
|
+
"type": {
|
|
34569
|
+
"description": "User must checkout to complete the operation.",
|
|
34570
|
+
"type": "string",
|
|
34571
|
+
"enum": [
|
|
34572
|
+
"checkout"
|
|
34573
|
+
]
|
|
34574
|
+
},
|
|
34575
|
+
"invoice": {
|
|
34576
|
+
"$ref": "#/components/schemas/BillingInvoicePreview"
|
|
34577
|
+
}
|
|
34578
|
+
},
|
|
34579
|
+
"required": [
|
|
34580
|
+
"type"
|
|
34581
|
+
]
|
|
34582
|
+
}
|
|
34583
|
+
]
|
|
34584
|
+
},
|
|
34435
34585
|
"SiteUpgradeReason": {
|
|
34436
34586
|
"type": "string",
|
|
34437
34587
|
"description": "The reason or feature that triggered the site upgrade",
|
|
@@ -34535,14 +34685,6 @@
|
|
|
34535
34685
|
"currentSiteSpace": {
|
|
34536
34686
|
"type": "string",
|
|
34537
34687
|
"description": "The ID of the site space that must always be included in the search results. The language of this site space will be used to match other site spaces with the same language, if applicable.\n"
|
|
34538
|
-
},
|
|
34539
|
-
"includedSiteSpaces": {
|
|
34540
|
-
"type": "array",
|
|
34541
|
-
"deprecated": true,
|
|
34542
|
-
"description": "Site spaces to include in search results in addition to default site spaces. This is deprecated and will be removed soon. Please use 'currentSiteSpace' instead.\n",
|
|
34543
|
-
"items": {
|
|
34544
|
-
"type": "string"
|
|
34545
|
-
}
|
|
34546
34688
|
}
|
|
34547
34689
|
}
|
|
34548
34690
|
},
|
|
@@ -34799,51 +34941,6 @@
|
|
|
34799
34941
|
"content"
|
|
34800
34942
|
]
|
|
34801
34943
|
},
|
|
34802
|
-
"AIOutputObject": {
|
|
34803
|
-
"type": "object",
|
|
34804
|
-
"description": "Indicate that the AI should response with a JSON object corresponding to the provided schema.\n",
|
|
34805
|
-
"properties": {
|
|
34806
|
-
"type": {
|
|
34807
|
-
"type": "string",
|
|
34808
|
-
"enum": [
|
|
34809
|
-
"object"
|
|
34810
|
-
]
|
|
34811
|
-
},
|
|
34812
|
-
"schema": {
|
|
34813
|
-
"type": "object",
|
|
34814
|
-
"description": "The JSON schema to use for the object."
|
|
34815
|
-
}
|
|
34816
|
-
},
|
|
34817
|
-
"required": [
|
|
34818
|
-
"type",
|
|
34819
|
-
"schema"
|
|
34820
|
-
]
|
|
34821
|
-
},
|
|
34822
|
-
"AIOutputDocument": {
|
|
34823
|
-
"type": "object",
|
|
34824
|
-
"description": "Indicate that the AI should respond with a rich text document.\n",
|
|
34825
|
-
"properties": {
|
|
34826
|
-
"type": {
|
|
34827
|
-
"type": "string",
|
|
34828
|
-
"enum": [
|
|
34829
|
-
"document"
|
|
34830
|
-
]
|
|
34831
|
-
}
|
|
34832
|
-
},
|
|
34833
|
-
"required": [
|
|
34834
|
-
"type"
|
|
34835
|
-
]
|
|
34836
|
-
},
|
|
34837
|
-
"AIOutputFormat": {
|
|
34838
|
-
"oneOf": [
|
|
34839
|
-
{
|
|
34840
|
-
"$ref": "#/components/schemas/AIOutputObject"
|
|
34841
|
-
},
|
|
34842
|
-
{
|
|
34843
|
-
"$ref": "#/components/schemas/AIOutputDocument"
|
|
34844
|
-
}
|
|
34845
|
-
]
|
|
34846
|
-
},
|
|
34847
34944
|
"AIModel": {
|
|
34848
34945
|
"type": "string",
|
|
34849
34946
|
"enum": [
|
|
@@ -35419,18 +35516,18 @@
|
|
|
35419
35516
|
"page"
|
|
35420
35517
|
]
|
|
35421
35518
|
},
|
|
35422
|
-
"
|
|
35519
|
+
"AIToolCallCreateChangeRequest": {
|
|
35423
35520
|
"type": "object",
|
|
35424
35521
|
"properties": {
|
|
35425
35522
|
"tool": {
|
|
35426
35523
|
"type": "string",
|
|
35427
35524
|
"enum": [
|
|
35428
|
-
"
|
|
35525
|
+
"createChangeRequest"
|
|
35429
35526
|
]
|
|
35430
35527
|
},
|
|
35431
35528
|
"spaceId": {
|
|
35432
35529
|
"type": "string",
|
|
35433
|
-
"description": "The ID of the space the
|
|
35530
|
+
"description": "The ID of the space the change request belongs to."
|
|
35434
35531
|
},
|
|
35435
35532
|
"action": {
|
|
35436
35533
|
"type": "string",
|
|
@@ -35439,21 +35536,26 @@
|
|
|
35439
35536
|
"update"
|
|
35440
35537
|
]
|
|
35441
35538
|
},
|
|
35442
|
-
"
|
|
35539
|
+
"changeRequest": {
|
|
35443
35540
|
"type": "object",
|
|
35444
35541
|
"properties": {
|
|
35445
35542
|
"id": {
|
|
35446
35543
|
"type": "string",
|
|
35447
|
-
"description": "The unique identifier of the
|
|
35544
|
+
"description": "The unique identifier of the change request."
|
|
35448
35545
|
},
|
|
35449
|
-
"
|
|
35546
|
+
"number": {
|
|
35547
|
+
"type": "number",
|
|
35548
|
+
"description": "Incremental identifier of the change request."
|
|
35549
|
+
},
|
|
35550
|
+
"subject": {
|
|
35450
35551
|
"type": "string",
|
|
35451
|
-
"description": "
|
|
35552
|
+
"description": "A brief summary of the change request."
|
|
35452
35553
|
}
|
|
35453
35554
|
},
|
|
35454
35555
|
"required": [
|
|
35455
35556
|
"id",
|
|
35456
|
-
"
|
|
35557
|
+
"number",
|
|
35558
|
+
"subject"
|
|
35457
35559
|
]
|
|
35458
35560
|
}
|
|
35459
35561
|
},
|
|
@@ -35461,7 +35563,7 @@
|
|
|
35461
35563
|
"tool",
|
|
35462
35564
|
"spaceId",
|
|
35463
35565
|
"action",
|
|
35464
|
-
"
|
|
35566
|
+
"changeRequest"
|
|
35465
35567
|
]
|
|
35466
35568
|
},
|
|
35467
35569
|
"AIToolCallComment": {
|
|
@@ -35645,7 +35747,7 @@
|
|
|
35645
35747
|
"$ref": "#/components/schemas/AIToolCallGetPageDiff"
|
|
35646
35748
|
},
|
|
35647
35749
|
{
|
|
35648
|
-
"$ref": "#/components/schemas/
|
|
35750
|
+
"$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
35649
35751
|
},
|
|
35650
35752
|
{
|
|
35651
35753
|
"$ref": "#/components/schemas/AIToolCallComment"
|
|
@@ -38825,22 +38927,6 @@
|
|
|
38825
38927
|
"verificationErrors"
|
|
38826
38928
|
]
|
|
38827
38929
|
},
|
|
38828
|
-
"StaffUserInfo": {
|
|
38829
|
-
"type": "object",
|
|
38830
|
-
"description": "The GitBook Staff User info.",
|
|
38831
|
-
"properties": {
|
|
38832
|
-
"id": {
|
|
38833
|
-
"type": "string"
|
|
38834
|
-
},
|
|
38835
|
-
"searchKey": {
|
|
38836
|
-
"type": "string"
|
|
38837
|
-
}
|
|
38838
|
-
},
|
|
38839
|
-
"required": [
|
|
38840
|
-
"id",
|
|
38841
|
-
"searchKey"
|
|
38842
|
-
]
|
|
38843
|
-
},
|
|
38844
38930
|
"FirebaseUserInfo": {
|
|
38845
38931
|
"type": "object",
|
|
38846
38932
|
"description": "The User Firebase Auth Info.",
|
|
@@ -38908,6 +38994,9 @@
|
|
|
38908
38994
|
},
|
|
38909
38995
|
"reason": {
|
|
38910
38996
|
"$ref": "#/components/schemas/BlockReason"
|
|
38997
|
+
},
|
|
38998
|
+
"blockPaidOrg": {
|
|
38999
|
+
"type": "boolean"
|
|
38911
39000
|
}
|
|
38912
39001
|
},
|
|
38913
39002
|
"required": [
|
|
@@ -39029,9 +39118,6 @@
|
|
|
39029
39118
|
"updatedAt": {
|
|
39030
39119
|
"$ref": "#/components/schemas/Timestamp"
|
|
39031
39120
|
},
|
|
39032
|
-
"searchKey": {
|
|
39033
|
-
"type": "string"
|
|
39034
|
-
},
|
|
39035
39121
|
"organizations": {
|
|
39036
39122
|
"type": "object",
|
|
39037
39123
|
"additionalProperties": {
|
|
@@ -39053,7 +39139,6 @@
|
|
|
39053
39139
|
},
|
|
39054
39140
|
"required": [
|
|
39055
39141
|
"updatedAt",
|
|
39056
|
-
"searchKey",
|
|
39057
39142
|
"organizations",
|
|
39058
39143
|
"collections",
|
|
39059
39144
|
"spaces"
|
|
@@ -40884,32 +40969,6 @@
|
|
|
40884
40969
|
"comment"
|
|
40885
40970
|
]
|
|
40886
40971
|
},
|
|
40887
|
-
"CommentReplyInfoChannel": {
|
|
40888
|
-
"type": "object",
|
|
40889
|
-
"properties": {
|
|
40890
|
-
"channel": {
|
|
40891
|
-
"type": "string",
|
|
40892
|
-
"enum": [
|
|
40893
|
-
"space-comment-reply"
|
|
40894
|
-
]
|
|
40895
|
-
},
|
|
40896
|
-
"space": {
|
|
40897
|
-
"type": "string"
|
|
40898
|
-
},
|
|
40899
|
-
"comment": {
|
|
40900
|
-
"type": "string"
|
|
40901
|
-
},
|
|
40902
|
-
"commentReply": {
|
|
40903
|
-
"type": "string"
|
|
40904
|
-
}
|
|
40905
|
-
},
|
|
40906
|
-
"required": [
|
|
40907
|
-
"channel",
|
|
40908
|
-
"space",
|
|
40909
|
-
"comment",
|
|
40910
|
-
"commentReply"
|
|
40911
|
-
]
|
|
40912
|
-
},
|
|
40913
40972
|
"CommentRepliesChannel": {
|
|
40914
40973
|
"type": "object",
|
|
40915
40974
|
"properties": {
|
|
@@ -41655,9 +41714,6 @@
|
|
|
41655
41714
|
{
|
|
41656
41715
|
"$ref": "#/components/schemas/CommentInfoChannel"
|
|
41657
41716
|
},
|
|
41658
|
-
{
|
|
41659
|
-
"$ref": "#/components/schemas/CommentReplyInfoChannel"
|
|
41660
|
-
},
|
|
41661
41717
|
{
|
|
41662
41718
|
"$ref": "#/components/schemas/CommentRepliesChannel"
|
|
41663
41719
|
},
|
|
@@ -42114,51 +42170,6 @@
|
|
|
42114
42170
|
"steps"
|
|
42115
42171
|
]
|
|
42116
42172
|
},
|
|
42117
|
-
"AgentRequestReset": {
|
|
42118
|
-
"type": "object",
|
|
42119
|
-
"description": "Request to reset the chat.\n",
|
|
42120
|
-
"properties": {
|
|
42121
|
-
"type": {
|
|
42122
|
-
"type": "string",
|
|
42123
|
-
"enum": [
|
|
42124
|
-
"reset"
|
|
42125
|
-
]
|
|
42126
|
-
}
|
|
42127
|
-
},
|
|
42128
|
-
"required": [
|
|
42129
|
-
"type"
|
|
42130
|
-
]
|
|
42131
|
-
},
|
|
42132
|
-
"AgentRequestPostMessage": {
|
|
42133
|
-
"type": "object",
|
|
42134
|
-
"description": "Request to post a message to the agent.\n",
|
|
42135
|
-
"properties": {
|
|
42136
|
-
"type": {
|
|
42137
|
-
"type": "string",
|
|
42138
|
-
"enum": [
|
|
42139
|
-
"post_message"
|
|
42140
|
-
]
|
|
42141
|
-
},
|
|
42142
|
-
"message": {
|
|
42143
|
-
"$ref": "#/components/schemas/AIMessageInput"
|
|
42144
|
-
}
|
|
42145
|
-
},
|
|
42146
|
-
"required": [
|
|
42147
|
-
"type",
|
|
42148
|
-
"message"
|
|
42149
|
-
]
|
|
42150
|
-
},
|
|
42151
|
-
"AgentRequest": {
|
|
42152
|
-
"description": "Payload to send to the agent.\n",
|
|
42153
|
-
"oneOf": [
|
|
42154
|
-
{
|
|
42155
|
-
"$ref": "#/components/schemas/AgentRequestReset"
|
|
42156
|
-
},
|
|
42157
|
-
{
|
|
42158
|
-
"$ref": "#/components/schemas/AgentRequestPostMessage"
|
|
42159
|
-
}
|
|
42160
|
-
]
|
|
42161
|
-
},
|
|
42162
42173
|
"AgentStreamMessages": {
|
|
42163
42174
|
"type": "object",
|
|
42164
42175
|
"description": "Payload emitted by the agent to reset the messages.\n",
|
|
@@ -42254,6 +42265,32 @@
|
|
|
42254
42265
|
"state"
|
|
42255
42266
|
]
|
|
42256
42267
|
},
|
|
42268
|
+
"AgentStreamRPC": {
|
|
42269
|
+
"type": "object",
|
|
42270
|
+
"description": "Payload emitted by the agent is responding to a RPC call.\n",
|
|
42271
|
+
"properties": {
|
|
42272
|
+
"type": {
|
|
42273
|
+
"type": "string",
|
|
42274
|
+
"enum": [
|
|
42275
|
+
"rpc"
|
|
42276
|
+
]
|
|
42277
|
+
},
|
|
42278
|
+
"message": {
|
|
42279
|
+
"oneOf": [
|
|
42280
|
+
{
|
|
42281
|
+
"type": "string"
|
|
42282
|
+
},
|
|
42283
|
+
{
|
|
42284
|
+
"type": "object"
|
|
42285
|
+
}
|
|
42286
|
+
]
|
|
42287
|
+
}
|
|
42288
|
+
},
|
|
42289
|
+
"required": [
|
|
42290
|
+
"type",
|
|
42291
|
+
"message"
|
|
42292
|
+
]
|
|
42293
|
+
},
|
|
42257
42294
|
"AgentStream": {
|
|
42258
42295
|
"oneOf": [
|
|
42259
42296
|
{
|
|
@@ -42264,6 +42301,9 @@
|
|
|
42264
42301
|
},
|
|
42265
42302
|
{
|
|
42266
42303
|
"$ref": "#/components/schemas/AgentStreamState"
|
|
42304
|
+
},
|
|
42305
|
+
{
|
|
42306
|
+
"$ref": "#/components/schemas/AgentStreamRPC"
|
|
42267
42307
|
}
|
|
42268
42308
|
]
|
|
42269
42309
|
},
|
|
@@ -42326,9 +42366,6 @@
|
|
|
42326
42366
|
"RequestExportToGitRepository": {
|
|
42327
42367
|
"$ref": "#/components/schemas/ExportToGitRepository"
|
|
42328
42368
|
},
|
|
42329
|
-
"RequestImportContent": {
|
|
42330
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
42331
|
-
},
|
|
42332
42369
|
"RequestCreateSpace": {
|
|
42333
42370
|
"$ref": "#/components/schemas/CreateSpace"
|
|
42334
42371
|
},
|