@gitbook/api 0.114.0 → 0.116.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 +376 -207
- package/dist/index.cjs +61 -34
- package/dist/index.js +58 -30
- package/package.json +1 -1
- package/spec/openapi.json +1207 -676
- package/spec/openapi.yaml +907 -547
package/spec/openapi.yaml
CHANGED
|
@@ -512,6 +512,43 @@ paths:
|
|
|
512
512
|
"404":
|
|
513
513
|
description: User not found
|
|
514
514
|
$ref: "#/components/responses/NotFoundError"
|
|
515
|
+
patch:
|
|
516
|
+
operationId: updateUserById
|
|
517
|
+
summary: Update a user by its ID
|
|
518
|
+
tags:
|
|
519
|
+
- users
|
|
520
|
+
- critical
|
|
521
|
+
security:
|
|
522
|
+
- user: []
|
|
523
|
+
description: |
|
|
524
|
+
Update a GitBook account's details.
|
|
525
|
+
parameters:
|
|
526
|
+
- $ref: "#/components/parameters/userId"
|
|
527
|
+
requestBody:
|
|
528
|
+
required: true
|
|
529
|
+
content:
|
|
530
|
+
application/json:
|
|
531
|
+
schema:
|
|
532
|
+
type: object
|
|
533
|
+
minProperties: 1
|
|
534
|
+
properties:
|
|
535
|
+
displayName:
|
|
536
|
+
type: string
|
|
537
|
+
description: Full name for the user
|
|
538
|
+
minLength: 1
|
|
539
|
+
maxLength: 64
|
|
540
|
+
photoURL:
|
|
541
|
+
$ref: "#/components/schemas/URL"
|
|
542
|
+
responses:
|
|
543
|
+
"200":
|
|
544
|
+
description: The user has been updated
|
|
545
|
+
content:
|
|
546
|
+
application/json:
|
|
547
|
+
schema:
|
|
548
|
+
$ref: "#/components/schemas/User"
|
|
549
|
+
"404":
|
|
550
|
+
description: User not found
|
|
551
|
+
$ref: "#/components/responses/NotFoundError"
|
|
515
552
|
"/spaces/{spaceId}":
|
|
516
553
|
get:
|
|
517
554
|
operationId: getSpaceById
|
|
@@ -1199,6 +1236,7 @@ paths:
|
|
|
1199
1236
|
tags:
|
|
1200
1237
|
- space-content
|
|
1201
1238
|
- links
|
|
1239
|
+
- critical
|
|
1202
1240
|
security:
|
|
1203
1241
|
- user: []
|
|
1204
1242
|
parameters:
|
|
@@ -1758,6 +1796,7 @@ paths:
|
|
|
1758
1796
|
tags:
|
|
1759
1797
|
- change-requests-links
|
|
1760
1798
|
- links
|
|
1799
|
+
- critical
|
|
1761
1800
|
security:
|
|
1762
1801
|
- user: []
|
|
1763
1802
|
parameters:
|
|
@@ -1817,6 +1856,7 @@ paths:
|
|
|
1817
1856
|
- $ref: "#/components/parameters/documentFormat"
|
|
1818
1857
|
- $ref: "#/components/parameters/status"
|
|
1819
1858
|
- $ref: "#/components/parameters/targetPage"
|
|
1859
|
+
- $ref: "#/components/parameters/authors"
|
|
1820
1860
|
responses:
|
|
1821
1861
|
"200":
|
|
1822
1862
|
description: OK
|
|
@@ -2247,6 +2287,7 @@ paths:
|
|
|
2247
2287
|
summary: List all change request links
|
|
2248
2288
|
tags:
|
|
2249
2289
|
- change-request-content
|
|
2290
|
+
- critical
|
|
2250
2291
|
security:
|
|
2251
2292
|
- user: []
|
|
2252
2293
|
parameters:
|
|
@@ -2612,6 +2653,7 @@ paths:
|
|
|
2612
2653
|
summary: List all space comments
|
|
2613
2654
|
tags:
|
|
2614
2655
|
- space-comments
|
|
2656
|
+
- critical
|
|
2615
2657
|
security:
|
|
2616
2658
|
- user: []
|
|
2617
2659
|
parameters:
|
|
@@ -2622,6 +2664,7 @@ paths:
|
|
|
2622
2664
|
- $ref: "#/components/parameters/status"
|
|
2623
2665
|
- $ref: "#/components/parameters/documentFormat"
|
|
2624
2666
|
- $ref: "#/components/parameters/targetPage"
|
|
2667
|
+
- $ref: "#/components/parameters/authors"
|
|
2625
2668
|
responses:
|
|
2626
2669
|
"200":
|
|
2627
2670
|
description: OK
|
|
@@ -2826,6 +2869,67 @@ paths:
|
|
|
2826
2869
|
responses:
|
|
2827
2870
|
"205":
|
|
2828
2871
|
description: The comment has been deleted.
|
|
2872
|
+
"/spaces/{spaceId}/commenters":
|
|
2873
|
+
get:
|
|
2874
|
+
operationId: listCommentersInSpace
|
|
2875
|
+
summary: List all users who commented in a space
|
|
2876
|
+
tags:
|
|
2877
|
+
- space-comments
|
|
2878
|
+
- critical
|
|
2879
|
+
security:
|
|
2880
|
+
- user: []
|
|
2881
|
+
parameters:
|
|
2882
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2883
|
+
- $ref: "#/components/parameters/listPage"
|
|
2884
|
+
- $ref: "#/components/parameters/listLimit"
|
|
2885
|
+
responses:
|
|
2886
|
+
"200":
|
|
2887
|
+
description: OK
|
|
2888
|
+
content:
|
|
2889
|
+
application/json:
|
|
2890
|
+
schema:
|
|
2891
|
+
allOf:
|
|
2892
|
+
- $ref: "#/components/schemas/List"
|
|
2893
|
+
- type: object
|
|
2894
|
+
required:
|
|
2895
|
+
- items
|
|
2896
|
+
- total
|
|
2897
|
+
properties:
|
|
2898
|
+
items:
|
|
2899
|
+
type: array
|
|
2900
|
+
items:
|
|
2901
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
2902
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/commenters":
|
|
2903
|
+
get:
|
|
2904
|
+
operationId: listCommentersInChangeRequest
|
|
2905
|
+
summary: List all users who commented in a CR
|
|
2906
|
+
tags:
|
|
2907
|
+
- change-request-comments
|
|
2908
|
+
- critical
|
|
2909
|
+
security:
|
|
2910
|
+
- user: []
|
|
2911
|
+
parameters:
|
|
2912
|
+
- $ref: "#/components/parameters/spaceId"
|
|
2913
|
+
- $ref: "#/components/parameters/changeRequestId"
|
|
2914
|
+
- $ref: "#/components/parameters/listPage"
|
|
2915
|
+
- $ref: "#/components/parameters/listLimit"
|
|
2916
|
+
responses:
|
|
2917
|
+
"200":
|
|
2918
|
+
description: OK
|
|
2919
|
+
content:
|
|
2920
|
+
application/json:
|
|
2921
|
+
schema:
|
|
2922
|
+
allOf:
|
|
2923
|
+
- $ref: "#/components/schemas/List"
|
|
2924
|
+
- type: object
|
|
2925
|
+
required:
|
|
2926
|
+
- items
|
|
2927
|
+
- total
|
|
2928
|
+
properties:
|
|
2929
|
+
items:
|
|
2930
|
+
type: array
|
|
2931
|
+
items:
|
|
2932
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
2829
2933
|
"/spaces/{spaceId}/permissions/aggregate":
|
|
2830
2934
|
get:
|
|
2831
2935
|
operationId: listPermissionsAggregateInSpace
|
|
@@ -2999,6 +3103,7 @@ paths:
|
|
|
2999
3103
|
tags:
|
|
3000
3104
|
- spaces
|
|
3001
3105
|
- links
|
|
3106
|
+
- critical
|
|
3002
3107
|
security:
|
|
3003
3108
|
- user: []
|
|
3004
3109
|
parameters:
|
|
@@ -4168,6 +4273,7 @@ paths:
|
|
|
4168
4273
|
summary: Get the list of organizations for the currently authenticated user
|
|
4169
4274
|
tags:
|
|
4170
4275
|
- organizations
|
|
4276
|
+
- critical
|
|
4171
4277
|
security:
|
|
4172
4278
|
- user: []
|
|
4173
4279
|
parameters:
|
|
@@ -4320,6 +4426,7 @@ paths:
|
|
|
4320
4426
|
summary: Get an organization member by its ID
|
|
4321
4427
|
tags:
|
|
4322
4428
|
- organization-members
|
|
4429
|
+
- critical
|
|
4323
4430
|
security:
|
|
4324
4431
|
- user: []
|
|
4325
4432
|
parameters:
|
|
@@ -6448,7 +6555,7 @@ paths:
|
|
|
6448
6555
|
tags:
|
|
6449
6556
|
- sites
|
|
6450
6557
|
security:
|
|
6451
|
-
- user
|
|
6558
|
+
- user: []
|
|
6452
6559
|
parameters:
|
|
6453
6560
|
- $ref: "#/components/parameters/organizationId"
|
|
6454
6561
|
- $ref: "#/components/parameters/siteId"
|
|
@@ -7680,22 +7787,11 @@ paths:
|
|
|
7680
7787
|
favicon:
|
|
7681
7788
|
description: The favicon to use. Set to null to reset the override.
|
|
7682
7789
|
oneOf:
|
|
7683
|
-
-
|
|
7684
|
-
|
|
7685
|
-
icon:
|
|
7686
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
7687
|
-
required:
|
|
7688
|
-
- icon
|
|
7689
|
-
- type: object
|
|
7690
|
-
properties:
|
|
7691
|
-
emoji:
|
|
7692
|
-
$ref: "#/components/schemas/Emoji"
|
|
7693
|
-
required:
|
|
7694
|
-
- emoji
|
|
7695
|
-
- type: object
|
|
7790
|
+
- $ref: "#/components/schemas/CustomizationFavicon"
|
|
7791
|
+
- type: string
|
|
7696
7792
|
nullable: true
|
|
7697
|
-
|
|
7698
|
-
|
|
7793
|
+
enum:
|
|
7794
|
+
- null
|
|
7699
7795
|
announcement:
|
|
7700
7796
|
$ref: "#/components/schemas/CustomizationAnnouncement"
|
|
7701
7797
|
header:
|
|
@@ -8035,6 +8131,9 @@ paths:
|
|
|
8035
8131
|
previousResponseId:
|
|
8036
8132
|
type: string
|
|
8037
8133
|
description: The ID of the previous response to continue from
|
|
8134
|
+
instructions:
|
|
8135
|
+
type: string
|
|
8136
|
+
description: Instructions for the AI
|
|
8038
8137
|
input:
|
|
8039
8138
|
type: array
|
|
8040
8139
|
items:
|
|
@@ -8588,6 +8687,7 @@ paths:
|
|
|
8588
8687
|
get:
|
|
8589
8688
|
operationId: getPublishedContentByUrl
|
|
8590
8689
|
summary: Resolve a URL of a published content.
|
|
8690
|
+
deprecated: true
|
|
8591
8691
|
tags:
|
|
8592
8692
|
- urls
|
|
8593
8693
|
parameters:
|
|
@@ -8620,6 +8720,39 @@ paths:
|
|
|
8620
8720
|
"404":
|
|
8621
8721
|
description: No content found for the URL.
|
|
8622
8722
|
$ref: "#/components/responses/NotFoundError"
|
|
8723
|
+
post:
|
|
8724
|
+
operationId: resolvePublishedContentByUrl
|
|
8725
|
+
summary: Resolve a URL of a published content.
|
|
8726
|
+
tags:
|
|
8727
|
+
- urls
|
|
8728
|
+
requestBody:
|
|
8729
|
+
required: true
|
|
8730
|
+
content:
|
|
8731
|
+
application/json:
|
|
8732
|
+
schema:
|
|
8733
|
+
type: object
|
|
8734
|
+
properties:
|
|
8735
|
+
url:
|
|
8736
|
+
description: URL to resolve
|
|
8737
|
+
$ref: "#/components/schemas/URL"
|
|
8738
|
+
redirectOnError:
|
|
8739
|
+
type: boolean
|
|
8740
|
+
description: When true redirects the user to the authentication/fallback URL if the visitor auth token is invalid
|
|
8741
|
+
default: false
|
|
8742
|
+
visitor:
|
|
8743
|
+
$ref: "#/components/schemas/SiteVisitorPayload"
|
|
8744
|
+
required:
|
|
8745
|
+
- url
|
|
8746
|
+
responses:
|
|
8747
|
+
"200":
|
|
8748
|
+
description: OK
|
|
8749
|
+
content:
|
|
8750
|
+
application/json:
|
|
8751
|
+
schema:
|
|
8752
|
+
$ref: "#/components/schemas/PublishedSiteContentLookup"
|
|
8753
|
+
"404":
|
|
8754
|
+
description: No content found for the URL.
|
|
8755
|
+
$ref: "#/components/responses/NotFoundError"
|
|
8623
8756
|
components:
|
|
8624
8757
|
securitySchemes:
|
|
8625
8758
|
user:
|
|
@@ -8780,6 +8913,15 @@ components:
|
|
|
8780
8913
|
description: The target page of the comment
|
|
8781
8914
|
schema:
|
|
8782
8915
|
type: string
|
|
8916
|
+
authors:
|
|
8917
|
+
name: authors
|
|
8918
|
+
in: query
|
|
8919
|
+
description: User IDs to filter queried comments on
|
|
8920
|
+
required: false
|
|
8921
|
+
schema:
|
|
8922
|
+
type: array
|
|
8923
|
+
items:
|
|
8924
|
+
type: string
|
|
8783
8925
|
commentId:
|
|
8784
8926
|
name: commentId
|
|
8785
8927
|
in: path
|
|
@@ -9131,6 +9273,10 @@ components:
|
|
|
9131
9273
|
description: The actual token value.
|
|
9132
9274
|
required:
|
|
9133
9275
|
- token
|
|
9276
|
+
URL:
|
|
9277
|
+
type: string
|
|
9278
|
+
format: uri
|
|
9279
|
+
maxLength: 2048
|
|
9134
9280
|
SpaceTitle:
|
|
9135
9281
|
type: string
|
|
9136
9282
|
description: Title of the space
|
|
@@ -9167,10 +9313,6 @@ components:
|
|
|
9167
9313
|
enum:
|
|
9168
9314
|
- live
|
|
9169
9315
|
- locked
|
|
9170
|
-
URL:
|
|
9171
|
-
type: string
|
|
9172
|
-
format: uri
|
|
9173
|
-
maxLength: 2048
|
|
9174
9316
|
GitSyncProvider:
|
|
9175
9317
|
type: string
|
|
9176
9318
|
description: The provider of the Git Sync installation.
|
|
@@ -11878,6 +12020,64 @@ components:
|
|
|
11878
12020
|
- object
|
|
11879
12021
|
- type
|
|
11880
12022
|
- nodes
|
|
12023
|
+
DocumentBlockColumn:
|
|
12024
|
+
type: object
|
|
12025
|
+
properties:
|
|
12026
|
+
object:
|
|
12027
|
+
type: string
|
|
12028
|
+
enum:
|
|
12029
|
+
- block
|
|
12030
|
+
type:
|
|
12031
|
+
type: string
|
|
12032
|
+
enum:
|
|
12033
|
+
- column
|
|
12034
|
+
key:
|
|
12035
|
+
type: string
|
|
12036
|
+
nodes:
|
|
12037
|
+
type: array
|
|
12038
|
+
items:
|
|
12039
|
+
oneOf:
|
|
12040
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
12041
|
+
isVoid:
|
|
12042
|
+
type: boolean
|
|
12043
|
+
enum:
|
|
12044
|
+
- false
|
|
12045
|
+
required:
|
|
12046
|
+
- object
|
|
12047
|
+
- type
|
|
12048
|
+
- nodes
|
|
12049
|
+
DocumentBlockColumns:
|
|
12050
|
+
type: object
|
|
12051
|
+
properties:
|
|
12052
|
+
object:
|
|
12053
|
+
type: string
|
|
12054
|
+
enum:
|
|
12055
|
+
- block
|
|
12056
|
+
type:
|
|
12057
|
+
type: string
|
|
12058
|
+
enum:
|
|
12059
|
+
- columns
|
|
12060
|
+
key:
|
|
12061
|
+
type: string
|
|
12062
|
+
data:
|
|
12063
|
+
type: object
|
|
12064
|
+
properties:
|
|
12065
|
+
fullWidth:
|
|
12066
|
+
type: boolean
|
|
12067
|
+
nodes:
|
|
12068
|
+
type: array
|
|
12069
|
+
items:
|
|
12070
|
+
$ref: "#/components/schemas/DocumentBlockColumn"
|
|
12071
|
+
isVoid:
|
|
12072
|
+
type: boolean
|
|
12073
|
+
enum:
|
|
12074
|
+
- false
|
|
12075
|
+
required:
|
|
12076
|
+
- object
|
|
12077
|
+
- type
|
|
12078
|
+
- data
|
|
12079
|
+
- nodes
|
|
12080
|
+
- isVoid
|
|
11881
12081
|
DocumentBlock:
|
|
11882
12082
|
oneOf:
|
|
11883
12083
|
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
@@ -11910,6 +12110,8 @@ components:
|
|
|
11910
12110
|
- $ref: "#/components/schemas/DocumentBlockReusableContent"
|
|
11911
12111
|
- $ref: "#/components/schemas/DocumentBlockStepper"
|
|
11912
12112
|
- $ref: "#/components/schemas/DocumentBlockStepperStep"
|
|
12113
|
+
- $ref: "#/components/schemas/DocumentBlockColumns"
|
|
12114
|
+
- $ref: "#/components/schemas/DocumentBlockColumn"
|
|
11913
12115
|
DocumentInlineMention:
|
|
11914
12116
|
type: object
|
|
11915
12117
|
properties:
|
|
@@ -14013,30 +14215,6 @@ components:
|
|
|
14013
14215
|
- updatedAt
|
|
14014
14216
|
- count
|
|
14015
14217
|
- user
|
|
14016
|
-
ChangeRequestBrainstormStatus:
|
|
14017
|
-
type: string
|
|
14018
|
-
description: |
|
|
14019
|
-
The status of the session.
|
|
14020
|
-
- pending: The session is pending for input from the user.
|
|
14021
|
-
- running: The session is being processed by GitBook.
|
|
14022
|
-
- failed: The session processing has failed.
|
|
14023
|
-
enum:
|
|
14024
|
-
- pending
|
|
14025
|
-
- failed
|
|
14026
|
-
- running
|
|
14027
|
-
ChangeRequestBrainstormActor:
|
|
14028
|
-
type: string
|
|
14029
|
-
enum:
|
|
14030
|
-
- user
|
|
14031
|
-
- agent
|
|
14032
|
-
ChangeRequestBrainstormContext:
|
|
14033
|
-
type: object
|
|
14034
|
-
properties:
|
|
14035
|
-
page:
|
|
14036
|
-
type: string
|
|
14037
|
-
description: Path of the page the user is currently viewing.
|
|
14038
|
-
required:
|
|
14039
|
-
- page
|
|
14040
14218
|
RevisionPageType:
|
|
14041
14219
|
type: string
|
|
14042
14220
|
enum:
|
|
@@ -14059,255 +14237,40 @@ components:
|
|
|
14059
14237
|
- id
|
|
14060
14238
|
- type
|
|
14061
14239
|
- title
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
-
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
enum:
|
|
14097
|
-
- search-semantic
|
|
14098
|
-
intent:
|
|
14099
|
-
type: string
|
|
14100
|
-
query:
|
|
14101
|
-
type: string
|
|
14102
|
-
required:
|
|
14103
|
-
- tool
|
|
14104
|
-
- intent
|
|
14105
|
-
- query
|
|
14106
|
-
- type: object
|
|
14107
|
-
properties:
|
|
14108
|
-
tool:
|
|
14109
|
-
type: string
|
|
14110
|
-
enum:
|
|
14111
|
-
- create-page
|
|
14112
|
-
page:
|
|
14113
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14114
|
-
required:
|
|
14115
|
-
- tool
|
|
14116
|
-
- page
|
|
14117
|
-
- type: object
|
|
14118
|
-
properties:
|
|
14119
|
-
tool:
|
|
14120
|
-
type: string
|
|
14121
|
-
enum:
|
|
14122
|
-
- delete-page
|
|
14123
|
-
page:
|
|
14124
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14125
|
-
required:
|
|
14126
|
-
- tool
|
|
14127
|
-
- page
|
|
14128
|
-
- type: object
|
|
14129
|
-
properties:
|
|
14130
|
-
tool:
|
|
14131
|
-
type: string
|
|
14132
|
-
enum:
|
|
14133
|
-
- edit-page
|
|
14134
|
-
page:
|
|
14135
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14136
|
-
required:
|
|
14137
|
-
- tool
|
|
14138
|
-
- page
|
|
14139
|
-
ChangeRequestBrainstormPlanStatus:
|
|
14140
|
-
type: string
|
|
14141
|
-
description: |
|
|
14142
|
-
The status of the plan.
|
|
14143
|
-
- pending: The task is pending for input from the user.
|
|
14144
|
-
- running: The task is being processed by GitBook.
|
|
14145
|
-
- failed: The task processing has failed.
|
|
14146
|
-
- completed: The task has been completed.
|
|
14147
|
-
enum:
|
|
14148
|
-
- pending
|
|
14149
|
-
- failed
|
|
14150
|
-
- running
|
|
14151
|
-
- completed
|
|
14152
|
-
ChangeRequestBrainstormPlanStepTitle:
|
|
14153
|
-
type: string
|
|
14154
|
-
minLength: 1
|
|
14155
|
-
maxLength: 100
|
|
14156
|
-
ChangeRequestBrainstormPlanStepStatus:
|
|
14157
|
-
type: string
|
|
14158
|
-
enum:
|
|
14159
|
-
- pending
|
|
14160
|
-
- succeeded
|
|
14161
|
-
- failed
|
|
14162
|
-
- running
|
|
14163
|
-
ChangeRequestBrainstormPlanStep:
|
|
14164
|
-
type: object
|
|
14165
|
-
properties:
|
|
14166
|
-
title:
|
|
14167
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStepTitle"
|
|
14168
|
-
status:
|
|
14169
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStepStatus"
|
|
14170
|
-
instruction:
|
|
14171
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14172
|
-
implementation:
|
|
14173
|
-
description: Logs related to the implementation phase of the step.
|
|
14174
|
-
type: object
|
|
14175
|
-
properties:
|
|
14176
|
-
summary:
|
|
14177
|
-
description: A summary of the execution phase.
|
|
14178
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14179
|
-
logs:
|
|
14180
|
-
description: Logs related to the execution phase of the step.
|
|
14181
|
-
items:
|
|
14182
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormLog"
|
|
14183
|
-
required:
|
|
14184
|
-
- logs
|
|
14185
|
-
required:
|
|
14186
|
-
- title
|
|
14187
|
-
- status
|
|
14188
|
-
- instruction
|
|
14189
|
-
ChangeRequestBrainstormPlan:
|
|
14190
|
-
type: object
|
|
14191
|
-
properties:
|
|
14192
|
-
status:
|
|
14193
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStatus"
|
|
14194
|
-
title:
|
|
14195
|
-
type: string
|
|
14196
|
-
description: The title of the plan.
|
|
14197
|
-
steps:
|
|
14198
|
-
description: The steps of the plan to execute the plan.
|
|
14199
|
-
type: array
|
|
14200
|
-
items:
|
|
14201
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlanStep"
|
|
14202
|
-
context:
|
|
14203
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormContext"
|
|
14204
|
-
required:
|
|
14205
|
-
- status
|
|
14206
|
-
- title
|
|
14207
|
-
- steps
|
|
14208
|
-
ChangeRequestBrainstormAttachmentPlan:
|
|
14209
|
-
type: object
|
|
14210
|
-
properties:
|
|
14211
|
-
type:
|
|
14212
|
-
type: string
|
|
14213
|
-
enum:
|
|
14214
|
-
- plan
|
|
14215
|
-
plan:
|
|
14216
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormPlan"
|
|
14217
|
-
required:
|
|
14218
|
-
- type
|
|
14219
|
-
- plan
|
|
14220
|
-
ChangeRequestBrainstormAttachmentMessage:
|
|
14221
|
-
type: object
|
|
14222
|
-
properties:
|
|
14223
|
-
type:
|
|
14224
|
-
type: string
|
|
14225
|
-
enum:
|
|
14226
|
-
- message
|
|
14227
|
-
suggestions:
|
|
14228
|
-
type: array
|
|
14229
|
-
items:
|
|
14230
|
-
type: string
|
|
14231
|
-
required:
|
|
14232
|
-
- type
|
|
14233
|
-
- suggestions
|
|
14234
|
-
ChangeRequestBrainstormAttachment:
|
|
14235
|
-
oneOf:
|
|
14236
|
-
- $ref: "#/components/schemas/ChangeRequestBrainstormAttachmentPlan"
|
|
14237
|
-
- $ref: "#/components/schemas/ChangeRequestBrainstormAttachmentMessage"
|
|
14238
|
-
ChangeRequestBrainstormMessage:
|
|
14239
|
-
type: object
|
|
14240
|
-
properties:
|
|
14241
|
-
id:
|
|
14242
|
-
type: string
|
|
14243
|
-
description: The unique identifier of the chat message.
|
|
14244
|
-
actor:
|
|
14245
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormActor"
|
|
14246
|
-
message:
|
|
14247
|
-
$ref: "#/components/schemas/JSONDocument"
|
|
14248
|
-
context:
|
|
14249
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormContext"
|
|
14250
|
-
logs:
|
|
14251
|
-
description: Logs related to the processing of the message.
|
|
14252
|
-
items:
|
|
14253
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormLog"
|
|
14254
|
-
attachment:
|
|
14255
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormAttachment"
|
|
14256
|
-
required:
|
|
14257
|
-
- id
|
|
14258
|
-
- actor
|
|
14259
|
-
- message
|
|
14260
|
-
ChangeRequestBrainstormSession:
|
|
14261
|
-
type: object
|
|
14262
|
-
properties:
|
|
14263
|
-
id:
|
|
14264
|
-
type: string
|
|
14265
|
-
description: The unique identifier of the session.
|
|
14266
|
-
status:
|
|
14267
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormStatus"
|
|
14268
|
-
messages:
|
|
14269
|
-
description: Conversation messages related to the brainstorming phase of the task.
|
|
14270
|
-
type: array
|
|
14271
|
-
items:
|
|
14272
|
-
$ref: "#/components/schemas/ChangeRequestBrainstormMessage"
|
|
14273
|
-
required:
|
|
14274
|
-
- id
|
|
14275
|
-
- status
|
|
14276
|
-
- messages
|
|
14277
|
-
RevisionSemanticChangePageCreated:
|
|
14278
|
-
type: object
|
|
14279
|
-
properties:
|
|
14280
|
-
type:
|
|
14281
|
-
type: string
|
|
14282
|
-
enum:
|
|
14283
|
-
- page_created
|
|
14284
|
-
page:
|
|
14285
|
-
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14286
|
-
required:
|
|
14287
|
-
- type
|
|
14288
|
-
- page
|
|
14289
|
-
ChangeAttributeString:
|
|
14290
|
-
type: object
|
|
14291
|
-
properties:
|
|
14292
|
-
before:
|
|
14293
|
-
type: string
|
|
14294
|
-
after:
|
|
14295
|
-
type: string
|
|
14296
|
-
ChangeAttributeRevisionPageDocumentCover:
|
|
14297
|
-
type: object
|
|
14298
|
-
properties:
|
|
14299
|
-
before:
|
|
14300
|
-
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
14301
|
-
after:
|
|
14302
|
-
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
14303
|
-
RevisionPageLayoutPreset:
|
|
14304
|
-
type: string
|
|
14305
|
-
description: The core layout presets for a page.
|
|
14306
|
-
enum:
|
|
14307
|
-
- docs
|
|
14308
|
-
- editorial
|
|
14309
|
-
- landing
|
|
14310
|
-
RevisionPageLayout:
|
|
14240
|
+
RevisionSemanticChangePageCreated:
|
|
14241
|
+
type: object
|
|
14242
|
+
properties:
|
|
14243
|
+
type:
|
|
14244
|
+
type: string
|
|
14245
|
+
enum:
|
|
14246
|
+
- page_created
|
|
14247
|
+
page:
|
|
14248
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
14249
|
+
required:
|
|
14250
|
+
- type
|
|
14251
|
+
- page
|
|
14252
|
+
ChangeAttributeString:
|
|
14253
|
+
type: object
|
|
14254
|
+
properties:
|
|
14255
|
+
before:
|
|
14256
|
+
type: string
|
|
14257
|
+
after:
|
|
14258
|
+
type: string
|
|
14259
|
+
ChangeAttributeRevisionPageDocumentCover:
|
|
14260
|
+
type: object
|
|
14261
|
+
properties:
|
|
14262
|
+
before:
|
|
14263
|
+
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
14264
|
+
after:
|
|
14265
|
+
$ref: "#/components/schemas/RevisionPageDocumentCover"
|
|
14266
|
+
RevisionPageLayoutPreset:
|
|
14267
|
+
type: string
|
|
14268
|
+
description: The core layout presets for a page.
|
|
14269
|
+
enum:
|
|
14270
|
+
- docs
|
|
14271
|
+
- editorial
|
|
14272
|
+
- landing
|
|
14273
|
+
RevisionPageLayout:
|
|
14311
14274
|
oneOf:
|
|
14312
14275
|
- $ref: "#/components/schemas/RevisionPageLayoutPreset"
|
|
14313
14276
|
- $ref: "#/components/schemas/RevisionPageLayoutOptions"
|
|
@@ -14655,6 +14618,47 @@ components:
|
|
|
14655
14618
|
description: Reactions to remove from the comment.
|
|
14656
14619
|
items:
|
|
14657
14620
|
type: string
|
|
14621
|
+
OrganizationMember:
|
|
14622
|
+
type: object
|
|
14623
|
+
properties:
|
|
14624
|
+
object:
|
|
14625
|
+
type: string
|
|
14626
|
+
description: Type of Object, always equals to "member"
|
|
14627
|
+
enum:
|
|
14628
|
+
- member
|
|
14629
|
+
id:
|
|
14630
|
+
type: string
|
|
14631
|
+
description: Unique identifier for the user.
|
|
14632
|
+
role:
|
|
14633
|
+
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
14634
|
+
user:
|
|
14635
|
+
$ref: "#/components/schemas/User"
|
|
14636
|
+
disabled:
|
|
14637
|
+
type: boolean
|
|
14638
|
+
description: Whatever the membership of this user is disabled and prevent them from accessing content.
|
|
14639
|
+
joinedAt:
|
|
14640
|
+
description: Date at which the user joined the organization.
|
|
14641
|
+
$ref: "#/components/schemas/Timestamp"
|
|
14642
|
+
lastSeenAt:
|
|
14643
|
+
description: Date at which the user was last seen active in the organization.
|
|
14644
|
+
$ref: "#/components/schemas/Timestamp"
|
|
14645
|
+
sso:
|
|
14646
|
+
type: boolean
|
|
14647
|
+
description: Whether the user can login with SSO.
|
|
14648
|
+
spaces:
|
|
14649
|
+
type: number
|
|
14650
|
+
teams:
|
|
14651
|
+
type: number
|
|
14652
|
+
required:
|
|
14653
|
+
- object
|
|
14654
|
+
- id
|
|
14655
|
+
- role
|
|
14656
|
+
- user
|
|
14657
|
+
- disabled
|
|
14658
|
+
- joinedAt
|
|
14659
|
+
- sso
|
|
14660
|
+
- spaces
|
|
14661
|
+
- teams
|
|
14658
14662
|
IntegrationTitle:
|
|
14659
14663
|
type: string
|
|
14660
14664
|
description: Title of the integration
|
|
@@ -16107,6 +16111,33 @@ components:
|
|
|
16107
16111
|
description: Title of the site
|
|
16108
16112
|
minLength: 2
|
|
16109
16113
|
maxLength: 128
|
|
16114
|
+
CustomizationThemedURL:
|
|
16115
|
+
type: object
|
|
16116
|
+
properties:
|
|
16117
|
+
light:
|
|
16118
|
+
$ref: "#/components/schemas/URL"
|
|
16119
|
+
dark:
|
|
16120
|
+
$ref: "#/components/schemas/URL"
|
|
16121
|
+
required:
|
|
16122
|
+
- light
|
|
16123
|
+
- dark
|
|
16124
|
+
CustomizationFavicon:
|
|
16125
|
+
oneOf:
|
|
16126
|
+
- type: object
|
|
16127
|
+
properties:
|
|
16128
|
+
icon:
|
|
16129
|
+
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
16130
|
+
required:
|
|
16131
|
+
- icon
|
|
16132
|
+
- type: object
|
|
16133
|
+
properties:
|
|
16134
|
+
emoji:
|
|
16135
|
+
$ref: "#/components/schemas/Emoji"
|
|
16136
|
+
required:
|
|
16137
|
+
- emoji
|
|
16138
|
+
- type: object
|
|
16139
|
+
properties: {}
|
|
16140
|
+
additionalProperties: false
|
|
16110
16141
|
SiteHostname:
|
|
16111
16142
|
type: string
|
|
16112
16143
|
description: Custom hostname for the site, for e.g. docs.mycompany.com
|
|
@@ -16291,6 +16322,13 @@ components:
|
|
|
16291
16322
|
$ref: "#/components/schemas/SiteType"
|
|
16292
16323
|
title:
|
|
16293
16324
|
$ref: "#/components/schemas/SiteTitle"
|
|
16325
|
+
icon:
|
|
16326
|
+
oneOf:
|
|
16327
|
+
- $ref: "#/components/schemas/CustomizationFavicon"
|
|
16328
|
+
- type: string
|
|
16329
|
+
nullable: true
|
|
16330
|
+
enum:
|
|
16331
|
+
- null
|
|
16294
16332
|
hostname:
|
|
16295
16333
|
$ref: "#/components/schemas/SiteHostname"
|
|
16296
16334
|
basename:
|
|
@@ -17480,50 +17518,9 @@ components:
|
|
|
17480
17518
|
- sites
|
|
17481
17519
|
- spaces
|
|
17482
17520
|
- deletedSpaces
|
|
17483
|
-
|
|
17521
|
+
MemberContentPermission:
|
|
17484
17522
|
type: object
|
|
17485
|
-
|
|
17486
|
-
object:
|
|
17487
|
-
type: string
|
|
17488
|
-
description: Type of Object, always equals to "member"
|
|
17489
|
-
enum:
|
|
17490
|
-
- member
|
|
17491
|
-
id:
|
|
17492
|
-
type: string
|
|
17493
|
-
description: Unique identifier for the user.
|
|
17494
|
-
role:
|
|
17495
|
-
$ref: "#/components/schemas/MemberRoleOrGuest"
|
|
17496
|
-
user:
|
|
17497
|
-
$ref: "#/components/schemas/User"
|
|
17498
|
-
disabled:
|
|
17499
|
-
type: boolean
|
|
17500
|
-
description: Whatever the membership of this user is disabled and prevent them from accessing content.
|
|
17501
|
-
joinedAt:
|
|
17502
|
-
description: Date at which the user joined the organization.
|
|
17503
|
-
$ref: "#/components/schemas/Timestamp"
|
|
17504
|
-
lastSeenAt:
|
|
17505
|
-
description: Date at which the user was last seen active in the organization.
|
|
17506
|
-
$ref: "#/components/schemas/Timestamp"
|
|
17507
|
-
sso:
|
|
17508
|
-
type: boolean
|
|
17509
|
-
description: Whether the user can login with SSO.
|
|
17510
|
-
spaces:
|
|
17511
|
-
type: number
|
|
17512
|
-
teams:
|
|
17513
|
-
type: number
|
|
17514
|
-
required:
|
|
17515
|
-
- object
|
|
17516
|
-
- id
|
|
17517
|
-
- role
|
|
17518
|
-
- user
|
|
17519
|
-
- disabled
|
|
17520
|
-
- joinedAt
|
|
17521
|
-
- sso
|
|
17522
|
-
- spaces
|
|
17523
|
-
- teams
|
|
17524
|
-
MemberContentPermission:
|
|
17525
|
-
type: object
|
|
17526
|
-
description: Permission of a member in a content.
|
|
17523
|
+
description: Permission of a member in a content.
|
|
17527
17524
|
properties:
|
|
17528
17525
|
permission:
|
|
17529
17526
|
$ref: "#/components/schemas/MemberRole"
|
|
@@ -18042,10 +18039,6 @@ components:
|
|
|
18042
18039
|
maxLength: 50
|
|
18043
18040
|
emoji:
|
|
18044
18041
|
$ref: "#/components/schemas/Emoji"
|
|
18045
|
-
private:
|
|
18046
|
-
description: Private spaces are no longer supported by GitBook.
|
|
18047
|
-
deprecated: true
|
|
18048
|
-
type: boolean
|
|
18049
18042
|
parent:
|
|
18050
18043
|
type: string
|
|
18051
18044
|
description: ID of a parent collection
|
|
@@ -18059,6 +18052,15 @@ components:
|
|
|
18059
18052
|
SAMLProviderCertificate:
|
|
18060
18053
|
type: string
|
|
18061
18054
|
maxLength: 10000
|
|
18055
|
+
SAMLProviderStatus:
|
|
18056
|
+
type: string
|
|
18057
|
+
description: |
|
|
18058
|
+
Status of the provider.
|
|
18059
|
+
- `active`: The provider is active and can be used to authenticate users.
|
|
18060
|
+
- `pending`: The provider is pending and is not yet fully configured.
|
|
18061
|
+
enum:
|
|
18062
|
+
- active
|
|
18063
|
+
- pending
|
|
18062
18064
|
OrganizationSAMLProvider:
|
|
18063
18065
|
type: object
|
|
18064
18066
|
properties:
|
|
@@ -18085,6 +18087,8 @@ components:
|
|
|
18085
18087
|
createdAt:
|
|
18086
18088
|
description: Date at which the provider was created.
|
|
18087
18089
|
$ref: "#/components/schemas/Timestamp"
|
|
18090
|
+
status:
|
|
18091
|
+
$ref: "#/components/schemas/SAMLProviderStatus"
|
|
18088
18092
|
service:
|
|
18089
18093
|
description: Metadata about the service provider.
|
|
18090
18094
|
properties:
|
|
@@ -18121,6 +18125,7 @@ components:
|
|
|
18121
18125
|
- certificate
|
|
18122
18126
|
- defaultRole
|
|
18123
18127
|
- createdAt
|
|
18128
|
+
- status
|
|
18124
18129
|
- service
|
|
18125
18130
|
- urls
|
|
18126
18131
|
OrganizationSSOProviderLogin:
|
|
@@ -18690,15 +18695,6 @@ components:
|
|
|
18690
18695
|
$ref: "#/components/schemas/BillingInvoicePreview"
|
|
18691
18696
|
required:
|
|
18692
18697
|
- type
|
|
18693
|
-
- type: object
|
|
18694
|
-
properties:
|
|
18695
|
-
type:
|
|
18696
|
-
description: User cannot proceed with the operation due to lack of permissions.
|
|
18697
|
-
type: string
|
|
18698
|
-
enum:
|
|
18699
|
-
- no-permissions
|
|
18700
|
-
required:
|
|
18701
|
-
- type
|
|
18702
18698
|
- type: object
|
|
18703
18699
|
properties:
|
|
18704
18700
|
type:
|
|
@@ -18714,59 +18710,59 @@ components:
|
|
|
18714
18710
|
required:
|
|
18715
18711
|
- type
|
|
18716
18712
|
- plan
|
|
18717
|
-
|
|
18718
|
-
|
|
18719
|
-
|
|
18720
|
-
|
|
18721
|
-
|
|
18722
|
-
|
|
18723
|
-
type:
|
|
18724
|
-
type: string
|
|
18725
|
-
enum:
|
|
18726
|
-
- boolean
|
|
18727
|
-
description:
|
|
18728
|
-
type: string
|
|
18729
|
-
required:
|
|
18730
|
-
- type
|
|
18731
|
-
- description
|
|
18732
|
-
additionalProperties: false
|
|
18733
|
-
- type: object
|
|
18734
|
-
properties:
|
|
18735
|
-
type:
|
|
18736
|
-
type: string
|
|
18737
|
-
enum:
|
|
18738
|
-
- string
|
|
18713
|
+
SiteAdaptiveJSONSchemaClaimsProperties:
|
|
18714
|
+
oneOf:
|
|
18715
|
+
- type: object
|
|
18716
|
+
properties:
|
|
18717
|
+
type:
|
|
18718
|
+
type: string
|
|
18739
18719
|
enum:
|
|
18740
|
-
|
|
18741
|
-
|
|
18742
|
-
|
|
18743
|
-
|
|
18720
|
+
- boolean
|
|
18721
|
+
description:
|
|
18722
|
+
type: string
|
|
18723
|
+
required:
|
|
18724
|
+
- type
|
|
18725
|
+
- description
|
|
18726
|
+
additionalProperties: false
|
|
18727
|
+
- type: object
|
|
18728
|
+
properties:
|
|
18729
|
+
type:
|
|
18730
|
+
type: string
|
|
18731
|
+
enum:
|
|
18732
|
+
- string
|
|
18733
|
+
enum:
|
|
18734
|
+
type: array
|
|
18735
|
+
items:
|
|
18744
18736
|
type: string
|
|
18745
|
-
|
|
18746
|
-
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18750
|
-
|
|
18737
|
+
description:
|
|
18738
|
+
type: string
|
|
18739
|
+
required:
|
|
18740
|
+
- type
|
|
18741
|
+
- enum
|
|
18742
|
+
- description
|
|
18743
|
+
additionalProperties: false
|
|
18744
|
+
- type: object
|
|
18745
|
+
properties:
|
|
18746
|
+
type:
|
|
18747
|
+
type: string
|
|
18748
|
+
enum:
|
|
18749
|
+
- object
|
|
18750
|
+
description:
|
|
18751
|
+
type: string
|
|
18751
18752
|
properties:
|
|
18752
|
-
type:
|
|
18753
|
-
type: string
|
|
18754
|
-
enum:
|
|
18755
|
-
- object
|
|
18756
|
-
description:
|
|
18757
|
-
type: string
|
|
18758
|
-
properties:
|
|
18759
|
-
$ref: "#/components/schemas/properties"
|
|
18753
|
+
type: object
|
|
18760
18754
|
additionalProperties:
|
|
18761
|
-
|
|
18762
|
-
|
|
18763
|
-
|
|
18764
|
-
|
|
18765
|
-
|
|
18766
|
-
|
|
18767
|
-
|
|
18768
|
-
|
|
18769
|
-
|
|
18755
|
+
$ref: "#/components/schemas/SiteAdaptiveJSONSchemaClaimsProperties"
|
|
18756
|
+
additionalProperties:
|
|
18757
|
+
type: boolean
|
|
18758
|
+
enum:
|
|
18759
|
+
- false
|
|
18760
|
+
required:
|
|
18761
|
+
- type
|
|
18762
|
+
- description
|
|
18763
|
+
- properties
|
|
18764
|
+
- additionalProperties
|
|
18765
|
+
additionalProperties: false
|
|
18770
18766
|
SiteAdaptiveJSONSchema:
|
|
18771
18767
|
type: object
|
|
18772
18768
|
description: JSON schema describing the expected attributes of an Adaptive site schema.
|
|
@@ -18783,57 +18779,34 @@ components:
|
|
|
18783
18779
|
- object
|
|
18784
18780
|
properties:
|
|
18785
18781
|
type: object
|
|
18786
|
-
|
|
18787
|
-
|
|
18788
|
-
|
|
18789
|
-
|
|
18790
|
-
|
|
18791
|
-
|
|
18792
|
-
|
|
18793
|
-
- boolean
|
|
18794
|
-
description:
|
|
18795
|
-
type: string
|
|
18796
|
-
required:
|
|
18797
|
-
- type
|
|
18798
|
-
- description
|
|
18799
|
-
additionalProperties: false
|
|
18800
|
-
- type: object
|
|
18801
|
-
properties:
|
|
18802
|
-
type:
|
|
18803
|
-
type: string
|
|
18804
|
-
enum:
|
|
18805
|
-
- string
|
|
18782
|
+
properties:
|
|
18783
|
+
unsigned:
|
|
18784
|
+
type: object
|
|
18785
|
+
description: Unsigned claims of the site visitor.
|
|
18786
|
+
properties:
|
|
18787
|
+
type:
|
|
18788
|
+
type: string
|
|
18806
18789
|
enum:
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
18812
|
-
required:
|
|
18813
|
-
- type
|
|
18814
|
-
- enum
|
|
18815
|
-
- description
|
|
18816
|
-
additionalProperties: false
|
|
18817
|
-
- type: object
|
|
18790
|
+
- object
|
|
18791
|
+
description:
|
|
18792
|
+
type: string
|
|
18793
|
+
enum:
|
|
18794
|
+
- Unsigned claims of the site visitor.
|
|
18818
18795
|
properties:
|
|
18819
|
-
type:
|
|
18820
|
-
type: string
|
|
18821
|
-
enum:
|
|
18822
|
-
- object
|
|
18823
|
-
description:
|
|
18824
|
-
type: string
|
|
18825
|
-
properties:
|
|
18826
|
-
$ref: "#/components/schemas/properties"
|
|
18796
|
+
type: object
|
|
18827
18797
|
additionalProperties:
|
|
18828
|
-
|
|
18829
|
-
|
|
18830
|
-
|
|
18831
|
-
|
|
18832
|
-
|
|
18833
|
-
|
|
18834
|
-
|
|
18835
|
-
|
|
18836
|
-
|
|
18798
|
+
$ref: "#/components/schemas/SiteAdaptiveJSONSchemaClaimsProperties"
|
|
18799
|
+
additionalProperties:
|
|
18800
|
+
type: boolean
|
|
18801
|
+
enum:
|
|
18802
|
+
- false
|
|
18803
|
+
required:
|
|
18804
|
+
- type
|
|
18805
|
+
- description
|
|
18806
|
+
- properties
|
|
18807
|
+
- additionalProperties
|
|
18808
|
+
additionalProperties:
|
|
18809
|
+
$ref: "#/components/schemas/SiteAdaptiveJSONSchemaClaimsProperties"
|
|
18837
18810
|
additionalProperties:
|
|
18838
18811
|
type: boolean
|
|
18839
18812
|
enum:
|
|
@@ -18983,16 +18956,6 @@ components:
|
|
|
18983
18956
|
- nl
|
|
18984
18957
|
- no
|
|
18985
18958
|
- pt-br
|
|
18986
|
-
CustomizationThemedURL:
|
|
18987
|
-
type: object
|
|
18988
|
-
properties:
|
|
18989
|
-
light:
|
|
18990
|
-
$ref: "#/components/schemas/URL"
|
|
18991
|
-
dark:
|
|
18992
|
-
$ref: "#/components/schemas/URL"
|
|
18993
|
-
required:
|
|
18994
|
-
- light
|
|
18995
|
-
- dark
|
|
18996
18959
|
CustomizationHeaderPreset:
|
|
18997
18960
|
type: string
|
|
18998
18961
|
deprecated: true
|
|
@@ -19155,22 +19118,7 @@ components:
|
|
|
19155
19118
|
required:
|
|
19156
19119
|
- locale
|
|
19157
19120
|
favicon:
|
|
19158
|
-
|
|
19159
|
-
- type: object
|
|
19160
|
-
properties:
|
|
19161
|
-
icon:
|
|
19162
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
19163
|
-
required:
|
|
19164
|
-
- icon
|
|
19165
|
-
- type: object
|
|
19166
|
-
properties:
|
|
19167
|
-
emoji:
|
|
19168
|
-
$ref: "#/components/schemas/Emoji"
|
|
19169
|
-
required:
|
|
19170
|
-
- emoji
|
|
19171
|
-
- type: object
|
|
19172
|
-
properties: {}
|
|
19173
|
-
additionalProperties: false
|
|
19121
|
+
$ref: "#/components/schemas/CustomizationFavicon"
|
|
19174
19122
|
header:
|
|
19175
19123
|
type: object
|
|
19176
19124
|
properties:
|
|
@@ -19447,7 +19395,8 @@ components:
|
|
|
19447
19395
|
fallbackURL:
|
|
19448
19396
|
type: string
|
|
19449
19397
|
format: uri
|
|
19450
|
-
description: A fallback URL that will be used if authentication fails.
|
|
19398
|
+
description: A fallback URL that will be used if authentication fails. If not provided, the fallback URL will not be changed. If set to null, the fallback URL will be unset.
|
|
19399
|
+
nullable: true
|
|
19451
19400
|
SiteSearchScope:
|
|
19452
19401
|
oneOf:
|
|
19453
19402
|
- type: object
|
|
@@ -19596,6 +19545,7 @@ components:
|
|
|
19596
19545
|
type: string
|
|
19597
19546
|
enum:
|
|
19598
19547
|
- user
|
|
19548
|
+
- assistant
|
|
19599
19549
|
- developer
|
|
19600
19550
|
AIMessageAttachmentSearch:
|
|
19601
19551
|
type: object
|
|
@@ -19659,8 +19609,25 @@ components:
|
|
|
19659
19609
|
- $ref: "#/components/schemas/AIMessageAttachmentVisitorProfile"
|
|
19660
19610
|
- $ref: "#/components/schemas/AIMessageAttachmentPage"
|
|
19661
19611
|
- $ref: "#/components/schemas/AIMessageAttachmentPages"
|
|
19612
|
+
AIMessageContext:
|
|
19613
|
+
type: object
|
|
19614
|
+
description: Context about the current user sending a message.
|
|
19615
|
+
properties:
|
|
19616
|
+
location:
|
|
19617
|
+
type: object
|
|
19618
|
+
properties:
|
|
19619
|
+
spaceId:
|
|
19620
|
+
type: string
|
|
19621
|
+
description: ID of the current space.
|
|
19622
|
+
pageId:
|
|
19623
|
+
type: string
|
|
19624
|
+
description: ID of the current page.
|
|
19625
|
+
required:
|
|
19626
|
+
- spaceId
|
|
19627
|
+
- pageId
|
|
19662
19628
|
AIMessageInput:
|
|
19663
19629
|
type: object
|
|
19630
|
+
description: Input version of an AI message.
|
|
19664
19631
|
properties:
|
|
19665
19632
|
role:
|
|
19666
19633
|
$ref: "#/components/schemas/AIMessageRole"
|
|
@@ -19673,6 +19640,8 @@ components:
|
|
|
19673
19640
|
type: array
|
|
19674
19641
|
items:
|
|
19675
19642
|
$ref: "#/components/schemas/AIMessageAttachment"
|
|
19643
|
+
context:
|
|
19644
|
+
$ref: "#/components/schemas/AIMessageContext"
|
|
19676
19645
|
required:
|
|
19677
19646
|
- role
|
|
19678
19647
|
- content
|
|
@@ -19735,125 +19704,312 @@ components:
|
|
|
19735
19704
|
type: string
|
|
19736
19705
|
enum:
|
|
19737
19706
|
- response_finish
|
|
19707
|
+
messageId:
|
|
19708
|
+
type: string
|
|
19709
|
+
description: |
|
|
19710
|
+
The ID of the message that this event is composing.
|
|
19738
19711
|
responseId:
|
|
19739
19712
|
type: string
|
|
19740
19713
|
description: The ID of the response
|
|
19741
19714
|
required:
|
|
19742
19715
|
- type
|
|
19716
|
+
- messageId
|
|
19743
19717
|
- responseId
|
|
19744
19718
|
AIStreamResponseDocument:
|
|
19745
19719
|
type: object
|
|
19746
|
-
description: |
|
|
19747
|
-
Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block.
|
|
19720
|
+
description: |
|
|
19721
|
+
Message emitted by the server to indicate the latest block of the document. The block can either be a new block or an update to the previous block.
|
|
19722
|
+
properties:
|
|
19723
|
+
type:
|
|
19724
|
+
type: string
|
|
19725
|
+
enum:
|
|
19726
|
+
- response_document
|
|
19727
|
+
messageId:
|
|
19728
|
+
type: string
|
|
19729
|
+
description: |
|
|
19730
|
+
The ID of the message that this event is composing.
|
|
19731
|
+
stepIndex:
|
|
19732
|
+
type: integer
|
|
19733
|
+
description: |
|
|
19734
|
+
The index of the step of the message that this event is composing.
|
|
19735
|
+
operation:
|
|
19736
|
+
type: string
|
|
19737
|
+
enum:
|
|
19738
|
+
- insert
|
|
19739
|
+
- update
|
|
19740
|
+
blocks:
|
|
19741
|
+
type: array
|
|
19742
|
+
items:
|
|
19743
|
+
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
19744
|
+
required:
|
|
19745
|
+
- type
|
|
19746
|
+
- messageId
|
|
19747
|
+
- stepIndex
|
|
19748
|
+
- operation
|
|
19749
|
+
- blocks
|
|
19750
|
+
AIStreamResponseObject:
|
|
19751
|
+
type: object
|
|
19752
|
+
description: |
|
|
19753
|
+
Message emitted by the server to indicate a chunk of the JSON object response.
|
|
19754
|
+
properties:
|
|
19755
|
+
type:
|
|
19756
|
+
type: string
|
|
19757
|
+
enum:
|
|
19758
|
+
- response_object
|
|
19759
|
+
messageId:
|
|
19760
|
+
type: string
|
|
19761
|
+
description: |
|
|
19762
|
+
The ID of the message that this event is composing.
|
|
19763
|
+
jsonChunk:
|
|
19764
|
+
type: string
|
|
19765
|
+
description: The chunk of the JSON object response
|
|
19766
|
+
required:
|
|
19767
|
+
- type
|
|
19768
|
+
- messageId
|
|
19769
|
+
- jsonChunk
|
|
19770
|
+
AIToolCallGetPageContent:
|
|
19771
|
+
type: object
|
|
19772
|
+
properties:
|
|
19773
|
+
tool:
|
|
19774
|
+
type: string
|
|
19775
|
+
enum:
|
|
19776
|
+
- getPageContent
|
|
19777
|
+
spaceId:
|
|
19778
|
+
type: string
|
|
19779
|
+
description: The ID of the space being accessed.
|
|
19780
|
+
page:
|
|
19781
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19782
|
+
required:
|
|
19783
|
+
- tool
|
|
19784
|
+
- spaceId
|
|
19785
|
+
- page
|
|
19786
|
+
AIToolCallGetPages:
|
|
19787
|
+
type: object
|
|
19788
|
+
properties:
|
|
19789
|
+
tool:
|
|
19790
|
+
type: string
|
|
19791
|
+
enum:
|
|
19792
|
+
- getPages
|
|
19793
|
+
spaceId:
|
|
19794
|
+
type: string
|
|
19795
|
+
description: The ID of the space being accessed.
|
|
19796
|
+
required:
|
|
19797
|
+
- tool
|
|
19798
|
+
- spaceId
|
|
19799
|
+
AIToolCallSearchResult:
|
|
19800
|
+
type: object
|
|
19801
|
+
description: Result of a search
|
|
19802
|
+
properties:
|
|
19803
|
+
spaceId:
|
|
19804
|
+
type: string
|
|
19805
|
+
description: The ID of the space
|
|
19806
|
+
pageId:
|
|
19807
|
+
type: string
|
|
19808
|
+
description: The ID of the page
|
|
19809
|
+
anchor:
|
|
19810
|
+
type: string
|
|
19811
|
+
description: The anchor of the result
|
|
19812
|
+
title:
|
|
19813
|
+
type: string
|
|
19814
|
+
description: The title of the result
|
|
19815
|
+
description:
|
|
19816
|
+
type: string
|
|
19817
|
+
description: The description of the result
|
|
19818
|
+
required:
|
|
19819
|
+
- spaceId
|
|
19820
|
+
- pageId
|
|
19821
|
+
- title
|
|
19822
|
+
AIToolCallSearch:
|
|
19823
|
+
type: object
|
|
19824
|
+
description: Tool to search for content
|
|
19825
|
+
properties:
|
|
19826
|
+
tool:
|
|
19827
|
+
type: string
|
|
19828
|
+
enum:
|
|
19829
|
+
- search
|
|
19830
|
+
query:
|
|
19831
|
+
type: string
|
|
19832
|
+
description: The query that has been searched for.
|
|
19833
|
+
results:
|
|
19834
|
+
type: array
|
|
19835
|
+
items:
|
|
19836
|
+
$ref: "#/components/schemas/AIToolCallSearchResult"
|
|
19837
|
+
required:
|
|
19838
|
+
- tool
|
|
19839
|
+
- query
|
|
19840
|
+
- results
|
|
19841
|
+
AIToolCallEditPage:
|
|
19842
|
+
type: object
|
|
19843
|
+
properties:
|
|
19844
|
+
tool:
|
|
19845
|
+
type: string
|
|
19846
|
+
enum:
|
|
19847
|
+
- editPage
|
|
19848
|
+
spaceId:
|
|
19849
|
+
type: string
|
|
19850
|
+
description: The ID of the space being edited.
|
|
19851
|
+
page:
|
|
19852
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19853
|
+
required:
|
|
19854
|
+
- tool
|
|
19855
|
+
- spaceId
|
|
19856
|
+
- page
|
|
19857
|
+
AIToolCallCreatePage:
|
|
19858
|
+
type: object
|
|
19859
|
+
properties:
|
|
19860
|
+
tool:
|
|
19861
|
+
type: string
|
|
19862
|
+
enum:
|
|
19863
|
+
- createPage
|
|
19864
|
+
spaceId:
|
|
19865
|
+
type: string
|
|
19866
|
+
description: The ID of the space being edited.
|
|
19867
|
+
page:
|
|
19868
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19869
|
+
required:
|
|
19870
|
+
- tool
|
|
19871
|
+
- spaceId
|
|
19872
|
+
- page
|
|
19873
|
+
AIToolCallDeletePage:
|
|
19874
|
+
type: object
|
|
19748
19875
|
properties:
|
|
19749
|
-
|
|
19876
|
+
tool:
|
|
19750
19877
|
type: string
|
|
19751
19878
|
enum:
|
|
19752
|
-
-
|
|
19753
|
-
|
|
19879
|
+
- deletePage
|
|
19880
|
+
spaceId:
|
|
19754
19881
|
type: string
|
|
19755
|
-
|
|
19756
|
-
|
|
19757
|
-
|
|
19758
|
-
blocks:
|
|
19759
|
-
type: array
|
|
19760
|
-
items:
|
|
19761
|
-
$ref: "#/components/schemas/DocumentBlock"
|
|
19882
|
+
description: The ID of the space being edited.
|
|
19883
|
+
page:
|
|
19884
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19762
19885
|
required:
|
|
19763
|
-
-
|
|
19764
|
-
-
|
|
19765
|
-
-
|
|
19766
|
-
|
|
19886
|
+
- tool
|
|
19887
|
+
- spaceId
|
|
19888
|
+
- page
|
|
19889
|
+
AIToolCallRenamePage:
|
|
19767
19890
|
type: object
|
|
19768
|
-
description: |
|
|
19769
|
-
Message emitted by the server to indicate a chunk of the JSON object response.
|
|
19770
19891
|
properties:
|
|
19771
|
-
|
|
19892
|
+
tool:
|
|
19772
19893
|
type: string
|
|
19773
19894
|
enum:
|
|
19774
|
-
-
|
|
19775
|
-
|
|
19895
|
+
- renamePage
|
|
19896
|
+
spaceId:
|
|
19776
19897
|
type: string
|
|
19777
|
-
description: The
|
|
19898
|
+
description: The ID of the space being edited.
|
|
19899
|
+
page:
|
|
19900
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19901
|
+
title:
|
|
19902
|
+
type: string
|
|
19903
|
+
description: The new title of the page.
|
|
19778
19904
|
required:
|
|
19779
|
-
-
|
|
19780
|
-
-
|
|
19781
|
-
|
|
19905
|
+
- tool
|
|
19906
|
+
- spaceId
|
|
19907
|
+
- page
|
|
19908
|
+
- title
|
|
19909
|
+
AIToolCallMovePage:
|
|
19782
19910
|
type: object
|
|
19783
19911
|
properties:
|
|
19784
19912
|
tool:
|
|
19785
19913
|
type: string
|
|
19786
19914
|
enum:
|
|
19787
|
-
-
|
|
19915
|
+
- movePage
|
|
19788
19916
|
spaceId:
|
|
19789
19917
|
type: string
|
|
19790
|
-
description: The ID of the space being
|
|
19918
|
+
description: The ID of the space being edited.
|
|
19791
19919
|
page:
|
|
19792
19920
|
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19921
|
+
to:
|
|
19922
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19923
|
+
moveType:
|
|
19924
|
+
type: string
|
|
19925
|
+
description: |
|
|
19926
|
+
Indicates how the page was moved relative to the "to" page.
|
|
19927
|
+
- `within`: moved as the last child of the target page (or to the root when `to` is omitted)
|
|
19928
|
+
- `before`: moved directly before the target page
|
|
19929
|
+
- `after`: moved directly after the target page
|
|
19930
|
+
enum:
|
|
19931
|
+
- within
|
|
19932
|
+
- before
|
|
19933
|
+
- after
|
|
19793
19934
|
required:
|
|
19794
19935
|
- tool
|
|
19795
19936
|
- spaceId
|
|
19796
19937
|
- page
|
|
19797
|
-
|
|
19938
|
+
- moveType
|
|
19939
|
+
AIToolCallListModifiedPages:
|
|
19798
19940
|
type: object
|
|
19799
19941
|
properties:
|
|
19800
19942
|
tool:
|
|
19801
19943
|
type: string
|
|
19802
19944
|
enum:
|
|
19803
|
-
-
|
|
19945
|
+
- listModifiedPages
|
|
19804
19946
|
spaceId:
|
|
19805
19947
|
type: string
|
|
19806
19948
|
description: The ID of the space being accessed.
|
|
19807
19949
|
required:
|
|
19808
19950
|
- tool
|
|
19809
19951
|
- spaceId
|
|
19810
|
-
|
|
19952
|
+
AIToolCallGetPageDiff:
|
|
19811
19953
|
type: object
|
|
19812
|
-
description: Result of a search
|
|
19813
19954
|
properties:
|
|
19814
|
-
|
|
19815
|
-
type: string
|
|
19816
|
-
description: The ID of the space
|
|
19817
|
-
pageId:
|
|
19818
|
-
type: string
|
|
19819
|
-
description: The ID of the page
|
|
19820
|
-
anchor:
|
|
19821
|
-
type: string
|
|
19822
|
-
description: The anchor of the result
|
|
19823
|
-
title:
|
|
19955
|
+
tool:
|
|
19824
19956
|
type: string
|
|
19825
|
-
|
|
19826
|
-
|
|
19957
|
+
enum:
|
|
19958
|
+
- getPageDiff
|
|
19959
|
+
spaceId:
|
|
19827
19960
|
type: string
|
|
19828
|
-
description: The
|
|
19961
|
+
description: The ID of the space being accessed.
|
|
19962
|
+
page:
|
|
19963
|
+
$ref: "#/components/schemas/ChangedRevisionPage"
|
|
19829
19964
|
required:
|
|
19965
|
+
- tool
|
|
19830
19966
|
- spaceId
|
|
19831
|
-
-
|
|
19832
|
-
|
|
19833
|
-
AIToolCallSearch:
|
|
19967
|
+
- page
|
|
19968
|
+
AIToolCallCreateAgentTask:
|
|
19834
19969
|
type: object
|
|
19835
|
-
description: Tool to search for content
|
|
19836
19970
|
properties:
|
|
19837
19971
|
tool:
|
|
19838
19972
|
type: string
|
|
19839
19973
|
enum:
|
|
19840
|
-
-
|
|
19841
|
-
|
|
19974
|
+
- createAgentTask
|
|
19975
|
+
spaceId:
|
|
19842
19976
|
type: string
|
|
19843
|
-
description: The
|
|
19844
|
-
|
|
19845
|
-
type:
|
|
19846
|
-
|
|
19847
|
-
|
|
19977
|
+
description: The ID of the space the task belongs to.
|
|
19978
|
+
action:
|
|
19979
|
+
type: string
|
|
19980
|
+
enum:
|
|
19981
|
+
- create
|
|
19982
|
+
- update
|
|
19983
|
+
task:
|
|
19984
|
+
type: object
|
|
19985
|
+
properties:
|
|
19986
|
+
id:
|
|
19987
|
+
type: string
|
|
19988
|
+
description: The unique identifier of the task.
|
|
19989
|
+
title:
|
|
19990
|
+
type: string
|
|
19991
|
+
description: The title of the task.
|
|
19992
|
+
required:
|
|
19993
|
+
- id
|
|
19994
|
+
- title
|
|
19848
19995
|
required:
|
|
19849
19996
|
- tool
|
|
19850
|
-
-
|
|
19851
|
-
-
|
|
19997
|
+
- spaceId
|
|
19998
|
+
- action
|
|
19999
|
+
- task
|
|
19852
20000
|
AIToolCall:
|
|
19853
20001
|
oneOf:
|
|
19854
20002
|
- $ref: "#/components/schemas/AIToolCallGetPageContent"
|
|
19855
20003
|
- $ref: "#/components/schemas/AIToolCallGetPages"
|
|
19856
20004
|
- $ref: "#/components/schemas/AIToolCallSearch"
|
|
20005
|
+
- $ref: "#/components/schemas/AIToolCallEditPage"
|
|
20006
|
+
- $ref: "#/components/schemas/AIToolCallCreatePage"
|
|
20007
|
+
- $ref: "#/components/schemas/AIToolCallDeletePage"
|
|
20008
|
+
- $ref: "#/components/schemas/AIToolCallRenamePage"
|
|
20009
|
+
- $ref: "#/components/schemas/AIToolCallMovePage"
|
|
20010
|
+
- $ref: "#/components/schemas/AIToolCallListModifiedPages"
|
|
20011
|
+
- $ref: "#/components/schemas/AIToolCallGetPageDiff"
|
|
20012
|
+
- $ref: "#/components/schemas/AIToolCallCreateAgentTask"
|
|
19857
20013
|
AIStreamResponseToolCall:
|
|
19858
20014
|
type: object
|
|
19859
20015
|
description: |
|
|
@@ -19863,10 +20019,20 @@ components:
|
|
|
19863
20019
|
type: string
|
|
19864
20020
|
enum:
|
|
19865
20021
|
- response_tool_call
|
|
20022
|
+
messageId:
|
|
20023
|
+
type: string
|
|
20024
|
+
description: |
|
|
20025
|
+
The ID of the message that this event is composing.
|
|
20026
|
+
stepIndex:
|
|
20027
|
+
type: integer
|
|
20028
|
+
description: |
|
|
20029
|
+
The index of the step of the message that this event is composing.
|
|
19866
20030
|
toolCall:
|
|
19867
20031
|
$ref: "#/components/schemas/AIToolCall"
|
|
19868
20032
|
required:
|
|
19869
20033
|
- type
|
|
20034
|
+
- messageId
|
|
20035
|
+
- stepIndex
|
|
19870
20036
|
- toolCall
|
|
19871
20037
|
AIStreamResponse:
|
|
19872
20038
|
oneOf:
|
|
@@ -21312,7 +21478,7 @@ components:
|
|
|
21312
21478
|
type: string
|
|
21313
21479
|
description: The source path to redirect from.
|
|
21314
21480
|
maxLength: 512
|
|
21315
|
-
pattern:
|
|
21481
|
+
pattern: ^\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~]|%[0-9A-Fa-f]{2})+)*$
|
|
21316
21482
|
SiteRedirectDestinationSiteSection:
|
|
21317
21483
|
type: object
|
|
21318
21484
|
properties:
|
|
@@ -21861,6 +22027,15 @@ components:
|
|
|
21861
22027
|
- target
|
|
21862
22028
|
- redirect
|
|
21863
22029
|
- $ref: "#/components/schemas/PublishedSiteContent"
|
|
22030
|
+
SiteVisitorPayload:
|
|
22031
|
+
type: object
|
|
22032
|
+
description: An object that describes the payload of site visitor info. It can include a jwt token with signed claims and/or a record of its unsigned claims.
|
|
22033
|
+
properties:
|
|
22034
|
+
jwtToken:
|
|
22035
|
+
type: string
|
|
22036
|
+
description: JWT token generated for a visitor auth session.
|
|
22037
|
+
unsignedClaims:
|
|
22038
|
+
$ref: "#/components/schemas/PlainObject"
|
|
21864
22039
|
SHA256:
|
|
21865
22040
|
type: string
|
|
21866
22041
|
minLength: 64
|
|
@@ -23526,22 +23701,7 @@ components:
|
|
|
23526
23701
|
- locale
|
|
23527
23702
|
- inherit
|
|
23528
23703
|
favicon:
|
|
23529
|
-
|
|
23530
|
-
- type: object
|
|
23531
|
-
properties:
|
|
23532
|
-
icon:
|
|
23533
|
-
$ref: "#/components/schemas/CustomizationThemedURL"
|
|
23534
|
-
required:
|
|
23535
|
-
- icon
|
|
23536
|
-
- type: object
|
|
23537
|
-
properties:
|
|
23538
|
-
emoji:
|
|
23539
|
-
$ref: "#/components/schemas/Emoji"
|
|
23540
|
-
required:
|
|
23541
|
-
- emoji
|
|
23542
|
-
- type: object
|
|
23543
|
-
properties: {}
|
|
23544
|
-
additionalProperties: false
|
|
23704
|
+
$ref: "#/components/schemas/CustomizationFavicon"
|
|
23545
23705
|
header:
|
|
23546
23706
|
type: object
|
|
23547
23707
|
properties:
|
|
@@ -23693,6 +23853,206 @@ components:
|
|
|
23693
23853
|
- member
|
|
23694
23854
|
- createdAt
|
|
23695
23855
|
- updatedAt
|
|
23856
|
+
AIMessageStep:
|
|
23857
|
+
type: object
|
|
23858
|
+
description: A step in a message from the AI agent.
|
|
23859
|
+
properties:
|
|
23860
|
+
content:
|
|
23861
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
23862
|
+
toolCalls:
|
|
23863
|
+
type: array
|
|
23864
|
+
items:
|
|
23865
|
+
$ref: "#/components/schemas/AIToolCall"
|
|
23866
|
+
required:
|
|
23867
|
+
- content
|
|
23868
|
+
AIMessage:
|
|
23869
|
+
type: object
|
|
23870
|
+
properties:
|
|
23871
|
+
id:
|
|
23872
|
+
type: string
|
|
23873
|
+
role:
|
|
23874
|
+
$ref: "#/components/schemas/AIMessageRole"
|
|
23875
|
+
steps:
|
|
23876
|
+
type: array
|
|
23877
|
+
items:
|
|
23878
|
+
$ref: "#/components/schemas/AIMessageStep"
|
|
23879
|
+
required:
|
|
23880
|
+
- id
|
|
23881
|
+
- role
|
|
23882
|
+
- steps
|
|
23883
|
+
AgentRequestReset:
|
|
23884
|
+
type: object
|
|
23885
|
+
description: |
|
|
23886
|
+
Request to reset the chat.
|
|
23887
|
+
properties:
|
|
23888
|
+
type:
|
|
23889
|
+
type: string
|
|
23890
|
+
enum:
|
|
23891
|
+
- reset
|
|
23892
|
+
required:
|
|
23893
|
+
- type
|
|
23894
|
+
AgentRequestPostMessage:
|
|
23895
|
+
type: object
|
|
23896
|
+
description: |
|
|
23897
|
+
Request to post a message to the agent.
|
|
23898
|
+
properties:
|
|
23899
|
+
type:
|
|
23900
|
+
type: string
|
|
23901
|
+
enum:
|
|
23902
|
+
- post_message
|
|
23903
|
+
message:
|
|
23904
|
+
$ref: "#/components/schemas/AIMessageInput"
|
|
23905
|
+
required:
|
|
23906
|
+
- type
|
|
23907
|
+
- message
|
|
23908
|
+
AgentRequest:
|
|
23909
|
+
description: |
|
|
23910
|
+
Payload to send to the agent.
|
|
23911
|
+
oneOf:
|
|
23912
|
+
- $ref: "#/components/schemas/AgentRequestReset"
|
|
23913
|
+
- $ref: "#/components/schemas/AgentRequestPostMessage"
|
|
23914
|
+
AgentStreamMessages:
|
|
23915
|
+
type: object
|
|
23916
|
+
description: |
|
|
23917
|
+
Payload emitted by the agent to reset the messages.
|
|
23918
|
+
properties:
|
|
23919
|
+
type:
|
|
23920
|
+
type: string
|
|
23921
|
+
enum:
|
|
23922
|
+
- messages
|
|
23923
|
+
operation:
|
|
23924
|
+
type: string
|
|
23925
|
+
enum:
|
|
23926
|
+
- append
|
|
23927
|
+
- replace
|
|
23928
|
+
messages:
|
|
23929
|
+
type: array
|
|
23930
|
+
items:
|
|
23931
|
+
$ref: "#/components/schemas/AIMessage"
|
|
23932
|
+
required:
|
|
23933
|
+
- type
|
|
23934
|
+
- operation
|
|
23935
|
+
- messages
|
|
23936
|
+
AgentStreamMessageResponse:
|
|
23937
|
+
type: object
|
|
23938
|
+
description: |
|
|
23939
|
+
Payload emitted by the agent with a partial message.
|
|
23940
|
+
properties:
|
|
23941
|
+
type:
|
|
23942
|
+
type: string
|
|
23943
|
+
enum:
|
|
23944
|
+
- message_response
|
|
23945
|
+
response:
|
|
23946
|
+
$ref: "#/components/schemas/AIStreamResponse"
|
|
23947
|
+
required:
|
|
23948
|
+
- type
|
|
23949
|
+
- response
|
|
23950
|
+
AgentStatus:
|
|
23951
|
+
type: string
|
|
23952
|
+
enum:
|
|
23953
|
+
- idle
|
|
23954
|
+
- processing
|
|
23955
|
+
- errored
|
|
23956
|
+
AgentState:
|
|
23957
|
+
type: object
|
|
23958
|
+
properties:
|
|
23959
|
+
status:
|
|
23960
|
+
$ref: "#/components/schemas/AgentStatus"
|
|
23961
|
+
suggestions:
|
|
23962
|
+
type: array
|
|
23963
|
+
description: A list of response suggestions for the user to select from.
|
|
23964
|
+
items:
|
|
23965
|
+
type: string
|
|
23966
|
+
required:
|
|
23967
|
+
- status
|
|
23968
|
+
- suggestions
|
|
23969
|
+
AgentStreamState:
|
|
23970
|
+
type: object
|
|
23971
|
+
description: |
|
|
23972
|
+
Payload emitted by the agent with its current state.
|
|
23973
|
+
properties:
|
|
23974
|
+
type:
|
|
23975
|
+
type: string
|
|
23976
|
+
enum:
|
|
23977
|
+
- state
|
|
23978
|
+
state:
|
|
23979
|
+
$ref: "#/components/schemas/AgentState"
|
|
23980
|
+
required:
|
|
23981
|
+
- type
|
|
23982
|
+
- state
|
|
23983
|
+
AgentStream:
|
|
23984
|
+
oneOf:
|
|
23985
|
+
- $ref: "#/components/schemas/AgentStreamMessages"
|
|
23986
|
+
- $ref: "#/components/schemas/AgentStreamMessageResponse"
|
|
23987
|
+
- $ref: "#/components/schemas/AgentStreamState"
|
|
23988
|
+
ConversationMetadata:
|
|
23989
|
+
type: object
|
|
23990
|
+
properties:
|
|
23991
|
+
url:
|
|
23992
|
+
type: string
|
|
23993
|
+
description: URL to the conversation
|
|
23994
|
+
attributes:
|
|
23995
|
+
type: object
|
|
23996
|
+
additionalProperties:
|
|
23997
|
+
type: string
|
|
23998
|
+
createdAt:
|
|
23999
|
+
description: Date of the conversation creation
|
|
24000
|
+
$ref: "#/components/schemas/Timestamp"
|
|
24001
|
+
ConversationPartMessage:
|
|
24002
|
+
type: object
|
|
24003
|
+
description: A message posted in the conversation by a user or a team member.
|
|
24004
|
+
properties:
|
|
24005
|
+
type:
|
|
24006
|
+
type: string
|
|
24007
|
+
enum:
|
|
24008
|
+
- message
|
|
24009
|
+
role:
|
|
24010
|
+
type: string
|
|
24011
|
+
enum:
|
|
24012
|
+
- user
|
|
24013
|
+
- assistant
|
|
24014
|
+
- team-member
|
|
24015
|
+
body:
|
|
24016
|
+
type: string
|
|
24017
|
+
description: Markdown or HTML body of the message.
|
|
24018
|
+
required:
|
|
24019
|
+
- type
|
|
24020
|
+
- role
|
|
24021
|
+
- body
|
|
24022
|
+
ConversationPart:
|
|
24023
|
+
oneOf:
|
|
24024
|
+
- $ref: "#/components/schemas/ConversationPartMessage"
|
|
24025
|
+
ConversationInput:
|
|
24026
|
+
type: object
|
|
24027
|
+
properties:
|
|
24028
|
+
id:
|
|
24029
|
+
type: string
|
|
24030
|
+
minLength: 1
|
|
24031
|
+
maxLength: 255
|
|
24032
|
+
description: The unique identifier for the conversation, relative to the source in which it was created.
|
|
24033
|
+
metadata:
|
|
24034
|
+
$ref: "#/components/schemas/ConversationMetadata"
|
|
24035
|
+
subject:
|
|
24036
|
+
type: string
|
|
24037
|
+
maxLength: 512
|
|
24038
|
+
description: The subject of the conversation.
|
|
24039
|
+
parts:
|
|
24040
|
+
type: array
|
|
24041
|
+
items:
|
|
24042
|
+
$ref: "#/components/schemas/ConversationPart"
|
|
24043
|
+
required:
|
|
24044
|
+
- id
|
|
24045
|
+
- parts
|
|
24046
|
+
AgentTaskStatus:
|
|
24047
|
+
type: string
|
|
24048
|
+
description: |
|
|
24049
|
+
The status of the agent task. - `backlog`: The task has not been started yet, a human should review its specification. - `in-progress`: The task is in progress. - `in-review`: The task is completed, a human should review the result. - `done`: The task is completed. - `rejected`: The task has been rejected by a human.
|
|
24050
|
+
enum:
|
|
24051
|
+
- backlog
|
|
24052
|
+
- in-progress
|
|
24053
|
+
- in-review
|
|
24054
|
+
- done
|
|
24055
|
+
- rejected
|
|
23696
24056
|
RequestSpaceTrackPageView:
|
|
23697
24057
|
$ref: "#/components/schemas/SpaceTrackPageView"
|
|
23698
24058
|
RequestSiteTrackPageView:
|