@gitbook/api 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist/client.d.ts +592 -303
- package/dist/index.cjs +35 -115
- package/dist/index.js +34 -111
- package/package.json +2 -1
- package/spec/openapi.json +3063 -837
- package/spec/openapi.yaml +1923 -537
package/spec/openapi.yaml
CHANGED
|
@@ -104,7 +104,7 @@ components:
|
|
|
104
104
|
required: true
|
|
105
105
|
description: The unique ID of the change request or its number identifier in the space
|
|
106
106
|
schema:
|
|
107
|
-
|
|
107
|
+
anyOf:
|
|
108
108
|
- type: string
|
|
109
109
|
- type: integer
|
|
110
110
|
commentId:
|
|
@@ -125,9 +125,11 @@ components:
|
|
|
125
125
|
name: integrationName
|
|
126
126
|
in: path
|
|
127
127
|
required: true
|
|
128
|
-
description: Name of the integration
|
|
128
|
+
description: Name of the integration. Allowed characters are a-z, A-Z, 0-9, -, _, .
|
|
129
129
|
schema:
|
|
130
130
|
type: string
|
|
131
|
+
pattern: ^[a-zA-Z0-9-_.]+$
|
|
132
|
+
maxLength: 100
|
|
131
133
|
installationId:
|
|
132
134
|
name: installationId
|
|
133
135
|
in: path
|
|
@@ -191,13 +193,6 @@ components:
|
|
|
191
193
|
description: Type of the entity
|
|
192
194
|
schema:
|
|
193
195
|
$ref: "#/components/schemas/EntityType"
|
|
194
|
-
environmentName:
|
|
195
|
-
name: environmentName
|
|
196
|
-
in: path
|
|
197
|
-
required: true
|
|
198
|
-
description: The unique name of the environment within the organization
|
|
199
|
-
schema:
|
|
200
|
-
type: string
|
|
201
196
|
backofficeHostname:
|
|
202
197
|
name: hostname
|
|
203
198
|
in: path
|
|
@@ -205,6 +200,13 @@ components:
|
|
|
205
200
|
description: The custom hostname
|
|
206
201
|
schema:
|
|
207
202
|
type: string
|
|
203
|
+
ifUnmodifiedSince:
|
|
204
|
+
in: header
|
|
205
|
+
name: If-Unmodified-Since
|
|
206
|
+
description: If provided, the operation will be rejected if the underlying resource has been modified since the date provided in the header.
|
|
207
|
+
schema:
|
|
208
|
+
type: string
|
|
209
|
+
format: date-time
|
|
208
210
|
schemas:
|
|
209
211
|
Error:
|
|
210
212
|
type: object
|
|
@@ -515,9 +517,6 @@ components:
|
|
|
515
517
|
description: Private spaces are no longer supported by GitBook.
|
|
516
518
|
deprecated: true
|
|
517
519
|
type: boolean
|
|
518
|
-
type:
|
|
519
|
-
$ref: "#/components/schemas/SpaceType"
|
|
520
|
-
default: other
|
|
521
520
|
parent:
|
|
522
521
|
type: string
|
|
523
522
|
description: ID of a parent collection
|
|
@@ -660,35 +659,6 @@ components:
|
|
|
660
659
|
- id
|
|
661
660
|
- displayName
|
|
662
661
|
- urls
|
|
663
|
-
UserPreferences:
|
|
664
|
-
type: object
|
|
665
|
-
properties:
|
|
666
|
-
object:
|
|
667
|
-
type: string
|
|
668
|
-
description: Type of Object, always equals to "user-preferences"
|
|
669
|
-
enum:
|
|
670
|
-
- user-preferences
|
|
671
|
-
theme:
|
|
672
|
-
$ref: "#/components/schemas/UserPreferencesTheme"
|
|
673
|
-
urls:
|
|
674
|
-
type: object
|
|
675
|
-
description: URLs associated with the object
|
|
676
|
-
properties:
|
|
677
|
-
location:
|
|
678
|
-
type: string
|
|
679
|
-
description: URL of the user preferences in the API
|
|
680
|
-
format: uri
|
|
681
|
-
required:
|
|
682
|
-
- object
|
|
683
|
-
- theme
|
|
684
|
-
- urls
|
|
685
|
-
UserPreferencesTheme:
|
|
686
|
-
type: string
|
|
687
|
-
description: Preferred theme for the application
|
|
688
|
-
enum:
|
|
689
|
-
- light
|
|
690
|
-
- dark
|
|
691
|
-
- default
|
|
692
662
|
UserAPIToken:
|
|
693
663
|
type: object
|
|
694
664
|
description: The API token details, excluding the token itself.
|
|
@@ -800,6 +770,39 @@ components:
|
|
|
800
770
|
totalResources:
|
|
801
771
|
type: number
|
|
802
772
|
description: How many resources were processed
|
|
773
|
+
Embed:
|
|
774
|
+
allOf:
|
|
775
|
+
- type: object
|
|
776
|
+
properties:
|
|
777
|
+
title:
|
|
778
|
+
type: string
|
|
779
|
+
site:
|
|
780
|
+
type: string
|
|
781
|
+
icon:
|
|
782
|
+
type: string
|
|
783
|
+
required:
|
|
784
|
+
- title
|
|
785
|
+
- site
|
|
786
|
+
- oneOf:
|
|
787
|
+
- type: object
|
|
788
|
+
properties:
|
|
789
|
+
type:
|
|
790
|
+
type: string
|
|
791
|
+
enum:
|
|
792
|
+
- link
|
|
793
|
+
required:
|
|
794
|
+
- type
|
|
795
|
+
- type: object
|
|
796
|
+
properties:
|
|
797
|
+
type:
|
|
798
|
+
type: string
|
|
799
|
+
enum:
|
|
800
|
+
- rich
|
|
801
|
+
html:
|
|
802
|
+
type: string
|
|
803
|
+
required:
|
|
804
|
+
- type
|
|
805
|
+
- html
|
|
803
806
|
Comment:
|
|
804
807
|
allOf:
|
|
805
808
|
- type: object
|
|
@@ -980,128 +983,1606 @@ components:
|
|
|
980
983
|
document:
|
|
981
984
|
type: object
|
|
982
985
|
properties:
|
|
986
|
+
object:
|
|
987
|
+
type: string
|
|
988
|
+
enum:
|
|
989
|
+
- document
|
|
990
|
+
data:
|
|
991
|
+
type: object
|
|
992
|
+
properties: {}
|
|
993
|
+
additionalProperties: false
|
|
983
994
|
nodes:
|
|
984
995
|
type: array
|
|
985
996
|
items:
|
|
986
|
-
|
|
987
|
-
properties: {}
|
|
997
|
+
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
988
998
|
required:
|
|
999
|
+
- object
|
|
1000
|
+
- data
|
|
989
1001
|
- nodes
|
|
990
1002
|
required:
|
|
991
1003
|
- document
|
|
992
|
-
|
|
1004
|
+
DocumentBlocksEssentials:
|
|
1005
|
+
oneOf:
|
|
1006
|
+
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
1007
|
+
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
1008
|
+
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
1009
|
+
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
1010
|
+
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
1011
|
+
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
1012
|
+
DocumentBlocksTopLevels:
|
|
1013
|
+
oneOf:
|
|
1014
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1015
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
1016
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
1017
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
1018
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
1019
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
1020
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
1021
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
1022
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
1023
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
1024
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
1025
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
1026
|
+
- $ref: "#/components/schemas/DocumentBlockSwagger"
|
|
1027
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
1028
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
1029
|
+
DocumentNodeText:
|
|
993
1030
|
type: object
|
|
994
1031
|
properties:
|
|
995
1032
|
object:
|
|
996
1033
|
type: string
|
|
997
|
-
description: Type of Object, always equals to "space"
|
|
998
1034
|
enum:
|
|
999
|
-
-
|
|
1000
|
-
|
|
1035
|
+
- text
|
|
1036
|
+
key:
|
|
1037
|
+
type: string
|
|
1038
|
+
leaves:
|
|
1039
|
+
type: array
|
|
1040
|
+
items:
|
|
1041
|
+
$ref: "#/components/schemas/DocumentTextLeaf"
|
|
1042
|
+
required:
|
|
1043
|
+
- object
|
|
1044
|
+
- leaves
|
|
1045
|
+
DocumentNodeFragment:
|
|
1046
|
+
type: object
|
|
1047
|
+
properties:
|
|
1048
|
+
object:
|
|
1049
|
+
type: string
|
|
1050
|
+
enum:
|
|
1051
|
+
- fragment
|
|
1052
|
+
key:
|
|
1053
|
+
type: string
|
|
1054
|
+
fragment:
|
|
1001
1055
|
type: string
|
|
1002
|
-
description: Unique identifier for the space
|
|
1003
1056
|
type:
|
|
1004
|
-
$ref: "#/components/schemas/SpaceType"
|
|
1005
|
-
title:
|
|
1006
1057
|
type: string
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1058
|
+
nodes:
|
|
1059
|
+
type: array
|
|
1060
|
+
items:
|
|
1061
|
+
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1062
|
+
required:
|
|
1063
|
+
- object
|
|
1064
|
+
- nodes
|
|
1065
|
+
DocumentTextLeaf:
|
|
1066
|
+
type: object
|
|
1067
|
+
properties:
|
|
1068
|
+
object:
|
|
1069
|
+
type: string
|
|
1070
|
+
enum:
|
|
1071
|
+
- leaf
|
|
1072
|
+
text:
|
|
1073
|
+
type: string
|
|
1074
|
+
marks:
|
|
1075
|
+
type: array
|
|
1076
|
+
items:
|
|
1077
|
+
$ref: "#/components/schemas/DocumentTextMark"
|
|
1078
|
+
required:
|
|
1079
|
+
- object
|
|
1080
|
+
- text
|
|
1081
|
+
- marks
|
|
1082
|
+
DocumentTextMark:
|
|
1083
|
+
allOf:
|
|
1084
|
+
- type: object
|
|
1021
1085
|
properties:
|
|
1022
|
-
|
|
1023
|
-
type: string
|
|
1024
|
-
description: URL of the space in the API
|
|
1025
|
-
format: uri
|
|
1026
|
-
app:
|
|
1027
|
-
type: string
|
|
1028
|
-
description: URL of the space in the application
|
|
1029
|
-
format: uri
|
|
1030
|
-
published:
|
|
1031
|
-
type: string
|
|
1032
|
-
description: URL of the published version of the space. Only defined when visibility is not "private."
|
|
1033
|
-
format: uri
|
|
1034
|
-
public:
|
|
1086
|
+
object:
|
|
1035
1087
|
type: string
|
|
1036
|
-
|
|
1037
|
-
|
|
1088
|
+
enum:
|
|
1089
|
+
- mark
|
|
1038
1090
|
required:
|
|
1039
|
-
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1091
|
+
- object
|
|
1092
|
+
- oneOf:
|
|
1093
|
+
- type: object
|
|
1094
|
+
properties:
|
|
1095
|
+
type:
|
|
1096
|
+
type: string
|
|
1097
|
+
enum:
|
|
1098
|
+
- bold
|
|
1099
|
+
required:
|
|
1100
|
+
- type
|
|
1101
|
+
- type: object
|
|
1102
|
+
properties:
|
|
1103
|
+
type:
|
|
1104
|
+
type: string
|
|
1105
|
+
enum:
|
|
1106
|
+
- italic
|
|
1107
|
+
required:
|
|
1108
|
+
- type
|
|
1109
|
+
- type: object
|
|
1110
|
+
properties:
|
|
1111
|
+
type:
|
|
1112
|
+
type: string
|
|
1113
|
+
enum:
|
|
1114
|
+
- code
|
|
1115
|
+
required:
|
|
1116
|
+
- type
|
|
1117
|
+
- type: object
|
|
1118
|
+
properties:
|
|
1119
|
+
type:
|
|
1120
|
+
type: string
|
|
1121
|
+
enum:
|
|
1122
|
+
- strikethrough
|
|
1123
|
+
required:
|
|
1124
|
+
- type
|
|
1125
|
+
- type: object
|
|
1126
|
+
properties:
|
|
1127
|
+
type:
|
|
1128
|
+
type: string
|
|
1129
|
+
enum:
|
|
1130
|
+
- color
|
|
1131
|
+
data:
|
|
1132
|
+
type: object
|
|
1133
|
+
properties:
|
|
1134
|
+
text:
|
|
1135
|
+
type: string
|
|
1136
|
+
enum:
|
|
1137
|
+
- default
|
|
1138
|
+
- green
|
|
1139
|
+
- blue
|
|
1140
|
+
- red
|
|
1141
|
+
- orange
|
|
1142
|
+
- yellow
|
|
1143
|
+
- purple
|
|
1144
|
+
background:
|
|
1145
|
+
type: string
|
|
1146
|
+
enum:
|
|
1147
|
+
- default
|
|
1148
|
+
- green
|
|
1149
|
+
- blue
|
|
1150
|
+
- red
|
|
1151
|
+
- orange
|
|
1152
|
+
- yellow
|
|
1153
|
+
- purple
|
|
1154
|
+
required:
|
|
1155
|
+
- text
|
|
1156
|
+
- background
|
|
1157
|
+
required:
|
|
1158
|
+
- type
|
|
1159
|
+
- data
|
|
1160
|
+
DocumentInlineLink:
|
|
1161
|
+
type: object
|
|
1162
|
+
properties:
|
|
1163
|
+
object:
|
|
1042
1164
|
type: string
|
|
1043
|
-
|
|
1044
|
-
|
|
1165
|
+
enum:
|
|
1166
|
+
- inline
|
|
1167
|
+
type:
|
|
1045
1168
|
type: string
|
|
1046
|
-
|
|
1169
|
+
enum:
|
|
1170
|
+
- link
|
|
1171
|
+
key:
|
|
1172
|
+
type: string
|
|
1173
|
+
nodes:
|
|
1174
|
+
type: array
|
|
1175
|
+
items:
|
|
1176
|
+
oneOf:
|
|
1177
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1178
|
+
data:
|
|
1179
|
+
type: object
|
|
1180
|
+
properties:
|
|
1181
|
+
ref:
|
|
1182
|
+
$ref: "#/components/schemas/ContentRef"
|
|
1183
|
+
required:
|
|
1184
|
+
- ref
|
|
1047
1185
|
required:
|
|
1048
1186
|
- object
|
|
1049
|
-
- id
|
|
1050
1187
|
- type
|
|
1051
|
-
-
|
|
1052
|
-
-
|
|
1053
|
-
|
|
1054
|
-
- createdAt
|
|
1055
|
-
- updatedAt
|
|
1056
|
-
- urls
|
|
1057
|
-
SpaceType:
|
|
1058
|
-
type: string
|
|
1059
|
-
description: |
|
|
1060
|
-
- `application`: A fully-packaged application, like a mobile application, desktop application, or a CLI-type tool.
|
|
1061
|
-
- `website`: A single web page or a collection of related web pages under a single domain.
|
|
1062
|
-
- `service`: An independently-deployable software unit that is usually is operated by a person or a team.
|
|
1063
|
-
- `library`: A reusable collection of objects, functions, and methods. A library is typically used by other spaces.
|
|
1064
|
-
- `cloud-resource`: An entity or service provided by a cloud vendor, with consumer-managed configuration and monitoring.
|
|
1065
|
-
- `database`: A databse entity, persisting data. A database is typically used by services or applications.
|
|
1066
|
-
- `other`: A space that doesn’t match the service, library, or application type.
|
|
1067
|
-
enum:
|
|
1068
|
-
- application
|
|
1069
|
-
- website
|
|
1070
|
-
- service
|
|
1071
|
-
- library
|
|
1072
|
-
- cloud-resource
|
|
1073
|
-
- database
|
|
1074
|
-
- other
|
|
1075
|
-
SpaceRelationType:
|
|
1076
|
-
type: string
|
|
1077
|
-
enum:
|
|
1078
|
-
- dependsOn
|
|
1079
|
-
- dependencyOf
|
|
1080
|
-
- partOf
|
|
1081
|
-
- hasPart
|
|
1082
|
-
SpaceRelationEdge:
|
|
1188
|
+
- nodes
|
|
1189
|
+
- data
|
|
1190
|
+
DocumentInlineMath:
|
|
1083
1191
|
type: object
|
|
1084
|
-
description: Edge of a space relation (target or source)
|
|
1085
1192
|
properties:
|
|
1086
|
-
|
|
1193
|
+
object:
|
|
1194
|
+
type: string
|
|
1195
|
+
enum:
|
|
1196
|
+
- inline
|
|
1197
|
+
type:
|
|
1198
|
+
type: string
|
|
1199
|
+
enum:
|
|
1200
|
+
- inline-math
|
|
1201
|
+
key:
|
|
1202
|
+
type: string
|
|
1203
|
+
data:
|
|
1204
|
+
type: object
|
|
1205
|
+
properties:
|
|
1206
|
+
formula:
|
|
1207
|
+
type: string
|
|
1208
|
+
required:
|
|
1209
|
+
- formula
|
|
1210
|
+
isVoid:
|
|
1211
|
+
type: boolean
|
|
1212
|
+
enum:
|
|
1213
|
+
- true
|
|
1214
|
+
required:
|
|
1215
|
+
- object
|
|
1216
|
+
- type
|
|
1217
|
+
- data
|
|
1218
|
+
- isVoid
|
|
1219
|
+
DocumentInlineEmoji:
|
|
1220
|
+
type: object
|
|
1221
|
+
properties:
|
|
1222
|
+
object:
|
|
1223
|
+
type: string
|
|
1224
|
+
enum:
|
|
1225
|
+
- inline
|
|
1226
|
+
type:
|
|
1227
|
+
type: string
|
|
1228
|
+
enum:
|
|
1229
|
+
- emoji
|
|
1230
|
+
key:
|
|
1087
1231
|
type: string
|
|
1088
|
-
|
|
1232
|
+
data:
|
|
1233
|
+
type: object
|
|
1234
|
+
properties:
|
|
1235
|
+
code:
|
|
1236
|
+
type: string
|
|
1237
|
+
required:
|
|
1238
|
+
- code
|
|
1239
|
+
isVoid:
|
|
1240
|
+
type: boolean
|
|
1241
|
+
enum:
|
|
1242
|
+
- true
|
|
1089
1243
|
required:
|
|
1090
|
-
-
|
|
1091
|
-
|
|
1244
|
+
- object
|
|
1245
|
+
- type
|
|
1246
|
+
- data
|
|
1247
|
+
- isVoid
|
|
1248
|
+
DocumentInlineImage:
|
|
1092
1249
|
type: object
|
|
1093
|
-
description: Relation between an origin space and another space
|
|
1094
1250
|
properties:
|
|
1095
|
-
|
|
1251
|
+
object:
|
|
1096
1252
|
type: string
|
|
1253
|
+
enum:
|
|
1254
|
+
- inline
|
|
1097
1255
|
type:
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1256
|
+
type: string
|
|
1257
|
+
enum:
|
|
1258
|
+
- inline-image
|
|
1259
|
+
key:
|
|
1260
|
+
type: string
|
|
1261
|
+
data:
|
|
1262
|
+
type: object
|
|
1263
|
+
properties:
|
|
1264
|
+
ref:
|
|
1265
|
+
oneOf:
|
|
1266
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1267
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1268
|
+
refDark:
|
|
1269
|
+
oneOf:
|
|
1270
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1271
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1272
|
+
caption:
|
|
1273
|
+
type: string
|
|
1274
|
+
size:
|
|
1275
|
+
type: string
|
|
1276
|
+
enum:
|
|
1277
|
+
- original
|
|
1278
|
+
- line
|
|
1279
|
+
required:
|
|
1280
|
+
- ref
|
|
1281
|
+
isVoid:
|
|
1282
|
+
type: boolean
|
|
1283
|
+
enum:
|
|
1284
|
+
- true
|
|
1285
|
+
required:
|
|
1286
|
+
- object
|
|
1287
|
+
- type
|
|
1288
|
+
- data
|
|
1289
|
+
- isVoid
|
|
1290
|
+
DocumentInlineMention:
|
|
1291
|
+
type: object
|
|
1292
|
+
properties:
|
|
1293
|
+
object:
|
|
1294
|
+
type: string
|
|
1295
|
+
enum:
|
|
1296
|
+
- inline
|
|
1297
|
+
type:
|
|
1298
|
+
type: string
|
|
1299
|
+
enum:
|
|
1300
|
+
- mention
|
|
1301
|
+
key:
|
|
1302
|
+
type: string
|
|
1303
|
+
data:
|
|
1304
|
+
type: object
|
|
1305
|
+
properties:
|
|
1306
|
+
ref:
|
|
1307
|
+
$ref: "#/components/schemas/ContentRef"
|
|
1308
|
+
required:
|
|
1309
|
+
- ref
|
|
1310
|
+
isVoid:
|
|
1311
|
+
type: boolean
|
|
1312
|
+
enum:
|
|
1313
|
+
- true
|
|
1314
|
+
required:
|
|
1315
|
+
- object
|
|
1316
|
+
- type
|
|
1317
|
+
- data
|
|
1318
|
+
- isVoid
|
|
1319
|
+
DocumentInlineAnnotation:
|
|
1320
|
+
type: object
|
|
1321
|
+
properties:
|
|
1322
|
+
object:
|
|
1323
|
+
type: string
|
|
1324
|
+
enum:
|
|
1325
|
+
- inline
|
|
1326
|
+
type:
|
|
1327
|
+
type: string
|
|
1328
|
+
enum:
|
|
1329
|
+
- annotation
|
|
1330
|
+
key:
|
|
1331
|
+
type: string
|
|
1332
|
+
fragments:
|
|
1333
|
+
type: array
|
|
1334
|
+
items:
|
|
1335
|
+
allOf:
|
|
1336
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1337
|
+
- type: object
|
|
1338
|
+
properties:
|
|
1339
|
+
type:
|
|
1340
|
+
type: string
|
|
1341
|
+
enum:
|
|
1342
|
+
- annotation-body
|
|
1343
|
+
nodes:
|
|
1344
|
+
type: array
|
|
1345
|
+
items:
|
|
1346
|
+
oneOf:
|
|
1347
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1348
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
1349
|
+
minItems: 1
|
|
1350
|
+
required:
|
|
1351
|
+
- nodes
|
|
1352
|
+
- type
|
|
1353
|
+
isVoid:
|
|
1354
|
+
type: boolean
|
|
1355
|
+
enum:
|
|
1356
|
+
- true
|
|
1357
|
+
required:
|
|
1358
|
+
- object
|
|
1359
|
+
- type
|
|
1360
|
+
- fragments
|
|
1361
|
+
- isVoid
|
|
1362
|
+
DocumentInlinesRich:
|
|
1363
|
+
$ref: "#/components/schemas/DocumentInlineImage"
|
|
1364
|
+
DocumentBlockParagraph:
|
|
1365
|
+
type: object
|
|
1366
|
+
properties:
|
|
1367
|
+
object:
|
|
1368
|
+
type: string
|
|
1369
|
+
enum:
|
|
1370
|
+
- block
|
|
1371
|
+
type:
|
|
1372
|
+
type: string
|
|
1373
|
+
enum:
|
|
1374
|
+
- paragraph
|
|
1375
|
+
key:
|
|
1376
|
+
type: string
|
|
1377
|
+
nodes:
|
|
1378
|
+
type: array
|
|
1379
|
+
items:
|
|
1380
|
+
$ref: "#/components/schemas/DocumentBlockHeading/properties/nodes/items"
|
|
1381
|
+
required:
|
|
1382
|
+
- object
|
|
1383
|
+
- type
|
|
1384
|
+
- nodes
|
|
1385
|
+
DocumentBlockHeading:
|
|
1386
|
+
type: object
|
|
1387
|
+
properties:
|
|
1388
|
+
object:
|
|
1389
|
+
type: string
|
|
1390
|
+
enum:
|
|
1391
|
+
- block
|
|
1392
|
+
type:
|
|
1393
|
+
type: string
|
|
1394
|
+
enum:
|
|
1395
|
+
- heading-1
|
|
1396
|
+
- heading-2
|
|
1397
|
+
- heading-3
|
|
1398
|
+
key:
|
|
1399
|
+
type: string
|
|
1400
|
+
nodes:
|
|
1401
|
+
type: array
|
|
1402
|
+
items:
|
|
1403
|
+
oneOf:
|
|
1404
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1405
|
+
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
1406
|
+
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
1407
|
+
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
1408
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1409
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1410
|
+
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
1411
|
+
data:
|
|
1412
|
+
type: object
|
|
1413
|
+
properties:
|
|
1414
|
+
id:
|
|
1415
|
+
type: string
|
|
1416
|
+
pattern: ^[-a-z0-9.+_]+$
|
|
1417
|
+
meta:
|
|
1418
|
+
type: object
|
|
1419
|
+
properties:
|
|
1420
|
+
id:
|
|
1421
|
+
description: Unique ID to be used in an URL for the block.
|
|
1422
|
+
type: string
|
|
1423
|
+
required:
|
|
1424
|
+
- id
|
|
1425
|
+
required:
|
|
1426
|
+
- object
|
|
1427
|
+
- type
|
|
1428
|
+
- nodes
|
|
1429
|
+
- data
|
|
1430
|
+
DocumentBlockQuote:
|
|
1431
|
+
type: object
|
|
1432
|
+
properties:
|
|
1433
|
+
object:
|
|
1434
|
+
type: string
|
|
1435
|
+
enum:
|
|
1436
|
+
- block
|
|
1437
|
+
type:
|
|
1438
|
+
type: string
|
|
1439
|
+
enum:
|
|
1440
|
+
- quote
|
|
1441
|
+
key:
|
|
1442
|
+
type: string
|
|
1443
|
+
nodes:
|
|
1444
|
+
type: array
|
|
1445
|
+
items:
|
|
1446
|
+
oneOf:
|
|
1447
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1448
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
1449
|
+
required:
|
|
1450
|
+
- object
|
|
1451
|
+
- type
|
|
1452
|
+
- nodes
|
|
1453
|
+
DocumentBlockHint:
|
|
1454
|
+
type: object
|
|
1455
|
+
properties:
|
|
1456
|
+
object:
|
|
1457
|
+
type: string
|
|
1458
|
+
enum:
|
|
1459
|
+
- block
|
|
1460
|
+
type:
|
|
1461
|
+
type: string
|
|
1462
|
+
enum:
|
|
1463
|
+
- hint
|
|
1464
|
+
key:
|
|
1465
|
+
type: string
|
|
1466
|
+
data:
|
|
1467
|
+
type: object
|
|
1468
|
+
properties:
|
|
1469
|
+
style:
|
|
1470
|
+
type: string
|
|
1471
|
+
enum:
|
|
1472
|
+
- info
|
|
1473
|
+
- warning
|
|
1474
|
+
- danger
|
|
1475
|
+
- success
|
|
1476
|
+
required:
|
|
1477
|
+
- style
|
|
1478
|
+
nodes:
|
|
1479
|
+
type: array
|
|
1480
|
+
items:
|
|
1481
|
+
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1482
|
+
required:
|
|
1483
|
+
- object
|
|
1484
|
+
- type
|
|
1485
|
+
- data
|
|
1486
|
+
- nodes
|
|
1487
|
+
DocumentBlockListUnordered:
|
|
1488
|
+
type: object
|
|
1489
|
+
properties:
|
|
1490
|
+
object:
|
|
1491
|
+
type: string
|
|
1492
|
+
enum:
|
|
1493
|
+
- block
|
|
1494
|
+
type:
|
|
1495
|
+
type: string
|
|
1496
|
+
enum:
|
|
1497
|
+
- list-unordered
|
|
1498
|
+
key:
|
|
1499
|
+
type: string
|
|
1500
|
+
nodes:
|
|
1501
|
+
type: array
|
|
1502
|
+
items:
|
|
1503
|
+
oneOf:
|
|
1504
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1505
|
+
required:
|
|
1506
|
+
- object
|
|
1507
|
+
- type
|
|
1508
|
+
- nodes
|
|
1509
|
+
DocumentBlockListOrdered:
|
|
1510
|
+
type: object
|
|
1511
|
+
properties:
|
|
1512
|
+
object:
|
|
1513
|
+
type: string
|
|
1514
|
+
enum:
|
|
1515
|
+
- block
|
|
1516
|
+
type:
|
|
1517
|
+
type: string
|
|
1518
|
+
enum:
|
|
1519
|
+
- list-ordered
|
|
1520
|
+
key:
|
|
1521
|
+
type: string
|
|
1522
|
+
data:
|
|
1523
|
+
type: object
|
|
1524
|
+
properties:
|
|
1525
|
+
start:
|
|
1526
|
+
type: number
|
|
1527
|
+
description: An integer to start counting from for the list items.
|
|
1528
|
+
nodes:
|
|
1529
|
+
type: array
|
|
1530
|
+
items:
|
|
1531
|
+
oneOf:
|
|
1532
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1533
|
+
required:
|
|
1534
|
+
- object
|
|
1535
|
+
- type
|
|
1536
|
+
- data
|
|
1537
|
+
- nodes
|
|
1538
|
+
DocumentBlockListTasks:
|
|
1539
|
+
type: object
|
|
1540
|
+
properties:
|
|
1541
|
+
object:
|
|
1542
|
+
type: string
|
|
1543
|
+
enum:
|
|
1544
|
+
- block
|
|
1545
|
+
type:
|
|
1546
|
+
type: string
|
|
1547
|
+
enum:
|
|
1548
|
+
- list-tasks
|
|
1549
|
+
key:
|
|
1550
|
+
type: string
|
|
1551
|
+
nodes:
|
|
1552
|
+
type: array
|
|
1553
|
+
items:
|
|
1554
|
+
oneOf:
|
|
1555
|
+
- $ref: "#/components/schemas/DocumentBlockTaskListItem"
|
|
1556
|
+
required:
|
|
1557
|
+
- object
|
|
1558
|
+
- type
|
|
1559
|
+
- nodes
|
|
1560
|
+
DocumentBlockListItem:
|
|
1561
|
+
type: object
|
|
1562
|
+
properties:
|
|
1563
|
+
object:
|
|
1564
|
+
type: string
|
|
1565
|
+
enum:
|
|
1566
|
+
- block
|
|
1567
|
+
type:
|
|
1568
|
+
type: string
|
|
1569
|
+
enum:
|
|
1570
|
+
- list-item
|
|
1571
|
+
key:
|
|
1572
|
+
type: string
|
|
1573
|
+
nodes:
|
|
1574
|
+
type: array
|
|
1575
|
+
items:
|
|
1576
|
+
oneOf:
|
|
1577
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1578
|
+
required:
|
|
1579
|
+
- object
|
|
1580
|
+
- type
|
|
1581
|
+
- nodes
|
|
1582
|
+
DocumentBlockTaskListItem:
|
|
1583
|
+
allOf:
|
|
1584
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1585
|
+
- type: object
|
|
1586
|
+
properties:
|
|
1587
|
+
data:
|
|
1588
|
+
type: object
|
|
1589
|
+
properties:
|
|
1590
|
+
checked:
|
|
1591
|
+
type: boolean
|
|
1592
|
+
required:
|
|
1593
|
+
- checked
|
|
1594
|
+
required:
|
|
1595
|
+
- data
|
|
1596
|
+
DocumentBlockImages:
|
|
1597
|
+
type: object
|
|
1598
|
+
properties:
|
|
1599
|
+
object:
|
|
1600
|
+
type: string
|
|
1601
|
+
enum:
|
|
1602
|
+
- block
|
|
1603
|
+
type:
|
|
1604
|
+
type: string
|
|
1605
|
+
enum:
|
|
1606
|
+
- images
|
|
1607
|
+
key:
|
|
1608
|
+
type: string
|
|
1609
|
+
data:
|
|
1610
|
+
type: object
|
|
1611
|
+
properties:
|
|
1612
|
+
align:
|
|
1613
|
+
type: string
|
|
1614
|
+
enum:
|
|
1615
|
+
- center
|
|
1616
|
+
- left
|
|
1617
|
+
- right
|
|
1618
|
+
fullWidth:
|
|
1619
|
+
type: boolean
|
|
1620
|
+
nodes:
|
|
1621
|
+
type: array
|
|
1622
|
+
items:
|
|
1623
|
+
$ref: "#/components/schemas/DocumentBlockImage"
|
|
1624
|
+
isVoid:
|
|
1625
|
+
type: boolean
|
|
1626
|
+
enum:
|
|
1627
|
+
- true
|
|
1628
|
+
required:
|
|
1629
|
+
- object
|
|
1630
|
+
- type
|
|
1631
|
+
- data
|
|
1632
|
+
- nodes
|
|
1633
|
+
- isVoid
|
|
1634
|
+
DocumentBlockImage:
|
|
1635
|
+
type: object
|
|
1636
|
+
properties:
|
|
1637
|
+
object:
|
|
1638
|
+
type: string
|
|
1639
|
+
enum:
|
|
1640
|
+
- block
|
|
1641
|
+
type:
|
|
1642
|
+
type: string
|
|
1643
|
+
enum:
|
|
1644
|
+
- image
|
|
1645
|
+
key:
|
|
1646
|
+
type: string
|
|
1647
|
+
data:
|
|
1648
|
+
type: object
|
|
1649
|
+
properties:
|
|
1650
|
+
ref:
|
|
1651
|
+
oneOf:
|
|
1652
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1653
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1654
|
+
refDark:
|
|
1655
|
+
oneOf:
|
|
1656
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1657
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1658
|
+
width:
|
|
1659
|
+
oneOf:
|
|
1660
|
+
- type: number
|
|
1661
|
+
- type: object
|
|
1662
|
+
properties:
|
|
1663
|
+
unit:
|
|
1664
|
+
type: string
|
|
1665
|
+
value:
|
|
1666
|
+
type: number
|
|
1667
|
+
required:
|
|
1668
|
+
- unit
|
|
1669
|
+
- value
|
|
1670
|
+
height:
|
|
1671
|
+
$ref: "#/components/schemas/DocumentBlockImage/properties/data/properties/width"
|
|
1672
|
+
required:
|
|
1673
|
+
- ref
|
|
1674
|
+
fragments:
|
|
1675
|
+
type: array
|
|
1676
|
+
items:
|
|
1677
|
+
allOf:
|
|
1678
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1679
|
+
- type: object
|
|
1680
|
+
properties:
|
|
1681
|
+
type:
|
|
1682
|
+
type: string
|
|
1683
|
+
enum:
|
|
1684
|
+
- caption
|
|
1685
|
+
nodes:
|
|
1686
|
+
type: array
|
|
1687
|
+
items:
|
|
1688
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
1689
|
+
required:
|
|
1690
|
+
- nodes
|
|
1691
|
+
- type
|
|
1692
|
+
isVoid:
|
|
1693
|
+
type: boolean
|
|
1694
|
+
enum:
|
|
1695
|
+
- true
|
|
1696
|
+
required:
|
|
1697
|
+
- object
|
|
1698
|
+
- type
|
|
1699
|
+
- data
|
|
1700
|
+
- fragments
|
|
1701
|
+
- isVoid
|
|
1702
|
+
DocumentBlockFile:
|
|
1703
|
+
type: object
|
|
1704
|
+
properties:
|
|
1705
|
+
object:
|
|
1706
|
+
type: string
|
|
1707
|
+
enum:
|
|
1708
|
+
- block
|
|
1709
|
+
type:
|
|
1710
|
+
type: string
|
|
1711
|
+
enum:
|
|
1712
|
+
- file
|
|
1713
|
+
key:
|
|
1714
|
+
type: string
|
|
1715
|
+
data:
|
|
1716
|
+
type: object
|
|
1717
|
+
properties:
|
|
1718
|
+
ref:
|
|
1719
|
+
oneOf:
|
|
1720
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1721
|
+
required:
|
|
1722
|
+
- ref
|
|
1723
|
+
isVoid:
|
|
1724
|
+
type: boolean
|
|
1725
|
+
enum:
|
|
1726
|
+
- true
|
|
1727
|
+
required:
|
|
1728
|
+
- object
|
|
1729
|
+
- type
|
|
1730
|
+
- data
|
|
1731
|
+
- isVoid
|
|
1732
|
+
DocumentBlockDrawing:
|
|
1733
|
+
type: object
|
|
1734
|
+
properties:
|
|
1735
|
+
object:
|
|
1736
|
+
type: string
|
|
1737
|
+
enum:
|
|
1738
|
+
- block
|
|
1739
|
+
type:
|
|
1740
|
+
type: string
|
|
1741
|
+
enum:
|
|
1742
|
+
- drawing
|
|
1743
|
+
key:
|
|
1744
|
+
type: string
|
|
1745
|
+
data:
|
|
1746
|
+
type: object
|
|
1747
|
+
properties:
|
|
1748
|
+
ref:
|
|
1749
|
+
oneOf:
|
|
1750
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1751
|
+
isVoid:
|
|
1752
|
+
type: boolean
|
|
1753
|
+
enum:
|
|
1754
|
+
- true
|
|
1755
|
+
required:
|
|
1756
|
+
- object
|
|
1757
|
+
- type
|
|
1758
|
+
- data
|
|
1759
|
+
- isVoid
|
|
1760
|
+
DocumentBlockEmbed:
|
|
1761
|
+
type: object
|
|
1762
|
+
properties:
|
|
1763
|
+
object:
|
|
1764
|
+
type: string
|
|
1765
|
+
enum:
|
|
1766
|
+
- block
|
|
1767
|
+
type:
|
|
1768
|
+
type: string
|
|
1769
|
+
enum:
|
|
1770
|
+
- embed
|
|
1771
|
+
key:
|
|
1772
|
+
type: string
|
|
1773
|
+
data:
|
|
1774
|
+
type: object
|
|
1775
|
+
properties:
|
|
1776
|
+
url:
|
|
1777
|
+
type: string
|
|
1778
|
+
fullWidth:
|
|
1779
|
+
type: boolean
|
|
1780
|
+
required:
|
|
1781
|
+
- url
|
|
1782
|
+
isVoid:
|
|
1783
|
+
type: boolean
|
|
1784
|
+
enum:
|
|
1785
|
+
- true
|
|
1786
|
+
required:
|
|
1787
|
+
- object
|
|
1788
|
+
- type
|
|
1789
|
+
- data
|
|
1790
|
+
- isVoid
|
|
1791
|
+
DocumentBlockCode:
|
|
1792
|
+
type: object
|
|
1793
|
+
properties:
|
|
1794
|
+
object:
|
|
1795
|
+
type: string
|
|
1796
|
+
enum:
|
|
1797
|
+
- block
|
|
1798
|
+
type:
|
|
1799
|
+
type: string
|
|
1800
|
+
enum:
|
|
1801
|
+
- code
|
|
1802
|
+
key:
|
|
1803
|
+
type: string
|
|
1804
|
+
data:
|
|
1805
|
+
type: object
|
|
1806
|
+
properties:
|
|
1807
|
+
syntax:
|
|
1808
|
+
type: string
|
|
1809
|
+
title:
|
|
1810
|
+
type: string
|
|
1811
|
+
overflow:
|
|
1812
|
+
type: string
|
|
1813
|
+
default: scroll
|
|
1814
|
+
enum:
|
|
1815
|
+
- scroll
|
|
1816
|
+
- wrap
|
|
1817
|
+
lineNumbers:
|
|
1818
|
+
type: boolean
|
|
1819
|
+
fullWidth:
|
|
1820
|
+
type: boolean
|
|
1821
|
+
nodes:
|
|
1822
|
+
type: array
|
|
1823
|
+
items:
|
|
1824
|
+
$ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
1825
|
+
required:
|
|
1826
|
+
- object
|
|
1827
|
+
- type
|
|
1828
|
+
- data
|
|
1829
|
+
- nodes
|
|
1830
|
+
DocumentBlockCodeLine:
|
|
1831
|
+
type: object
|
|
1832
|
+
properties:
|
|
1833
|
+
object:
|
|
1834
|
+
type: string
|
|
1835
|
+
enum:
|
|
1836
|
+
- block
|
|
1837
|
+
type:
|
|
1838
|
+
type: string
|
|
1839
|
+
enum:
|
|
1840
|
+
- code-line
|
|
1841
|
+
key:
|
|
1842
|
+
type: string
|
|
1843
|
+
nodes:
|
|
1844
|
+
type: array
|
|
1845
|
+
items:
|
|
1846
|
+
oneOf:
|
|
1847
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1848
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1849
|
+
data:
|
|
1850
|
+
type: object
|
|
1851
|
+
properties:
|
|
1852
|
+
highlighted:
|
|
1853
|
+
type: boolean
|
|
1854
|
+
required:
|
|
1855
|
+
- object
|
|
1856
|
+
- type
|
|
1857
|
+
- nodes
|
|
1858
|
+
- data
|
|
1859
|
+
DocumentBlockMath:
|
|
1860
|
+
type: object
|
|
1861
|
+
properties:
|
|
1862
|
+
object:
|
|
1863
|
+
type: string
|
|
1864
|
+
enum:
|
|
1865
|
+
- block
|
|
1866
|
+
type:
|
|
1867
|
+
type: string
|
|
1868
|
+
enum:
|
|
1869
|
+
- math
|
|
1870
|
+
key:
|
|
1871
|
+
type: string
|
|
1872
|
+
data:
|
|
1873
|
+
type: object
|
|
1874
|
+
properties:
|
|
1875
|
+
formula:
|
|
1876
|
+
type: string
|
|
1877
|
+
required:
|
|
1878
|
+
- formula
|
|
1879
|
+
isVoid:
|
|
1880
|
+
type: boolean
|
|
1881
|
+
enum:
|
|
1882
|
+
- true
|
|
1883
|
+
required:
|
|
1884
|
+
- object
|
|
1885
|
+
- type
|
|
1886
|
+
- data
|
|
1887
|
+
- isVoid
|
|
1888
|
+
DocumentBlockExpandable:
|
|
1889
|
+
type: object
|
|
1890
|
+
properties:
|
|
1891
|
+
object:
|
|
1892
|
+
type: string
|
|
1893
|
+
enum:
|
|
1894
|
+
- block
|
|
1895
|
+
type:
|
|
1896
|
+
type: string
|
|
1897
|
+
enum:
|
|
1898
|
+
- expandable
|
|
1899
|
+
key:
|
|
1900
|
+
type: string
|
|
1901
|
+
isVoid:
|
|
1902
|
+
type: boolean
|
|
1903
|
+
enum:
|
|
1904
|
+
- true
|
|
1905
|
+
fragments:
|
|
1906
|
+
type: array
|
|
1907
|
+
items:
|
|
1908
|
+
oneOf:
|
|
1909
|
+
- allOf:
|
|
1910
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1911
|
+
- type: object
|
|
1912
|
+
properties:
|
|
1913
|
+
fragment:
|
|
1914
|
+
type: string
|
|
1915
|
+
enum:
|
|
1916
|
+
- expandable-title
|
|
1917
|
+
type:
|
|
1918
|
+
type: string
|
|
1919
|
+
enum:
|
|
1920
|
+
- expandable-title
|
|
1921
|
+
nodes:
|
|
1922
|
+
type: array
|
|
1923
|
+
items:
|
|
1924
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
1925
|
+
minItems: 1
|
|
1926
|
+
maxItems: 1
|
|
1927
|
+
required:
|
|
1928
|
+
- nodes
|
|
1929
|
+
- fragment
|
|
1930
|
+
- type
|
|
1931
|
+
- allOf:
|
|
1932
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1933
|
+
- type: object
|
|
1934
|
+
properties:
|
|
1935
|
+
fragment:
|
|
1936
|
+
type: string
|
|
1937
|
+
enum:
|
|
1938
|
+
- expandable-body
|
|
1939
|
+
type:
|
|
1940
|
+
type: string
|
|
1941
|
+
enum:
|
|
1942
|
+
- expandable-body
|
|
1943
|
+
nodes:
|
|
1944
|
+
type: array
|
|
1945
|
+
items:
|
|
1946
|
+
oneOf:
|
|
1947
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1948
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
1949
|
+
minItems: 1
|
|
1950
|
+
required:
|
|
1951
|
+
- nodes
|
|
1952
|
+
- fragment
|
|
1953
|
+
- type
|
|
1954
|
+
meta:
|
|
1955
|
+
type: object
|
|
1956
|
+
properties:
|
|
1957
|
+
id:
|
|
1958
|
+
description: Unique ID to be used in an URL for the block.
|
|
1959
|
+
type: string
|
|
1960
|
+
required:
|
|
1961
|
+
- id
|
|
1962
|
+
required:
|
|
1963
|
+
- object
|
|
1964
|
+
- type
|
|
1965
|
+
- isVoid
|
|
1966
|
+
- fragments
|
|
1967
|
+
DocumentBlockTabs:
|
|
1968
|
+
type: object
|
|
1969
|
+
properties:
|
|
1970
|
+
object:
|
|
1971
|
+
type: string
|
|
1972
|
+
enum:
|
|
1973
|
+
- block
|
|
1974
|
+
type:
|
|
1975
|
+
type: string
|
|
1976
|
+
enum:
|
|
1977
|
+
- tabs
|
|
1978
|
+
key:
|
|
1979
|
+
type: string
|
|
1980
|
+
nodes:
|
|
1981
|
+
type: array
|
|
1982
|
+
items:
|
|
1983
|
+
$ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
1984
|
+
required:
|
|
1985
|
+
- object
|
|
1986
|
+
- type
|
|
1987
|
+
- nodes
|
|
1988
|
+
DocumentBlockSwagger:
|
|
1989
|
+
type: object
|
|
1990
|
+
properties:
|
|
1991
|
+
object:
|
|
1992
|
+
type: string
|
|
1993
|
+
enum:
|
|
1994
|
+
- block
|
|
1995
|
+
type:
|
|
1996
|
+
type: string
|
|
1997
|
+
enum:
|
|
1998
|
+
- swagger
|
|
1999
|
+
key:
|
|
2000
|
+
type: string
|
|
2001
|
+
data:
|
|
2002
|
+
type: object
|
|
2003
|
+
properties:
|
|
2004
|
+
ref:
|
|
2005
|
+
oneOf:
|
|
2006
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
2007
|
+
path:
|
|
2008
|
+
type: string
|
|
2009
|
+
description: Path of the operation in the OpenAPI spec.
|
|
2010
|
+
method:
|
|
2011
|
+
type: string
|
|
2012
|
+
description: HTTP method of the operation in the OpenAPI spec.
|
|
2013
|
+
expanded:
|
|
2014
|
+
type: boolean
|
|
2015
|
+
description: If true, the block is opened by default.
|
|
2016
|
+
fullWidth:
|
|
2017
|
+
type: boolean
|
|
2018
|
+
required:
|
|
2019
|
+
- ref
|
|
2020
|
+
isVoid:
|
|
2021
|
+
type: boolean
|
|
2022
|
+
enum:
|
|
2023
|
+
- true
|
|
2024
|
+
meta:
|
|
2025
|
+
type: object
|
|
2026
|
+
properties:
|
|
2027
|
+
id:
|
|
2028
|
+
description: Unique ID to be used in an URL for the block.
|
|
2029
|
+
type: string
|
|
2030
|
+
required:
|
|
2031
|
+
- id
|
|
2032
|
+
required:
|
|
2033
|
+
- object
|
|
2034
|
+
- type
|
|
2035
|
+
- data
|
|
2036
|
+
- isVoid
|
|
2037
|
+
DocumentBlockTable:
|
|
2038
|
+
type: object
|
|
2039
|
+
properties:
|
|
2040
|
+
object:
|
|
2041
|
+
type: string
|
|
2042
|
+
enum:
|
|
2043
|
+
- block
|
|
2044
|
+
type:
|
|
2045
|
+
type: string
|
|
2046
|
+
enum:
|
|
2047
|
+
- table
|
|
2048
|
+
key:
|
|
2049
|
+
type: string
|
|
2050
|
+
isVoid:
|
|
2051
|
+
type: boolean
|
|
2052
|
+
enum:
|
|
2053
|
+
- true
|
|
2054
|
+
data:
|
|
2055
|
+
type: object
|
|
2056
|
+
properties:
|
|
2057
|
+
view:
|
|
2058
|
+
oneOf:
|
|
2059
|
+
- $ref: "#/components/schemas/DocumentTableViewGrid"
|
|
2060
|
+
- $ref: "#/components/schemas/DocumentTableViewCards"
|
|
2061
|
+
records:
|
|
2062
|
+
type: object
|
|
2063
|
+
additionalProperties:
|
|
2064
|
+
$ref: "#/components/schemas/DocumentTableRecord"
|
|
2065
|
+
definition:
|
|
2066
|
+
type: object
|
|
2067
|
+
additionalProperties:
|
|
2068
|
+
$ref: "#/components/schemas/DocumentTableDefinition"
|
|
2069
|
+
fullWidth:
|
|
2070
|
+
type: boolean
|
|
2071
|
+
description: Whether to render the block as a full width one
|
|
2072
|
+
required:
|
|
2073
|
+
- view
|
|
2074
|
+
- records
|
|
2075
|
+
- definition
|
|
2076
|
+
fragments:
|
|
2077
|
+
type: array
|
|
2078
|
+
items:
|
|
2079
|
+
$ref: "#/components/schemas/DocumentNodeFragment"
|
|
2080
|
+
required:
|
|
2081
|
+
- object
|
|
2082
|
+
- type
|
|
2083
|
+
- data
|
|
2084
|
+
- isVoid
|
|
2085
|
+
- fragments
|
|
2086
|
+
DocumentTableRecord:
|
|
2087
|
+
type: object
|
|
2088
|
+
properties:
|
|
2089
|
+
orderIndex:
|
|
2090
|
+
type: string
|
|
2091
|
+
values:
|
|
2092
|
+
type: object
|
|
2093
|
+
additionalProperties:
|
|
2094
|
+
oneOf:
|
|
2095
|
+
- type: number
|
|
2096
|
+
- type: string
|
|
2097
|
+
- type: boolean
|
|
2098
|
+
- type: array
|
|
2099
|
+
items:
|
|
2100
|
+
type: string
|
|
2101
|
+
- $ref: "#/components/schemas/ContentRef"
|
|
2102
|
+
required:
|
|
2103
|
+
- orderIndex
|
|
2104
|
+
- values
|
|
2105
|
+
DocumentTableDefinitionBase:
|
|
2106
|
+
type: object
|
|
2107
|
+
properties:
|
|
2108
|
+
id:
|
|
2109
|
+
type: string
|
|
2110
|
+
title:
|
|
2111
|
+
type: string
|
|
2112
|
+
description: Title for the column
|
|
2113
|
+
required:
|
|
2114
|
+
- id
|
|
2115
|
+
- title
|
|
2116
|
+
DocumentTableDefinition:
|
|
2117
|
+
oneOf:
|
|
2118
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionText"
|
|
2119
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionNumber"
|
|
2120
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionCheckbox"
|
|
2121
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionFiles"
|
|
2122
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionUsers"
|
|
2123
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionRating"
|
|
2124
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionSelect"
|
|
2125
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
2126
|
+
DocumentTableDefinitionText:
|
|
2127
|
+
allOf:
|
|
2128
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2129
|
+
- type: object
|
|
2130
|
+
properties:
|
|
2131
|
+
type:
|
|
2132
|
+
type: string
|
|
2133
|
+
enum:
|
|
2134
|
+
- text
|
|
2135
|
+
textAlignment:
|
|
2136
|
+
type: string
|
|
2137
|
+
enum:
|
|
2138
|
+
- center
|
|
2139
|
+
- right
|
|
2140
|
+
- left
|
|
2141
|
+
required:
|
|
2142
|
+
- type
|
|
2143
|
+
- textAlignment
|
|
2144
|
+
DocumentTableDefinitionNumber:
|
|
2145
|
+
allOf:
|
|
2146
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2147
|
+
- type: object
|
|
2148
|
+
properties:
|
|
2149
|
+
type:
|
|
2150
|
+
type: string
|
|
2151
|
+
enum:
|
|
2152
|
+
- number
|
|
2153
|
+
required:
|
|
2154
|
+
- type
|
|
2155
|
+
DocumentTableDefinitionCheckbox:
|
|
2156
|
+
allOf:
|
|
2157
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2158
|
+
- type: object
|
|
2159
|
+
properties:
|
|
2160
|
+
type:
|
|
2161
|
+
type: string
|
|
2162
|
+
enum:
|
|
2163
|
+
- checkbox
|
|
2164
|
+
required:
|
|
2165
|
+
- type
|
|
2166
|
+
DocumentTableDefinitionFiles:
|
|
2167
|
+
allOf:
|
|
2168
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2169
|
+
- type: object
|
|
2170
|
+
properties:
|
|
2171
|
+
type:
|
|
2172
|
+
type: string
|
|
2173
|
+
enum:
|
|
2174
|
+
- files
|
|
2175
|
+
required:
|
|
2176
|
+
- type
|
|
2177
|
+
DocumentTableDefinitionUsers:
|
|
2178
|
+
allOf:
|
|
2179
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2180
|
+
- type: object
|
|
2181
|
+
properties:
|
|
2182
|
+
type:
|
|
2183
|
+
type: string
|
|
2184
|
+
enum:
|
|
2185
|
+
- users
|
|
2186
|
+
multiple:
|
|
2187
|
+
type: boolean
|
|
2188
|
+
required:
|
|
2189
|
+
- type
|
|
2190
|
+
- multiple
|
|
2191
|
+
DocumentTableDefinitionRating:
|
|
2192
|
+
allOf:
|
|
2193
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2194
|
+
- type: object
|
|
2195
|
+
properties:
|
|
2196
|
+
type:
|
|
2197
|
+
type: string
|
|
2198
|
+
enum:
|
|
2199
|
+
- rating
|
|
2200
|
+
max:
|
|
2201
|
+
type: number
|
|
2202
|
+
required:
|
|
2203
|
+
- type
|
|
2204
|
+
- max
|
|
2205
|
+
DocumentTableDefinitionSelect:
|
|
2206
|
+
allOf:
|
|
2207
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2208
|
+
- type: object
|
|
2209
|
+
properties:
|
|
2210
|
+
type:
|
|
2211
|
+
type: string
|
|
2212
|
+
enum:
|
|
2213
|
+
- select
|
|
2214
|
+
multiple:
|
|
2215
|
+
type: boolean
|
|
2216
|
+
options:
|
|
2217
|
+
type: array
|
|
2218
|
+
items:
|
|
2219
|
+
$ref: "#/components/schemas/DocumentTableSelectOption"
|
|
2220
|
+
required:
|
|
2221
|
+
- type
|
|
2222
|
+
- multiple
|
|
2223
|
+
- options
|
|
2224
|
+
DocumentTableDefinitionContentRef:
|
|
2225
|
+
allOf:
|
|
2226
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2227
|
+
- type: object
|
|
2228
|
+
properties:
|
|
2229
|
+
type:
|
|
2230
|
+
type: string
|
|
2231
|
+
enum:
|
|
2232
|
+
- content-ref
|
|
2233
|
+
required:
|
|
2234
|
+
- type
|
|
2235
|
+
DocumentTableSelectOption:
|
|
2236
|
+
type: object
|
|
2237
|
+
properties:
|
|
2238
|
+
value:
|
|
2239
|
+
type: string
|
|
2240
|
+
label:
|
|
2241
|
+
type: string
|
|
2242
|
+
color:
|
|
2243
|
+
type: string
|
|
2244
|
+
required:
|
|
2245
|
+
- value
|
|
2246
|
+
- label
|
|
2247
|
+
- color
|
|
2248
|
+
DocumentTableViewCards:
|
|
2249
|
+
type: object
|
|
2250
|
+
properties:
|
|
2251
|
+
type:
|
|
2252
|
+
type: string
|
|
2253
|
+
enum:
|
|
2254
|
+
- cards
|
|
2255
|
+
cardSize:
|
|
2256
|
+
type: string
|
|
2257
|
+
description: Size of the cards. It indicates how many columns will be used
|
|
2258
|
+
enum:
|
|
2259
|
+
- medium
|
|
2260
|
+
- large
|
|
2261
|
+
columns:
|
|
2262
|
+
type: array
|
|
2263
|
+
description: Ordered list of the definition IDs to display
|
|
2264
|
+
items:
|
|
2265
|
+
type: string
|
|
2266
|
+
targetDefinition:
|
|
2267
|
+
type: string
|
|
2268
|
+
description: Definition ID to use as a target link for the card
|
|
2269
|
+
coverDefinition:
|
|
2270
|
+
type: string
|
|
2271
|
+
description: Definition ID to use as a cover image
|
|
2272
|
+
hideColumnTitle:
|
|
2273
|
+
type: boolean
|
|
2274
|
+
description: Should we display the column title or not
|
|
2275
|
+
required:
|
|
2276
|
+
- type
|
|
2277
|
+
- columns
|
|
2278
|
+
- cardSize
|
|
2279
|
+
DocumentTableViewGrid:
|
|
2280
|
+
type: object
|
|
2281
|
+
properties:
|
|
2282
|
+
type:
|
|
2283
|
+
type: string
|
|
2284
|
+
enum:
|
|
2285
|
+
- grid
|
|
2286
|
+
columns:
|
|
2287
|
+
type: array
|
|
2288
|
+
description: Ordered list of the definition IDs to display
|
|
2289
|
+
items:
|
|
2290
|
+
type: string
|
|
2291
|
+
columnWidths:
|
|
2292
|
+
type: object
|
|
2293
|
+
description: Percent width of each column
|
|
2294
|
+
additionalProperties:
|
|
2295
|
+
type: number
|
|
2296
|
+
hideHeader:
|
|
2297
|
+
type: boolean
|
|
2298
|
+
description: Should we display the header with column titles
|
|
2299
|
+
useNewSizing:
|
|
2300
|
+
type: boolean
|
|
2301
|
+
description: |
|
|
2302
|
+
Tables in GitBook originally used a scaled width approach i.e. the width defined
|
|
2303
|
+
in columnWidths would be scaled to ensure a 100% width table.
|
|
2304
|
+
|
|
2305
|
+
We later changed this to treat the widths in columnWidths as exact values - they are
|
|
2306
|
+
never scaled. A columnWidth of 50 is rendered as 50px.
|
|
2307
|
+
|
|
2308
|
+
In order to maintain backwards compatibility, we track whether or not we
|
|
2309
|
+
use the new system here.
|
|
2310
|
+
|
|
2311
|
+
All new tables should have this value set to true, older tables will have it set
|
|
2312
|
+
to undefined.
|
|
2313
|
+
required:
|
|
2314
|
+
- type
|
|
2315
|
+
- columns
|
|
2316
|
+
- hideHeader
|
|
2317
|
+
DocumentBlockTabsItem:
|
|
2318
|
+
type: object
|
|
2319
|
+
properties:
|
|
2320
|
+
object:
|
|
2321
|
+
type: string
|
|
2322
|
+
enum:
|
|
2323
|
+
- block
|
|
2324
|
+
type:
|
|
2325
|
+
type: string
|
|
2326
|
+
enum:
|
|
2327
|
+
- tabs-item
|
|
2328
|
+
key:
|
|
2329
|
+
type: string
|
|
2330
|
+
nodes:
|
|
2331
|
+
type: array
|
|
2332
|
+
items:
|
|
2333
|
+
oneOf:
|
|
2334
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
2335
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
2336
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
2337
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
2338
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
2339
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
2340
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
2341
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
2342
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
2343
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
2344
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
2345
|
+
data:
|
|
2346
|
+
type: object
|
|
2347
|
+
properties:
|
|
2348
|
+
title:
|
|
2349
|
+
type: string
|
|
2350
|
+
meta:
|
|
2351
|
+
type: object
|
|
2352
|
+
properties:
|
|
2353
|
+
id:
|
|
2354
|
+
description: Unique ID to be used in an URL for the block.
|
|
2355
|
+
type: string
|
|
2356
|
+
required:
|
|
2357
|
+
- id
|
|
2358
|
+
required:
|
|
2359
|
+
- object
|
|
2360
|
+
- type
|
|
2361
|
+
- nodes
|
|
2362
|
+
- data
|
|
2363
|
+
DocumentBlockContentRef:
|
|
2364
|
+
type: object
|
|
2365
|
+
properties:
|
|
2366
|
+
object:
|
|
2367
|
+
type: string
|
|
2368
|
+
enum:
|
|
2369
|
+
- block
|
|
2370
|
+
type:
|
|
2371
|
+
type: string
|
|
2372
|
+
enum:
|
|
2373
|
+
- content-ref
|
|
2374
|
+
key:
|
|
2375
|
+
type: string
|
|
2376
|
+
data:
|
|
2377
|
+
type: object
|
|
2378
|
+
properties:
|
|
2379
|
+
ref:
|
|
2380
|
+
$ref: "#/components/schemas/ContentRef"
|
|
2381
|
+
required:
|
|
2382
|
+
- ref
|
|
2383
|
+
isVoid:
|
|
2384
|
+
type: boolean
|
|
2385
|
+
enum:
|
|
2386
|
+
- true
|
|
2387
|
+
required:
|
|
2388
|
+
- object
|
|
2389
|
+
- type
|
|
2390
|
+
- data
|
|
2391
|
+
- isVoid
|
|
2392
|
+
DocumentBlockIntegration:
|
|
2393
|
+
type: object
|
|
2394
|
+
properties:
|
|
2395
|
+
object:
|
|
2396
|
+
type: string
|
|
2397
|
+
enum:
|
|
2398
|
+
- block
|
|
2399
|
+
type:
|
|
2400
|
+
type: string
|
|
2401
|
+
enum:
|
|
2402
|
+
- integration
|
|
2403
|
+
key:
|
|
2404
|
+
type: string
|
|
2405
|
+
data:
|
|
2406
|
+
type: object
|
|
2407
|
+
properties:
|
|
2408
|
+
integration:
|
|
2409
|
+
type: string
|
|
2410
|
+
description: Name of the integration
|
|
2411
|
+
block:
|
|
2412
|
+
type: string
|
|
2413
|
+
description: ID of the block in the integration
|
|
2414
|
+
props:
|
|
2415
|
+
type: object
|
|
2416
|
+
description: Properties passed to the block during rendering
|
|
2417
|
+
additionalProperties:
|
|
2418
|
+
description: Any value
|
|
2419
|
+
action:
|
|
2420
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
2421
|
+
url:
|
|
2422
|
+
type: string
|
|
2423
|
+
description: |
|
|
2424
|
+
URL associated with the content represented by the block.
|
|
2425
|
+
This property is set when creating a block from a URL (unfurl) to ensure
|
|
2426
|
+
we can convert the block back to an embed.
|
|
2427
|
+
fullWidth:
|
|
2428
|
+
type: boolean
|
|
2429
|
+
required:
|
|
2430
|
+
- integration
|
|
2431
|
+
- block
|
|
2432
|
+
- props
|
|
2433
|
+
isVoid:
|
|
2434
|
+
type: boolean
|
|
2435
|
+
enum:
|
|
2436
|
+
- true
|
|
2437
|
+
required:
|
|
2438
|
+
- object
|
|
2439
|
+
- type
|
|
2440
|
+
- data
|
|
2441
|
+
- isVoid
|
|
2442
|
+
DocumentBlockDivider:
|
|
2443
|
+
type: object
|
|
2444
|
+
properties:
|
|
2445
|
+
object:
|
|
2446
|
+
type: string
|
|
2447
|
+
enum:
|
|
2448
|
+
- block
|
|
2449
|
+
type:
|
|
2450
|
+
type: string
|
|
2451
|
+
enum:
|
|
2452
|
+
- divider
|
|
2453
|
+
key:
|
|
2454
|
+
type: string
|
|
2455
|
+
isVoid:
|
|
2456
|
+
type: boolean
|
|
2457
|
+
enum:
|
|
2458
|
+
- true
|
|
2459
|
+
required:
|
|
2460
|
+
- object
|
|
2461
|
+
- type
|
|
2462
|
+
- isVoid
|
|
2463
|
+
ContentRef:
|
|
2464
|
+
oneOf:
|
|
2465
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
2466
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
2467
|
+
- $ref: "#/components/schemas/ContentRefPage"
|
|
2468
|
+
- $ref: "#/components/schemas/ContentRefAnchor"
|
|
2469
|
+
- $ref: "#/components/schemas/ContentRefUser"
|
|
2470
|
+
- $ref: "#/components/schemas/ContentRefCollection"
|
|
2471
|
+
- $ref: "#/components/schemas/ContentRefSpace"
|
|
2472
|
+
ContentRefURL:
|
|
2473
|
+
type: object
|
|
2474
|
+
properties:
|
|
2475
|
+
kind:
|
|
2476
|
+
type: string
|
|
2477
|
+
enum:
|
|
2478
|
+
- url
|
|
2479
|
+
url:
|
|
2480
|
+
type: string
|
|
2481
|
+
required:
|
|
2482
|
+
- kind
|
|
2483
|
+
- url
|
|
2484
|
+
ContentRefFile:
|
|
2485
|
+
type: object
|
|
2486
|
+
properties:
|
|
2487
|
+
kind:
|
|
2488
|
+
type: string
|
|
2489
|
+
enum:
|
|
2490
|
+
- file
|
|
2491
|
+
file:
|
|
2492
|
+
type: string
|
|
2493
|
+
required:
|
|
2494
|
+
- kind
|
|
2495
|
+
- file
|
|
2496
|
+
ContentRefPage:
|
|
2497
|
+
type: object
|
|
2498
|
+
properties:
|
|
2499
|
+
kind:
|
|
2500
|
+
type: string
|
|
2501
|
+
enum:
|
|
2502
|
+
- page
|
|
2503
|
+
page:
|
|
2504
|
+
type: string
|
|
2505
|
+
space:
|
|
2506
|
+
type: string
|
|
2507
|
+
required:
|
|
2508
|
+
- kind
|
|
2509
|
+
- page
|
|
2510
|
+
- space
|
|
2511
|
+
ContentRefAnchor:
|
|
2512
|
+
type: object
|
|
2513
|
+
properties:
|
|
2514
|
+
kind:
|
|
2515
|
+
type: string
|
|
2516
|
+
enum:
|
|
2517
|
+
- anchor
|
|
2518
|
+
anchor:
|
|
2519
|
+
type: string
|
|
2520
|
+
space:
|
|
2521
|
+
type: string
|
|
2522
|
+
page:
|
|
2523
|
+
type: string
|
|
2524
|
+
required:
|
|
2525
|
+
- kind
|
|
2526
|
+
- anchor
|
|
2527
|
+
ContentRefUser:
|
|
2528
|
+
type: object
|
|
2529
|
+
properties:
|
|
2530
|
+
kind:
|
|
2531
|
+
type: string
|
|
2532
|
+
enum:
|
|
2533
|
+
- user
|
|
2534
|
+
user:
|
|
2535
|
+
type: string
|
|
2536
|
+
required:
|
|
2537
|
+
- kind
|
|
2538
|
+
- user
|
|
2539
|
+
ContentRefCollection:
|
|
2540
|
+
type: object
|
|
2541
|
+
properties:
|
|
2542
|
+
kind:
|
|
2543
|
+
type: string
|
|
2544
|
+
enum:
|
|
2545
|
+
- collection
|
|
2546
|
+
collection:
|
|
2547
|
+
type: string
|
|
2548
|
+
required:
|
|
2549
|
+
- kind
|
|
2550
|
+
- collection
|
|
2551
|
+
ContentRefSpace:
|
|
2552
|
+
type: object
|
|
2553
|
+
properties:
|
|
2554
|
+
kind:
|
|
2555
|
+
type: string
|
|
2556
|
+
enum:
|
|
2557
|
+
- space
|
|
2558
|
+
space:
|
|
2559
|
+
type: string
|
|
2560
|
+
required:
|
|
2561
|
+
- kind
|
|
2562
|
+
- space
|
|
2563
|
+
Space:
|
|
2564
|
+
type: object
|
|
2565
|
+
properties:
|
|
2566
|
+
object:
|
|
2567
|
+
type: string
|
|
2568
|
+
description: Type of Object, always equals to "space"
|
|
2569
|
+
enum:
|
|
2570
|
+
- space
|
|
2571
|
+
id:
|
|
2572
|
+
type: string
|
|
2573
|
+
description: Unique identifier for the space
|
|
2574
|
+
title:
|
|
2575
|
+
type: string
|
|
2576
|
+
description: Title of the space
|
|
2577
|
+
minLength: 0
|
|
2578
|
+
maxLength: 100
|
|
2579
|
+
visibility:
|
|
2580
|
+
$ref: "#/components/schemas/ContentVisibility"
|
|
2581
|
+
createdAt:
|
|
2582
|
+
$ref: "#/components/schemas/Date"
|
|
2583
|
+
updatedAt:
|
|
2584
|
+
$ref: "#/components/schemas/Date"
|
|
2585
|
+
deletedAt:
|
|
1105
2586
|
$ref: "#/components/schemas/Date"
|
|
1106
2587
|
urls:
|
|
1107
2588
|
type: object
|
|
@@ -1109,29 +2590,39 @@ components:
|
|
|
1109
2590
|
properties:
|
|
1110
2591
|
location:
|
|
1111
2592
|
type: string
|
|
1112
|
-
description: URL of the space
|
|
2593
|
+
description: URL of the space in the API
|
|
2594
|
+
format: uri
|
|
2595
|
+
app:
|
|
2596
|
+
type: string
|
|
2597
|
+
description: URL of the space in the application
|
|
2598
|
+
format: uri
|
|
2599
|
+
published:
|
|
2600
|
+
type: string
|
|
2601
|
+
description: URL of the published version of the space. Only defined when visibility is not "private."
|
|
2602
|
+
format: uri
|
|
2603
|
+
public:
|
|
2604
|
+
type: string
|
|
2605
|
+
description: URL of the public version of the space. Only defined when visibility is "public".
|
|
1113
2606
|
format: uri
|
|
1114
2607
|
required:
|
|
2608
|
+
- app
|
|
1115
2609
|
- location
|
|
2610
|
+
organization:
|
|
2611
|
+
type: string
|
|
2612
|
+
description: ID of the organization owning this space
|
|
2613
|
+
parent:
|
|
2614
|
+
type: string
|
|
2615
|
+
description: ID of the parent collection.
|
|
1116
2616
|
required:
|
|
2617
|
+
- object
|
|
1117
2618
|
- id
|
|
1118
2619
|
- type
|
|
2620
|
+
- title
|
|
2621
|
+
- organization
|
|
2622
|
+
- visibility
|
|
1119
2623
|
- createdAt
|
|
2624
|
+
- updatedAt
|
|
1120
2625
|
- urls
|
|
1121
|
-
- target
|
|
1122
|
-
SpaceRelationPair:
|
|
1123
|
-
allOf:
|
|
1124
|
-
- $ref: "#/components/schemas/SpaceRelation"
|
|
1125
|
-
- type: object
|
|
1126
|
-
description: Relation between an origin space and another space
|
|
1127
|
-
properties:
|
|
1128
|
-
target:
|
|
1129
|
-
$ref: "#/components/schemas/SpaceRelationEdge"
|
|
1130
|
-
source:
|
|
1131
|
-
$ref: "#/components/schemas/SpaceRelationEdge"
|
|
1132
|
-
required:
|
|
1133
|
-
- target
|
|
1134
|
-
- source
|
|
1135
2626
|
RevisionBase:
|
|
1136
2627
|
type: object
|
|
1137
2628
|
properties:
|
|
@@ -1683,11 +3174,22 @@ components:
|
|
|
1683
3174
|
type: string
|
|
1684
3175
|
description: |
|
|
1685
3176
|
"The role of a team member.
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
3177
|
+
"owner": Can manage team members.
|
|
3178
|
+
"member": Is a member of the team.
|
|
1688
3179
|
enum:
|
|
1689
|
-
-
|
|
1690
|
-
-
|
|
3180
|
+
- owner
|
|
3181
|
+
- member
|
|
3182
|
+
OrganizationTeamMember:
|
|
3183
|
+
type: object
|
|
3184
|
+
description: A member of a team in an organization, including its relationship to it
|
|
3185
|
+
properties:
|
|
3186
|
+
organization:
|
|
3187
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
3188
|
+
team:
|
|
3189
|
+
$ref: "#/components/schemas/TeamMember"
|
|
3190
|
+
required:
|
|
3191
|
+
- organization
|
|
3192
|
+
- team
|
|
1691
3193
|
Capture:
|
|
1692
3194
|
type: object
|
|
1693
3195
|
properties:
|
|
@@ -1711,6 +3213,9 @@ components:
|
|
|
1711
3213
|
stoppedAt:
|
|
1712
3214
|
type: string
|
|
1713
3215
|
format: date-time
|
|
3216
|
+
editedAt:
|
|
3217
|
+
type: string
|
|
3218
|
+
format: date-time
|
|
1714
3219
|
events:
|
|
1715
3220
|
description: Count of events recorded.
|
|
1716
3221
|
properties:
|
|
@@ -1909,6 +3414,15 @@ components:
|
|
|
1909
3414
|
- type
|
|
1910
3415
|
- filename
|
|
1911
3416
|
- fileSnapshot
|
|
3417
|
+
UpdateCaptureSchema:
|
|
3418
|
+
type: object
|
|
3419
|
+
properties:
|
|
3420
|
+
title:
|
|
3421
|
+
type: string
|
|
3422
|
+
description: A new title for the capture.
|
|
3423
|
+
body:
|
|
3424
|
+
description: Content of the capture.
|
|
3425
|
+
$ref: "#/components/schemas/Document"
|
|
1912
3426
|
ChangeRequest:
|
|
1913
3427
|
type: object
|
|
1914
3428
|
properties:
|
|
@@ -2321,7 +3835,7 @@ components:
|
|
|
2321
3835
|
type: string
|
|
2322
3836
|
enum:
|
|
2323
3837
|
- capture
|
|
2324
|
-
|
|
3838
|
+
captureId:
|
|
2325
3839
|
type: string
|
|
2326
3840
|
description: ID of the capture
|
|
2327
3841
|
source:
|
|
@@ -2329,7 +3843,7 @@ components:
|
|
|
2329
3843
|
description: Source of the capture
|
|
2330
3844
|
required:
|
|
2331
3845
|
- type
|
|
2332
|
-
-
|
|
3846
|
+
- captureId
|
|
2333
3847
|
- source
|
|
2334
3848
|
SearchAIRecommendedQuestions:
|
|
2335
3849
|
type: object
|
|
@@ -2526,6 +4040,11 @@ components:
|
|
|
2526
4040
|
maxItems: 3
|
|
2527
4041
|
items:
|
|
2528
4042
|
type: string
|
|
4043
|
+
target:
|
|
4044
|
+
$ref: "#/components/schemas/IntegrationTarget"
|
|
4045
|
+
verified:
|
|
4046
|
+
type: boolean
|
|
4047
|
+
description: If true, the integration has been verified by the GitBook team
|
|
2529
4048
|
visibility:
|
|
2530
4049
|
$ref: "#/components/schemas/IntegrationVisibility"
|
|
2531
4050
|
scopes:
|
|
@@ -2538,10 +4057,16 @@ components:
|
|
|
2538
4057
|
$ref: "#/components/schemas/IntegrationConfigurations"
|
|
2539
4058
|
externalLinks:
|
|
2540
4059
|
$ref: "#/components/schemas/IntegrationExternalLinks"
|
|
4060
|
+
owner:
|
|
4061
|
+
$ref: "#/components/schemas/Organization"
|
|
2541
4062
|
urls:
|
|
2542
4063
|
type: object
|
|
2543
4064
|
description: URLs associated with the object
|
|
2544
4065
|
properties:
|
|
4066
|
+
location:
|
|
4067
|
+
type: string
|
|
4068
|
+
description: URL of the integration in the API
|
|
4069
|
+
format: uri
|
|
2545
4070
|
icon:
|
|
2546
4071
|
type: string
|
|
2547
4072
|
description: URL of the icon associated to the integration
|
|
@@ -2559,9 +4084,18 @@ components:
|
|
|
2559
4084
|
description: Public HTTP endpoint for the integration
|
|
2560
4085
|
format: uri
|
|
2561
4086
|
required:
|
|
4087
|
+
- location
|
|
2562
4088
|
- app
|
|
2563
4089
|
- assets
|
|
2564
4090
|
- publicEndpoint
|
|
4091
|
+
permissions:
|
|
4092
|
+
type: object
|
|
4093
|
+
description: The set of permissions for the integration
|
|
4094
|
+
properties:
|
|
4095
|
+
admin:
|
|
4096
|
+
type: boolean
|
|
4097
|
+
required:
|
|
4098
|
+
- admin
|
|
2565
4099
|
contentSecurityPolicy:
|
|
2566
4100
|
$ref: "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
2567
4101
|
required:
|
|
@@ -2572,8 +4106,12 @@ components:
|
|
|
2572
4106
|
- scopes
|
|
2573
4107
|
- categories
|
|
2574
4108
|
- visibility
|
|
4109
|
+
- target
|
|
4110
|
+
- verified
|
|
2575
4111
|
- previewImages
|
|
2576
4112
|
- externalLinks
|
|
4113
|
+
- owner
|
|
4114
|
+
- permissions
|
|
2577
4115
|
- urls
|
|
2578
4116
|
IntegrationTitle:
|
|
2579
4117
|
type: string
|
|
@@ -2736,10 +4274,11 @@ components:
|
|
|
2736
4274
|
type: string
|
|
2737
4275
|
enum:
|
|
2738
4276
|
- analytics
|
|
4277
|
+
- captures
|
|
2739
4278
|
- collaboration
|
|
2740
|
-
- marketing
|
|
2741
4279
|
- content
|
|
2742
4280
|
- gitsync
|
|
4281
|
+
- marketing
|
|
2743
4282
|
- other
|
|
2744
4283
|
IntegrationConfigurations:
|
|
2745
4284
|
type: object
|
|
@@ -2845,12 +4384,23 @@ components:
|
|
|
2845
4384
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
2846
4385
|
space_selection:
|
|
2847
4386
|
$ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
4387
|
+
spaces:
|
|
4388
|
+
type: number
|
|
4389
|
+
description: Count of spaces, the installation is managing
|
|
2848
4390
|
configuration:
|
|
2849
4391
|
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
4392
|
+
createdAt:
|
|
4393
|
+
$ref: "#/components/schemas/Date"
|
|
4394
|
+
updatedAt:
|
|
4395
|
+
$ref: "#/components/schemas/Date"
|
|
2850
4396
|
urls:
|
|
2851
4397
|
type: object
|
|
2852
4398
|
description: URLs associated with the object
|
|
2853
4399
|
properties:
|
|
4400
|
+
location:
|
|
4401
|
+
type: string
|
|
4402
|
+
description: URL of the installation in the API
|
|
4403
|
+
format: uri
|
|
2854
4404
|
app:
|
|
2855
4405
|
type: string
|
|
2856
4406
|
description: URL of the integration's installation in the application
|
|
@@ -2860,6 +4410,7 @@ components:
|
|
|
2860
4410
|
description: Public HTTP endpoint for the integration's installation
|
|
2861
4411
|
format: uri
|
|
2862
4412
|
required:
|
|
4413
|
+
- location
|
|
2863
4414
|
- app
|
|
2864
4415
|
- publicEndpoint
|
|
2865
4416
|
externalIds:
|
|
@@ -2871,10 +4422,13 @@ components:
|
|
|
2871
4422
|
- id
|
|
2872
4423
|
- status
|
|
2873
4424
|
- space_selection
|
|
4425
|
+
- spaces
|
|
2874
4426
|
- configuration
|
|
2875
4427
|
- urls
|
|
2876
4428
|
- externalIds
|
|
2877
4429
|
- target
|
|
4430
|
+
- createdAt
|
|
4431
|
+
- updatedAt
|
|
2878
4432
|
IntegrationSpaceInstallation:
|
|
2879
4433
|
type: object
|
|
2880
4434
|
description: Installation of an integration at a space level
|
|
@@ -2899,11 +4453,16 @@ components:
|
|
|
2899
4453
|
type: object
|
|
2900
4454
|
description: URLs associated with the object
|
|
2901
4455
|
properties:
|
|
4456
|
+
location:
|
|
4457
|
+
type: string
|
|
4458
|
+
description: URL of the integration's space installation in the API
|
|
4459
|
+
format: uri
|
|
2902
4460
|
publicEndpoint:
|
|
2903
4461
|
type: string
|
|
2904
4462
|
description: Public HTTP endpoint for the integration's space installation
|
|
2905
4463
|
format: uri
|
|
2906
4464
|
required:
|
|
4465
|
+
- location
|
|
2907
4466
|
- publicEndpoint
|
|
2908
4467
|
required:
|
|
2909
4468
|
- integration
|
|
@@ -4897,15 +6456,12 @@ components:
|
|
|
4897
6456
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
4898
6457
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
4899
6458
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
4900
|
-
- $ref: "#/components/schemas/SpaceRelationsChannel"
|
|
4901
6459
|
- $ref: "#/components/schemas/SpaceEntitiesChannel"
|
|
4902
6460
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
4903
6461
|
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
4904
6462
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
4905
6463
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
4906
|
-
- $ref: "#/components/schemas/OrganizationEnvironmentsChannel"
|
|
4907
6464
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
4908
|
-
- $ref: "#/components/schemas/UserPreferencesChannel"
|
|
4909
6465
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
4910
6466
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
4911
6467
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
@@ -4914,11 +6470,12 @@ components:
|
|
|
4914
6470
|
- $ref: "#/components/schemas/OrganizationTeamChannel"
|
|
4915
6471
|
- $ref: "#/components/schemas/OrganizationTeamMembersChannel"
|
|
4916
6472
|
- $ref: "#/components/schemas/OrganizationTeamMemberChannel"
|
|
4917
|
-
- $ref: "#/components/schemas/OrganizationSpaceRelationsChannel"
|
|
4918
6473
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
4919
6474
|
- $ref: "#/components/schemas/OrganizationEntitiesChannel"
|
|
4920
6475
|
- $ref: "#/components/schemas/OrganizationSchemasChannel"
|
|
4921
6476
|
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
6477
|
+
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
6478
|
+
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
4922
6479
|
- type: object
|
|
4923
6480
|
properties:
|
|
4924
6481
|
channel:
|
|
@@ -4983,6 +6540,10 @@ components:
|
|
|
4983
6540
|
- channel
|
|
4984
6541
|
- space
|
|
4985
6542
|
- comment
|
|
6543
|
+
- $ref: "#/components/schemas/IntegrationChannel"
|
|
6544
|
+
- $ref: "#/components/schemas/IntegrationInstallationChannel"
|
|
6545
|
+
- $ref: "#/components/schemas/IntegrationSpaceInstallationChannel"
|
|
6546
|
+
- $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
|
|
4986
6547
|
discriminator:
|
|
4987
6548
|
propertyName: channel
|
|
4988
6549
|
SpaceInfoChannel:
|
|
@@ -5021,18 +6582,6 @@ components:
|
|
|
5021
6582
|
required:
|
|
5022
6583
|
- channel
|
|
5023
6584
|
- space
|
|
5024
|
-
SpaceRelationsChannel:
|
|
5025
|
-
type: object
|
|
5026
|
-
properties:
|
|
5027
|
-
channel:
|
|
5028
|
-
type: string
|
|
5029
|
-
enum:
|
|
5030
|
-
- space-relations
|
|
5031
|
-
space:
|
|
5032
|
-
type: string
|
|
5033
|
-
required:
|
|
5034
|
-
- channel
|
|
5035
|
-
- space
|
|
5036
6585
|
SpaceEntitiesChannel:
|
|
5037
6586
|
type: object
|
|
5038
6587
|
properties:
|
|
@@ -5093,18 +6642,6 @@ components:
|
|
|
5093
6642
|
required:
|
|
5094
6643
|
- channel
|
|
5095
6644
|
- user
|
|
5096
|
-
UserPreferencesChannel:
|
|
5097
|
-
type: object
|
|
5098
|
-
properties:
|
|
5099
|
-
channel:
|
|
5100
|
-
type: string
|
|
5101
|
-
enum:
|
|
5102
|
-
- user-preferences
|
|
5103
|
-
user:
|
|
5104
|
-
type: string
|
|
5105
|
-
required:
|
|
5106
|
-
- channel
|
|
5107
|
-
- user
|
|
5108
6645
|
UserProfileChannel:
|
|
5109
6646
|
type: object
|
|
5110
6647
|
properties:
|
|
@@ -5230,19 +6767,6 @@ components:
|
|
|
5230
6767
|
- channel
|
|
5231
6768
|
- organization
|
|
5232
6769
|
- member
|
|
5233
|
-
OrganizationSpaceRelationsChannel:
|
|
5234
|
-
type: object
|
|
5235
|
-
description: Subscription channel for changes in relations between spaces in an organization.
|
|
5236
|
-
properties:
|
|
5237
|
-
channel:
|
|
5238
|
-
type: string
|
|
5239
|
-
enum:
|
|
5240
|
-
- organization-space-relations
|
|
5241
|
-
organization:
|
|
5242
|
-
type: string
|
|
5243
|
-
required:
|
|
5244
|
-
- channel
|
|
5245
|
-
- organization
|
|
5246
6770
|
OrganizationSpacesChannel:
|
|
5247
6771
|
type: object
|
|
5248
6772
|
description: Subscription channel for changes in spaces in an organization.
|
|
@@ -5285,30 +6809,102 @@ components:
|
|
|
5285
6809
|
required:
|
|
5286
6810
|
- channel
|
|
5287
6811
|
- organization
|
|
5288
|
-
|
|
6812
|
+
OrganizationCapturesChannel:
|
|
5289
6813
|
type: object
|
|
5290
6814
|
properties:
|
|
5291
6815
|
channel:
|
|
5292
6816
|
type: string
|
|
5293
6817
|
enum:
|
|
5294
|
-
- organization-
|
|
6818
|
+
- organization-captures
|
|
5295
6819
|
organization:
|
|
5296
6820
|
type: string
|
|
5297
6821
|
required:
|
|
5298
6822
|
- channel
|
|
5299
6823
|
- organization
|
|
5300
|
-
|
|
6824
|
+
OrganizationIntegrationsChannel:
|
|
5301
6825
|
type: object
|
|
5302
6826
|
properties:
|
|
5303
6827
|
channel:
|
|
5304
6828
|
type: string
|
|
5305
6829
|
enum:
|
|
5306
|
-
- organization-
|
|
6830
|
+
- organization-integrations
|
|
6831
|
+
organization:
|
|
6832
|
+
type: string
|
|
6833
|
+
required:
|
|
6834
|
+
- channel
|
|
6835
|
+
- organization
|
|
6836
|
+
OrganizationInstallationsChannel:
|
|
6837
|
+
type: object
|
|
6838
|
+
properties:
|
|
6839
|
+
channel:
|
|
6840
|
+
type: string
|
|
6841
|
+
enum:
|
|
6842
|
+
- organization-installations
|
|
5307
6843
|
organization:
|
|
5308
6844
|
type: string
|
|
5309
6845
|
required:
|
|
5310
6846
|
- channel
|
|
5311
6847
|
- organization
|
|
6848
|
+
IntegrationChannel:
|
|
6849
|
+
type: object
|
|
6850
|
+
properties:
|
|
6851
|
+
channel:
|
|
6852
|
+
type: string
|
|
6853
|
+
enum:
|
|
6854
|
+
- integration
|
|
6855
|
+
integration:
|
|
6856
|
+
type: string
|
|
6857
|
+
required:
|
|
6858
|
+
- channel
|
|
6859
|
+
- integration
|
|
6860
|
+
IntegrationInstallationChannel:
|
|
6861
|
+
type: object
|
|
6862
|
+
properties:
|
|
6863
|
+
channel:
|
|
6864
|
+
type: string
|
|
6865
|
+
enum:
|
|
6866
|
+
- integration-installation
|
|
6867
|
+
integration:
|
|
6868
|
+
type: string
|
|
6869
|
+
installation:
|
|
6870
|
+
type: string
|
|
6871
|
+
required:
|
|
6872
|
+
- channel
|
|
6873
|
+
- integration
|
|
6874
|
+
- installation
|
|
6875
|
+
IntegrationSpaceInstallationChannel:
|
|
6876
|
+
type: object
|
|
6877
|
+
properties:
|
|
6878
|
+
channel:
|
|
6879
|
+
type: string
|
|
6880
|
+
enum:
|
|
6881
|
+
- integration-space-installation
|
|
6882
|
+
integration:
|
|
6883
|
+
type: string
|
|
6884
|
+
installation:
|
|
6885
|
+
type: string
|
|
6886
|
+
space:
|
|
6887
|
+
type: string
|
|
6888
|
+
required:
|
|
6889
|
+
- channel
|
|
6890
|
+
- integration
|
|
6891
|
+
- installation
|
|
6892
|
+
- space
|
|
6893
|
+
IntegrationSpaceInstallationsChannel:
|
|
6894
|
+
type: object
|
|
6895
|
+
properties:
|
|
6896
|
+
channel:
|
|
6897
|
+
type: string
|
|
6898
|
+
enum:
|
|
6899
|
+
- integration-space-installations
|
|
6900
|
+
integration:
|
|
6901
|
+
type: string
|
|
6902
|
+
installation:
|
|
6903
|
+
type: string
|
|
6904
|
+
required:
|
|
6905
|
+
- channel
|
|
6906
|
+
- integration
|
|
6907
|
+
- installation
|
|
5312
6908
|
CustomField:
|
|
5313
6909
|
type: object
|
|
5314
6910
|
description: Custom field
|
|
@@ -5419,65 +7015,6 @@ components:
|
|
|
5419
7015
|
CustomFieldPlaceholder:
|
|
5420
7016
|
type: string
|
|
5421
7017
|
maxLength: 100
|
|
5422
|
-
Environment:
|
|
5423
|
-
type: object
|
|
5424
|
-
description: An environment
|
|
5425
|
-
properties:
|
|
5426
|
-
id:
|
|
5427
|
-
type: string
|
|
5428
|
-
name:
|
|
5429
|
-
$ref: "#/components/schemas/EnvironmentName"
|
|
5430
|
-
title:
|
|
5431
|
-
$ref: "#/components/schemas/EnvironmentTitle"
|
|
5432
|
-
primary:
|
|
5433
|
-
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
5434
|
-
urls:
|
|
5435
|
-
type: object
|
|
5436
|
-
description: URLs associated with the object
|
|
5437
|
-
properties:
|
|
5438
|
-
location:
|
|
5439
|
-
type: string
|
|
5440
|
-
description: URL of the environment in the API
|
|
5441
|
-
format: uri
|
|
5442
|
-
required:
|
|
5443
|
-
- location
|
|
5444
|
-
required:
|
|
5445
|
-
- id
|
|
5446
|
-
- name
|
|
5447
|
-
- title
|
|
5448
|
-
- primary
|
|
5449
|
-
- urls
|
|
5450
|
-
EnvironmentTitle:
|
|
5451
|
-
type: string
|
|
5452
|
-
maxLength: 100
|
|
5453
|
-
EnvironmentPrimary:
|
|
5454
|
-
description: |
|
|
5455
|
-
Whether or not an environment is considered to have elevated responsibilities over other environments. Useful for distinguishing a production environment from a staging environment. Multiple primary environments are allowed. Your organization must have at least one primary environment.
|
|
5456
|
-
type: boolean
|
|
5457
|
-
EnvironmentName:
|
|
5458
|
-
type: string
|
|
5459
|
-
pattern: ^[a-zA-Z_\-0-9]+$
|
|
5460
|
-
maxLength: 50
|
|
5461
|
-
CreateEnvironment:
|
|
5462
|
-
type: object
|
|
5463
|
-
properties:
|
|
5464
|
-
name:
|
|
5465
|
-
$ref: "#/components/schemas/EnvironmentName"
|
|
5466
|
-
title:
|
|
5467
|
-
$ref: "#/components/schemas/EnvironmentTitle"
|
|
5468
|
-
primary:
|
|
5469
|
-
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
5470
|
-
required:
|
|
5471
|
-
- name
|
|
5472
|
-
- title
|
|
5473
|
-
UpdateEnvironment:
|
|
5474
|
-
type: object
|
|
5475
|
-
description: An object containing the new title for an Environment
|
|
5476
|
-
properties:
|
|
5477
|
-
title:
|
|
5478
|
-
$ref: "#/components/schemas/EnvironmentTitle"
|
|
5479
|
-
primary:
|
|
5480
|
-
$ref: "#/components/schemas/EnvironmentPrimary"
|
|
5481
7018
|
responses:
|
|
5482
7019
|
UnexpectedError:
|
|
5483
7020
|
description: Unexpected Error
|
|
@@ -5678,64 +7215,20 @@ paths:
|
|
|
5678
7215
|
/user:
|
|
5679
7216
|
get:
|
|
5680
7217
|
operationId: getAuthenticatedUser
|
|
5681
|
-
summary: Get profile of authenticated user
|
|
5682
|
-
tags:
|
|
5683
|
-
- users
|
|
5684
|
-
security:
|
|
5685
|
-
- user: []
|
|
5686
|
-
description: |
|
|
5687
|
-
Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
5688
|
-
responses:
|
|
5689
|
-
"200":
|
|
5690
|
-
description: OK
|
|
5691
|
-
content:
|
|
5692
|
-
application/json:
|
|
5693
|
-
schema:
|
|
5694
|
-
$ref: "#/components/schemas/User"
|
|
5695
|
-
default:
|
|
5696
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5697
|
-
/user/preferences:
|
|
5698
|
-
get:
|
|
5699
|
-
operationId: getPreferencesForAuthenticatedUser
|
|
5700
|
-
summary: Get the preferences for the currently authenticated user
|
|
5701
|
-
tags:
|
|
5702
|
-
- users
|
|
5703
|
-
security:
|
|
5704
|
-
- user: []
|
|
5705
|
-
description: |
|
|
5706
|
-
Returns the preferences for the user associated with the authentication provided in the request's authorization header.
|
|
5707
|
-
responses:
|
|
5708
|
-
"200":
|
|
5709
|
-
description: OK
|
|
5710
|
-
content:
|
|
5711
|
-
application/json:
|
|
5712
|
-
schema:
|
|
5713
|
-
$ref: "#/components/schemas/UserPreferences"
|
|
5714
|
-
default:
|
|
5715
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
5716
|
-
patch:
|
|
5717
|
-
operationId: updatePreferencesForAuthenticatedUser
|
|
5718
|
-
summary: Update the preferences for the currently authenticated user
|
|
5719
|
-
tags:
|
|
5720
|
-
- users
|
|
5721
|
-
requestBody:
|
|
5722
|
-
required: true
|
|
5723
|
-
content:
|
|
5724
|
-
application/json:
|
|
5725
|
-
schema:
|
|
5726
|
-
type: object
|
|
5727
|
-
properties:
|
|
5728
|
-
theme:
|
|
5729
|
-
$ref: "#/components/schemas/UserPreferencesTheme"
|
|
5730
|
-
required:
|
|
5731
|
-
- theme
|
|
7218
|
+
summary: Get profile of authenticated user
|
|
7219
|
+
tags:
|
|
7220
|
+
- users
|
|
7221
|
+
security:
|
|
7222
|
+
- user: []
|
|
7223
|
+
description: |
|
|
7224
|
+
Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
5732
7225
|
responses:
|
|
5733
7226
|
"200":
|
|
5734
|
-
description:
|
|
7227
|
+
description: OK
|
|
5735
7228
|
content:
|
|
5736
7229
|
application/json:
|
|
5737
7230
|
schema:
|
|
5738
|
-
$ref: "#/components/schemas/
|
|
7231
|
+
$ref: "#/components/schemas/User"
|
|
5739
7232
|
default:
|
|
5740
7233
|
$ref: "#/components/responses/UnexpectedError"
|
|
5741
7234
|
"/users/{userId}":
|
|
@@ -5796,8 +7289,6 @@ paths:
|
|
|
5796
7289
|
properties:
|
|
5797
7290
|
visibility:
|
|
5798
7291
|
$ref: "#/components/schemas/ContentVisibility"
|
|
5799
|
-
type:
|
|
5800
|
-
$ref: "#/components/schemas/SpaceType"
|
|
5801
7292
|
responses:
|
|
5802
7293
|
"200":
|
|
5803
7294
|
description: The space has been updated
|
|
@@ -7367,120 +8858,6 @@ paths:
|
|
|
7367
8858
|
$ref: "#/components/responses/NotFoundError"
|
|
7368
8859
|
default:
|
|
7369
8860
|
$ref: "#/components/responses/UnexpectedError"
|
|
7370
|
-
"/spaces/{spaceId}/relations":
|
|
7371
|
-
get:
|
|
7372
|
-
operationId: listSpaceRelations
|
|
7373
|
-
summary: List all relations for a space
|
|
7374
|
-
tags:
|
|
7375
|
-
- spaces
|
|
7376
|
-
parameters:
|
|
7377
|
-
- $ref: "#/components/parameters/spaceId"
|
|
7378
|
-
- $ref: "#/components/parameters/listPage"
|
|
7379
|
-
- $ref: "#/components/parameters/listLimit"
|
|
7380
|
-
responses:
|
|
7381
|
-
"200":
|
|
7382
|
-
description: OK
|
|
7383
|
-
content:
|
|
7384
|
-
application/json:
|
|
7385
|
-
schema:
|
|
7386
|
-
allOf:
|
|
7387
|
-
- $ref: "#/components/schemas/List"
|
|
7388
|
-
- type: object
|
|
7389
|
-
required:
|
|
7390
|
-
- items
|
|
7391
|
-
properties:
|
|
7392
|
-
items:
|
|
7393
|
-
type: array
|
|
7394
|
-
items:
|
|
7395
|
-
$ref: "#/components/schemas/SpaceRelation"
|
|
7396
|
-
default:
|
|
7397
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7398
|
-
post:
|
|
7399
|
-
operationId: createSpaceRelation
|
|
7400
|
-
summary: Create a new relation between a source space and a target space
|
|
7401
|
-
tags:
|
|
7402
|
-
- spaces
|
|
7403
|
-
security:
|
|
7404
|
-
- user: []
|
|
7405
|
-
parameters:
|
|
7406
|
-
- $ref: "#/components/parameters/spaceId"
|
|
7407
|
-
requestBody:
|
|
7408
|
-
required: true
|
|
7409
|
-
content:
|
|
7410
|
-
application/json:
|
|
7411
|
-
schema:
|
|
7412
|
-
type: object
|
|
7413
|
-
properties:
|
|
7414
|
-
target:
|
|
7415
|
-
type: string
|
|
7416
|
-
description: ID of the other space
|
|
7417
|
-
type:
|
|
7418
|
-
$ref: "#/components/schemas/SpaceRelationType"
|
|
7419
|
-
required:
|
|
7420
|
-
- target
|
|
7421
|
-
- type
|
|
7422
|
-
responses:
|
|
7423
|
-
"201":
|
|
7424
|
-
description: Space relation created
|
|
7425
|
-
headers:
|
|
7426
|
-
Location:
|
|
7427
|
-
description: API URL for the newly created space relation
|
|
7428
|
-
schema:
|
|
7429
|
-
type: string
|
|
7430
|
-
content:
|
|
7431
|
-
application/json:
|
|
7432
|
-
schema:
|
|
7433
|
-
$ref: "#/components/schemas/SpaceRelation"
|
|
7434
|
-
default:
|
|
7435
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7436
|
-
"/spaces/{spaceId}/relations/{targetSpaceId}":
|
|
7437
|
-
get:
|
|
7438
|
-
operationId: getSpaceRelation
|
|
7439
|
-
summary: Get the relation between 2 spaces.
|
|
7440
|
-
tags:
|
|
7441
|
-
- spaces
|
|
7442
|
-
security:
|
|
7443
|
-
- user: []
|
|
7444
|
-
parameters:
|
|
7445
|
-
- $ref: "#/components/parameters/spaceId"
|
|
7446
|
-
- name: targetSpaceId
|
|
7447
|
-
in: path
|
|
7448
|
-
required: true
|
|
7449
|
-
description: The ID of the other space
|
|
7450
|
-
schema:
|
|
7451
|
-
type: string
|
|
7452
|
-
responses:
|
|
7453
|
-
"200":
|
|
7454
|
-
description: OK
|
|
7455
|
-
content:
|
|
7456
|
-
application/json:
|
|
7457
|
-
schema:
|
|
7458
|
-
$ref: "#/components/schemas/SpaceRelation"
|
|
7459
|
-
"404":
|
|
7460
|
-
description: No matching relation found
|
|
7461
|
-
$ref: "#/components/responses/NotFoundError"
|
|
7462
|
-
default:
|
|
7463
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7464
|
-
delete:
|
|
7465
|
-
operationId: deleteSpaceRelation
|
|
7466
|
-
summary: Delete a relation between spaces
|
|
7467
|
-
tags:
|
|
7468
|
-
- spaces
|
|
7469
|
-
security:
|
|
7470
|
-
- user: []
|
|
7471
|
-
parameters:
|
|
7472
|
-
- $ref: "#/components/parameters/spaceId"
|
|
7473
|
-
- name: targetSpaceId
|
|
7474
|
-
in: path
|
|
7475
|
-
required: true
|
|
7476
|
-
description: The ID of the other space
|
|
7477
|
-
schema:
|
|
7478
|
-
type: string
|
|
7479
|
-
responses:
|
|
7480
|
-
"204":
|
|
7481
|
-
description: Relation has been deleted
|
|
7482
|
-
default:
|
|
7483
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
7484
8861
|
"/spaces/{spaceId}/custom-fields":
|
|
7485
8862
|
get:
|
|
7486
8863
|
operationId: getSpaceCustomFields
|
|
@@ -7688,6 +9065,18 @@ paths:
|
|
|
7688
9065
|
parameters:
|
|
7689
9066
|
- $ref: "#/components/parameters/listPage"
|
|
7690
9067
|
- $ref: "#/components/parameters/listLimit"
|
|
9068
|
+
- name: category
|
|
9069
|
+
in: query
|
|
9070
|
+
description: Filter the integrations by category
|
|
9071
|
+
schema:
|
|
9072
|
+
$ref: "#/components/schemas/IntegrationCategory"
|
|
9073
|
+
- name: blockDomain
|
|
9074
|
+
in: query
|
|
9075
|
+
description: Filter the integrations by block's domains
|
|
9076
|
+
schema:
|
|
9077
|
+
type: string
|
|
9078
|
+
pattern: ^[a-zA-Z0-9-_.]+$
|
|
9079
|
+
maxLength: 100
|
|
7691
9080
|
responses:
|
|
7692
9081
|
"200":
|
|
7693
9082
|
description: Paginated list of integrations
|
|
@@ -8151,6 +9540,34 @@ paths:
|
|
|
8151
9540
|
default:
|
|
8152
9541
|
$ref: "#/components/responses/UnexpectedError"
|
|
8153
9542
|
"/integrations/{integrationName}/installations/{installationId}/spaces":
|
|
9543
|
+
get:
|
|
9544
|
+
operationId: listIntegrationInstallationSpaces
|
|
9545
|
+
summary: List installations on spaces for an integration in an organization
|
|
9546
|
+
tags:
|
|
9547
|
+
- integrations
|
|
9548
|
+
parameters:
|
|
9549
|
+
- $ref: "#/components/parameters/integrationName"
|
|
9550
|
+
- $ref: "#/components/parameters/installationId"
|
|
9551
|
+
- $ref: "#/components/parameters/listPage"
|
|
9552
|
+
- $ref: "#/components/parameters/listLimit"
|
|
9553
|
+
responses:
|
|
9554
|
+
"200":
|
|
9555
|
+
description: OK
|
|
9556
|
+
content:
|
|
9557
|
+
application/json:
|
|
9558
|
+
schema:
|
|
9559
|
+
allOf:
|
|
9560
|
+
- $ref: "#/components/schemas/List"
|
|
9561
|
+
- type: object
|
|
9562
|
+
required:
|
|
9563
|
+
- items
|
|
9564
|
+
properties:
|
|
9565
|
+
items:
|
|
9566
|
+
type: array
|
|
9567
|
+
items:
|
|
9568
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
9569
|
+
default:
|
|
9570
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8154
9571
|
post:
|
|
8155
9572
|
operationId: installIntegrationOnSpace
|
|
8156
9573
|
summary: Install integration on a space using an existing installation
|
|
@@ -8729,7 +10146,7 @@ paths:
|
|
|
8729
10146
|
operationId: listTeamMembersInOrganizationById
|
|
8730
10147
|
summary: List team members
|
|
8731
10148
|
description: |
|
|
8732
|
-
Lists members for the specified organization team.
|
|
10149
|
+
Lists members, and their roles, for the specified organization team.
|
|
8733
10150
|
tags:
|
|
8734
10151
|
- organizations
|
|
8735
10152
|
security:
|
|
@@ -8754,7 +10171,7 @@ paths:
|
|
|
8754
10171
|
items:
|
|
8755
10172
|
type: array
|
|
8756
10173
|
items:
|
|
8757
|
-
$ref: "#/components/schemas/
|
|
10174
|
+
$ref: "#/components/schemas/OrganizationTeamMember"
|
|
8758
10175
|
default:
|
|
8759
10176
|
$ref: "#/components/responses/UnexpectedError"
|
|
8760
10177
|
"/orgs/{organizationId}/teams/{teamId}/members/{userId}":
|
|
@@ -9450,10 +10867,10 @@ paths:
|
|
|
9450
10867
|
description: Custom field has been deleted
|
|
9451
10868
|
default:
|
|
9452
10869
|
$ref: "#/components/responses/UnexpectedError"
|
|
9453
|
-
"/orgs/{organizationId}/
|
|
10870
|
+
"/orgs/{organizationId}/integrations":
|
|
9454
10871
|
get:
|
|
9455
|
-
operationId:
|
|
9456
|
-
summary: List
|
|
10872
|
+
operationId: listOrganizationIntegrations
|
|
10873
|
+
summary: List integrations owned by an organization
|
|
9457
10874
|
tags:
|
|
9458
10875
|
- spaces
|
|
9459
10876
|
parameters:
|
|
@@ -9462,7 +10879,7 @@ paths:
|
|
|
9462
10879
|
- $ref: "#/components/parameters/listLimit"
|
|
9463
10880
|
responses:
|
|
9464
10881
|
"200":
|
|
9465
|
-
description:
|
|
10882
|
+
description: List of integrations.
|
|
9466
10883
|
content:
|
|
9467
10884
|
application/json:
|
|
9468
10885
|
schema:
|
|
@@ -9475,130 +10892,43 @@ paths:
|
|
|
9475
10892
|
items:
|
|
9476
10893
|
type: array
|
|
9477
10894
|
items:
|
|
9478
|
-
$ref: "#/components/schemas/
|
|
10895
|
+
$ref: "#/components/schemas/Integration"
|
|
9479
10896
|
default:
|
|
9480
10897
|
$ref: "#/components/responses/UnexpectedError"
|
|
9481
|
-
"/orgs/{organizationId}/
|
|
10898
|
+
"/orgs/{organizationId}/installations":
|
|
9482
10899
|
get:
|
|
9483
|
-
operationId:
|
|
9484
|
-
summary:
|
|
10900
|
+
operationId: listOrganizationInstallations
|
|
10901
|
+
summary: List installations of integrations in an organization.
|
|
9485
10902
|
tags:
|
|
9486
|
-
-
|
|
9487
|
-
- environments
|
|
9488
|
-
security:
|
|
9489
|
-
- user: []
|
|
10903
|
+
- spaces
|
|
9490
10904
|
parameters:
|
|
9491
10905
|
- $ref: "#/components/parameters/organizationId"
|
|
9492
10906
|
- $ref: "#/components/parameters/listPage"
|
|
9493
10907
|
- $ref: "#/components/parameters/listLimit"
|
|
9494
10908
|
responses:
|
|
9495
10909
|
"200":
|
|
9496
|
-
description:
|
|
10910
|
+
description: List of integrations with the associated installations.
|
|
9497
10911
|
content:
|
|
9498
10912
|
application/json:
|
|
9499
10913
|
schema:
|
|
9500
10914
|
allOf:
|
|
9501
10915
|
- $ref: "#/components/schemas/List"
|
|
9502
10916
|
- type: object
|
|
10917
|
+
required:
|
|
10918
|
+
- items
|
|
9503
10919
|
properties:
|
|
9504
10920
|
items:
|
|
9505
10921
|
type: array
|
|
9506
10922
|
items:
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
parameters:
|
|
9517
|
-
- $ref: "#/components/parameters/organizationId"
|
|
9518
|
-
requestBody:
|
|
9519
|
-
required: true
|
|
9520
|
-
content:
|
|
9521
|
-
application/json:
|
|
9522
|
-
schema:
|
|
9523
|
-
$ref: "#/components/schemas/CreateEnvironment"
|
|
9524
|
-
responses:
|
|
9525
|
-
"201":
|
|
9526
|
-
description: OK
|
|
9527
|
-
headers:
|
|
9528
|
-
Location:
|
|
9529
|
-
description: API URL for the newly created environment
|
|
9530
|
-
schema:
|
|
9531
|
-
type: string
|
|
9532
|
-
content:
|
|
9533
|
-
application/json:
|
|
9534
|
-
schema:
|
|
9535
|
-
$ref: "#/components/schemas/Environment"
|
|
9536
|
-
default:
|
|
9537
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
9538
|
-
"/orgs/{organizationId}/environments/{environmentName}":
|
|
9539
|
-
get:
|
|
9540
|
-
operationId: getEnvironmentByName
|
|
9541
|
-
summary: Get an environment by its name
|
|
9542
|
-
tags:
|
|
9543
|
-
- organizations
|
|
9544
|
-
- environments
|
|
9545
|
-
security:
|
|
9546
|
-
- user: []
|
|
9547
|
-
parameters:
|
|
9548
|
-
- $ref: "#/components/parameters/organizationId"
|
|
9549
|
-
- $ref: "#/components/parameters/environmentName"
|
|
9550
|
-
responses:
|
|
9551
|
-
"200":
|
|
9552
|
-
description: OK
|
|
9553
|
-
content:
|
|
9554
|
-
application/json:
|
|
9555
|
-
schema:
|
|
9556
|
-
$ref: "#/components/schemas/Environment"
|
|
9557
|
-
"404":
|
|
9558
|
-
description: No matching environment found
|
|
9559
|
-
$ref: "#/components/responses/NotFoundError"
|
|
9560
|
-
default:
|
|
9561
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
9562
|
-
patch:
|
|
9563
|
-
operationId: updateEnvironment
|
|
9564
|
-
summary: Update an existing environment within an organization
|
|
9565
|
-
tags:
|
|
9566
|
-
- organizations
|
|
9567
|
-
- environments
|
|
9568
|
-
security:
|
|
9569
|
-
- user: []
|
|
9570
|
-
parameters:
|
|
9571
|
-
- $ref: "#/components/parameters/organizationId"
|
|
9572
|
-
- $ref: "#/components/parameters/environmentName"
|
|
9573
|
-
requestBody:
|
|
9574
|
-
required: true
|
|
9575
|
-
content:
|
|
9576
|
-
application/json:
|
|
9577
|
-
schema:
|
|
9578
|
-
$ref: "#/components/schemas/UpdateEnvironment"
|
|
9579
|
-
responses:
|
|
9580
|
-
"200":
|
|
9581
|
-
description: OK
|
|
9582
|
-
content:
|
|
9583
|
-
application/json:
|
|
9584
|
-
schema:
|
|
9585
|
-
$ref: "#/components/schemas/Environment"
|
|
9586
|
-
default:
|
|
9587
|
-
$ref: "#/components/responses/UnexpectedError"
|
|
9588
|
-
delete:
|
|
9589
|
-
operationId: deleteEnvironment
|
|
9590
|
-
summary: Delete an environment in an organization
|
|
9591
|
-
tags:
|
|
9592
|
-
- organizations
|
|
9593
|
-
- environments
|
|
9594
|
-
security:
|
|
9595
|
-
- user: []
|
|
9596
|
-
parameters:
|
|
9597
|
-
- $ref: "#/components/parameters/organizationId"
|
|
9598
|
-
- $ref: "#/components/parameters/environmentName"
|
|
9599
|
-
responses:
|
|
9600
|
-
"204":
|
|
9601
|
-
description: Environment has been deleted
|
|
10923
|
+
type: object
|
|
10924
|
+
properties:
|
|
10925
|
+
installation:
|
|
10926
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
10927
|
+
integration:
|
|
10928
|
+
$ref: "#/components/schemas/Integration"
|
|
10929
|
+
required:
|
|
10930
|
+
- integration
|
|
10931
|
+
- installation
|
|
9602
10932
|
default:
|
|
9603
10933
|
$ref: "#/components/responses/UnexpectedError"
|
|
9604
10934
|
"/orgs/{organizationId}/schemas":
|
|
@@ -9794,6 +11124,14 @@ paths:
|
|
|
9794
11124
|
- $ref: "#/components/parameters/pageFormat"
|
|
9795
11125
|
- $ref: "#/components/parameters/listPage"
|
|
9796
11126
|
- $ref: "#/components/parameters/listLimit"
|
|
11127
|
+
- name: context
|
|
11128
|
+
in: query
|
|
11129
|
+
description: The context in which the item was captured
|
|
11130
|
+
schema:
|
|
11131
|
+
type: string
|
|
11132
|
+
enum:
|
|
11133
|
+
- walkthrough
|
|
11134
|
+
- thread
|
|
9797
11135
|
responses:
|
|
9798
11136
|
"200":
|
|
9799
11137
|
description: OK
|
|
@@ -9890,6 +11228,32 @@ paths:
|
|
|
9890
11228
|
description: OK
|
|
9891
11229
|
default:
|
|
9892
11230
|
$ref: "#/components/responses/UnexpectedError"
|
|
11231
|
+
put:
|
|
11232
|
+
operationId: updateCapture
|
|
11233
|
+
summary: Update an existing capture
|
|
11234
|
+
tags:
|
|
11235
|
+
- organizations
|
|
11236
|
+
security:
|
|
11237
|
+
- user: []
|
|
11238
|
+
parameters:
|
|
11239
|
+
- $ref: "#/components/parameters/organizationId"
|
|
11240
|
+
- $ref: "#/components/parameters/captureId"
|
|
11241
|
+
- $ref: "#/components/parameters/ifUnmodifiedSince"
|
|
11242
|
+
requestBody:
|
|
11243
|
+
required: true
|
|
11244
|
+
content:
|
|
11245
|
+
application/json:
|
|
11246
|
+
schema:
|
|
11247
|
+
$ref: "#/components/schemas/UpdateCaptureSchema"
|
|
11248
|
+
responses:
|
|
11249
|
+
"200":
|
|
11250
|
+
description: OK
|
|
11251
|
+
content:
|
|
11252
|
+
application/json:
|
|
11253
|
+
schema:
|
|
11254
|
+
$ref: "#/components/schemas/Capture"
|
|
11255
|
+
default:
|
|
11256
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9893
11257
|
"/orgs/{organizationId}/captures/{captureId}/events":
|
|
9894
11258
|
post:
|
|
9895
11259
|
operationId: addEventsToCapture
|
|
@@ -10054,3 +11418,25 @@ paths:
|
|
|
10054
11418
|
- space
|
|
10055
11419
|
default:
|
|
10056
11420
|
$ref: "#/components/responses/UnexpectedError"
|
|
11421
|
+
/urls/embed:
|
|
11422
|
+
get:
|
|
11423
|
+
operationId: getEmbedByUrl
|
|
11424
|
+
summary: Resolve a URL to an embed
|
|
11425
|
+
tags:
|
|
11426
|
+
- urls
|
|
11427
|
+
parameters:
|
|
11428
|
+
- name: url
|
|
11429
|
+
in: query
|
|
11430
|
+
required: true
|
|
11431
|
+
description: URL to resolve
|
|
11432
|
+
schema:
|
|
11433
|
+
type: string
|
|
11434
|
+
responses:
|
|
11435
|
+
"200":
|
|
11436
|
+
description: OK
|
|
11437
|
+
content:
|
|
11438
|
+
application/json:
|
|
11439
|
+
schema:
|
|
11440
|
+
$ref: "#/components/schemas/Embed"
|
|
11441
|
+
default:
|
|
11442
|
+
$ref: "#/components/responses/UnexpectedError"
|