@gitbook/api 0.143.1 → 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 +377 -205
- package/dist/index.cjs +99 -61
- package/dist/index.js +97 -60
- package/package.json +1 -1
- package/spec/openapi.json +1265 -849
- package/spec/openapi.yaml +715 -451
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,10 +3583,10 @@
|
|
|
3622
3583
|
}
|
|
3623
3584
|
}
|
|
3624
3585
|
},
|
|
3625
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/
|
|
3626
|
-
"
|
|
3627
|
-
"operationId": "
|
|
3628
|
-
"summary": "
|
|
3586
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/pages": {
|
|
3587
|
+
"get": {
|
|
3588
|
+
"operationId": "listPagesInChangeRequest",
|
|
3589
|
+
"summary": "List all change request pages",
|
|
3629
3590
|
"tags": [
|
|
3630
3591
|
"change-request-content"
|
|
3631
3592
|
],
|
|
@@ -3640,44 +3601,43 @@
|
|
|
3640
3601
|
},
|
|
3641
3602
|
{
|
|
3642
3603
|
"$ref": "#/components/parameters/changeRequestId"
|
|
3604
|
+
},
|
|
3605
|
+
{
|
|
3606
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"$ref": "#/components/parameters/revisionComputed"
|
|
3643
3610
|
}
|
|
3644
3611
|
],
|
|
3645
3612
|
"responses": {
|
|
3646
|
-
"
|
|
3647
|
-
"description": "
|
|
3648
|
-
"headers": {
|
|
3649
|
-
"Location": {
|
|
3650
|
-
"description": "API URL for the newly created revision",
|
|
3651
|
-
"schema": {
|
|
3652
|
-
"type": "string"
|
|
3653
|
-
}
|
|
3654
|
-
}
|
|
3655
|
-
},
|
|
3613
|
+
"200": {
|
|
3614
|
+
"description": "OK",
|
|
3656
3615
|
"content": {
|
|
3657
3616
|
"application/json": {
|
|
3658
3617
|
"schema": {
|
|
3659
|
-
"
|
|
3618
|
+
"type": "object",
|
|
3619
|
+
"properties": {
|
|
3620
|
+
"pages": {
|
|
3621
|
+
"type": "array",
|
|
3622
|
+
"items": {
|
|
3623
|
+
"$ref": "#/components/schemas/RevisionPage"
|
|
3624
|
+
}
|
|
3625
|
+
}
|
|
3626
|
+
},
|
|
3627
|
+
"required": [
|
|
3628
|
+
"pages"
|
|
3629
|
+
]
|
|
3660
3630
|
}
|
|
3661
3631
|
}
|
|
3662
3632
|
}
|
|
3663
3633
|
}
|
|
3664
|
-
},
|
|
3665
|
-
"requestBody": {
|
|
3666
|
-
"required": true,
|
|
3667
|
-
"content": {
|
|
3668
|
-
"application/json": {
|
|
3669
|
-
"schema": {
|
|
3670
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
3671
|
-
}
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
3634
|
}
|
|
3675
3635
|
}
|
|
3676
3636
|
},
|
|
3677
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/
|
|
3637
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files": {
|
|
3678
3638
|
"get": {
|
|
3679
|
-
"operationId": "
|
|
3680
|
-
"summary": "List all change request
|
|
3639
|
+
"operationId": "listFilesInChangeRequestById",
|
|
3640
|
+
"summary": "List all change request files",
|
|
3681
3641
|
"tags": [
|
|
3682
3642
|
"change-request-content"
|
|
3683
3643
|
],
|
|
@@ -3693,6 +3653,12 @@
|
|
|
3693
3653
|
{
|
|
3694
3654
|
"$ref": "#/components/parameters/changeRequestId"
|
|
3695
3655
|
},
|
|
3656
|
+
{
|
|
3657
|
+
"$ref": "#/components/parameters/listPage"
|
|
3658
|
+
},
|
|
3659
|
+
{
|
|
3660
|
+
"$ref": "#/components/parameters/listLimit"
|
|
3661
|
+
},
|
|
3696
3662
|
{
|
|
3697
3663
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3698
3664
|
},
|
|
@@ -3706,17 +3672,24 @@
|
|
|
3706
3672
|
"content": {
|
|
3707
3673
|
"application/json": {
|
|
3708
3674
|
"schema": {
|
|
3709
|
-
"
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3675
|
+
"allOf": [
|
|
3676
|
+
{
|
|
3677
|
+
"$ref": "#/components/schemas/List"
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"type": "object",
|
|
3681
|
+
"required": [
|
|
3682
|
+
"items"
|
|
3683
|
+
],
|
|
3684
|
+
"properties": {
|
|
3685
|
+
"items": {
|
|
3686
|
+
"type": "array",
|
|
3687
|
+
"items": {
|
|
3688
|
+
"$ref": "#/components/schemas/RevisionFile"
|
|
3689
|
+
}
|
|
3690
|
+
}
|
|
3715
3691
|
}
|
|
3716
3692
|
}
|
|
3717
|
-
},
|
|
3718
|
-
"required": [
|
|
3719
|
-
"pages"
|
|
3720
3693
|
]
|
|
3721
3694
|
}
|
|
3722
3695
|
}
|
|
@@ -3725,10 +3698,10 @@
|
|
|
3725
3698
|
}
|
|
3726
3699
|
}
|
|
3727
3700
|
},
|
|
3728
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files": {
|
|
3701
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}": {
|
|
3729
3702
|
"get": {
|
|
3730
|
-
"operationId": "
|
|
3731
|
-
"summary": "
|
|
3703
|
+
"operationId": "getFileInChangeRequestById",
|
|
3704
|
+
"summary": "Get a change request file by its ID",
|
|
3732
3705
|
"tags": [
|
|
3733
3706
|
"change-request-content"
|
|
3734
3707
|
],
|
|
@@ -3745,120 +3718,56 @@
|
|
|
3745
3718
|
"$ref": "#/components/parameters/changeRequestId"
|
|
3746
3719
|
},
|
|
3747
3720
|
{
|
|
3748
|
-
"$ref": "#/components/parameters/
|
|
3749
|
-
},
|
|
3750
|
-
{
|
|
3751
|
-
"$ref": "#/components/parameters/listLimit"
|
|
3721
|
+
"$ref": "#/components/parameters/fileId"
|
|
3752
3722
|
},
|
|
3753
3723
|
{
|
|
3754
3724
|
"$ref": "#/components/parameters/revisionMetadata"
|
|
3755
3725
|
},
|
|
3756
3726
|
{
|
|
3757
3727
|
"$ref": "#/components/parameters/revisionComputed"
|
|
3758
|
-
}
|
|
3759
|
-
],
|
|
3760
|
-
"responses": {
|
|
3761
|
-
"200": {
|
|
3762
|
-
"description": "OK",
|
|
3763
|
-
"content": {
|
|
3764
|
-
"application/json": {
|
|
3765
|
-
"schema": {
|
|
3766
|
-
"
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
"user": []
|
|
3802
|
-
}
|
|
3803
|
-
],
|
|
3804
|
-
"parameters": [
|
|
3805
|
-
{
|
|
3806
|
-
"$ref": "#/components/parameters/spaceId"
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
"$ref": "#/components/parameters/changeRequestId"
|
|
3810
|
-
},
|
|
3811
|
-
{
|
|
3812
|
-
"$ref": "#/components/parameters/fileId"
|
|
3813
|
-
},
|
|
3814
|
-
{
|
|
3815
|
-
"$ref": "#/components/parameters/revisionMetadata"
|
|
3816
|
-
},
|
|
3817
|
-
{
|
|
3818
|
-
"$ref": "#/components/parameters/revisionComputed"
|
|
3819
|
-
}
|
|
3820
|
-
],
|
|
3821
|
-
"responses": {
|
|
3822
|
-
"200": {
|
|
3823
|
-
"description": "OK",
|
|
3824
|
-
"content": {
|
|
3825
|
-
"application/json": {
|
|
3826
|
-
"schema": {
|
|
3827
|
-
"$ref": "#/components/schemas/RevisionFile"
|
|
3828
|
-
}
|
|
3829
|
-
}
|
|
3830
|
-
}
|
|
3831
|
-
}
|
|
3832
|
-
}
|
|
3833
|
-
}
|
|
3834
|
-
},
|
|
3835
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks": {
|
|
3836
|
-
"get": {
|
|
3837
|
-
"operationId": "listChangeRequestFileBacklinks",
|
|
3838
|
-
"summary": "List all backlink locations of a change request file",
|
|
3839
|
-
"tags": [
|
|
3840
|
-
"change-request-content"
|
|
3841
|
-
],
|
|
3842
|
-
"security": [
|
|
3843
|
-
{
|
|
3844
|
-
"user": []
|
|
3845
|
-
}
|
|
3846
|
-
],
|
|
3847
|
-
"parameters": [
|
|
3848
|
-
{
|
|
3849
|
-
"$ref": "#/components/parameters/spaceId"
|
|
3850
|
-
},
|
|
3851
|
-
{
|
|
3852
|
-
"$ref": "#/components/parameters/changeRequestId"
|
|
3853
|
-
},
|
|
3854
|
-
{
|
|
3855
|
-
"$ref": "#/components/parameters/fileId"
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"$ref": "#/components/parameters/listPage"
|
|
3859
|
-
},
|
|
3860
|
-
{
|
|
3861
|
-
"$ref": "#/components/parameters/listLimit"
|
|
3728
|
+
}
|
|
3729
|
+
],
|
|
3730
|
+
"responses": {
|
|
3731
|
+
"200": {
|
|
3732
|
+
"description": "OK",
|
|
3733
|
+
"content": {
|
|
3734
|
+
"application/json": {
|
|
3735
|
+
"schema": {
|
|
3736
|
+
"$ref": "#/components/schemas/RevisionFile"
|
|
3737
|
+
}
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3744
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks": {
|
|
3745
|
+
"get": {
|
|
3746
|
+
"operationId": "listChangeRequestFileBacklinks",
|
|
3747
|
+
"summary": "List all backlink locations of a change request file",
|
|
3748
|
+
"tags": [
|
|
3749
|
+
"change-request-content"
|
|
3750
|
+
],
|
|
3751
|
+
"security": [
|
|
3752
|
+
{
|
|
3753
|
+
"user": []
|
|
3754
|
+
}
|
|
3755
|
+
],
|
|
3756
|
+
"parameters": [
|
|
3757
|
+
{
|
|
3758
|
+
"$ref": "#/components/parameters/spaceId"
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
"$ref": "#/components/parameters/fileId"
|
|
3765
|
+
},
|
|
3766
|
+
{
|
|
3767
|
+
"$ref": "#/components/parameters/listPage"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"$ref": "#/components/parameters/listLimit"
|
|
3862
3771
|
}
|
|
3863
3772
|
],
|
|
3864
3773
|
"responses": {
|
|
@@ -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
|
}
|
|
@@ -10891,6 +10941,87 @@
|
|
|
10891
10941
|
}
|
|
10892
10942
|
}
|
|
10893
10943
|
},
|
|
10944
|
+
"/orgs/{organizationId}/agent-instructions": {
|
|
10945
|
+
"get": {
|
|
10946
|
+
"operationId": "getOrganizationAgentInstructions",
|
|
10947
|
+
"summary": "Get Docs agent instructions for an organization",
|
|
10948
|
+
"tags": [
|
|
10949
|
+
"organizations",
|
|
10950
|
+
"agents"
|
|
10951
|
+
],
|
|
10952
|
+
"security": [
|
|
10953
|
+
{
|
|
10954
|
+
"user": []
|
|
10955
|
+
}
|
|
10956
|
+
],
|
|
10957
|
+
"parameters": [
|
|
10958
|
+
{
|
|
10959
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10960
|
+
}
|
|
10961
|
+
],
|
|
10962
|
+
"responses": {
|
|
10963
|
+
"200": {
|
|
10964
|
+
"description": "OK",
|
|
10965
|
+
"content": {
|
|
10966
|
+
"application/json": {
|
|
10967
|
+
"schema": {
|
|
10968
|
+
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
10969
|
+
}
|
|
10970
|
+
}
|
|
10971
|
+
}
|
|
10972
|
+
}
|
|
10973
|
+
}
|
|
10974
|
+
},
|
|
10975
|
+
"put": {
|
|
10976
|
+
"operationId": "updateOrganizationAgentInstructions",
|
|
10977
|
+
"summary": "Update Docs agent instructions for an organization",
|
|
10978
|
+
"tags": [
|
|
10979
|
+
"organizations",
|
|
10980
|
+
"agents"
|
|
10981
|
+
],
|
|
10982
|
+
"security": [
|
|
10983
|
+
{
|
|
10984
|
+
"user": []
|
|
10985
|
+
}
|
|
10986
|
+
],
|
|
10987
|
+
"parameters": [
|
|
10988
|
+
{
|
|
10989
|
+
"$ref": "#/components/parameters/organizationId"
|
|
10990
|
+
}
|
|
10991
|
+
],
|
|
10992
|
+
"requestBody": {
|
|
10993
|
+
"required": true,
|
|
10994
|
+
"content": {
|
|
10995
|
+
"application/json": {
|
|
10996
|
+
"schema": {
|
|
10997
|
+
"type": "object",
|
|
10998
|
+
"required": [
|
|
10999
|
+
"instructions"
|
|
11000
|
+
],
|
|
11001
|
+
"properties": {
|
|
11002
|
+
"instructions": {
|
|
11003
|
+
"$ref": "#/components/schemas/JSONDocument",
|
|
11004
|
+
"description": "Document describing the Docs agent instructions."
|
|
11005
|
+
}
|
|
11006
|
+
}
|
|
11007
|
+
}
|
|
11008
|
+
}
|
|
11009
|
+
}
|
|
11010
|
+
},
|
|
11011
|
+
"responses": {
|
|
11012
|
+
"200": {
|
|
11013
|
+
"description": "Updated instructions",
|
|
11014
|
+
"content": {
|
|
11015
|
+
"application/json": {
|
|
11016
|
+
"schema": {
|
|
11017
|
+
"$ref": "#/components/schemas/OrganizationAgentInstructions"
|
|
11018
|
+
}
|
|
11019
|
+
}
|
|
11020
|
+
}
|
|
11021
|
+
}
|
|
11022
|
+
}
|
|
11023
|
+
}
|
|
11024
|
+
},
|
|
10894
11025
|
"/orgs/{organizationId}/agent-tasks": {
|
|
10895
11026
|
"get": {
|
|
10896
11027
|
"operationId": "listAgentTasks",
|
|
@@ -11811,10 +11942,9 @@
|
|
|
11811
11942
|
"tags": [
|
|
11812
11943
|
"imports"
|
|
11813
11944
|
],
|
|
11814
|
-
"x-internal": true,
|
|
11815
11945
|
"security": [
|
|
11816
11946
|
{
|
|
11817
|
-
"user
|
|
11947
|
+
"user": []
|
|
11818
11948
|
}
|
|
11819
11949
|
],
|
|
11820
11950
|
"parameters": [
|
|
@@ -11864,6 +11994,46 @@
|
|
|
11864
11994
|
}
|
|
11865
11995
|
}
|
|
11866
11996
|
},
|
|
11997
|
+
"/org/{organizationId}/imports/{importRunId}/cancel": {
|
|
11998
|
+
"post": {
|
|
11999
|
+
"operationId": "cancelImportRun",
|
|
12000
|
+
"summary": "Cancel an import run",
|
|
12001
|
+
"tags": [
|
|
12002
|
+
"imports"
|
|
12003
|
+
],
|
|
12004
|
+
"security": [
|
|
12005
|
+
{
|
|
12006
|
+
"user": []
|
|
12007
|
+
}
|
|
12008
|
+
],
|
|
12009
|
+
"parameters": [
|
|
12010
|
+
{
|
|
12011
|
+
"$ref": "#/components/parameters/organizationId"
|
|
12012
|
+
},
|
|
12013
|
+
{
|
|
12014
|
+
"$ref": "#/components/parameters/importRunId"
|
|
12015
|
+
}
|
|
12016
|
+
],
|
|
12017
|
+
"responses": {
|
|
12018
|
+
"201": {
|
|
12019
|
+
"description": "Import run canceled successfully.",
|
|
12020
|
+
"content": {
|
|
12021
|
+
"application/json": {
|
|
12022
|
+
"schema": {
|
|
12023
|
+
"$ref": "#/components/schemas/ContentImportRun"
|
|
12024
|
+
}
|
|
12025
|
+
}
|
|
12026
|
+
}
|
|
12027
|
+
},
|
|
12028
|
+
"400": {
|
|
12029
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
12030
|
+
},
|
|
12031
|
+
"404": {
|
|
12032
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
12033
|
+
}
|
|
12034
|
+
}
|
|
12035
|
+
}
|
|
12036
|
+
},
|
|
11867
12037
|
"/orgs/{organizationId}/sites": {
|
|
11868
12038
|
"get": {
|
|
11869
12039
|
"operationId": "listSites",
|
|
@@ -15216,10 +15386,6 @@
|
|
|
15216
15386
|
"$ref": "#/components/schemas/AIMessageInput"
|
|
15217
15387
|
}
|
|
15218
15388
|
},
|
|
15219
|
-
"output": {
|
|
15220
|
-
"deprecated": true,
|
|
15221
|
-
"$ref": "#/components/schemas/AIOutputFormat"
|
|
15222
|
-
},
|
|
15223
15389
|
"model": {
|
|
15224
15390
|
"$ref": "#/components/schemas/AIModel"
|
|
15225
15391
|
},
|
|
@@ -16795,6 +16961,15 @@
|
|
|
16795
16961
|
"type": "string"
|
|
16796
16962
|
}
|
|
16797
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
|
+
},
|
|
16798
16973
|
"listOrder": {
|
|
16799
16974
|
"name": "order",
|
|
16800
16975
|
"in": "query",
|
|
@@ -17061,6 +17236,24 @@
|
|
|
17061
17236
|
"type": "string"
|
|
17062
17237
|
}
|
|
17063
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
|
+
},
|
|
17064
17257
|
"agentTaskId": {
|
|
17065
17258
|
"name": "agentTaskId",
|
|
17066
17259
|
"in": "path",
|
|
@@ -17097,6 +17290,15 @@
|
|
|
17097
17290
|
"type": "string"
|
|
17098
17291
|
}
|
|
17099
17292
|
},
|
|
17293
|
+
"importRunId": {
|
|
17294
|
+
"name": "importRunId",
|
|
17295
|
+
"in": "path",
|
|
17296
|
+
"required": true,
|
|
17297
|
+
"description": "The unique id of the import run",
|
|
17298
|
+
"schema": {
|
|
17299
|
+
"type": "string"
|
|
17300
|
+
}
|
|
17301
|
+
},
|
|
17100
17302
|
"shareLinkId": {
|
|
17101
17303
|
"name": "shareLinkId",
|
|
17102
17304
|
"in": "path",
|
|
@@ -18634,6 +18836,40 @@
|
|
|
18634
18836
|
"type"
|
|
18635
18837
|
]
|
|
18636
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
|
+
},
|
|
18637
18873
|
"DocumentMarkColor": {
|
|
18638
18874
|
"type": "object",
|
|
18639
18875
|
"properties": {
|
|
@@ -18653,38 +18889,10 @@
|
|
|
18653
18889
|
"type": "object",
|
|
18654
18890
|
"properties": {
|
|
18655
18891
|
"text": {
|
|
18656
|
-
"
|
|
18657
|
-
"enum": [
|
|
18658
|
-
"default",
|
|
18659
|
-
"green",
|
|
18660
|
-
"blue",
|
|
18661
|
-
"red",
|
|
18662
|
-
"orange",
|
|
18663
|
-
"yellow",
|
|
18664
|
-
"purple",
|
|
18665
|
-
"$primary",
|
|
18666
|
-
"$info",
|
|
18667
|
-
"$success",
|
|
18668
|
-
"$warning",
|
|
18669
|
-
"$danger"
|
|
18670
|
-
]
|
|
18892
|
+
"$ref": "#/components/schemas/DocumentTextColor"
|
|
18671
18893
|
},
|
|
18672
18894
|
"background": {
|
|
18673
|
-
"
|
|
18674
|
-
"enum": [
|
|
18675
|
-
"default",
|
|
18676
|
-
"green",
|
|
18677
|
-
"blue",
|
|
18678
|
-
"red",
|
|
18679
|
-
"orange",
|
|
18680
|
-
"yellow",
|
|
18681
|
-
"purple",
|
|
18682
|
-
"$primary",
|
|
18683
|
-
"$info",
|
|
18684
|
-
"$success",
|
|
18685
|
-
"$warning",
|
|
18686
|
-
"$danger"
|
|
18687
|
-
]
|
|
18895
|
+
"$ref": "#/components/schemas/DocumentTextBackgroundColor"
|
|
18688
18896
|
}
|
|
18689
18897
|
},
|
|
18690
18898
|
"required": [
|
|
@@ -18898,6 +19106,9 @@
|
|
|
18898
19106
|
"caption": {
|
|
18899
19107
|
"type": "string"
|
|
18900
19108
|
},
|
|
19109
|
+
"alt": {
|
|
19110
|
+
"type": "string"
|
|
19111
|
+
},
|
|
18901
19112
|
"size": {
|
|
18902
19113
|
"type": "string",
|
|
18903
19114
|
"enum": [
|
|
@@ -19221,6 +19432,9 @@
|
|
|
19221
19432
|
"properties": {
|
|
19222
19433
|
"icon": {
|
|
19223
19434
|
"type": "string"
|
|
19435
|
+
},
|
|
19436
|
+
"color": {
|
|
19437
|
+
"$ref": "#/components/schemas/DocumentTextColor"
|
|
19224
19438
|
}
|
|
19225
19439
|
},
|
|
19226
19440
|
"required": [
|
|
@@ -19691,6 +19905,15 @@
|
|
|
19691
19905
|
},
|
|
19692
19906
|
"fullWidth": {
|
|
19693
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
|
|
19694
19917
|
}
|
|
19695
19918
|
}
|
|
19696
19919
|
},
|
|
@@ -20937,6 +21160,9 @@
|
|
|
20937
21160
|
},
|
|
20938
21161
|
"fullWidth": {
|
|
20939
21162
|
"type": "boolean"
|
|
21163
|
+
},
|
|
21164
|
+
"withFrame": {
|
|
21165
|
+
"type": "boolean"
|
|
20940
21166
|
}
|
|
20941
21167
|
}
|
|
20942
21168
|
},
|
|
@@ -23743,6 +23969,10 @@
|
|
|
23743
23969
|
"type": "boolean",
|
|
23744
23970
|
"description": "If true, the change request is not up-to-date with latest changes in the main content."
|
|
23745
23971
|
},
|
|
23972
|
+
"conversationsIssuesCluster": {
|
|
23973
|
+
"type": "string",
|
|
23974
|
+
"description": "ID of the conversations issues cluster associated with this change request."
|
|
23975
|
+
},
|
|
23746
23976
|
"urls": {
|
|
23747
23977
|
"type": "object",
|
|
23748
23978
|
"description": "URLs associated with the object",
|
|
@@ -23895,59 +24125,6 @@
|
|
|
23895
24125
|
"propertyName": "type"
|
|
23896
24126
|
}
|
|
23897
24127
|
},
|
|
23898
|
-
"ImportContentSource": {
|
|
23899
|
-
"type": "string",
|
|
23900
|
-
"enum": [
|
|
23901
|
-
"website",
|
|
23902
|
-
"docx",
|
|
23903
|
-
"markdown",
|
|
23904
|
-
"html",
|
|
23905
|
-
"zip",
|
|
23906
|
-
"confluence",
|
|
23907
|
-
"github-wiki",
|
|
23908
|
-
"notion",
|
|
23909
|
-
"google-docs"
|
|
23910
|
-
]
|
|
23911
|
-
},
|
|
23912
|
-
"ImportContent": {
|
|
23913
|
-
"type": "object",
|
|
23914
|
-
"properties": {
|
|
23915
|
-
"url": {
|
|
23916
|
-
"type": "string",
|
|
23917
|
-
"format": "uri",
|
|
23918
|
-
"description": "URL of the content to import."
|
|
23919
|
-
},
|
|
23920
|
-
"source": {
|
|
23921
|
-
"$ref": "#/components/schemas/ImportContentSource"
|
|
23922
|
-
}
|
|
23923
|
-
},
|
|
23924
|
-
"required": [
|
|
23925
|
-
"url",
|
|
23926
|
-
"source"
|
|
23927
|
-
]
|
|
23928
|
-
},
|
|
23929
|
-
"ImportContentResult": {
|
|
23930
|
-
"type": "object",
|
|
23931
|
-
"required": [
|
|
23932
|
-
"revision",
|
|
23933
|
-
"importedResources",
|
|
23934
|
-
"totalResources"
|
|
23935
|
-
],
|
|
23936
|
-
"properties": {
|
|
23937
|
-
"revision": {
|
|
23938
|
-
"type": "string",
|
|
23939
|
-
"description": "ID of the newly created revision."
|
|
23940
|
-
},
|
|
23941
|
-
"importedResources": {
|
|
23942
|
-
"type": "number",
|
|
23943
|
-
"description": "How many resources were imported"
|
|
23944
|
-
},
|
|
23945
|
-
"totalResources": {
|
|
23946
|
-
"type": "number",
|
|
23947
|
-
"description": "How many resources were processed"
|
|
23948
|
-
}
|
|
23949
|
-
}
|
|
23950
|
-
},
|
|
23951
24128
|
"SpaceTemplateParams": {
|
|
23952
24129
|
"type": "object",
|
|
23953
24130
|
"description": "Parameters for a space template",
|
|
@@ -24306,6 +24483,10 @@
|
|
|
24306
24483
|
"status": {
|
|
24307
24484
|
"$ref": "#/components/schemas/BillingTrialStatus"
|
|
24308
24485
|
},
|
|
24486
|
+
"count": {
|
|
24487
|
+
"type": "integer",
|
|
24488
|
+
"description": "Number of trials the organization has consumed."
|
|
24489
|
+
},
|
|
24309
24490
|
"endDate": {
|
|
24310
24491
|
"description": "The trial's end date, if the organization has or had a trial.",
|
|
24311
24492
|
"$ref": "#/components/schemas/Timestamp"
|
|
@@ -24319,7 +24500,8 @@
|
|
|
24319
24500
|
}
|
|
24320
24501
|
},
|
|
24321
24502
|
"required": [
|
|
24322
|
-
"status"
|
|
24503
|
+
"status",
|
|
24504
|
+
"count"
|
|
24323
24505
|
]
|
|
24324
24506
|
},
|
|
24325
24507
|
"customHostname": {
|
|
@@ -25154,6 +25336,26 @@
|
|
|
25154
25336
|
"$ref": "#/components/schemas/EmojiReaction"
|
|
25155
25337
|
}
|
|
25156
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
|
+
},
|
|
25157
25359
|
"TableCellTarget": {
|
|
25158
25360
|
"type": "object",
|
|
25159
25361
|
"description": "Details about the table cell this comment is attached to, if any.",
|
|
@@ -25206,6 +25408,13 @@
|
|
|
25206
25408
|
"description": "The number of replies to this comment.",
|
|
25207
25409
|
"type": "number"
|
|
25208
25410
|
},
|
|
25411
|
+
"repliers": {
|
|
25412
|
+
"description": "The users who replied to this comment.",
|
|
25413
|
+
"type": "array",
|
|
25414
|
+
"items": {
|
|
25415
|
+
"$ref": "#/components/schemas/UserContributor"
|
|
25416
|
+
}
|
|
25417
|
+
},
|
|
25209
25418
|
"body": {
|
|
25210
25419
|
"description": "The content of the comment.",
|
|
25211
25420
|
"$ref": "#/components/schemas/Document"
|
|
@@ -25220,9 +25429,6 @@
|
|
|
25220
25429
|
"properties": {
|
|
25221
25430
|
"id": {
|
|
25222
25431
|
"type": "string"
|
|
25223
|
-
},
|
|
25224
|
-
"preview": {
|
|
25225
|
-
"type": "string"
|
|
25226
25432
|
}
|
|
25227
25433
|
},
|
|
25228
25434
|
"required": [
|
|
@@ -25242,27 +25448,15 @@
|
|
|
25242
25448
|
},
|
|
25243
25449
|
"page": {
|
|
25244
25450
|
"description": "Information about the page, if this comment refers to a specific page.",
|
|
25245
|
-
"
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
"type": "object",
|
|
25251
|
-
"properties": {
|
|
25252
|
-
"path": {
|
|
25253
|
-
"description": "The fully qualified path to the page",
|
|
25254
|
-
"type": "string"
|
|
25255
|
-
},
|
|
25256
|
-
"outdated": {
|
|
25257
|
-
"description": "True if the target of this comment no longer exists in the primary content",
|
|
25258
|
-
"type": "boolean"
|
|
25259
|
-
}
|
|
25260
|
-
},
|
|
25261
|
-
"required": [
|
|
25262
|
-
"path",
|
|
25263
|
-
"outdated"
|
|
25264
|
-
]
|
|
25451
|
+
"type": "object",
|
|
25452
|
+
"properties": {
|
|
25453
|
+
"id": {
|
|
25454
|
+
"type": "string",
|
|
25455
|
+
"description": "The ID of the page"
|
|
25265
25456
|
}
|
|
25457
|
+
},
|
|
25458
|
+
"required": [
|
|
25459
|
+
"id"
|
|
25266
25460
|
]
|
|
25267
25461
|
},
|
|
25268
25462
|
"space": {
|
|
@@ -25325,6 +25519,7 @@
|
|
|
25325
25519
|
"object",
|
|
25326
25520
|
"id",
|
|
25327
25521
|
"replies",
|
|
25522
|
+
"repliers",
|
|
25328
25523
|
"body",
|
|
25329
25524
|
"postedBy",
|
|
25330
25525
|
"postedAt",
|
|
@@ -25424,6 +25619,20 @@
|
|
|
25424
25619
|
},
|
|
25425
25620
|
"updatedAt": {
|
|
25426
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
|
+
]
|
|
25427
25636
|
}
|
|
25428
25637
|
},
|
|
25429
25638
|
"required": [
|
|
@@ -25434,7 +25643,8 @@
|
|
|
25434
25643
|
"status",
|
|
25435
25644
|
"outdated",
|
|
25436
25645
|
"createdAt",
|
|
25437
|
-
"updatedAt"
|
|
25646
|
+
"updatedAt",
|
|
25647
|
+
"urls"
|
|
25438
25648
|
]
|
|
25439
25649
|
},
|
|
25440
25650
|
"Team": {
|
|
@@ -25679,32 +25889,26 @@
|
|
|
25679
25889
|
"body"
|
|
25680
25890
|
]
|
|
25681
25891
|
},
|
|
25682
|
-
"
|
|
25683
|
-
"
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
"updatedAt": {
|
|
25687
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
25688
|
-
},
|
|
25689
|
-
"count": {
|
|
25690
|
-
"type": "integer"
|
|
25691
|
-
},
|
|
25692
|
-
"user": {
|
|
25693
|
-
"$ref": "#/components/schemas/User"
|
|
25892
|
+
"ChangeRequestUserContributor": {
|
|
25893
|
+
"allOf": [
|
|
25894
|
+
{
|
|
25895
|
+
"$ref": "#/components/schemas/UserContributor"
|
|
25694
25896
|
},
|
|
25695
|
-
|
|
25696
|
-
"type": "
|
|
25697
|
-
"
|
|
25698
|
-
"
|
|
25699
|
-
|
|
25897
|
+
{
|
|
25898
|
+
"type": "object",
|
|
25899
|
+
"properties": {
|
|
25900
|
+
"actionType": {
|
|
25901
|
+
"type": "string",
|
|
25902
|
+
"enum": [
|
|
25903
|
+
"edit",
|
|
25904
|
+
"comment"
|
|
25905
|
+
]
|
|
25906
|
+
}
|
|
25907
|
+
},
|
|
25908
|
+
"required": [
|
|
25909
|
+
"actionType"
|
|
25700
25910
|
]
|
|
25701
25911
|
}
|
|
25702
|
-
},
|
|
25703
|
-
"required": [
|
|
25704
|
-
"updatedAt",
|
|
25705
|
-
"count",
|
|
25706
|
-
"user",
|
|
25707
|
-
"actionType"
|
|
25708
25912
|
]
|
|
25709
25913
|
},
|
|
25710
25914
|
"RevisionPageType": {
|
|
@@ -28647,6 +28851,7 @@
|
|
|
28647
28851
|
"sites-ads",
|
|
28648
28852
|
"sites-ai-search",
|
|
28649
28853
|
"sites-ai-assistant",
|
|
28854
|
+
"sites-embed",
|
|
28650
28855
|
"sites-api-playground",
|
|
28651
28856
|
"sites-basic-customization",
|
|
28652
28857
|
"sites-custom-domain",
|
|
@@ -31430,6 +31635,21 @@
|
|
|
31430
31635
|
"$ref": "#/components/schemas/ComputedContentSourceRevision"
|
|
31431
31636
|
}
|
|
31432
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
|
+
}
|
|
31433
31653
|
}
|
|
31434
31654
|
]
|
|
31435
31655
|
}
|
|
@@ -32152,6 +32372,161 @@
|
|
|
32152
32372
|
"urls"
|
|
32153
32373
|
]
|
|
32154
32374
|
},
|
|
32375
|
+
"ConversationSource": {
|
|
32376
|
+
"oneOf": [
|
|
32377
|
+
{
|
|
32378
|
+
"type": "string",
|
|
32379
|
+
"description": "Integration source",
|
|
32380
|
+
"pattern": "^integration:[^:]+:[^:]+$",
|
|
32381
|
+
"x-typescript": "`integration:${string}:${string}`"
|
|
32382
|
+
},
|
|
32383
|
+
{
|
|
32384
|
+
"type": "string",
|
|
32385
|
+
"description": "Email source",
|
|
32386
|
+
"enum": [
|
|
32387
|
+
"email"
|
|
32388
|
+
]
|
|
32389
|
+
}
|
|
32390
|
+
]
|
|
32391
|
+
},
|
|
32392
|
+
"Conversation": {
|
|
32393
|
+
"type": "object",
|
|
32394
|
+
"properties": {
|
|
32395
|
+
"object": {
|
|
32396
|
+
"type": "string",
|
|
32397
|
+
"enum": [
|
|
32398
|
+
"conversation"
|
|
32399
|
+
]
|
|
32400
|
+
},
|
|
32401
|
+
"id": {
|
|
32402
|
+
"type": "string",
|
|
32403
|
+
"description": "The ID of the conversation"
|
|
32404
|
+
},
|
|
32405
|
+
"subject": {
|
|
32406
|
+
"type": "string",
|
|
32407
|
+
"description": "The subject of the conversation"
|
|
32408
|
+
},
|
|
32409
|
+
"createdAt": {
|
|
32410
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32411
|
+
},
|
|
32412
|
+
"processedAt": {
|
|
32413
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32414
|
+
},
|
|
32415
|
+
"source": {
|
|
32416
|
+
"$ref": "#/components/schemas/ConversationSource"
|
|
32417
|
+
},
|
|
32418
|
+
"urls": {
|
|
32419
|
+
"type": "object",
|
|
32420
|
+
"description": "URLs associated with the conversation",
|
|
32421
|
+
"properties": {
|
|
32422
|
+
"location": {
|
|
32423
|
+
"type": "string",
|
|
32424
|
+
"description": "URL of the conversation in the API",
|
|
32425
|
+
"format": "uri"
|
|
32426
|
+
},
|
|
32427
|
+
"source": {
|
|
32428
|
+
"type": "string",
|
|
32429
|
+
"description": "URL of the conversation in the source",
|
|
32430
|
+
"format": "uri"
|
|
32431
|
+
}
|
|
32432
|
+
},
|
|
32433
|
+
"required": [
|
|
32434
|
+
"location"
|
|
32435
|
+
]
|
|
32436
|
+
}
|
|
32437
|
+
},
|
|
32438
|
+
"required": [
|
|
32439
|
+
"object",
|
|
32440
|
+
"id",
|
|
32441
|
+
"createdAt",
|
|
32442
|
+
"source",
|
|
32443
|
+
"urls"
|
|
32444
|
+
]
|
|
32445
|
+
},
|
|
32446
|
+
"ConversationMetadata": {
|
|
32447
|
+
"type": "object",
|
|
32448
|
+
"properties": {
|
|
32449
|
+
"url": {
|
|
32450
|
+
"type": "string",
|
|
32451
|
+
"description": "URL to the conversation"
|
|
32452
|
+
},
|
|
32453
|
+
"attributes": {
|
|
32454
|
+
"type": "object",
|
|
32455
|
+
"additionalProperties": {
|
|
32456
|
+
"type": "string"
|
|
32457
|
+
}
|
|
32458
|
+
},
|
|
32459
|
+
"createdAt": {
|
|
32460
|
+
"description": "Date of the conversation creation",
|
|
32461
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32462
|
+
}
|
|
32463
|
+
}
|
|
32464
|
+
},
|
|
32465
|
+
"ConversationPartMessage": {
|
|
32466
|
+
"type": "object",
|
|
32467
|
+
"description": "A message posted in the conversation by a user or a team member.",
|
|
32468
|
+
"properties": {
|
|
32469
|
+
"type": {
|
|
32470
|
+
"type": "string",
|
|
32471
|
+
"enum": [
|
|
32472
|
+
"message"
|
|
32473
|
+
]
|
|
32474
|
+
},
|
|
32475
|
+
"role": {
|
|
32476
|
+
"type": "string",
|
|
32477
|
+
"enum": [
|
|
32478
|
+
"user",
|
|
32479
|
+
"assistant",
|
|
32480
|
+
"team-member"
|
|
32481
|
+
]
|
|
32482
|
+
},
|
|
32483
|
+
"body": {
|
|
32484
|
+
"type": "string",
|
|
32485
|
+
"description": "Markdown or HTML body of the message."
|
|
32486
|
+
}
|
|
32487
|
+
},
|
|
32488
|
+
"required": [
|
|
32489
|
+
"type",
|
|
32490
|
+
"role",
|
|
32491
|
+
"body"
|
|
32492
|
+
]
|
|
32493
|
+
},
|
|
32494
|
+
"ConversationPart": {
|
|
32495
|
+
"oneOf": [
|
|
32496
|
+
{
|
|
32497
|
+
"$ref": "#/components/schemas/ConversationPartMessage"
|
|
32498
|
+
}
|
|
32499
|
+
]
|
|
32500
|
+
},
|
|
32501
|
+
"ConversationInput": {
|
|
32502
|
+
"type": "object",
|
|
32503
|
+
"properties": {
|
|
32504
|
+
"id": {
|
|
32505
|
+
"type": "string",
|
|
32506
|
+
"minLength": 1,
|
|
32507
|
+
"maxLength": 255,
|
|
32508
|
+
"description": "The unique identifier for the conversation, relative to the source in which it was created."
|
|
32509
|
+
},
|
|
32510
|
+
"metadata": {
|
|
32511
|
+
"$ref": "#/components/schemas/ConversationMetadata"
|
|
32512
|
+
},
|
|
32513
|
+
"subject": {
|
|
32514
|
+
"type": "string",
|
|
32515
|
+
"maxLength": 512,
|
|
32516
|
+
"description": "The subject of the conversation."
|
|
32517
|
+
},
|
|
32518
|
+
"parts": {
|
|
32519
|
+
"type": "array",
|
|
32520
|
+
"items": {
|
|
32521
|
+
"$ref": "#/components/schemas/ConversationPart"
|
|
32522
|
+
}
|
|
32523
|
+
}
|
|
32524
|
+
},
|
|
32525
|
+
"required": [
|
|
32526
|
+
"id",
|
|
32527
|
+
"parts"
|
|
32528
|
+
]
|
|
32529
|
+
},
|
|
32155
32530
|
"ConversationIssue": {
|
|
32156
32531
|
"type": "object",
|
|
32157
32532
|
"properties": {
|
|
@@ -32213,161 +32588,6 @@
|
|
|
32213
32588
|
"urls"
|
|
32214
32589
|
]
|
|
32215
32590
|
},
|
|
32216
|
-
"ConversationSource": {
|
|
32217
|
-
"oneOf": [
|
|
32218
|
-
{
|
|
32219
|
-
"type": "string",
|
|
32220
|
-
"description": "Integration source",
|
|
32221
|
-
"pattern": "^integration:[^:]+:[^:]+$",
|
|
32222
|
-
"x-typescript": "`integration:${string}:${string}`"
|
|
32223
|
-
},
|
|
32224
|
-
{
|
|
32225
|
-
"type": "string",
|
|
32226
|
-
"description": "Email source",
|
|
32227
|
-
"enum": [
|
|
32228
|
-
"email"
|
|
32229
|
-
]
|
|
32230
|
-
}
|
|
32231
|
-
]
|
|
32232
|
-
},
|
|
32233
|
-
"Conversation": {
|
|
32234
|
-
"type": "object",
|
|
32235
|
-
"properties": {
|
|
32236
|
-
"object": {
|
|
32237
|
-
"type": "string",
|
|
32238
|
-
"enum": [
|
|
32239
|
-
"conversation"
|
|
32240
|
-
]
|
|
32241
|
-
},
|
|
32242
|
-
"id": {
|
|
32243
|
-
"type": "string",
|
|
32244
|
-
"description": "The ID of the conversation"
|
|
32245
|
-
},
|
|
32246
|
-
"subject": {
|
|
32247
|
-
"type": "string",
|
|
32248
|
-
"description": "The subject of the conversation"
|
|
32249
|
-
},
|
|
32250
|
-
"createdAt": {
|
|
32251
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32252
|
-
},
|
|
32253
|
-
"processedAt": {
|
|
32254
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32255
|
-
},
|
|
32256
|
-
"source": {
|
|
32257
|
-
"$ref": "#/components/schemas/ConversationSource"
|
|
32258
|
-
},
|
|
32259
|
-
"urls": {
|
|
32260
|
-
"type": "object",
|
|
32261
|
-
"description": "URLs associated with the conversation",
|
|
32262
|
-
"properties": {
|
|
32263
|
-
"location": {
|
|
32264
|
-
"type": "string",
|
|
32265
|
-
"description": "URL of the conversation in the API",
|
|
32266
|
-
"format": "uri"
|
|
32267
|
-
},
|
|
32268
|
-
"source": {
|
|
32269
|
-
"type": "string",
|
|
32270
|
-
"description": "URL of the conversation in the source",
|
|
32271
|
-
"format": "uri"
|
|
32272
|
-
}
|
|
32273
|
-
},
|
|
32274
|
-
"required": [
|
|
32275
|
-
"location"
|
|
32276
|
-
]
|
|
32277
|
-
}
|
|
32278
|
-
},
|
|
32279
|
-
"required": [
|
|
32280
|
-
"object",
|
|
32281
|
-
"id",
|
|
32282
|
-
"createdAt",
|
|
32283
|
-
"source",
|
|
32284
|
-
"urls"
|
|
32285
|
-
]
|
|
32286
|
-
},
|
|
32287
|
-
"ConversationMetadata": {
|
|
32288
|
-
"type": "object",
|
|
32289
|
-
"properties": {
|
|
32290
|
-
"url": {
|
|
32291
|
-
"type": "string",
|
|
32292
|
-
"description": "URL to the conversation"
|
|
32293
|
-
},
|
|
32294
|
-
"attributes": {
|
|
32295
|
-
"type": "object",
|
|
32296
|
-
"additionalProperties": {
|
|
32297
|
-
"type": "string"
|
|
32298
|
-
}
|
|
32299
|
-
},
|
|
32300
|
-
"createdAt": {
|
|
32301
|
-
"description": "Date of the conversation creation",
|
|
32302
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
32303
|
-
}
|
|
32304
|
-
}
|
|
32305
|
-
},
|
|
32306
|
-
"ConversationPartMessage": {
|
|
32307
|
-
"type": "object",
|
|
32308
|
-
"description": "A message posted in the conversation by a user or a team member.",
|
|
32309
|
-
"properties": {
|
|
32310
|
-
"type": {
|
|
32311
|
-
"type": "string",
|
|
32312
|
-
"enum": [
|
|
32313
|
-
"message"
|
|
32314
|
-
]
|
|
32315
|
-
},
|
|
32316
|
-
"role": {
|
|
32317
|
-
"type": "string",
|
|
32318
|
-
"enum": [
|
|
32319
|
-
"user",
|
|
32320
|
-
"assistant",
|
|
32321
|
-
"team-member"
|
|
32322
|
-
]
|
|
32323
|
-
},
|
|
32324
|
-
"body": {
|
|
32325
|
-
"type": "string",
|
|
32326
|
-
"description": "Markdown or HTML body of the message."
|
|
32327
|
-
}
|
|
32328
|
-
},
|
|
32329
|
-
"required": [
|
|
32330
|
-
"type",
|
|
32331
|
-
"role",
|
|
32332
|
-
"body"
|
|
32333
|
-
]
|
|
32334
|
-
},
|
|
32335
|
-
"ConversationPart": {
|
|
32336
|
-
"oneOf": [
|
|
32337
|
-
{
|
|
32338
|
-
"$ref": "#/components/schemas/ConversationPartMessage"
|
|
32339
|
-
}
|
|
32340
|
-
]
|
|
32341
|
-
},
|
|
32342
|
-
"ConversationInput": {
|
|
32343
|
-
"type": "object",
|
|
32344
|
-
"properties": {
|
|
32345
|
-
"id": {
|
|
32346
|
-
"type": "string",
|
|
32347
|
-
"minLength": 1,
|
|
32348
|
-
"maxLength": 255,
|
|
32349
|
-
"description": "The unique identifier for the conversation, relative to the source in which it was created."
|
|
32350
|
-
},
|
|
32351
|
-
"metadata": {
|
|
32352
|
-
"$ref": "#/components/schemas/ConversationMetadata"
|
|
32353
|
-
},
|
|
32354
|
-
"subject": {
|
|
32355
|
-
"type": "string",
|
|
32356
|
-
"maxLength": 512,
|
|
32357
|
-
"description": "The subject of the conversation."
|
|
32358
|
-
},
|
|
32359
|
-
"parts": {
|
|
32360
|
-
"type": "array",
|
|
32361
|
-
"items": {
|
|
32362
|
-
"$ref": "#/components/schemas/ConversationPart"
|
|
32363
|
-
}
|
|
32364
|
-
}
|
|
32365
|
-
},
|
|
32366
|
-
"required": [
|
|
32367
|
-
"id",
|
|
32368
|
-
"parts"
|
|
32369
|
-
]
|
|
32370
|
-
},
|
|
32371
32591
|
"AgentsSetupState": {
|
|
32372
32592
|
"type": "object",
|
|
32373
32593
|
"description": "State and settings of the agent",
|
|
@@ -32440,6 +32660,48 @@
|
|
|
32440
32660
|
"stats"
|
|
32441
32661
|
]
|
|
32442
32662
|
},
|
|
32663
|
+
"OrganizationAgentInstructions": {
|
|
32664
|
+
"type": "object",
|
|
32665
|
+
"properties": {
|
|
32666
|
+
"object": {
|
|
32667
|
+
"type": "string",
|
|
32668
|
+
"enum": [
|
|
32669
|
+
"agent-instructions"
|
|
32670
|
+
]
|
|
32671
|
+
},
|
|
32672
|
+
"instructions": {
|
|
32673
|
+
"$ref": "#/components/schemas/JSONDocument",
|
|
32674
|
+
"description": "Document containing the Docs agent instructions."
|
|
32675
|
+
},
|
|
32676
|
+
"updatedAt": {
|
|
32677
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32678
|
+
},
|
|
32679
|
+
"updatedBy": {
|
|
32680
|
+
"type": "string",
|
|
32681
|
+
"description": "Identifier of the member who last updated the instructions."
|
|
32682
|
+
},
|
|
32683
|
+
"urls": {
|
|
32684
|
+
"type": "object",
|
|
32685
|
+
"description": "URLs related to the custom instructions.",
|
|
32686
|
+
"properties": {
|
|
32687
|
+
"location": {
|
|
32688
|
+
"type": "string",
|
|
32689
|
+
"description": "Relative URL to the resource in the API."
|
|
32690
|
+
}
|
|
32691
|
+
},
|
|
32692
|
+
"required": [
|
|
32693
|
+
"location"
|
|
32694
|
+
]
|
|
32695
|
+
}
|
|
32696
|
+
},
|
|
32697
|
+
"required": [
|
|
32698
|
+
"object",
|
|
32699
|
+
"instructions",
|
|
32700
|
+
"updatedAt",
|
|
32701
|
+
"updatedBy",
|
|
32702
|
+
"urls"
|
|
32703
|
+
]
|
|
32704
|
+
},
|
|
32443
32705
|
"AgentTaskStatus": {
|
|
32444
32706
|
"type": "string",
|
|
32445
32707
|
"description": "The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `started`: The task is open, a change request is associated with it. - `completed`: The task is completed. - `canceled`: The task has been canceled by a human.\n",
|
|
@@ -33060,10 +33322,23 @@
|
|
|
33060
33322
|
]
|
|
33061
33323
|
},
|
|
33062
33324
|
"pages": {
|
|
33063
|
-
"description": "
|
|
33325
|
+
"description": "Imported pages",
|
|
33064
33326
|
"type": "array",
|
|
33065
33327
|
"items": {
|
|
33066
|
-
"type": "
|
|
33328
|
+
"type": "object",
|
|
33329
|
+
"properties": {
|
|
33330
|
+
"id": {
|
|
33331
|
+
"description": "ID of page",
|
|
33332
|
+
"type": "string"
|
|
33333
|
+
},
|
|
33334
|
+
"sourceURL": {
|
|
33335
|
+
"description": "Source URL where the page has been imported from",
|
|
33336
|
+
"type": "string"
|
|
33337
|
+
}
|
|
33338
|
+
},
|
|
33339
|
+
"required": [
|
|
33340
|
+
"id"
|
|
33341
|
+
]
|
|
33067
33342
|
}
|
|
33068
33343
|
}
|
|
33069
33344
|
},
|
|
@@ -33072,8 +33347,8 @@
|
|
|
33072
33347
|
"status"
|
|
33073
33348
|
]
|
|
33074
33349
|
},
|
|
33075
|
-
"
|
|
33076
|
-
"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",
|
|
33077
33352
|
"oneOf": [
|
|
33078
33353
|
{
|
|
33079
33354
|
"type": "object",
|
|
@@ -33105,6 +33380,21 @@
|
|
|
33105
33380
|
"type"
|
|
33106
33381
|
]
|
|
33107
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
|
+
},
|
|
33108
33398
|
{
|
|
33109
33399
|
"type": "object",
|
|
33110
33400
|
"properties": {
|
|
@@ -34239,6 +34529,59 @@
|
|
|
34239
34529
|
}
|
|
34240
34530
|
]
|
|
34241
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
|
+
},
|
|
34242
34585
|
"SiteUpgradeReason": {
|
|
34243
34586
|
"type": "string",
|
|
34244
34587
|
"description": "The reason or feature that triggered the site upgrade",
|
|
@@ -34250,9 +34593,8 @@
|
|
|
34250
34593
|
"type": "string",
|
|
34251
34594
|
"enum": [
|
|
34252
34595
|
"settings",
|
|
34253
|
-
"
|
|
34254
|
-
"
|
|
34255
|
-
"payment-failed-modal"
|
|
34596
|
+
"billing-page",
|
|
34597
|
+
"end-of-trial"
|
|
34256
34598
|
]
|
|
34257
34599
|
}
|
|
34258
34600
|
]
|
|
@@ -34343,14 +34685,6 @@
|
|
|
34343
34685
|
"currentSiteSpace": {
|
|
34344
34686
|
"type": "string",
|
|
34345
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"
|
|
34346
|
-
},
|
|
34347
|
-
"includedSiteSpaces": {
|
|
34348
|
-
"type": "array",
|
|
34349
|
-
"deprecated": true,
|
|
34350
|
-
"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",
|
|
34351
|
-
"items": {
|
|
34352
|
-
"type": "string"
|
|
34353
|
-
}
|
|
34354
34688
|
}
|
|
34355
34689
|
}
|
|
34356
34690
|
},
|
|
@@ -34607,51 +34941,6 @@
|
|
|
34607
34941
|
"content"
|
|
34608
34942
|
]
|
|
34609
34943
|
},
|
|
34610
|
-
"AIOutputObject": {
|
|
34611
|
-
"type": "object",
|
|
34612
|
-
"description": "Indicate that the AI should response with a JSON object corresponding to the provided schema.\n",
|
|
34613
|
-
"properties": {
|
|
34614
|
-
"type": {
|
|
34615
|
-
"type": "string",
|
|
34616
|
-
"enum": [
|
|
34617
|
-
"object"
|
|
34618
|
-
]
|
|
34619
|
-
},
|
|
34620
|
-
"schema": {
|
|
34621
|
-
"type": "object",
|
|
34622
|
-
"description": "The JSON schema to use for the object."
|
|
34623
|
-
}
|
|
34624
|
-
},
|
|
34625
|
-
"required": [
|
|
34626
|
-
"type",
|
|
34627
|
-
"schema"
|
|
34628
|
-
]
|
|
34629
|
-
},
|
|
34630
|
-
"AIOutputDocument": {
|
|
34631
|
-
"type": "object",
|
|
34632
|
-
"description": "Indicate that the AI should respond with a rich text document.\n",
|
|
34633
|
-
"properties": {
|
|
34634
|
-
"type": {
|
|
34635
|
-
"type": "string",
|
|
34636
|
-
"enum": [
|
|
34637
|
-
"document"
|
|
34638
|
-
]
|
|
34639
|
-
}
|
|
34640
|
-
},
|
|
34641
|
-
"required": [
|
|
34642
|
-
"type"
|
|
34643
|
-
]
|
|
34644
|
-
},
|
|
34645
|
-
"AIOutputFormat": {
|
|
34646
|
-
"oneOf": [
|
|
34647
|
-
{
|
|
34648
|
-
"$ref": "#/components/schemas/AIOutputObject"
|
|
34649
|
-
},
|
|
34650
|
-
{
|
|
34651
|
-
"$ref": "#/components/schemas/AIOutputDocument"
|
|
34652
|
-
}
|
|
34653
|
-
]
|
|
34654
|
-
},
|
|
34655
34944
|
"AIModel": {
|
|
34656
34945
|
"type": "string",
|
|
34657
34946
|
"enum": [
|
|
@@ -34765,6 +35054,87 @@
|
|
|
34765
35054
|
}
|
|
34766
35055
|
}
|
|
34767
35056
|
},
|
|
35057
|
+
"AIMessageTask": {
|
|
35058
|
+
"oneOf": [
|
|
35059
|
+
{
|
|
35060
|
+
"type": "object",
|
|
35061
|
+
"description": "When the agent is responding to a comment.",
|
|
35062
|
+
"properties": {
|
|
35063
|
+
"type": {
|
|
35064
|
+
"type": "string",
|
|
35065
|
+
"enum": [
|
|
35066
|
+
"respond_to_comment"
|
|
35067
|
+
]
|
|
35068
|
+
},
|
|
35069
|
+
"spaceId": {
|
|
35070
|
+
"type": "string",
|
|
35071
|
+
"description": "The ID of the space to respond to the comment in."
|
|
35072
|
+
},
|
|
35073
|
+
"changeRequestId": {
|
|
35074
|
+
"type": "string",
|
|
35075
|
+
"description": "The ID of the change request to respond to the comment in."
|
|
35076
|
+
},
|
|
35077
|
+
"commentId": {
|
|
35078
|
+
"type": "string",
|
|
35079
|
+
"description": "The ID of the comment to respond to."
|
|
35080
|
+
}
|
|
35081
|
+
},
|
|
35082
|
+
"required": [
|
|
35083
|
+
"type",
|
|
35084
|
+
"spaceId",
|
|
35085
|
+
"commentId"
|
|
35086
|
+
]
|
|
35087
|
+
},
|
|
35088
|
+
{
|
|
35089
|
+
"type": "object",
|
|
35090
|
+
"description": "When the agent is reviewing a change request.",
|
|
35091
|
+
"properties": {
|
|
35092
|
+
"type": {
|
|
35093
|
+
"type": "string",
|
|
35094
|
+
"enum": [
|
|
35095
|
+
"review_change_request"
|
|
35096
|
+
]
|
|
35097
|
+
},
|
|
35098
|
+
"spaceId": {
|
|
35099
|
+
"type": "string",
|
|
35100
|
+
"description": "The ID of the space the change request is in."
|
|
35101
|
+
},
|
|
35102
|
+
"changeRequestId": {
|
|
35103
|
+
"type": "string",
|
|
35104
|
+
"description": "The ID of the change request to review."
|
|
35105
|
+
}
|
|
35106
|
+
},
|
|
35107
|
+
"required": [
|
|
35108
|
+
"type",
|
|
35109
|
+
"spaceId",
|
|
35110
|
+
"changeRequestId"
|
|
35111
|
+
]
|
|
35112
|
+
}
|
|
35113
|
+
]
|
|
35114
|
+
},
|
|
35115
|
+
"AIStreamResponseStart": {
|
|
35116
|
+
"type": "object",
|
|
35117
|
+
"description": "Message emitted by the server to indicate the start of the AI response.\n",
|
|
35118
|
+
"properties": {
|
|
35119
|
+
"type": {
|
|
35120
|
+
"type": "string",
|
|
35121
|
+
"enum": [
|
|
35122
|
+
"response_start"
|
|
35123
|
+
]
|
|
35124
|
+
},
|
|
35125
|
+
"messageId": {
|
|
35126
|
+
"type": "string",
|
|
35127
|
+
"description": "The ID of the message that this event is composing.\n"
|
|
35128
|
+
},
|
|
35129
|
+
"task": {
|
|
35130
|
+
"$ref": "#/components/schemas/AIMessageTask"
|
|
35131
|
+
}
|
|
35132
|
+
},
|
|
35133
|
+
"required": [
|
|
35134
|
+
"type",
|
|
35135
|
+
"messageId"
|
|
35136
|
+
]
|
|
35137
|
+
},
|
|
34768
35138
|
"AIStreamResponseFinish": {
|
|
34769
35139
|
"type": "object",
|
|
34770
35140
|
"description": "Message emitted by the server to indicate the end of the AI response. It contains the ID of the response to be referenced for followup requests.\n",
|
|
@@ -35146,18 +35516,18 @@
|
|
|
35146
35516
|
"page"
|
|
35147
35517
|
]
|
|
35148
35518
|
},
|
|
35149
|
-
"
|
|
35519
|
+
"AIToolCallCreateChangeRequest": {
|
|
35150
35520
|
"type": "object",
|
|
35151
35521
|
"properties": {
|
|
35152
35522
|
"tool": {
|
|
35153
35523
|
"type": "string",
|
|
35154
35524
|
"enum": [
|
|
35155
|
-
"
|
|
35525
|
+
"createChangeRequest"
|
|
35156
35526
|
]
|
|
35157
35527
|
},
|
|
35158
35528
|
"spaceId": {
|
|
35159
35529
|
"type": "string",
|
|
35160
|
-
"description": "The ID of the space the
|
|
35530
|
+
"description": "The ID of the space the change request belongs to."
|
|
35161
35531
|
},
|
|
35162
35532
|
"action": {
|
|
35163
35533
|
"type": "string",
|
|
@@ -35166,21 +35536,26 @@
|
|
|
35166
35536
|
"update"
|
|
35167
35537
|
]
|
|
35168
35538
|
},
|
|
35169
|
-
"
|
|
35539
|
+
"changeRequest": {
|
|
35170
35540
|
"type": "object",
|
|
35171
35541
|
"properties": {
|
|
35172
35542
|
"id": {
|
|
35173
35543
|
"type": "string",
|
|
35174
|
-
"description": "The unique identifier of the
|
|
35544
|
+
"description": "The unique identifier of the change request."
|
|
35175
35545
|
},
|
|
35176
|
-
"
|
|
35546
|
+
"number": {
|
|
35547
|
+
"type": "number",
|
|
35548
|
+
"description": "Incremental identifier of the change request."
|
|
35549
|
+
},
|
|
35550
|
+
"subject": {
|
|
35177
35551
|
"type": "string",
|
|
35178
|
-
"description": "
|
|
35552
|
+
"description": "A brief summary of the change request."
|
|
35179
35553
|
}
|
|
35180
35554
|
},
|
|
35181
35555
|
"required": [
|
|
35182
35556
|
"id",
|
|
35183
|
-
"
|
|
35557
|
+
"number",
|
|
35558
|
+
"subject"
|
|
35184
35559
|
]
|
|
35185
35560
|
}
|
|
35186
35561
|
},
|
|
@@ -35188,7 +35563,7 @@
|
|
|
35188
35563
|
"tool",
|
|
35189
35564
|
"spaceId",
|
|
35190
35565
|
"action",
|
|
35191
|
-
"
|
|
35566
|
+
"changeRequest"
|
|
35192
35567
|
]
|
|
35193
35568
|
},
|
|
35194
35569
|
"AIToolCallComment": {
|
|
@@ -35219,6 +35594,78 @@
|
|
|
35219
35594
|
"commentId"
|
|
35220
35595
|
]
|
|
35221
35596
|
},
|
|
35597
|
+
"AIToolCallReplyToComment": {
|
|
35598
|
+
"type": "object",
|
|
35599
|
+
"properties": {
|
|
35600
|
+
"tool": {
|
|
35601
|
+
"type": "string",
|
|
35602
|
+
"enum": [
|
|
35603
|
+
"replyToComment"
|
|
35604
|
+
]
|
|
35605
|
+
},
|
|
35606
|
+
"spaceId": {
|
|
35607
|
+
"type": "string",
|
|
35608
|
+
"description": "The ID of the space being commented."
|
|
35609
|
+
},
|
|
35610
|
+
"page": {
|
|
35611
|
+
"description": "The page being commented.",
|
|
35612
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
35613
|
+
},
|
|
35614
|
+
"commentId": {
|
|
35615
|
+
"type": "string",
|
|
35616
|
+
"description": "The ID of the comment being replied to."
|
|
35617
|
+
},
|
|
35618
|
+
"replyId": {
|
|
35619
|
+
"type": "string",
|
|
35620
|
+
"description": "The ID of the reply being posted."
|
|
35621
|
+
}
|
|
35622
|
+
},
|
|
35623
|
+
"required": [
|
|
35624
|
+
"tool",
|
|
35625
|
+
"spaceId",
|
|
35626
|
+
"commentId",
|
|
35627
|
+
"replyId"
|
|
35628
|
+
]
|
|
35629
|
+
},
|
|
35630
|
+
"AIToolCallSubmitChangeRequestReview": {
|
|
35631
|
+
"type": "object",
|
|
35632
|
+
"properties": {
|
|
35633
|
+
"tool": {
|
|
35634
|
+
"type": "string",
|
|
35635
|
+
"enum": [
|
|
35636
|
+
"submitChangeRequestReview"
|
|
35637
|
+
]
|
|
35638
|
+
},
|
|
35639
|
+
"spaceId": {
|
|
35640
|
+
"type": "string",
|
|
35641
|
+
"description": "The ID of the space where the review was submitted."
|
|
35642
|
+
},
|
|
35643
|
+
"changeRequestId": {
|
|
35644
|
+
"type": "string",
|
|
35645
|
+
"description": "The ID of the change request being reviewed."
|
|
35646
|
+
},
|
|
35647
|
+
"status": {
|
|
35648
|
+
"$ref": "#/components/schemas/ChangeRequestReviewStatus",
|
|
35649
|
+
"description": "Result of the review."
|
|
35650
|
+
},
|
|
35651
|
+
"reviewId": {
|
|
35652
|
+
"type": "string",
|
|
35653
|
+
"description": "Identifier of the review that was created."
|
|
35654
|
+
},
|
|
35655
|
+
"commentId": {
|
|
35656
|
+
"type": "string",
|
|
35657
|
+
"description": "Identifier of the comment that was created as part of the review."
|
|
35658
|
+
}
|
|
35659
|
+
},
|
|
35660
|
+
"required": [
|
|
35661
|
+
"tool",
|
|
35662
|
+
"spaceId",
|
|
35663
|
+
"changeRequestId",
|
|
35664
|
+
"status",
|
|
35665
|
+
"reviewId",
|
|
35666
|
+
"commentId"
|
|
35667
|
+
]
|
|
35668
|
+
},
|
|
35222
35669
|
"AIToolCallMCP": {
|
|
35223
35670
|
"type": "object",
|
|
35224
35671
|
"description": "Tool called from an MCP server",
|
|
@@ -35300,11 +35747,17 @@
|
|
|
35300
35747
|
"$ref": "#/components/schemas/AIToolCallGetPageDiff"
|
|
35301
35748
|
},
|
|
35302
35749
|
{
|
|
35303
|
-
"$ref": "#/components/schemas/
|
|
35750
|
+
"$ref": "#/components/schemas/AIToolCallCreateChangeRequest"
|
|
35304
35751
|
},
|
|
35305
35752
|
{
|
|
35306
35753
|
"$ref": "#/components/schemas/AIToolCallComment"
|
|
35307
35754
|
},
|
|
35755
|
+
{
|
|
35756
|
+
"$ref": "#/components/schemas/AIToolCallReplyToComment"
|
|
35757
|
+
},
|
|
35758
|
+
{
|
|
35759
|
+
"$ref": "#/components/schemas/AIToolCallSubmitChangeRequestReview"
|
|
35760
|
+
},
|
|
35308
35761
|
{
|
|
35309
35762
|
"$ref": "#/components/schemas/AIToolCallMCP"
|
|
35310
35763
|
},
|
|
@@ -35421,6 +35874,9 @@
|
|
|
35421
35874
|
},
|
|
35422
35875
|
"AIStreamResponse": {
|
|
35423
35876
|
"oneOf": [
|
|
35877
|
+
{
|
|
35878
|
+
"$ref": "#/components/schemas/AIStreamResponseStart"
|
|
35879
|
+
},
|
|
35424
35880
|
{
|
|
35425
35881
|
"$ref": "#/components/schemas/AIStreamResponseFinish"
|
|
35426
35882
|
},
|
|
@@ -38471,22 +38927,6 @@
|
|
|
38471
38927
|
"verificationErrors"
|
|
38472
38928
|
]
|
|
38473
38929
|
},
|
|
38474
|
-
"StaffUserInfo": {
|
|
38475
|
-
"type": "object",
|
|
38476
|
-
"description": "The GitBook Staff User info.",
|
|
38477
|
-
"properties": {
|
|
38478
|
-
"id": {
|
|
38479
|
-
"type": "string"
|
|
38480
|
-
},
|
|
38481
|
-
"searchKey": {
|
|
38482
|
-
"type": "string"
|
|
38483
|
-
}
|
|
38484
|
-
},
|
|
38485
|
-
"required": [
|
|
38486
|
-
"id",
|
|
38487
|
-
"searchKey"
|
|
38488
|
-
]
|
|
38489
|
-
},
|
|
38490
38930
|
"FirebaseUserInfo": {
|
|
38491
38931
|
"type": "object",
|
|
38492
38932
|
"description": "The User Firebase Auth Info.",
|
|
@@ -38554,6 +38994,9 @@
|
|
|
38554
38994
|
},
|
|
38555
38995
|
"reason": {
|
|
38556
38996
|
"$ref": "#/components/schemas/BlockReason"
|
|
38997
|
+
},
|
|
38998
|
+
"blockPaidOrg": {
|
|
38999
|
+
"type": "boolean"
|
|
38557
39000
|
}
|
|
38558
39001
|
},
|
|
38559
39002
|
"required": [
|
|
@@ -38675,9 +39118,6 @@
|
|
|
38675
39118
|
"updatedAt": {
|
|
38676
39119
|
"$ref": "#/components/schemas/Timestamp"
|
|
38677
39120
|
},
|
|
38678
|
-
"searchKey": {
|
|
38679
|
-
"type": "string"
|
|
38680
|
-
},
|
|
38681
39121
|
"organizations": {
|
|
38682
39122
|
"type": "object",
|
|
38683
39123
|
"additionalProperties": {
|
|
@@ -38699,7 +39139,6 @@
|
|
|
38699
39139
|
},
|
|
38700
39140
|
"required": [
|
|
38701
39141
|
"updatedAt",
|
|
38702
|
-
"searchKey",
|
|
38703
39142
|
"organizations",
|
|
38704
39143
|
"collections",
|
|
38705
39144
|
"spaces"
|
|
@@ -40430,14 +40869,14 @@
|
|
|
40430
40869
|
"organization"
|
|
40431
40870
|
]
|
|
40432
40871
|
},
|
|
40433
|
-
"
|
|
40872
|
+
"OrganizationAgentInstructionsChannel": {
|
|
40434
40873
|
"type": "object",
|
|
40435
|
-
"description": "Subscription channel for
|
|
40874
|
+
"description": "Subscription channel for Docs agent instructions changes in an organization.",
|
|
40436
40875
|
"properties": {
|
|
40437
40876
|
"channel": {
|
|
40438
40877
|
"type": "string",
|
|
40439
40878
|
"enum": [
|
|
40440
|
-
"organization-
|
|
40879
|
+
"organization-agent-instructions"
|
|
40441
40880
|
]
|
|
40442
40881
|
},
|
|
40443
40882
|
"organization": {
|
|
@@ -40449,75 +40888,72 @@
|
|
|
40449
40888
|
"organization"
|
|
40450
40889
|
]
|
|
40451
40890
|
},
|
|
40452
|
-
"
|
|
40891
|
+
"OrganizationChangeRequestsChannel": {
|
|
40453
40892
|
"type": "object",
|
|
40893
|
+
"description": "Subscription channel for all change requests in an organization.",
|
|
40454
40894
|
"properties": {
|
|
40455
40895
|
"channel": {
|
|
40456
40896
|
"type": "string",
|
|
40457
40897
|
"enum": [
|
|
40458
|
-
"
|
|
40898
|
+
"organization-change-requests"
|
|
40459
40899
|
]
|
|
40460
40900
|
},
|
|
40461
|
-
"
|
|
40901
|
+
"organization": {
|
|
40462
40902
|
"type": "string"
|
|
40463
40903
|
}
|
|
40464
40904
|
},
|
|
40465
40905
|
"required": [
|
|
40466
40906
|
"channel",
|
|
40467
|
-
"
|
|
40907
|
+
"organization"
|
|
40468
40908
|
]
|
|
40469
40909
|
},
|
|
40470
|
-
"
|
|
40910
|
+
"SpaceCommentsChannel": {
|
|
40471
40911
|
"type": "object",
|
|
40472
40912
|
"properties": {
|
|
40473
40913
|
"channel": {
|
|
40474
40914
|
"type": "string",
|
|
40475
40915
|
"enum": [
|
|
40476
|
-
"space-
|
|
40916
|
+
"space-comments"
|
|
40477
40917
|
]
|
|
40478
40918
|
},
|
|
40479
40919
|
"space": {
|
|
40480
40920
|
"type": "string"
|
|
40481
|
-
},
|
|
40482
|
-
"changeRequest": {
|
|
40483
|
-
"type": "string"
|
|
40484
40921
|
}
|
|
40485
40922
|
},
|
|
40486
40923
|
"required": [
|
|
40487
40924
|
"channel",
|
|
40488
|
-
"space"
|
|
40489
|
-
"changeRequest"
|
|
40925
|
+
"space"
|
|
40490
40926
|
]
|
|
40491
40927
|
},
|
|
40492
|
-
"
|
|
40928
|
+
"ChangeRequestCommentsChannel": {
|
|
40493
40929
|
"type": "object",
|
|
40494
40930
|
"properties": {
|
|
40495
40931
|
"channel": {
|
|
40496
40932
|
"type": "string",
|
|
40497
40933
|
"enum": [
|
|
40498
|
-
"space-
|
|
40934
|
+
"space-change-request-comments"
|
|
40499
40935
|
]
|
|
40500
40936
|
},
|
|
40501
40937
|
"space": {
|
|
40502
40938
|
"type": "string"
|
|
40503
40939
|
},
|
|
40504
|
-
"
|
|
40940
|
+
"changeRequest": {
|
|
40505
40941
|
"type": "string"
|
|
40506
40942
|
}
|
|
40507
40943
|
},
|
|
40508
40944
|
"required": [
|
|
40509
40945
|
"channel",
|
|
40510
40946
|
"space",
|
|
40511
|
-
"
|
|
40947
|
+
"changeRequest"
|
|
40512
40948
|
]
|
|
40513
40949
|
},
|
|
40514
|
-
"
|
|
40950
|
+
"CommentInfoChannel": {
|
|
40515
40951
|
"type": "object",
|
|
40516
40952
|
"properties": {
|
|
40517
40953
|
"channel": {
|
|
40518
40954
|
"type": "string",
|
|
40519
40955
|
"enum": [
|
|
40520
|
-
"space-comment
|
|
40956
|
+
"space-comment"
|
|
40521
40957
|
]
|
|
40522
40958
|
},
|
|
40523
40959
|
"space": {
|
|
@@ -40525,16 +40961,12 @@
|
|
|
40525
40961
|
},
|
|
40526
40962
|
"comment": {
|
|
40527
40963
|
"type": "string"
|
|
40528
|
-
},
|
|
40529
|
-
"commentReply": {
|
|
40530
|
-
"type": "string"
|
|
40531
40964
|
}
|
|
40532
40965
|
},
|
|
40533
40966
|
"required": [
|
|
40534
40967
|
"channel",
|
|
40535
40968
|
"space",
|
|
40536
|
-
"comment"
|
|
40537
|
-
"commentReply"
|
|
40969
|
+
"comment"
|
|
40538
40970
|
]
|
|
40539
40971
|
},
|
|
40540
40972
|
"CommentRepliesChannel": {
|
|
@@ -41267,6 +41699,9 @@
|
|
|
41267
41699
|
{
|
|
41268
41700
|
"$ref": "#/components/schemas/OrganizationCustomFontsChannel"
|
|
41269
41701
|
},
|
|
41702
|
+
{
|
|
41703
|
+
"$ref": "#/components/schemas/OrganizationAgentInstructionsChannel"
|
|
41704
|
+
},
|
|
41270
41705
|
{
|
|
41271
41706
|
"$ref": "#/components/schemas/OrganizationChangeRequestsChannel"
|
|
41272
41707
|
},
|
|
@@ -41279,9 +41714,6 @@
|
|
|
41279
41714
|
{
|
|
41280
41715
|
"$ref": "#/components/schemas/CommentInfoChannel"
|
|
41281
41716
|
},
|
|
41282
|
-
{
|
|
41283
|
-
"$ref": "#/components/schemas/CommentReplyInfoChannel"
|
|
41284
|
-
},
|
|
41285
41717
|
{
|
|
41286
41718
|
"$ref": "#/components/schemas/CommentRepliesChannel"
|
|
41287
41719
|
},
|
|
@@ -41727,6 +42159,9 @@
|
|
|
41727
42159
|
"items": {
|
|
41728
42160
|
"$ref": "#/components/schemas/AIMessageStep"
|
|
41729
42161
|
}
|
|
42162
|
+
},
|
|
42163
|
+
"task": {
|
|
42164
|
+
"$ref": "#/components/schemas/AIMessageTask"
|
|
41730
42165
|
}
|
|
41731
42166
|
},
|
|
41732
42167
|
"required": [
|
|
@@ -41735,51 +42170,6 @@
|
|
|
41735
42170
|
"steps"
|
|
41736
42171
|
]
|
|
41737
42172
|
},
|
|
41738
|
-
"AgentRequestReset": {
|
|
41739
|
-
"type": "object",
|
|
41740
|
-
"description": "Request to reset the chat.\n",
|
|
41741
|
-
"properties": {
|
|
41742
|
-
"type": {
|
|
41743
|
-
"type": "string",
|
|
41744
|
-
"enum": [
|
|
41745
|
-
"reset"
|
|
41746
|
-
]
|
|
41747
|
-
}
|
|
41748
|
-
},
|
|
41749
|
-
"required": [
|
|
41750
|
-
"type"
|
|
41751
|
-
]
|
|
41752
|
-
},
|
|
41753
|
-
"AgentRequestPostMessage": {
|
|
41754
|
-
"type": "object",
|
|
41755
|
-
"description": "Request to post a message to the agent.\n",
|
|
41756
|
-
"properties": {
|
|
41757
|
-
"type": {
|
|
41758
|
-
"type": "string",
|
|
41759
|
-
"enum": [
|
|
41760
|
-
"post_message"
|
|
41761
|
-
]
|
|
41762
|
-
},
|
|
41763
|
-
"message": {
|
|
41764
|
-
"$ref": "#/components/schemas/AIMessageInput"
|
|
41765
|
-
}
|
|
41766
|
-
},
|
|
41767
|
-
"required": [
|
|
41768
|
-
"type",
|
|
41769
|
-
"message"
|
|
41770
|
-
]
|
|
41771
|
-
},
|
|
41772
|
-
"AgentRequest": {
|
|
41773
|
-
"description": "Payload to send to the agent.\n",
|
|
41774
|
-
"oneOf": [
|
|
41775
|
-
{
|
|
41776
|
-
"$ref": "#/components/schemas/AgentRequestReset"
|
|
41777
|
-
},
|
|
41778
|
-
{
|
|
41779
|
-
"$ref": "#/components/schemas/AgentRequestPostMessage"
|
|
41780
|
-
}
|
|
41781
|
-
]
|
|
41782
|
-
},
|
|
41783
42173
|
"AgentStreamMessages": {
|
|
41784
42174
|
"type": "object",
|
|
41785
42175
|
"description": "Payload emitted by the agent to reset the messages.\n",
|
|
@@ -41875,6 +42265,32 @@
|
|
|
41875
42265
|
"state"
|
|
41876
42266
|
]
|
|
41877
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
|
+
},
|
|
41878
42294
|
"AgentStream": {
|
|
41879
42295
|
"oneOf": [
|
|
41880
42296
|
{
|
|
@@ -41885,6 +42301,9 @@
|
|
|
41885
42301
|
},
|
|
41886
42302
|
{
|
|
41887
42303
|
"$ref": "#/components/schemas/AgentStreamState"
|
|
42304
|
+
},
|
|
42305
|
+
{
|
|
42306
|
+
"$ref": "#/components/schemas/AgentStreamRPC"
|
|
41888
42307
|
}
|
|
41889
42308
|
]
|
|
41890
42309
|
},
|
|
@@ -41947,9 +42366,6 @@
|
|
|
41947
42366
|
"RequestExportToGitRepository": {
|
|
41948
42367
|
"$ref": "#/components/schemas/ExportToGitRepository"
|
|
41949
42368
|
},
|
|
41950
|
-
"RequestImportContent": {
|
|
41951
|
-
"$ref": "#/components/schemas/ImportContent"
|
|
41952
|
-
},
|
|
41953
42369
|
"RequestCreateSpace": {
|
|
41954
42370
|
"$ref": "#/components/schemas/CreateSpace"
|
|
41955
42371
|
},
|