@gitbook/api 0.11.0 → 0.12.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/README.md +21 -0
- package/dist/client.d.ts +656 -311
- package/dist/index.cjs +35 -115
- package/dist/index.js +34 -111
- package/package.json +2 -1
- package/spec/openapi.json +3329 -880
- package/spec/openapi.yaml +2135 -588
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
|
|
@@ -962,7 +965,12 @@ components:
|
|
|
962
965
|
Document:
|
|
963
966
|
oneOf:
|
|
964
967
|
- $ref: "#/components/schemas/MarkdownDocument"
|
|
965
|
-
-
|
|
968
|
+
- type: object
|
|
969
|
+
properties:
|
|
970
|
+
document:
|
|
971
|
+
$ref: "#/components/schemas/JSONDocument"
|
|
972
|
+
required:
|
|
973
|
+
- document
|
|
966
974
|
- type: object
|
|
967
975
|
properties: {}
|
|
968
976
|
additionalProperties: false
|
|
@@ -975,207 +983,1793 @@ components:
|
|
|
975
983
|
required:
|
|
976
984
|
- markdown
|
|
977
985
|
JSONDocument:
|
|
978
|
-
type: object
|
|
979
986
|
properties:
|
|
980
|
-
|
|
987
|
+
object:
|
|
988
|
+
type: string
|
|
989
|
+
enum:
|
|
990
|
+
- document
|
|
991
|
+
data:
|
|
981
992
|
type: object
|
|
982
|
-
properties:
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
required:
|
|
989
|
-
- nodes
|
|
993
|
+
properties: {}
|
|
994
|
+
additionalProperties: false
|
|
995
|
+
nodes:
|
|
996
|
+
type: array
|
|
997
|
+
items:
|
|
998
|
+
$ref: "#/components/schemas/DocumentBlocksTopLevels"
|
|
990
999
|
required:
|
|
991
|
-
-
|
|
992
|
-
|
|
1000
|
+
- object
|
|
1001
|
+
- data
|
|
1002
|
+
- nodes
|
|
1003
|
+
DocumentBlocksEssentials:
|
|
1004
|
+
oneOf:
|
|
1005
|
+
- $ref: "#/components/schemas/DocumentBlockParagraph"
|
|
1006
|
+
- $ref: "#/components/schemas/DocumentBlockHeading"
|
|
1007
|
+
- $ref: "#/components/schemas/DocumentBlockListOrdered"
|
|
1008
|
+
- $ref: "#/components/schemas/DocumentBlockListUnordered"
|
|
1009
|
+
- $ref: "#/components/schemas/DocumentBlockListTasks"
|
|
1010
|
+
- $ref: "#/components/schemas/DocumentBlockDivider"
|
|
1011
|
+
DocumentBlocksTopLevels:
|
|
1012
|
+
oneOf:
|
|
1013
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1014
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
1015
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
1016
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
1017
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
1018
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
1019
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
1020
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
1021
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
1022
|
+
- $ref: "#/components/schemas/DocumentBlockExpandable"
|
|
1023
|
+
- $ref: "#/components/schemas/DocumentBlockTabs"
|
|
1024
|
+
- $ref: "#/components/schemas/DocumentBlockTable"
|
|
1025
|
+
- $ref: "#/components/schemas/DocumentBlockSwagger"
|
|
1026
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
1027
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
1028
|
+
DocumentNodeText:
|
|
993
1029
|
type: object
|
|
994
1030
|
properties:
|
|
995
1031
|
object:
|
|
996
1032
|
type: string
|
|
997
|
-
description: Type of Object, always equals to "space"
|
|
998
1033
|
enum:
|
|
999
|
-
-
|
|
1000
|
-
|
|
1034
|
+
- text
|
|
1035
|
+
key:
|
|
1036
|
+
type: string
|
|
1037
|
+
leaves:
|
|
1038
|
+
type: array
|
|
1039
|
+
items:
|
|
1040
|
+
$ref: "#/components/schemas/DocumentTextLeaf"
|
|
1041
|
+
required:
|
|
1042
|
+
- object
|
|
1043
|
+
- leaves
|
|
1044
|
+
DocumentNodeFragment:
|
|
1045
|
+
type: object
|
|
1046
|
+
properties:
|
|
1047
|
+
object:
|
|
1048
|
+
type: string
|
|
1049
|
+
enum:
|
|
1050
|
+
- fragment
|
|
1051
|
+
key:
|
|
1052
|
+
type: string
|
|
1053
|
+
fragment:
|
|
1001
1054
|
type: string
|
|
1002
|
-
description: Unique identifier for the space
|
|
1003
1055
|
type:
|
|
1004
|
-
$ref: "#/components/schemas/SpaceType"
|
|
1005
|
-
title:
|
|
1006
1056
|
type: string
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
urls:
|
|
1019
|
-
type: object
|
|
1020
|
-
description: URLs associated with the object
|
|
1021
|
-
properties:
|
|
1022
|
-
location:
|
|
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:
|
|
1035
|
-
type: string
|
|
1036
|
-
description: URL of the public version of the space. Only defined when visibility is "public".
|
|
1037
|
-
format: uri
|
|
1038
|
-
required:
|
|
1039
|
-
- app
|
|
1040
|
-
- location
|
|
1041
|
-
organization:
|
|
1057
|
+
nodes:
|
|
1058
|
+
type: array
|
|
1059
|
+
items:
|
|
1060
|
+
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1061
|
+
required:
|
|
1062
|
+
- object
|
|
1063
|
+
- nodes
|
|
1064
|
+
DocumentTextLeaf:
|
|
1065
|
+
type: object
|
|
1066
|
+
properties:
|
|
1067
|
+
object:
|
|
1042
1068
|
type: string
|
|
1043
|
-
|
|
1044
|
-
|
|
1069
|
+
enum:
|
|
1070
|
+
- leaf
|
|
1071
|
+
text:
|
|
1045
1072
|
type: string
|
|
1046
|
-
|
|
1073
|
+
marks:
|
|
1074
|
+
type: array
|
|
1075
|
+
items:
|
|
1076
|
+
$ref: "#/components/schemas/DocumentTextMark"
|
|
1077
|
+
required:
|
|
1078
|
+
- object
|
|
1079
|
+
- text
|
|
1080
|
+
- marks
|
|
1081
|
+
DocumentMarkBold:
|
|
1082
|
+
type: object
|
|
1083
|
+
properties:
|
|
1084
|
+
object:
|
|
1085
|
+
type: string
|
|
1086
|
+
enum:
|
|
1087
|
+
- mark
|
|
1088
|
+
type:
|
|
1089
|
+
type: string
|
|
1090
|
+
enum:
|
|
1091
|
+
- bold
|
|
1047
1092
|
required:
|
|
1048
1093
|
- object
|
|
1049
|
-
- id
|
|
1050
1094
|
- type
|
|
1051
|
-
|
|
1052
|
-
- organization
|
|
1053
|
-
- visibility
|
|
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:
|
|
1095
|
+
DocumentMarkItalic:
|
|
1083
1096
|
type: object
|
|
1084
|
-
description: Edge of a space relation (target or source)
|
|
1085
1097
|
properties:
|
|
1086
|
-
|
|
1098
|
+
object:
|
|
1087
1099
|
type: string
|
|
1088
|
-
|
|
1100
|
+
enum:
|
|
1101
|
+
- mark
|
|
1102
|
+
type:
|
|
1103
|
+
type: string
|
|
1104
|
+
enum:
|
|
1105
|
+
- italic
|
|
1089
1106
|
required:
|
|
1090
|
-
-
|
|
1091
|
-
|
|
1107
|
+
- object
|
|
1108
|
+
- type
|
|
1109
|
+
DocumentMarkCode:
|
|
1092
1110
|
type: object
|
|
1093
|
-
description: Relation between an origin space and another space
|
|
1094
1111
|
properties:
|
|
1095
|
-
|
|
1112
|
+
object:
|
|
1096
1113
|
type: string
|
|
1114
|
+
enum:
|
|
1115
|
+
- mark
|
|
1097
1116
|
type:
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1117
|
+
type: string
|
|
1118
|
+
enum:
|
|
1119
|
+
- code
|
|
1120
|
+
required:
|
|
1121
|
+
- object
|
|
1122
|
+
- type
|
|
1123
|
+
DocumentMarkStrikethrough:
|
|
1124
|
+
type: object
|
|
1125
|
+
properties:
|
|
1126
|
+
object:
|
|
1127
|
+
type: string
|
|
1128
|
+
enum:
|
|
1129
|
+
- mark
|
|
1130
|
+
type:
|
|
1131
|
+
type: string
|
|
1132
|
+
enum:
|
|
1133
|
+
- strikethrough
|
|
1134
|
+
required:
|
|
1135
|
+
- object
|
|
1136
|
+
- type
|
|
1137
|
+
DocumentMarkColor:
|
|
1138
|
+
type: object
|
|
1139
|
+
properties:
|
|
1140
|
+
object:
|
|
1141
|
+
type: string
|
|
1142
|
+
enum:
|
|
1143
|
+
- mark
|
|
1144
|
+
type:
|
|
1145
|
+
type: string
|
|
1146
|
+
enum:
|
|
1147
|
+
- color
|
|
1148
|
+
data:
|
|
1107
1149
|
type: object
|
|
1108
|
-
description: URLs associated with the object
|
|
1109
1150
|
properties:
|
|
1110
|
-
|
|
1151
|
+
text:
|
|
1111
1152
|
type: string
|
|
1112
|
-
|
|
1113
|
-
|
|
1153
|
+
enum:
|
|
1154
|
+
- default
|
|
1155
|
+
- green
|
|
1156
|
+
- blue
|
|
1157
|
+
- red
|
|
1158
|
+
- orange
|
|
1159
|
+
- yellow
|
|
1160
|
+
- purple
|
|
1161
|
+
background:
|
|
1162
|
+
type: string
|
|
1163
|
+
enum:
|
|
1164
|
+
- default
|
|
1165
|
+
- green
|
|
1166
|
+
- blue
|
|
1167
|
+
- red
|
|
1168
|
+
- orange
|
|
1169
|
+
- yellow
|
|
1170
|
+
- purple
|
|
1114
1171
|
required:
|
|
1115
|
-
-
|
|
1172
|
+
- text
|
|
1173
|
+
- background
|
|
1116
1174
|
required:
|
|
1117
|
-
-
|
|
1175
|
+
- object
|
|
1118
1176
|
- type
|
|
1119
|
-
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
- $ref: "#/components/schemas/
|
|
1125
|
-
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
target:
|
|
1129
|
-
$ref: "#/components/schemas/SpaceRelationEdge"
|
|
1130
|
-
source:
|
|
1131
|
-
$ref: "#/components/schemas/SpaceRelationEdge"
|
|
1132
|
-
required:
|
|
1133
|
-
- target
|
|
1134
|
-
- source
|
|
1135
|
-
RevisionBase:
|
|
1177
|
+
- data
|
|
1178
|
+
DocumentTextMark:
|
|
1179
|
+
oneOf:
|
|
1180
|
+
- $ref: "#/components/schemas/DocumentMarkBold"
|
|
1181
|
+
- $ref: "#/components/schemas/DocumentMarkItalic"
|
|
1182
|
+
- $ref: "#/components/schemas/DocumentMarkCode"
|
|
1183
|
+
- $ref: "#/components/schemas/DocumentMarkStrikethrough"
|
|
1184
|
+
- $ref: "#/components/schemas/DocumentMarkColor"
|
|
1185
|
+
DocumentInlineLink:
|
|
1136
1186
|
type: object
|
|
1137
1187
|
properties:
|
|
1138
1188
|
object:
|
|
1139
1189
|
type: string
|
|
1140
|
-
description: Type of Object, always equals to "revision"
|
|
1141
1190
|
enum:
|
|
1142
|
-
-
|
|
1143
|
-
|
|
1144
|
-
description: Unique identifier for the revision
|
|
1191
|
+
- inline
|
|
1192
|
+
type:
|
|
1145
1193
|
type: string
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
pages:
|
|
1152
|
-
type: array
|
|
1153
|
-
items:
|
|
1154
|
-
$ref: "#/components/schemas/RevisionPage"
|
|
1155
|
-
files:
|
|
1194
|
+
enum:
|
|
1195
|
+
- link
|
|
1196
|
+
key:
|
|
1197
|
+
type: string
|
|
1198
|
+
nodes:
|
|
1156
1199
|
type: array
|
|
1157
1200
|
items:
|
|
1158
|
-
|
|
1159
|
-
|
|
1201
|
+
oneOf:
|
|
1202
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1203
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1204
|
+
data:
|
|
1160
1205
|
type: object
|
|
1161
|
-
|
|
1206
|
+
properties:
|
|
1207
|
+
ref:
|
|
1208
|
+
$ref: "#/components/schemas/ContentRef"
|
|
1209
|
+
required:
|
|
1210
|
+
- ref
|
|
1211
|
+
isVoid:
|
|
1212
|
+
type: boolean
|
|
1213
|
+
enum:
|
|
1214
|
+
- false
|
|
1215
|
+
required:
|
|
1216
|
+
- object
|
|
1217
|
+
- type
|
|
1218
|
+
- nodes
|
|
1219
|
+
- data
|
|
1220
|
+
DocumentInlineMath:
|
|
1221
|
+
type: object
|
|
1222
|
+
properties:
|
|
1223
|
+
object:
|
|
1224
|
+
type: string
|
|
1225
|
+
enum:
|
|
1226
|
+
- inline
|
|
1227
|
+
type:
|
|
1228
|
+
type: string
|
|
1229
|
+
enum:
|
|
1230
|
+
- inline-math
|
|
1231
|
+
key:
|
|
1232
|
+
type: string
|
|
1233
|
+
data:
|
|
1234
|
+
type: object
|
|
1235
|
+
properties:
|
|
1236
|
+
formula:
|
|
1237
|
+
type: string
|
|
1238
|
+
required:
|
|
1239
|
+
- formula
|
|
1240
|
+
isVoid:
|
|
1241
|
+
type: boolean
|
|
1242
|
+
enum:
|
|
1243
|
+
- true
|
|
1244
|
+
required:
|
|
1245
|
+
- object
|
|
1246
|
+
- type
|
|
1247
|
+
- data
|
|
1248
|
+
- isVoid
|
|
1249
|
+
DocumentInlineEmoji:
|
|
1250
|
+
type: object
|
|
1251
|
+
properties:
|
|
1252
|
+
object:
|
|
1253
|
+
type: string
|
|
1254
|
+
enum:
|
|
1255
|
+
- inline
|
|
1256
|
+
type:
|
|
1257
|
+
type: string
|
|
1258
|
+
enum:
|
|
1259
|
+
- emoji
|
|
1260
|
+
key:
|
|
1261
|
+
type: string
|
|
1262
|
+
data:
|
|
1263
|
+
type: object
|
|
1264
|
+
properties:
|
|
1265
|
+
code:
|
|
1266
|
+
type: string
|
|
1267
|
+
required:
|
|
1268
|
+
- code
|
|
1269
|
+
isVoid:
|
|
1270
|
+
type: boolean
|
|
1271
|
+
enum:
|
|
1272
|
+
- true
|
|
1273
|
+
required:
|
|
1274
|
+
- object
|
|
1275
|
+
- type
|
|
1276
|
+
- data
|
|
1277
|
+
- isVoid
|
|
1278
|
+
DocumentInlineImage:
|
|
1279
|
+
type: object
|
|
1280
|
+
properties:
|
|
1281
|
+
object:
|
|
1282
|
+
type: string
|
|
1283
|
+
enum:
|
|
1284
|
+
- inline
|
|
1285
|
+
type:
|
|
1286
|
+
type: string
|
|
1287
|
+
enum:
|
|
1288
|
+
- inline-image
|
|
1289
|
+
key:
|
|
1290
|
+
type: string
|
|
1291
|
+
data:
|
|
1292
|
+
type: object
|
|
1293
|
+
properties:
|
|
1294
|
+
ref:
|
|
1295
|
+
oneOf:
|
|
1296
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1297
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1298
|
+
refDark:
|
|
1299
|
+
oneOf:
|
|
1300
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1301
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1302
|
+
caption:
|
|
1303
|
+
type: string
|
|
1304
|
+
size:
|
|
1305
|
+
type: string
|
|
1306
|
+
enum:
|
|
1307
|
+
- original
|
|
1308
|
+
- line
|
|
1309
|
+
required:
|
|
1310
|
+
- ref
|
|
1311
|
+
isVoid:
|
|
1312
|
+
type: boolean
|
|
1313
|
+
enum:
|
|
1314
|
+
- true
|
|
1315
|
+
required:
|
|
1316
|
+
- object
|
|
1317
|
+
- type
|
|
1318
|
+
- data
|
|
1319
|
+
- isVoid
|
|
1320
|
+
DocumentInlineMention:
|
|
1321
|
+
type: object
|
|
1322
|
+
properties:
|
|
1323
|
+
object:
|
|
1324
|
+
type: string
|
|
1325
|
+
enum:
|
|
1326
|
+
- inline
|
|
1327
|
+
type:
|
|
1328
|
+
type: string
|
|
1329
|
+
enum:
|
|
1330
|
+
- mention
|
|
1331
|
+
key:
|
|
1332
|
+
type: string
|
|
1333
|
+
data:
|
|
1334
|
+
type: object
|
|
1335
|
+
properties:
|
|
1336
|
+
ref:
|
|
1337
|
+
$ref: "#/components/schemas/ContentRef"
|
|
1338
|
+
required:
|
|
1339
|
+
- ref
|
|
1340
|
+
isVoid:
|
|
1341
|
+
type: boolean
|
|
1342
|
+
enum:
|
|
1343
|
+
- true
|
|
1344
|
+
required:
|
|
1345
|
+
- object
|
|
1346
|
+
- type
|
|
1347
|
+
- data
|
|
1348
|
+
- isVoid
|
|
1349
|
+
DocumentInlineAnnotation:
|
|
1350
|
+
type: object
|
|
1351
|
+
properties:
|
|
1352
|
+
object:
|
|
1353
|
+
type: string
|
|
1354
|
+
enum:
|
|
1355
|
+
- inline
|
|
1356
|
+
type:
|
|
1357
|
+
type: string
|
|
1358
|
+
enum:
|
|
1359
|
+
- annotation
|
|
1360
|
+
key:
|
|
1361
|
+
type: string
|
|
1362
|
+
fragments:
|
|
1363
|
+
type: array
|
|
1364
|
+
items:
|
|
1365
|
+
allOf:
|
|
1366
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1367
|
+
- type: object
|
|
1368
|
+
properties:
|
|
1369
|
+
type:
|
|
1370
|
+
type: string
|
|
1371
|
+
enum:
|
|
1372
|
+
- annotation-body
|
|
1373
|
+
nodes:
|
|
1374
|
+
type: array
|
|
1375
|
+
items:
|
|
1376
|
+
oneOf:
|
|
1377
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1378
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
1379
|
+
minItems: 1
|
|
1380
|
+
required:
|
|
1381
|
+
- nodes
|
|
1382
|
+
- type
|
|
1383
|
+
isVoid:
|
|
1384
|
+
type: boolean
|
|
1385
|
+
enum:
|
|
1386
|
+
- true
|
|
1387
|
+
nodes:
|
|
1388
|
+
type: array
|
|
1389
|
+
items:
|
|
1390
|
+
$ref: "#/components/schemas/DocumentNodeText"
|
|
1391
|
+
data:
|
|
1392
|
+
type: object
|
|
1393
|
+
properties: {}
|
|
1394
|
+
additionalProperties: false
|
|
1395
|
+
required:
|
|
1396
|
+
- object
|
|
1397
|
+
- type
|
|
1398
|
+
- fragments
|
|
1399
|
+
- isVoid
|
|
1400
|
+
- nodes
|
|
1401
|
+
DocumentInlinesRich:
|
|
1402
|
+
oneOf:
|
|
1403
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1404
|
+
- $ref: "#/components/schemas/DocumentInlineLink"
|
|
1405
|
+
- $ref: "#/components/schemas/DocumentInlineEmoji"
|
|
1406
|
+
- $ref: "#/components/schemas/DocumentInlineMath"
|
|
1407
|
+
- $ref: "#/components/schemas/DocumentInlineImage"
|
|
1408
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1409
|
+
- $ref: "#/components/schemas/DocumentInlineMention"
|
|
1410
|
+
DocumentBlockParagraph:
|
|
1411
|
+
type: object
|
|
1412
|
+
properties:
|
|
1413
|
+
object:
|
|
1414
|
+
type: string
|
|
1415
|
+
enum:
|
|
1416
|
+
- block
|
|
1417
|
+
type:
|
|
1418
|
+
type: string
|
|
1419
|
+
enum:
|
|
1420
|
+
- paragraph
|
|
1421
|
+
key:
|
|
1422
|
+
type: string
|
|
1423
|
+
nodes:
|
|
1424
|
+
type: array
|
|
1425
|
+
items:
|
|
1426
|
+
$ref: "#/components/schemas/DocumentInlinesRich"
|
|
1427
|
+
isVoid:
|
|
1428
|
+
type: boolean
|
|
1429
|
+
enum:
|
|
1430
|
+
- false
|
|
1431
|
+
data:
|
|
1432
|
+
type: object
|
|
1433
|
+
properties: {}
|
|
1434
|
+
additionalProperties: false
|
|
1435
|
+
required:
|
|
1436
|
+
- object
|
|
1437
|
+
- type
|
|
1438
|
+
- nodes
|
|
1439
|
+
DocumentBlockHeading:
|
|
1440
|
+
type: object
|
|
1441
|
+
properties:
|
|
1442
|
+
object:
|
|
1443
|
+
type: string
|
|
1444
|
+
enum:
|
|
1445
|
+
- block
|
|
1446
|
+
type:
|
|
1447
|
+
type: string
|
|
1448
|
+
enum:
|
|
1449
|
+
- heading-1
|
|
1450
|
+
- heading-2
|
|
1451
|
+
- heading-3
|
|
1452
|
+
key:
|
|
1453
|
+
type: string
|
|
1454
|
+
nodes:
|
|
1455
|
+
type: array
|
|
1456
|
+
items:
|
|
1457
|
+
$ref: "#/components/schemas/DocumentInlinesRich"
|
|
1458
|
+
data:
|
|
1459
|
+
type: object
|
|
1460
|
+
properties:
|
|
1461
|
+
id:
|
|
1462
|
+
type: string
|
|
1463
|
+
pattern: ^[-a-z0-9.+_]+$
|
|
1464
|
+
meta:
|
|
1465
|
+
type: object
|
|
1466
|
+
properties:
|
|
1467
|
+
id:
|
|
1468
|
+
description: Unique ID to be used in an URL for the block.
|
|
1469
|
+
type: string
|
|
1470
|
+
required:
|
|
1471
|
+
- id
|
|
1472
|
+
isVoid:
|
|
1473
|
+
type: boolean
|
|
1474
|
+
enum:
|
|
1475
|
+
- false
|
|
1476
|
+
required:
|
|
1477
|
+
- object
|
|
1478
|
+
- type
|
|
1479
|
+
- nodes
|
|
1480
|
+
- data
|
|
1481
|
+
DocumentBlockQuote:
|
|
1482
|
+
type: object
|
|
1483
|
+
properties:
|
|
1484
|
+
object:
|
|
1485
|
+
type: string
|
|
1486
|
+
enum:
|
|
1487
|
+
- block
|
|
1488
|
+
type:
|
|
1489
|
+
type: string
|
|
1490
|
+
enum:
|
|
1491
|
+
- blockquote
|
|
1492
|
+
key:
|
|
1493
|
+
type: string
|
|
1494
|
+
nodes:
|
|
1495
|
+
type: array
|
|
1496
|
+
items:
|
|
1497
|
+
oneOf:
|
|
1498
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1499
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
1500
|
+
isVoid:
|
|
1501
|
+
type: boolean
|
|
1502
|
+
enum:
|
|
1503
|
+
- false
|
|
1504
|
+
data:
|
|
1505
|
+
type: object
|
|
1506
|
+
properties: {}
|
|
1507
|
+
additionalProperties: false
|
|
1508
|
+
required:
|
|
1509
|
+
- object
|
|
1510
|
+
- type
|
|
1511
|
+
- nodes
|
|
1512
|
+
DocumentBlockHint:
|
|
1513
|
+
type: object
|
|
1514
|
+
properties:
|
|
1515
|
+
object:
|
|
1516
|
+
type: string
|
|
1517
|
+
enum:
|
|
1518
|
+
- block
|
|
1519
|
+
type:
|
|
1520
|
+
type: string
|
|
1521
|
+
enum:
|
|
1522
|
+
- hint
|
|
1523
|
+
key:
|
|
1524
|
+
type: string
|
|
1525
|
+
data:
|
|
1526
|
+
type: object
|
|
1527
|
+
properties:
|
|
1528
|
+
style:
|
|
1529
|
+
type: string
|
|
1530
|
+
enum:
|
|
1531
|
+
- info
|
|
1532
|
+
- warning
|
|
1533
|
+
- danger
|
|
1534
|
+
- success
|
|
1535
|
+
required:
|
|
1536
|
+
- style
|
|
1537
|
+
nodes:
|
|
1538
|
+
type: array
|
|
1539
|
+
items:
|
|
1540
|
+
$ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1541
|
+
isVoid:
|
|
1542
|
+
type: boolean
|
|
1543
|
+
enum:
|
|
1544
|
+
- false
|
|
1545
|
+
required:
|
|
1546
|
+
- object
|
|
1547
|
+
- type
|
|
1548
|
+
- data
|
|
1549
|
+
- nodes
|
|
1550
|
+
DocumentBlockListUnordered:
|
|
1551
|
+
type: object
|
|
1552
|
+
properties:
|
|
1553
|
+
object:
|
|
1554
|
+
type: string
|
|
1555
|
+
enum:
|
|
1556
|
+
- block
|
|
1557
|
+
type:
|
|
1558
|
+
type: string
|
|
1559
|
+
enum:
|
|
1560
|
+
- list-unordered
|
|
1561
|
+
key:
|
|
1562
|
+
type: string
|
|
1563
|
+
nodes:
|
|
1564
|
+
type: array
|
|
1565
|
+
items:
|
|
1566
|
+
oneOf:
|
|
1567
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1568
|
+
data:
|
|
1569
|
+
type: object
|
|
1570
|
+
additionalProperties: false
|
|
1571
|
+
isVoid:
|
|
1572
|
+
type: boolean
|
|
1573
|
+
enum:
|
|
1574
|
+
- false
|
|
1575
|
+
required:
|
|
1576
|
+
- object
|
|
1577
|
+
- type
|
|
1578
|
+
- nodes
|
|
1579
|
+
DocumentBlockListOrdered:
|
|
1580
|
+
type: object
|
|
1581
|
+
properties:
|
|
1582
|
+
object:
|
|
1583
|
+
type: string
|
|
1584
|
+
enum:
|
|
1585
|
+
- block
|
|
1586
|
+
type:
|
|
1587
|
+
type: string
|
|
1588
|
+
enum:
|
|
1589
|
+
- list-ordered
|
|
1590
|
+
key:
|
|
1591
|
+
type: string
|
|
1592
|
+
data:
|
|
1593
|
+
type: object
|
|
1594
|
+
properties:
|
|
1595
|
+
start:
|
|
1596
|
+
type: number
|
|
1597
|
+
description: An integer to start counting from for the list items.
|
|
1598
|
+
nodes:
|
|
1599
|
+
type: array
|
|
1600
|
+
items:
|
|
1601
|
+
oneOf:
|
|
1602
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1603
|
+
isVoid:
|
|
1604
|
+
type: boolean
|
|
1605
|
+
enum:
|
|
1606
|
+
- false
|
|
1607
|
+
required:
|
|
1608
|
+
- object
|
|
1609
|
+
- type
|
|
1610
|
+
- data
|
|
1611
|
+
- nodes
|
|
1612
|
+
DocumentBlockListTasks:
|
|
1613
|
+
type: object
|
|
1614
|
+
properties:
|
|
1615
|
+
object:
|
|
1616
|
+
type: string
|
|
1617
|
+
enum:
|
|
1618
|
+
- block
|
|
1619
|
+
type:
|
|
1620
|
+
type: string
|
|
1621
|
+
enum:
|
|
1622
|
+
- list-tasks
|
|
1623
|
+
key:
|
|
1624
|
+
type: string
|
|
1625
|
+
nodes:
|
|
1626
|
+
type: array
|
|
1627
|
+
items:
|
|
1628
|
+
oneOf:
|
|
1629
|
+
- $ref: "#/components/schemas/DocumentBlockTaskListItem"
|
|
1630
|
+
isVoid:
|
|
1631
|
+
type: boolean
|
|
1632
|
+
enum:
|
|
1633
|
+
- false
|
|
1634
|
+
data:
|
|
1635
|
+
type: object
|
|
1636
|
+
properties: {}
|
|
1637
|
+
additionalProperties: false
|
|
1638
|
+
required:
|
|
1639
|
+
- object
|
|
1640
|
+
- type
|
|
1641
|
+
- nodes
|
|
1642
|
+
DocumentBlockListItem:
|
|
1643
|
+
type: object
|
|
1644
|
+
properties:
|
|
1645
|
+
object:
|
|
1646
|
+
type: string
|
|
1647
|
+
enum:
|
|
1648
|
+
- block
|
|
1649
|
+
type:
|
|
1650
|
+
type: string
|
|
1651
|
+
enum:
|
|
1652
|
+
- list-item
|
|
1653
|
+
key:
|
|
1654
|
+
type: string
|
|
1655
|
+
nodes:
|
|
1656
|
+
type: array
|
|
1657
|
+
items:
|
|
1658
|
+
oneOf:
|
|
1659
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
1660
|
+
isVoid:
|
|
1661
|
+
type: boolean
|
|
1662
|
+
enum:
|
|
1663
|
+
- false
|
|
1664
|
+
data:
|
|
1665
|
+
type: object
|
|
1666
|
+
properties: {}
|
|
1667
|
+
additionalProperties: false
|
|
1668
|
+
required:
|
|
1669
|
+
- object
|
|
1670
|
+
- type
|
|
1671
|
+
- nodes
|
|
1672
|
+
DocumentBlockTaskListItem:
|
|
1673
|
+
allOf:
|
|
1674
|
+
- $ref: "#/components/schemas/DocumentBlockListItem"
|
|
1675
|
+
- type: object
|
|
1676
|
+
properties:
|
|
1677
|
+
data:
|
|
1678
|
+
type: object
|
|
1679
|
+
properties:
|
|
1680
|
+
checked:
|
|
1681
|
+
type: boolean
|
|
1682
|
+
required:
|
|
1683
|
+
- checked
|
|
1684
|
+
required:
|
|
1685
|
+
- data
|
|
1686
|
+
DocumentBlockImages:
|
|
1687
|
+
type: object
|
|
1688
|
+
properties:
|
|
1689
|
+
object:
|
|
1690
|
+
type: string
|
|
1691
|
+
enum:
|
|
1692
|
+
- block
|
|
1693
|
+
type:
|
|
1694
|
+
type: string
|
|
1695
|
+
enum:
|
|
1696
|
+
- images
|
|
1697
|
+
key:
|
|
1698
|
+
type: string
|
|
1699
|
+
data:
|
|
1700
|
+
type: object
|
|
1701
|
+
properties:
|
|
1702
|
+
align:
|
|
1703
|
+
type: string
|
|
1704
|
+
enum:
|
|
1705
|
+
- center
|
|
1706
|
+
- left
|
|
1707
|
+
- right
|
|
1708
|
+
fullWidth:
|
|
1709
|
+
type: boolean
|
|
1710
|
+
nodes:
|
|
1711
|
+
type: array
|
|
1712
|
+
items:
|
|
1713
|
+
$ref: "#/components/schemas/DocumentBlockImage"
|
|
1714
|
+
isVoid:
|
|
1715
|
+
type: boolean
|
|
1716
|
+
enum:
|
|
1717
|
+
- true
|
|
1718
|
+
required:
|
|
1719
|
+
- object
|
|
1720
|
+
- type
|
|
1721
|
+
- data
|
|
1722
|
+
- nodes
|
|
1723
|
+
- isVoid
|
|
1724
|
+
DocumentBlockImage:
|
|
1725
|
+
type: object
|
|
1726
|
+
properties:
|
|
1727
|
+
object:
|
|
1728
|
+
type: string
|
|
1729
|
+
enum:
|
|
1730
|
+
- block
|
|
1731
|
+
type:
|
|
1732
|
+
type: string
|
|
1733
|
+
enum:
|
|
1734
|
+
- image
|
|
1735
|
+
key:
|
|
1736
|
+
type: string
|
|
1737
|
+
data:
|
|
1738
|
+
type: object
|
|
1739
|
+
properties:
|
|
1740
|
+
ref:
|
|
1741
|
+
oneOf:
|
|
1742
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1743
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1744
|
+
refDark:
|
|
1745
|
+
oneOf:
|
|
1746
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
1747
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1748
|
+
width:
|
|
1749
|
+
oneOf:
|
|
1750
|
+
- type: number
|
|
1751
|
+
- type: object
|
|
1752
|
+
properties:
|
|
1753
|
+
unit:
|
|
1754
|
+
type: string
|
|
1755
|
+
value:
|
|
1756
|
+
type: number
|
|
1757
|
+
required:
|
|
1758
|
+
- unit
|
|
1759
|
+
- value
|
|
1760
|
+
height:
|
|
1761
|
+
$ref: "#/components/schemas/DocumentBlockImage/properties/data/properties/width"
|
|
1762
|
+
required:
|
|
1763
|
+
- ref
|
|
1764
|
+
fragments:
|
|
1765
|
+
type: array
|
|
1766
|
+
items:
|
|
1767
|
+
allOf:
|
|
1768
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
1769
|
+
- type: object
|
|
1770
|
+
properties:
|
|
1771
|
+
type:
|
|
1772
|
+
type: string
|
|
1773
|
+
enum:
|
|
1774
|
+
- caption
|
|
1775
|
+
nodes:
|
|
1776
|
+
type: array
|
|
1777
|
+
items:
|
|
1778
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
1779
|
+
required:
|
|
1780
|
+
- nodes
|
|
1781
|
+
- type
|
|
1782
|
+
isVoid:
|
|
1783
|
+
type: boolean
|
|
1784
|
+
enum:
|
|
1785
|
+
- true
|
|
1786
|
+
required:
|
|
1787
|
+
- object
|
|
1788
|
+
- type
|
|
1789
|
+
- data
|
|
1790
|
+
- fragments
|
|
1791
|
+
- isVoid
|
|
1792
|
+
DocumentBlockFile:
|
|
1793
|
+
type: object
|
|
1794
|
+
properties:
|
|
1795
|
+
object:
|
|
1796
|
+
type: string
|
|
1797
|
+
enum:
|
|
1798
|
+
- block
|
|
1799
|
+
type:
|
|
1800
|
+
type: string
|
|
1801
|
+
enum:
|
|
1802
|
+
- file
|
|
1803
|
+
key:
|
|
1804
|
+
type: string
|
|
1805
|
+
data:
|
|
1806
|
+
type: object
|
|
1807
|
+
properties:
|
|
1808
|
+
ref:
|
|
1809
|
+
oneOf:
|
|
1810
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1811
|
+
required:
|
|
1812
|
+
- ref
|
|
1813
|
+
isVoid:
|
|
1814
|
+
type: boolean
|
|
1815
|
+
enum:
|
|
1816
|
+
- true
|
|
1817
|
+
required:
|
|
1818
|
+
- object
|
|
1819
|
+
- type
|
|
1820
|
+
- data
|
|
1821
|
+
- isVoid
|
|
1822
|
+
DocumentBlockDrawing:
|
|
1823
|
+
type: object
|
|
1824
|
+
properties:
|
|
1825
|
+
object:
|
|
1826
|
+
type: string
|
|
1827
|
+
enum:
|
|
1828
|
+
- block
|
|
1829
|
+
type:
|
|
1830
|
+
type: string
|
|
1831
|
+
enum:
|
|
1832
|
+
- drawing
|
|
1833
|
+
key:
|
|
1834
|
+
type: string
|
|
1835
|
+
data:
|
|
1836
|
+
type: object
|
|
1837
|
+
properties:
|
|
1838
|
+
ref:
|
|
1839
|
+
oneOf:
|
|
1840
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
1841
|
+
isVoid:
|
|
1842
|
+
type: boolean
|
|
1843
|
+
enum:
|
|
1844
|
+
- true
|
|
1845
|
+
required:
|
|
1846
|
+
- object
|
|
1847
|
+
- type
|
|
1848
|
+
- data
|
|
1849
|
+
- isVoid
|
|
1850
|
+
DocumentBlockEmbed:
|
|
1851
|
+
type: object
|
|
1852
|
+
properties:
|
|
1853
|
+
object:
|
|
1854
|
+
type: string
|
|
1855
|
+
enum:
|
|
1856
|
+
- block
|
|
1857
|
+
type:
|
|
1858
|
+
type: string
|
|
1859
|
+
enum:
|
|
1860
|
+
- embed
|
|
1861
|
+
key:
|
|
1862
|
+
type: string
|
|
1863
|
+
data:
|
|
1864
|
+
type: object
|
|
1865
|
+
properties:
|
|
1866
|
+
url:
|
|
1867
|
+
type: string
|
|
1868
|
+
fullWidth:
|
|
1869
|
+
type: boolean
|
|
1870
|
+
required:
|
|
1871
|
+
- url
|
|
1872
|
+
isVoid:
|
|
1873
|
+
type: boolean
|
|
1874
|
+
enum:
|
|
1875
|
+
- true
|
|
1876
|
+
required:
|
|
1877
|
+
- object
|
|
1878
|
+
- type
|
|
1879
|
+
- data
|
|
1880
|
+
- isVoid
|
|
1881
|
+
DocumentBlockCode:
|
|
1882
|
+
type: object
|
|
1883
|
+
properties:
|
|
1884
|
+
object:
|
|
1885
|
+
type: string
|
|
1886
|
+
enum:
|
|
1887
|
+
- block
|
|
1888
|
+
type:
|
|
1889
|
+
type: string
|
|
1890
|
+
enum:
|
|
1891
|
+
- code
|
|
1892
|
+
key:
|
|
1893
|
+
type: string
|
|
1894
|
+
data:
|
|
1895
|
+
type: object
|
|
1896
|
+
properties:
|
|
1897
|
+
syntax:
|
|
1898
|
+
type: string
|
|
1899
|
+
title:
|
|
1900
|
+
type: string
|
|
1901
|
+
overflow:
|
|
1902
|
+
type: string
|
|
1903
|
+
default: scroll
|
|
1904
|
+
enum:
|
|
1905
|
+
- scroll
|
|
1906
|
+
- wrap
|
|
1907
|
+
lineNumbers:
|
|
1908
|
+
type: boolean
|
|
1909
|
+
fullWidth:
|
|
1910
|
+
type: boolean
|
|
1911
|
+
nodes:
|
|
1912
|
+
type: array
|
|
1913
|
+
items:
|
|
1914
|
+
$ref: "#/components/schemas/DocumentBlockCodeLine"
|
|
1915
|
+
isVoid:
|
|
1916
|
+
type: boolean
|
|
1917
|
+
enum:
|
|
1918
|
+
- false
|
|
1919
|
+
required:
|
|
1920
|
+
- object
|
|
1921
|
+
- type
|
|
1922
|
+
- data
|
|
1923
|
+
- nodes
|
|
1924
|
+
DocumentBlockCodeLine:
|
|
1925
|
+
type: object
|
|
1926
|
+
properties:
|
|
1927
|
+
object:
|
|
1928
|
+
type: string
|
|
1929
|
+
enum:
|
|
1930
|
+
- block
|
|
1931
|
+
type:
|
|
1932
|
+
type: string
|
|
1933
|
+
enum:
|
|
1934
|
+
- code-line
|
|
1935
|
+
key:
|
|
1936
|
+
type: string
|
|
1937
|
+
nodes:
|
|
1938
|
+
type: array
|
|
1939
|
+
items:
|
|
1940
|
+
oneOf:
|
|
1941
|
+
- $ref: "#/components/schemas/DocumentNodeText"
|
|
1942
|
+
- $ref: "#/components/schemas/DocumentInlineAnnotation"
|
|
1943
|
+
data:
|
|
1944
|
+
type: object
|
|
1945
|
+
properties:
|
|
1946
|
+
highlighted:
|
|
1947
|
+
type: boolean
|
|
1948
|
+
isVoid:
|
|
1949
|
+
type: boolean
|
|
1950
|
+
enum:
|
|
1951
|
+
- false
|
|
1952
|
+
required:
|
|
1953
|
+
- object
|
|
1954
|
+
- type
|
|
1955
|
+
- nodes
|
|
1956
|
+
- data
|
|
1957
|
+
DocumentBlockMath:
|
|
1958
|
+
type: object
|
|
1959
|
+
properties:
|
|
1960
|
+
object:
|
|
1961
|
+
type: string
|
|
1962
|
+
enum:
|
|
1963
|
+
- block
|
|
1964
|
+
type:
|
|
1965
|
+
type: string
|
|
1966
|
+
enum:
|
|
1967
|
+
- math
|
|
1968
|
+
key:
|
|
1969
|
+
type: string
|
|
1970
|
+
data:
|
|
1971
|
+
type: object
|
|
1972
|
+
properties:
|
|
1973
|
+
formula:
|
|
1974
|
+
type: string
|
|
1975
|
+
required:
|
|
1976
|
+
- formula
|
|
1977
|
+
isVoid:
|
|
1978
|
+
type: boolean
|
|
1979
|
+
enum:
|
|
1980
|
+
- true
|
|
1981
|
+
required:
|
|
1982
|
+
- object
|
|
1983
|
+
- type
|
|
1984
|
+
- data
|
|
1985
|
+
- isVoid
|
|
1986
|
+
DocumentBlockExpandable:
|
|
1987
|
+
type: object
|
|
1988
|
+
properties:
|
|
1989
|
+
object:
|
|
1990
|
+
type: string
|
|
1991
|
+
enum:
|
|
1992
|
+
- block
|
|
1993
|
+
type:
|
|
1994
|
+
type: string
|
|
1995
|
+
enum:
|
|
1996
|
+
- expandable
|
|
1997
|
+
key:
|
|
1998
|
+
type: string
|
|
1999
|
+
isVoid:
|
|
2000
|
+
type: boolean
|
|
2001
|
+
enum:
|
|
2002
|
+
- true
|
|
2003
|
+
data:
|
|
2004
|
+
type: object
|
|
2005
|
+
properties: {}
|
|
2006
|
+
additionalProperties: false
|
|
2007
|
+
fragments:
|
|
2008
|
+
type: array
|
|
2009
|
+
items:
|
|
2010
|
+
oneOf:
|
|
2011
|
+
- allOf:
|
|
2012
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
2013
|
+
- type: object
|
|
2014
|
+
properties:
|
|
2015
|
+
fragment:
|
|
2016
|
+
type: string
|
|
2017
|
+
enum:
|
|
2018
|
+
- expandable-title
|
|
2019
|
+
type:
|
|
2020
|
+
type: string
|
|
2021
|
+
enum:
|
|
2022
|
+
- expandable-title
|
|
2023
|
+
nodes:
|
|
2024
|
+
type: array
|
|
2025
|
+
items:
|
|
2026
|
+
$ref: "#/components/schemas/DocumentBlockParagraph"
|
|
2027
|
+
minItems: 1
|
|
2028
|
+
maxItems: 1
|
|
2029
|
+
required:
|
|
2030
|
+
- nodes
|
|
2031
|
+
- fragment
|
|
2032
|
+
- type
|
|
2033
|
+
- allOf:
|
|
2034
|
+
- $ref: "#/components/schemas/DocumentNodeFragment"
|
|
2035
|
+
- type: object
|
|
2036
|
+
properties:
|
|
2037
|
+
fragment:
|
|
2038
|
+
type: string
|
|
2039
|
+
enum:
|
|
2040
|
+
- expandable-body
|
|
2041
|
+
type:
|
|
2042
|
+
type: string
|
|
2043
|
+
enum:
|
|
2044
|
+
- expandable-body
|
|
2045
|
+
nodes:
|
|
2046
|
+
type: array
|
|
2047
|
+
items:
|
|
2048
|
+
oneOf:
|
|
2049
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
2050
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
2051
|
+
minItems: 1
|
|
2052
|
+
required:
|
|
2053
|
+
- nodes
|
|
2054
|
+
- fragment
|
|
2055
|
+
- type
|
|
2056
|
+
meta:
|
|
2057
|
+
type: object
|
|
2058
|
+
properties:
|
|
2059
|
+
id:
|
|
2060
|
+
description: Unique ID to be used in an URL for the block.
|
|
2061
|
+
type: string
|
|
2062
|
+
required:
|
|
2063
|
+
- id
|
|
2064
|
+
required:
|
|
2065
|
+
- object
|
|
2066
|
+
- type
|
|
2067
|
+
- isVoid
|
|
2068
|
+
- fragments
|
|
2069
|
+
- data
|
|
2070
|
+
DocumentBlockTabs:
|
|
2071
|
+
type: object
|
|
2072
|
+
properties:
|
|
2073
|
+
object:
|
|
2074
|
+
type: string
|
|
2075
|
+
enum:
|
|
2076
|
+
- block
|
|
2077
|
+
type:
|
|
2078
|
+
type: string
|
|
2079
|
+
enum:
|
|
2080
|
+
- tabs
|
|
2081
|
+
key:
|
|
2082
|
+
type: string
|
|
2083
|
+
nodes:
|
|
2084
|
+
type: array
|
|
2085
|
+
items:
|
|
2086
|
+
$ref: "#/components/schemas/DocumentBlockTabsItem"
|
|
2087
|
+
isVoid:
|
|
2088
|
+
type: boolean
|
|
2089
|
+
enum:
|
|
2090
|
+
- false
|
|
2091
|
+
data:
|
|
2092
|
+
type: object
|
|
2093
|
+
properties: {}
|
|
2094
|
+
additionalProperties: false
|
|
2095
|
+
required:
|
|
2096
|
+
- object
|
|
2097
|
+
- type
|
|
2098
|
+
- nodes
|
|
2099
|
+
DocumentBlockSwagger:
|
|
2100
|
+
type: object
|
|
2101
|
+
properties:
|
|
2102
|
+
object:
|
|
2103
|
+
type: string
|
|
2104
|
+
enum:
|
|
2105
|
+
- block
|
|
2106
|
+
type:
|
|
2107
|
+
type: string
|
|
2108
|
+
enum:
|
|
2109
|
+
- swagger
|
|
2110
|
+
key:
|
|
2111
|
+
type: string
|
|
2112
|
+
data:
|
|
2113
|
+
type: object
|
|
2114
|
+
properties:
|
|
2115
|
+
ref:
|
|
2116
|
+
oneOf:
|
|
2117
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
2118
|
+
path:
|
|
2119
|
+
type: string
|
|
2120
|
+
description: Path of the operation in the OpenAPI spec.
|
|
2121
|
+
method:
|
|
2122
|
+
type: string
|
|
2123
|
+
description: HTTP method of the operation in the OpenAPI spec.
|
|
2124
|
+
expanded:
|
|
2125
|
+
type: boolean
|
|
2126
|
+
description: If true, the block is opened by default.
|
|
2127
|
+
fullWidth:
|
|
2128
|
+
type: boolean
|
|
2129
|
+
required:
|
|
2130
|
+
- ref
|
|
2131
|
+
isVoid:
|
|
2132
|
+
type: boolean
|
|
2133
|
+
enum:
|
|
2134
|
+
- true
|
|
2135
|
+
meta:
|
|
2136
|
+
type: object
|
|
2137
|
+
properties:
|
|
2138
|
+
id:
|
|
2139
|
+
description: Unique ID to be used in an URL for the block.
|
|
2140
|
+
type: string
|
|
2141
|
+
required:
|
|
2142
|
+
- id
|
|
2143
|
+
required:
|
|
2144
|
+
- object
|
|
2145
|
+
- type
|
|
2146
|
+
- data
|
|
2147
|
+
- isVoid
|
|
2148
|
+
DocumentBlockTable:
|
|
2149
|
+
type: object
|
|
2150
|
+
properties:
|
|
2151
|
+
object:
|
|
2152
|
+
type: string
|
|
2153
|
+
enum:
|
|
2154
|
+
- block
|
|
2155
|
+
type:
|
|
2156
|
+
type: string
|
|
2157
|
+
enum:
|
|
2158
|
+
- table
|
|
2159
|
+
key:
|
|
2160
|
+
type: string
|
|
2161
|
+
isVoid:
|
|
2162
|
+
type: boolean
|
|
2163
|
+
enum:
|
|
2164
|
+
- true
|
|
2165
|
+
data:
|
|
2166
|
+
type: object
|
|
2167
|
+
properties:
|
|
2168
|
+
view:
|
|
2169
|
+
oneOf:
|
|
2170
|
+
- $ref: "#/components/schemas/DocumentTableViewGrid"
|
|
2171
|
+
- $ref: "#/components/schemas/DocumentTableViewCards"
|
|
2172
|
+
records:
|
|
2173
|
+
type: object
|
|
2174
|
+
additionalProperties:
|
|
2175
|
+
$ref: "#/components/schemas/DocumentTableRecord"
|
|
2176
|
+
definition:
|
|
2177
|
+
type: object
|
|
2178
|
+
additionalProperties:
|
|
2179
|
+
$ref: "#/components/schemas/DocumentTableDefinition"
|
|
2180
|
+
fullWidth:
|
|
2181
|
+
type: boolean
|
|
2182
|
+
description: Whether to render the block as a full width one
|
|
2183
|
+
required:
|
|
2184
|
+
- view
|
|
2185
|
+
- records
|
|
2186
|
+
- definition
|
|
2187
|
+
fragments:
|
|
2188
|
+
type: array
|
|
2189
|
+
items:
|
|
2190
|
+
$ref: "#/components/schemas/DocumentNodeFragment"
|
|
2191
|
+
required:
|
|
2192
|
+
- object
|
|
2193
|
+
- type
|
|
2194
|
+
- data
|
|
2195
|
+
- isVoid
|
|
2196
|
+
- fragments
|
|
2197
|
+
DocumentTableRecord:
|
|
2198
|
+
type: object
|
|
2199
|
+
properties:
|
|
2200
|
+
orderIndex:
|
|
2201
|
+
type: string
|
|
2202
|
+
values:
|
|
2203
|
+
type: object
|
|
2204
|
+
additionalProperties:
|
|
2205
|
+
oneOf:
|
|
2206
|
+
- type: number
|
|
2207
|
+
- type: string
|
|
2208
|
+
- type: boolean
|
|
2209
|
+
- type: array
|
|
2210
|
+
items:
|
|
2211
|
+
type: string
|
|
2212
|
+
- $ref: "#/components/schemas/ContentRef"
|
|
2213
|
+
required:
|
|
2214
|
+
- orderIndex
|
|
2215
|
+
- values
|
|
2216
|
+
DocumentTableDefinitionBase:
|
|
2217
|
+
type: object
|
|
2218
|
+
properties:
|
|
2219
|
+
id:
|
|
2220
|
+
type: string
|
|
2221
|
+
title:
|
|
2222
|
+
type: string
|
|
2223
|
+
description: Title for the column
|
|
2224
|
+
required:
|
|
2225
|
+
- id
|
|
2226
|
+
- title
|
|
2227
|
+
DocumentTableDefinition:
|
|
2228
|
+
oneOf:
|
|
2229
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionText"
|
|
2230
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionNumber"
|
|
2231
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionCheckbox"
|
|
2232
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionFiles"
|
|
2233
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionUsers"
|
|
2234
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionRating"
|
|
2235
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionSelect"
|
|
2236
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionContentRef"
|
|
2237
|
+
DocumentTableDefinitionText:
|
|
2238
|
+
allOf:
|
|
2239
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2240
|
+
- type: object
|
|
2241
|
+
properties:
|
|
2242
|
+
type:
|
|
2243
|
+
type: string
|
|
2244
|
+
enum:
|
|
2245
|
+
- text
|
|
2246
|
+
textAlignment:
|
|
2247
|
+
type: string
|
|
2248
|
+
enum:
|
|
2249
|
+
- center
|
|
2250
|
+
- right
|
|
2251
|
+
- left
|
|
2252
|
+
required:
|
|
2253
|
+
- type
|
|
2254
|
+
- textAlignment
|
|
2255
|
+
DocumentTableDefinitionNumber:
|
|
2256
|
+
allOf:
|
|
2257
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2258
|
+
- type: object
|
|
2259
|
+
properties:
|
|
2260
|
+
type:
|
|
2261
|
+
type: string
|
|
2262
|
+
enum:
|
|
2263
|
+
- number
|
|
2264
|
+
required:
|
|
2265
|
+
- type
|
|
2266
|
+
DocumentTableDefinitionCheckbox:
|
|
2267
|
+
allOf:
|
|
2268
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2269
|
+
- type: object
|
|
2270
|
+
properties:
|
|
2271
|
+
type:
|
|
2272
|
+
type: string
|
|
2273
|
+
enum:
|
|
2274
|
+
- checkbox
|
|
2275
|
+
required:
|
|
2276
|
+
- type
|
|
2277
|
+
DocumentTableDefinitionFiles:
|
|
2278
|
+
allOf:
|
|
2279
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2280
|
+
- type: object
|
|
2281
|
+
properties:
|
|
2282
|
+
type:
|
|
2283
|
+
type: string
|
|
2284
|
+
enum:
|
|
2285
|
+
- files
|
|
2286
|
+
required:
|
|
2287
|
+
- type
|
|
2288
|
+
DocumentTableDefinitionUsers:
|
|
2289
|
+
allOf:
|
|
2290
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2291
|
+
- type: object
|
|
2292
|
+
properties:
|
|
2293
|
+
type:
|
|
2294
|
+
type: string
|
|
2295
|
+
enum:
|
|
2296
|
+
- users
|
|
2297
|
+
multiple:
|
|
2298
|
+
type: boolean
|
|
2299
|
+
required:
|
|
2300
|
+
- type
|
|
2301
|
+
- multiple
|
|
2302
|
+
DocumentTableDefinitionRating:
|
|
2303
|
+
allOf:
|
|
2304
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2305
|
+
- type: object
|
|
2306
|
+
properties:
|
|
2307
|
+
type:
|
|
2308
|
+
type: string
|
|
2309
|
+
enum:
|
|
2310
|
+
- rating
|
|
2311
|
+
max:
|
|
2312
|
+
type: number
|
|
2313
|
+
required:
|
|
2314
|
+
- type
|
|
2315
|
+
- max
|
|
2316
|
+
DocumentTableDefinitionSelect:
|
|
2317
|
+
allOf:
|
|
2318
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2319
|
+
- type: object
|
|
2320
|
+
properties:
|
|
2321
|
+
type:
|
|
2322
|
+
type: string
|
|
2323
|
+
enum:
|
|
2324
|
+
- select
|
|
2325
|
+
multiple:
|
|
2326
|
+
type: boolean
|
|
2327
|
+
options:
|
|
2328
|
+
type: array
|
|
2329
|
+
items:
|
|
2330
|
+
$ref: "#/components/schemas/DocumentTableSelectOption"
|
|
2331
|
+
required:
|
|
2332
|
+
- type
|
|
2333
|
+
- multiple
|
|
2334
|
+
- options
|
|
2335
|
+
DocumentTableDefinitionContentRef:
|
|
2336
|
+
allOf:
|
|
2337
|
+
- $ref: "#/components/schemas/DocumentTableDefinitionBase"
|
|
2338
|
+
- type: object
|
|
2339
|
+
properties:
|
|
2340
|
+
type:
|
|
2341
|
+
type: string
|
|
2342
|
+
enum:
|
|
2343
|
+
- content-ref
|
|
2344
|
+
required:
|
|
2345
|
+
- type
|
|
2346
|
+
DocumentTableSelectOption:
|
|
2347
|
+
type: object
|
|
2348
|
+
properties:
|
|
2349
|
+
value:
|
|
2350
|
+
type: string
|
|
2351
|
+
label:
|
|
2352
|
+
type: string
|
|
2353
|
+
color:
|
|
2354
|
+
type: string
|
|
2355
|
+
required:
|
|
2356
|
+
- value
|
|
2357
|
+
- label
|
|
2358
|
+
- color
|
|
2359
|
+
DocumentTableViewCards:
|
|
2360
|
+
type: object
|
|
2361
|
+
properties:
|
|
2362
|
+
type:
|
|
2363
|
+
type: string
|
|
2364
|
+
enum:
|
|
2365
|
+
- cards
|
|
2366
|
+
cardSize:
|
|
2367
|
+
type: string
|
|
2368
|
+
description: Size of the cards. It indicates how many columns will be used
|
|
2369
|
+
enum:
|
|
2370
|
+
- medium
|
|
2371
|
+
- large
|
|
2372
|
+
columns:
|
|
2373
|
+
type: array
|
|
2374
|
+
description: Ordered list of the definition IDs to display
|
|
2375
|
+
items:
|
|
2376
|
+
type: string
|
|
2377
|
+
targetDefinition:
|
|
2378
|
+
type: string
|
|
2379
|
+
description: Definition ID to use as a target link for the card
|
|
2380
|
+
coverDefinition:
|
|
2381
|
+
type: string
|
|
2382
|
+
description: Definition ID to use as a cover image
|
|
2383
|
+
hideColumnTitle:
|
|
2384
|
+
type: boolean
|
|
2385
|
+
description: Should we display the column title or not
|
|
2386
|
+
required:
|
|
2387
|
+
- type
|
|
2388
|
+
- columns
|
|
2389
|
+
- cardSize
|
|
2390
|
+
DocumentTableViewGrid:
|
|
2391
|
+
type: object
|
|
2392
|
+
properties:
|
|
2393
|
+
type:
|
|
2394
|
+
type: string
|
|
2395
|
+
enum:
|
|
2396
|
+
- grid
|
|
2397
|
+
columns:
|
|
2398
|
+
type: array
|
|
2399
|
+
description: Ordered list of the definition IDs to display
|
|
2400
|
+
items:
|
|
2401
|
+
type: string
|
|
2402
|
+
columnWidths:
|
|
2403
|
+
type: object
|
|
2404
|
+
description: Percent width of each column
|
|
2405
|
+
additionalProperties:
|
|
2406
|
+
type: number
|
|
2407
|
+
hideHeader:
|
|
2408
|
+
type: boolean
|
|
2409
|
+
description: Should we display the header with column titles
|
|
2410
|
+
useNewSizing:
|
|
2411
|
+
type: boolean
|
|
2412
|
+
description: |
|
|
2413
|
+
Tables in GitBook originally used a scaled width approach i.e. the width defined
|
|
2414
|
+
in columnWidths would be scaled to ensure a 100% width table.
|
|
2415
|
+
|
|
2416
|
+
We later changed this to treat the widths in columnWidths as exact values - they are
|
|
2417
|
+
never scaled. A columnWidth of 50 is rendered as 50px.
|
|
2418
|
+
|
|
2419
|
+
In order to maintain backwards compatibility, we track whether or not we
|
|
2420
|
+
use the new system here.
|
|
2421
|
+
|
|
2422
|
+
All new tables should have this value set to true, older tables will have it set
|
|
2423
|
+
to undefined.
|
|
2424
|
+
required:
|
|
2425
|
+
- type
|
|
2426
|
+
- columns
|
|
2427
|
+
- hideHeader
|
|
2428
|
+
DocumentBlockTabsItem:
|
|
2429
|
+
type: object
|
|
2430
|
+
properties:
|
|
2431
|
+
object:
|
|
2432
|
+
type: string
|
|
2433
|
+
enum:
|
|
2434
|
+
- block
|
|
2435
|
+
type:
|
|
2436
|
+
type: string
|
|
2437
|
+
enum:
|
|
2438
|
+
- tabs-item
|
|
2439
|
+
key:
|
|
2440
|
+
type: string
|
|
2441
|
+
nodes:
|
|
2442
|
+
type: array
|
|
2443
|
+
items:
|
|
2444
|
+
oneOf:
|
|
2445
|
+
- $ref: "#/components/schemas/DocumentBlocksEssentials"
|
|
2446
|
+
- $ref: "#/components/schemas/DocumentBlockContentRef"
|
|
2447
|
+
- $ref: "#/components/schemas/DocumentBlockCode"
|
|
2448
|
+
- $ref: "#/components/schemas/DocumentBlockEmbed"
|
|
2449
|
+
- $ref: "#/components/schemas/DocumentBlockFile"
|
|
2450
|
+
- $ref: "#/components/schemas/DocumentBlockImages"
|
|
2451
|
+
- $ref: "#/components/schemas/DocumentBlockDrawing"
|
|
2452
|
+
- $ref: "#/components/schemas/DocumentBlockHint"
|
|
2453
|
+
- $ref: "#/components/schemas/DocumentBlockQuote"
|
|
2454
|
+
- $ref: "#/components/schemas/DocumentBlockMath"
|
|
2455
|
+
- $ref: "#/components/schemas/DocumentBlockIntegration"
|
|
2456
|
+
data:
|
|
2457
|
+
type: object
|
|
2458
|
+
properties:
|
|
2459
|
+
title:
|
|
2460
|
+
type: string
|
|
2461
|
+
meta:
|
|
2462
|
+
type: object
|
|
2463
|
+
properties:
|
|
2464
|
+
id:
|
|
2465
|
+
description: Unique ID to be used in an URL for the block.
|
|
2466
|
+
type: string
|
|
1162
2467
|
required:
|
|
1163
|
-
-
|
|
1164
|
-
|
|
1165
|
-
|
|
2468
|
+
- id
|
|
2469
|
+
isVoid:
|
|
2470
|
+
type: boolean
|
|
2471
|
+
enum:
|
|
2472
|
+
- false
|
|
2473
|
+
required:
|
|
2474
|
+
- object
|
|
2475
|
+
- type
|
|
2476
|
+
- nodes
|
|
2477
|
+
- data
|
|
2478
|
+
DocumentBlockContentRef:
|
|
2479
|
+
type: object
|
|
2480
|
+
properties:
|
|
2481
|
+
object:
|
|
2482
|
+
type: string
|
|
2483
|
+
enum:
|
|
2484
|
+
- block
|
|
2485
|
+
type:
|
|
2486
|
+
type: string
|
|
2487
|
+
enum:
|
|
2488
|
+
- content-ref
|
|
2489
|
+
key:
|
|
2490
|
+
type: string
|
|
2491
|
+
data:
|
|
2492
|
+
type: object
|
|
1166
2493
|
properties:
|
|
1167
|
-
|
|
2494
|
+
ref:
|
|
2495
|
+
$ref: "#/components/schemas/ContentRef"
|
|
2496
|
+
required:
|
|
2497
|
+
- ref
|
|
2498
|
+
isVoid:
|
|
2499
|
+
type: boolean
|
|
2500
|
+
enum:
|
|
2501
|
+
- true
|
|
2502
|
+
required:
|
|
2503
|
+
- object
|
|
2504
|
+
- type
|
|
2505
|
+
- data
|
|
2506
|
+
- isVoid
|
|
2507
|
+
DocumentBlockIntegration:
|
|
2508
|
+
type: object
|
|
2509
|
+
properties:
|
|
2510
|
+
object:
|
|
2511
|
+
type: string
|
|
2512
|
+
enum:
|
|
2513
|
+
- block
|
|
2514
|
+
type:
|
|
2515
|
+
type: string
|
|
2516
|
+
enum:
|
|
2517
|
+
- integration
|
|
2518
|
+
key:
|
|
2519
|
+
type: string
|
|
2520
|
+
data:
|
|
2521
|
+
type: object
|
|
2522
|
+
properties:
|
|
2523
|
+
integration:
|
|
1168
2524
|
type: string
|
|
1169
|
-
description:
|
|
1170
|
-
|
|
2525
|
+
description: Name of the integration
|
|
2526
|
+
block:
|
|
1171
2527
|
type: string
|
|
1172
|
-
description:
|
|
1173
|
-
|
|
1174
|
-
type:
|
|
1175
|
-
description:
|
|
2528
|
+
description: ID of the block in the integration
|
|
2529
|
+
props:
|
|
2530
|
+
type: object
|
|
2531
|
+
description: Properties passed to the block during rendering
|
|
2532
|
+
additionalProperties:
|
|
2533
|
+
description: Any value
|
|
2534
|
+
action:
|
|
2535
|
+
$ref: "#/components/schemas/ContentKitAction"
|
|
1176
2536
|
url:
|
|
1177
2537
|
type: string
|
|
1178
|
-
description:
|
|
2538
|
+
description: |
|
|
2539
|
+
URL associated with the content represented by the block.
|
|
2540
|
+
This property is set when creating a block from a URL (unfurl) to ensure
|
|
2541
|
+
we can convert the block back to an embed.
|
|
2542
|
+
fullWidth:
|
|
2543
|
+
type: boolean
|
|
2544
|
+
required:
|
|
2545
|
+
- integration
|
|
2546
|
+
- block
|
|
2547
|
+
- props
|
|
2548
|
+
isVoid:
|
|
2549
|
+
type: boolean
|
|
2550
|
+
enum:
|
|
2551
|
+
- true
|
|
2552
|
+
required:
|
|
2553
|
+
- object
|
|
2554
|
+
- type
|
|
2555
|
+
- data
|
|
2556
|
+
- isVoid
|
|
2557
|
+
DocumentBlockDivider:
|
|
2558
|
+
type: object
|
|
2559
|
+
properties:
|
|
2560
|
+
object:
|
|
2561
|
+
type: string
|
|
2562
|
+
enum:
|
|
2563
|
+
- block
|
|
2564
|
+
type:
|
|
2565
|
+
type: string
|
|
2566
|
+
enum:
|
|
2567
|
+
- divider
|
|
2568
|
+
key:
|
|
2569
|
+
type: string
|
|
2570
|
+
isVoid:
|
|
2571
|
+
type: boolean
|
|
2572
|
+
enum:
|
|
2573
|
+
- true
|
|
2574
|
+
data:
|
|
2575
|
+
type: object
|
|
2576
|
+
properties: {}
|
|
2577
|
+
additionalProperties: false
|
|
2578
|
+
required:
|
|
2579
|
+
- object
|
|
2580
|
+
- type
|
|
2581
|
+
- isVoid
|
|
2582
|
+
- data
|
|
2583
|
+
ContentRef:
|
|
2584
|
+
oneOf:
|
|
2585
|
+
- $ref: "#/components/schemas/ContentRefFile"
|
|
2586
|
+
- $ref: "#/components/schemas/ContentRefURL"
|
|
2587
|
+
- $ref: "#/components/schemas/ContentRefPage"
|
|
2588
|
+
- $ref: "#/components/schemas/ContentRefAnchor"
|
|
2589
|
+
- $ref: "#/components/schemas/ContentRefUser"
|
|
2590
|
+
- $ref: "#/components/schemas/ContentRefCollection"
|
|
2591
|
+
- $ref: "#/components/schemas/ContentRefSpace"
|
|
2592
|
+
ContentRefURL:
|
|
2593
|
+
type: object
|
|
2594
|
+
properties:
|
|
2595
|
+
kind:
|
|
2596
|
+
type: string
|
|
2597
|
+
enum:
|
|
2598
|
+
- url
|
|
2599
|
+
url:
|
|
2600
|
+
type: string
|
|
2601
|
+
required:
|
|
2602
|
+
- kind
|
|
2603
|
+
- url
|
|
2604
|
+
ContentRefFile:
|
|
2605
|
+
type: object
|
|
2606
|
+
properties:
|
|
2607
|
+
kind:
|
|
2608
|
+
type: string
|
|
2609
|
+
enum:
|
|
2610
|
+
- file
|
|
2611
|
+
file:
|
|
2612
|
+
type: string
|
|
2613
|
+
required:
|
|
2614
|
+
- kind
|
|
2615
|
+
- file
|
|
2616
|
+
ContentRefPage:
|
|
2617
|
+
type: object
|
|
2618
|
+
properties:
|
|
2619
|
+
kind:
|
|
2620
|
+
type: string
|
|
2621
|
+
enum:
|
|
2622
|
+
- page
|
|
2623
|
+
page:
|
|
2624
|
+
type: string
|
|
2625
|
+
space:
|
|
2626
|
+
type: string
|
|
2627
|
+
required:
|
|
2628
|
+
- kind
|
|
2629
|
+
- page
|
|
2630
|
+
- space
|
|
2631
|
+
ContentRefAnchor:
|
|
2632
|
+
type: object
|
|
2633
|
+
properties:
|
|
2634
|
+
kind:
|
|
2635
|
+
type: string
|
|
2636
|
+
enum:
|
|
2637
|
+
- anchor
|
|
2638
|
+
anchor:
|
|
2639
|
+
type: string
|
|
2640
|
+
space:
|
|
2641
|
+
type: string
|
|
2642
|
+
page:
|
|
2643
|
+
type: string
|
|
2644
|
+
required:
|
|
2645
|
+
- kind
|
|
2646
|
+
- anchor
|
|
2647
|
+
ContentRefUser:
|
|
2648
|
+
type: object
|
|
2649
|
+
properties:
|
|
2650
|
+
kind:
|
|
2651
|
+
type: string
|
|
2652
|
+
enum:
|
|
2653
|
+
- user
|
|
2654
|
+
user:
|
|
2655
|
+
type: string
|
|
2656
|
+
required:
|
|
2657
|
+
- kind
|
|
2658
|
+
- user
|
|
2659
|
+
ContentRefCollection:
|
|
2660
|
+
type: object
|
|
2661
|
+
properties:
|
|
2662
|
+
kind:
|
|
2663
|
+
type: string
|
|
2664
|
+
enum:
|
|
2665
|
+
- collection
|
|
2666
|
+
collection:
|
|
2667
|
+
type: string
|
|
2668
|
+
required:
|
|
2669
|
+
- kind
|
|
2670
|
+
- collection
|
|
2671
|
+
ContentRefSpace:
|
|
2672
|
+
type: object
|
|
2673
|
+
properties:
|
|
2674
|
+
kind:
|
|
2675
|
+
type: string
|
|
2676
|
+
enum:
|
|
2677
|
+
- space
|
|
2678
|
+
space:
|
|
2679
|
+
type: string
|
|
2680
|
+
required:
|
|
2681
|
+
- kind
|
|
2682
|
+
- space
|
|
2683
|
+
Space:
|
|
2684
|
+
type: object
|
|
2685
|
+
properties:
|
|
2686
|
+
object:
|
|
2687
|
+
type: string
|
|
2688
|
+
description: Type of Object, always equals to "space"
|
|
2689
|
+
enum:
|
|
2690
|
+
- space
|
|
2691
|
+
id:
|
|
2692
|
+
type: string
|
|
2693
|
+
description: Unique identifier for the space
|
|
2694
|
+
title:
|
|
2695
|
+
type: string
|
|
2696
|
+
description: Title of the space
|
|
2697
|
+
minLength: 0
|
|
2698
|
+
maxLength: 100
|
|
2699
|
+
visibility:
|
|
2700
|
+
$ref: "#/components/schemas/ContentVisibility"
|
|
2701
|
+
createdAt:
|
|
2702
|
+
$ref: "#/components/schemas/Date"
|
|
2703
|
+
updatedAt:
|
|
2704
|
+
$ref: "#/components/schemas/Date"
|
|
2705
|
+
deletedAt:
|
|
2706
|
+
$ref: "#/components/schemas/Date"
|
|
2707
|
+
urls:
|
|
2708
|
+
type: object
|
|
2709
|
+
description: URLs associated with the object
|
|
2710
|
+
properties:
|
|
2711
|
+
location:
|
|
2712
|
+
type: string
|
|
2713
|
+
description: URL of the space in the API
|
|
2714
|
+
format: uri
|
|
2715
|
+
app:
|
|
2716
|
+
type: string
|
|
2717
|
+
description: URL of the space in the application
|
|
2718
|
+
format: uri
|
|
2719
|
+
published:
|
|
2720
|
+
type: string
|
|
2721
|
+
description: URL of the published version of the space. Only defined when visibility is not "private."
|
|
2722
|
+
format: uri
|
|
2723
|
+
public:
|
|
2724
|
+
type: string
|
|
2725
|
+
description: URL of the public version of the space. Only defined when visibility is "public".
|
|
2726
|
+
format: uri
|
|
2727
|
+
required:
|
|
2728
|
+
- app
|
|
2729
|
+
- location
|
|
2730
|
+
organization:
|
|
2731
|
+
type: string
|
|
2732
|
+
description: ID of the organization owning this space
|
|
2733
|
+
parent:
|
|
2734
|
+
type: string
|
|
2735
|
+
description: ID of the parent collection.
|
|
2736
|
+
required:
|
|
2737
|
+
- object
|
|
2738
|
+
- id
|
|
2739
|
+
- type
|
|
2740
|
+
- title
|
|
2741
|
+
- organization
|
|
2742
|
+
- visibility
|
|
2743
|
+
- createdAt
|
|
2744
|
+
- updatedAt
|
|
2745
|
+
- urls
|
|
2746
|
+
RevisionBase:
|
|
2747
|
+
type: object
|
|
2748
|
+
properties:
|
|
2749
|
+
object:
|
|
2750
|
+
type: string
|
|
2751
|
+
description: Type of Object, always equals to "revision"
|
|
2752
|
+
enum:
|
|
2753
|
+
- revision
|
|
2754
|
+
id:
|
|
2755
|
+
description: Unique identifier for the revision
|
|
2756
|
+
type: string
|
|
2757
|
+
parents:
|
|
2758
|
+
description: IDs of the parent revisions
|
|
2759
|
+
type: array
|
|
2760
|
+
items:
|
|
2761
|
+
type: string
|
|
2762
|
+
pages:
|
|
2763
|
+
type: array
|
|
2764
|
+
items:
|
|
2765
|
+
$ref: "#/components/schemas/RevisionPage"
|
|
2766
|
+
files:
|
|
2767
|
+
type: array
|
|
2768
|
+
items:
|
|
2769
|
+
$ref: "#/components/schemas/RevisionFile"
|
|
2770
|
+
git:
|
|
2771
|
+
description: Metadata about a potential associated git commit.
|
|
2772
|
+
$ref: "#/components/schemas/GitSyncCommit"
|
|
1179
2773
|
urls:
|
|
1180
2774
|
type: object
|
|
1181
2775
|
properties:
|
|
@@ -1276,6 +2870,12 @@ components:
|
|
|
1276
2870
|
description: Title of the page
|
|
1277
2871
|
type: string
|
|
1278
2872
|
maxLength: 100
|
|
2873
|
+
createdAt:
|
|
2874
|
+
description: When the page was first created. Only present if page has been edited at least once.
|
|
2875
|
+
$ref: "#/components/schemas/Date"
|
|
2876
|
+
updatedAt:
|
|
2877
|
+
description: When the page was last edited. Only present if page has been edited at least once.
|
|
2878
|
+
$ref: "#/components/schemas/Date"
|
|
1279
2879
|
required:
|
|
1280
2880
|
- id
|
|
1281
2881
|
- title
|
|
@@ -1308,6 +2908,8 @@ components:
|
|
|
1308
2908
|
oneOf:
|
|
1309
2909
|
- $ref: "#/components/schemas/RevisionPageDocument"
|
|
1310
2910
|
- $ref: "#/components/schemas/RevisionPageLink"
|
|
2911
|
+
git:
|
|
2912
|
+
$ref: "#/components/schemas/GitSyncBlob"
|
|
1311
2913
|
required:
|
|
1312
2914
|
- kind
|
|
1313
2915
|
- type
|
|
@@ -1376,11 +2978,27 @@ components:
|
|
|
1376
2978
|
type: string
|
|
1377
2979
|
downloadURL:
|
|
1378
2980
|
type: string
|
|
2981
|
+
size:
|
|
2982
|
+
type: number
|
|
2983
|
+
dimensions:
|
|
2984
|
+
type: object
|
|
2985
|
+
description: For images, it contains the dimensions of it.
|
|
2986
|
+
properties:
|
|
2987
|
+
width:
|
|
2988
|
+
type: number
|
|
2989
|
+
height:
|
|
2990
|
+
type: number
|
|
2991
|
+
required:
|
|
2992
|
+
- width
|
|
2993
|
+
- height
|
|
2994
|
+
git:
|
|
2995
|
+
$ref: "#/components/schemas/GitSyncBlob"
|
|
1379
2996
|
required:
|
|
1380
2997
|
- id
|
|
1381
2998
|
- name
|
|
1382
2999
|
- contentType
|
|
1383
3000
|
- downloadURL
|
|
3001
|
+
- size
|
|
1384
3002
|
ImportContentSource:
|
|
1385
3003
|
type: string
|
|
1386
3004
|
enum:
|
|
@@ -1436,6 +3054,40 @@ components:
|
|
|
1436
3054
|
- running
|
|
1437
3055
|
- failure
|
|
1438
3056
|
- success
|
|
3057
|
+
GitSyncCommit:
|
|
3058
|
+
type: object
|
|
3059
|
+
properties:
|
|
3060
|
+
oid:
|
|
3061
|
+
type: string
|
|
3062
|
+
description: SHA for the commit
|
|
3063
|
+
message:
|
|
3064
|
+
type: string
|
|
3065
|
+
description: Message describing the purpose of the commit
|
|
3066
|
+
createdByGitBook:
|
|
3067
|
+
type: boolean
|
|
3068
|
+
description: If true, the Git commit was generated by an export from GitBook
|
|
3069
|
+
url:
|
|
3070
|
+
type: string
|
|
3071
|
+
description: URL of the commit in the GitSync provider
|
|
3072
|
+
ref:
|
|
3073
|
+
type: string
|
|
3074
|
+
description: Original name of the ref where the commit originated from
|
|
3075
|
+
required:
|
|
3076
|
+
- oid
|
|
3077
|
+
- message
|
|
3078
|
+
- createdByGitBook
|
|
3079
|
+
GitSyncBlob:
|
|
3080
|
+
type: object
|
|
3081
|
+
properties:
|
|
3082
|
+
oid:
|
|
3083
|
+
type: string
|
|
3084
|
+
description: SHA for the blob
|
|
3085
|
+
path:
|
|
3086
|
+
type: string
|
|
3087
|
+
description: Path of the blob in the Git tree
|
|
3088
|
+
required:
|
|
3089
|
+
- oid
|
|
3090
|
+
- path
|
|
1439
3091
|
Organization:
|
|
1440
3092
|
type: object
|
|
1441
3093
|
properties:
|
|
@@ -1683,11 +3335,22 @@ components:
|
|
|
1683
3335
|
type: string
|
|
1684
3336
|
description: |
|
|
1685
3337
|
"The role of a team member.
|
|
1686
|
-
"
|
|
1687
|
-
"
|
|
3338
|
+
"owner": Can manage team members.
|
|
3339
|
+
"member": Is a member of the team.
|
|
1688
3340
|
enum:
|
|
1689
|
-
-
|
|
1690
|
-
-
|
|
3341
|
+
- owner
|
|
3342
|
+
- member
|
|
3343
|
+
OrganizationTeamMember:
|
|
3344
|
+
type: object
|
|
3345
|
+
description: A member of a team in an organization, including its relationship to it
|
|
3346
|
+
properties:
|
|
3347
|
+
organization:
|
|
3348
|
+
$ref: "#/components/schemas/OrganizationMember"
|
|
3349
|
+
team:
|
|
3350
|
+
$ref: "#/components/schemas/TeamMember"
|
|
3351
|
+
required:
|
|
3352
|
+
- organization
|
|
3353
|
+
- team
|
|
1691
3354
|
Capture:
|
|
1692
3355
|
type: object
|
|
1693
3356
|
properties:
|
|
@@ -1711,6 +3374,9 @@ components:
|
|
|
1711
3374
|
stoppedAt:
|
|
1712
3375
|
type: string
|
|
1713
3376
|
format: date-time
|
|
3377
|
+
editedAt:
|
|
3378
|
+
type: string
|
|
3379
|
+
format: date-time
|
|
1714
3380
|
events:
|
|
1715
3381
|
description: Count of events recorded.
|
|
1716
3382
|
properties:
|
|
@@ -1909,6 +3575,15 @@ components:
|
|
|
1909
3575
|
- type
|
|
1910
3576
|
- filename
|
|
1911
3577
|
- fileSnapshot
|
|
3578
|
+
UpdateCaptureSchema:
|
|
3579
|
+
type: object
|
|
3580
|
+
properties:
|
|
3581
|
+
title:
|
|
3582
|
+
type: string
|
|
3583
|
+
description: A new title for the capture.
|
|
3584
|
+
body:
|
|
3585
|
+
description: Content of the capture.
|
|
3586
|
+
$ref: "#/components/schemas/Document"
|
|
1912
3587
|
ChangeRequest:
|
|
1913
3588
|
type: object
|
|
1914
3589
|
properties:
|
|
@@ -2321,7 +3996,7 @@ components:
|
|
|
2321
3996
|
type: string
|
|
2322
3997
|
enum:
|
|
2323
3998
|
- capture
|
|
2324
|
-
|
|
3999
|
+
captureId:
|
|
2325
4000
|
type: string
|
|
2326
4001
|
description: ID of the capture
|
|
2327
4002
|
source:
|
|
@@ -2329,7 +4004,7 @@ components:
|
|
|
2329
4004
|
description: Source of the capture
|
|
2330
4005
|
required:
|
|
2331
4006
|
- type
|
|
2332
|
-
-
|
|
4007
|
+
- captureId
|
|
2333
4008
|
- source
|
|
2334
4009
|
SearchAIRecommendedQuestions:
|
|
2335
4010
|
type: object
|
|
@@ -2526,6 +4201,11 @@ components:
|
|
|
2526
4201
|
maxItems: 3
|
|
2527
4202
|
items:
|
|
2528
4203
|
type: string
|
|
4204
|
+
target:
|
|
4205
|
+
$ref: "#/components/schemas/IntegrationTarget"
|
|
4206
|
+
verified:
|
|
4207
|
+
type: boolean
|
|
4208
|
+
description: If true, the integration has been verified by the GitBook team
|
|
2529
4209
|
visibility:
|
|
2530
4210
|
$ref: "#/components/schemas/IntegrationVisibility"
|
|
2531
4211
|
scopes:
|
|
@@ -2538,10 +4218,16 @@ components:
|
|
|
2538
4218
|
$ref: "#/components/schemas/IntegrationConfigurations"
|
|
2539
4219
|
externalLinks:
|
|
2540
4220
|
$ref: "#/components/schemas/IntegrationExternalLinks"
|
|
4221
|
+
owner:
|
|
4222
|
+
$ref: "#/components/schemas/Organization"
|
|
2541
4223
|
urls:
|
|
2542
4224
|
type: object
|
|
2543
4225
|
description: URLs associated with the object
|
|
2544
4226
|
properties:
|
|
4227
|
+
location:
|
|
4228
|
+
type: string
|
|
4229
|
+
description: URL of the integration in the API
|
|
4230
|
+
format: uri
|
|
2545
4231
|
icon:
|
|
2546
4232
|
type: string
|
|
2547
4233
|
description: URL of the icon associated to the integration
|
|
@@ -2559,9 +4245,18 @@ components:
|
|
|
2559
4245
|
description: Public HTTP endpoint for the integration
|
|
2560
4246
|
format: uri
|
|
2561
4247
|
required:
|
|
4248
|
+
- location
|
|
2562
4249
|
- app
|
|
2563
4250
|
- assets
|
|
2564
4251
|
- publicEndpoint
|
|
4252
|
+
permissions:
|
|
4253
|
+
type: object
|
|
4254
|
+
description: The set of permissions for the integration
|
|
4255
|
+
properties:
|
|
4256
|
+
admin:
|
|
4257
|
+
type: boolean
|
|
4258
|
+
required:
|
|
4259
|
+
- admin
|
|
2565
4260
|
contentSecurityPolicy:
|
|
2566
4261
|
$ref: "#/components/schemas/IntegrationContentSecurityPolicy"
|
|
2567
4262
|
required:
|
|
@@ -2572,8 +4267,12 @@ components:
|
|
|
2572
4267
|
- scopes
|
|
2573
4268
|
- categories
|
|
2574
4269
|
- visibility
|
|
4270
|
+
- target
|
|
4271
|
+
- verified
|
|
2575
4272
|
- previewImages
|
|
2576
4273
|
- externalLinks
|
|
4274
|
+
- owner
|
|
4275
|
+
- permissions
|
|
2577
4276
|
- urls
|
|
2578
4277
|
IntegrationTitle:
|
|
2579
4278
|
type: string
|
|
@@ -2736,10 +4435,11 @@ components:
|
|
|
2736
4435
|
type: string
|
|
2737
4436
|
enum:
|
|
2738
4437
|
- analytics
|
|
4438
|
+
- captures
|
|
2739
4439
|
- collaboration
|
|
2740
|
-
- marketing
|
|
2741
4440
|
- content
|
|
2742
4441
|
- gitsync
|
|
4442
|
+
- marketing
|
|
2743
4443
|
- other
|
|
2744
4444
|
IntegrationConfigurations:
|
|
2745
4445
|
type: object
|
|
@@ -2845,12 +4545,23 @@ components:
|
|
|
2845
4545
|
$ref: "#/components/schemas/IntegrationInstallationStatus"
|
|
2846
4546
|
space_selection:
|
|
2847
4547
|
$ref: "#/components/schemas/IntegrationInstallationSpaceSelection"
|
|
4548
|
+
spaces:
|
|
4549
|
+
type: number
|
|
4550
|
+
description: Count of spaces, the installation is managing
|
|
2848
4551
|
configuration:
|
|
2849
4552
|
$ref: "#/components/schemas/IntegrationInstallationConfiguration"
|
|
4553
|
+
createdAt:
|
|
4554
|
+
$ref: "#/components/schemas/Date"
|
|
4555
|
+
updatedAt:
|
|
4556
|
+
$ref: "#/components/schemas/Date"
|
|
2850
4557
|
urls:
|
|
2851
4558
|
type: object
|
|
2852
4559
|
description: URLs associated with the object
|
|
2853
4560
|
properties:
|
|
4561
|
+
location:
|
|
4562
|
+
type: string
|
|
4563
|
+
description: URL of the installation in the API
|
|
4564
|
+
format: uri
|
|
2854
4565
|
app:
|
|
2855
4566
|
type: string
|
|
2856
4567
|
description: URL of the integration's installation in the application
|
|
@@ -2860,6 +4571,7 @@ components:
|
|
|
2860
4571
|
description: Public HTTP endpoint for the integration's installation
|
|
2861
4572
|
format: uri
|
|
2862
4573
|
required:
|
|
4574
|
+
- location
|
|
2863
4575
|
- app
|
|
2864
4576
|
- publicEndpoint
|
|
2865
4577
|
externalIds:
|
|
@@ -2871,10 +4583,13 @@ components:
|
|
|
2871
4583
|
- id
|
|
2872
4584
|
- status
|
|
2873
4585
|
- space_selection
|
|
4586
|
+
- spaces
|
|
2874
4587
|
- configuration
|
|
2875
4588
|
- urls
|
|
2876
4589
|
- externalIds
|
|
2877
4590
|
- target
|
|
4591
|
+
- createdAt
|
|
4592
|
+
- updatedAt
|
|
2878
4593
|
IntegrationSpaceInstallation:
|
|
2879
4594
|
type: object
|
|
2880
4595
|
description: Installation of an integration at a space level
|
|
@@ -2899,11 +4614,16 @@ components:
|
|
|
2899
4614
|
type: object
|
|
2900
4615
|
description: URLs associated with the object
|
|
2901
4616
|
properties:
|
|
4617
|
+
location:
|
|
4618
|
+
type: string
|
|
4619
|
+
description: URL of the integration's space installation in the API
|
|
4620
|
+
format: uri
|
|
2902
4621
|
publicEndpoint:
|
|
2903
4622
|
type: string
|
|
2904
4623
|
description: Public HTTP endpoint for the integration's space installation
|
|
2905
4624
|
format: uri
|
|
2906
4625
|
required:
|
|
4626
|
+
- location
|
|
2907
4627
|
- publicEndpoint
|
|
2908
4628
|
required:
|
|
2909
4629
|
- integration
|
|
@@ -4897,15 +6617,12 @@ components:
|
|
|
4897
6617
|
- $ref: "#/components/schemas/SpaceInfoChannel"
|
|
4898
6618
|
- $ref: "#/components/schemas/SpaceGitInfoChannel"
|
|
4899
6619
|
- $ref: "#/components/schemas/SpacePublishingAuthChannel"
|
|
4900
|
-
- $ref: "#/components/schemas/SpaceRelationsChannel"
|
|
4901
6620
|
- $ref: "#/components/schemas/SpaceEntitiesChannel"
|
|
4902
6621
|
- $ref: "#/components/schemas/SpaceCustomFieldsChannel"
|
|
4903
6622
|
- $ref: "#/components/schemas/BackofficeUserInfoChannel"
|
|
4904
6623
|
- $ref: "#/components/schemas/SpaceIntegrationsChannel"
|
|
4905
6624
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
4906
|
-
- $ref: "#/components/schemas/OrganizationEnvironmentsChannel"
|
|
4907
6625
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
4908
|
-
- $ref: "#/components/schemas/UserPreferencesChannel"
|
|
4909
6626
|
- $ref: "#/components/schemas/UserProfileChannel"
|
|
4910
6627
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
4911
6628
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
@@ -4914,11 +6631,12 @@ components:
|
|
|
4914
6631
|
- $ref: "#/components/schemas/OrganizationTeamChannel"
|
|
4915
6632
|
- $ref: "#/components/schemas/OrganizationTeamMembersChannel"
|
|
4916
6633
|
- $ref: "#/components/schemas/OrganizationTeamMemberChannel"
|
|
4917
|
-
- $ref: "#/components/schemas/OrganizationSpaceRelationsChannel"
|
|
4918
6634
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
4919
6635
|
- $ref: "#/components/schemas/OrganizationEntitiesChannel"
|
|
4920
6636
|
- $ref: "#/components/schemas/OrganizationSchemasChannel"
|
|
4921
6637
|
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
6638
|
+
- $ref: "#/components/schemas/OrganizationIntegrationsChannel"
|
|
6639
|
+
- $ref: "#/components/schemas/OrganizationInstallationsChannel"
|
|
4922
6640
|
- type: object
|
|
4923
6641
|
properties:
|
|
4924
6642
|
channel:
|
|
@@ -4983,6 +6701,10 @@ components:
|
|
|
4983
6701
|
- channel
|
|
4984
6702
|
- space
|
|
4985
6703
|
- comment
|
|
6704
|
+
- $ref: "#/components/schemas/IntegrationChannel"
|
|
6705
|
+
- $ref: "#/components/schemas/IntegrationInstallationChannel"
|
|
6706
|
+
- $ref: "#/components/schemas/IntegrationSpaceInstallationChannel"
|
|
6707
|
+
- $ref: "#/components/schemas/IntegrationSpaceInstallationsChannel"
|
|
4986
6708
|
discriminator:
|
|
4987
6709
|
propertyName: channel
|
|
4988
6710
|
SpaceInfoChannel:
|
|
@@ -5021,18 +6743,6 @@ components:
|
|
|
5021
6743
|
required:
|
|
5022
6744
|
- channel
|
|
5023
6745
|
- 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
6746
|
SpaceEntitiesChannel:
|
|
5037
6747
|
type: object
|
|
5038
6748
|
properties:
|
|
@@ -5093,18 +6803,6 @@ components:
|
|
|
5093
6803
|
required:
|
|
5094
6804
|
- channel
|
|
5095
6805
|
- 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
6806
|
UserProfileChannel:
|
|
5109
6807
|
type: object
|
|
5110
6808
|
properties:
|
|
@@ -5230,19 +6928,6 @@ components:
|
|
|
5230
6928
|
- channel
|
|
5231
6929
|
- organization
|
|
5232
6930
|
- 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
6931
|
OrganizationSpacesChannel:
|
|
5247
6932
|
type: object
|
|
5248
6933
|
description: Subscription channel for changes in spaces in an organization.
|
|
@@ -5285,30 +6970,102 @@ components:
|
|
|
5285
6970
|
required:
|
|
5286
6971
|
- channel
|
|
5287
6972
|
- organization
|
|
5288
|
-
|
|
6973
|
+
OrganizationCapturesChannel:
|
|
5289
6974
|
type: object
|
|
5290
6975
|
properties:
|
|
5291
6976
|
channel:
|
|
5292
6977
|
type: string
|
|
5293
6978
|
enum:
|
|
5294
|
-
- organization-
|
|
6979
|
+
- organization-captures
|
|
5295
6980
|
organization:
|
|
5296
6981
|
type: string
|
|
5297
6982
|
required:
|
|
5298
6983
|
- channel
|
|
5299
6984
|
- organization
|
|
5300
|
-
|
|
6985
|
+
OrganizationIntegrationsChannel:
|
|
5301
6986
|
type: object
|
|
5302
6987
|
properties:
|
|
5303
6988
|
channel:
|
|
5304
6989
|
type: string
|
|
5305
6990
|
enum:
|
|
5306
|
-
- organization-
|
|
6991
|
+
- organization-integrations
|
|
6992
|
+
organization:
|
|
6993
|
+
type: string
|
|
6994
|
+
required:
|
|
6995
|
+
- channel
|
|
6996
|
+
- organization
|
|
6997
|
+
OrganizationInstallationsChannel:
|
|
6998
|
+
type: object
|
|
6999
|
+
properties:
|
|
7000
|
+
channel:
|
|
7001
|
+
type: string
|
|
7002
|
+
enum:
|
|
7003
|
+
- organization-installations
|
|
5307
7004
|
organization:
|
|
5308
7005
|
type: string
|
|
5309
7006
|
required:
|
|
5310
7007
|
- channel
|
|
5311
7008
|
- organization
|
|
7009
|
+
IntegrationChannel:
|
|
7010
|
+
type: object
|
|
7011
|
+
properties:
|
|
7012
|
+
channel:
|
|
7013
|
+
type: string
|
|
7014
|
+
enum:
|
|
7015
|
+
- integration
|
|
7016
|
+
integration:
|
|
7017
|
+
type: string
|
|
7018
|
+
required:
|
|
7019
|
+
- channel
|
|
7020
|
+
- integration
|
|
7021
|
+
IntegrationInstallationChannel:
|
|
7022
|
+
type: object
|
|
7023
|
+
properties:
|
|
7024
|
+
channel:
|
|
7025
|
+
type: string
|
|
7026
|
+
enum:
|
|
7027
|
+
- integration-installation
|
|
7028
|
+
integration:
|
|
7029
|
+
type: string
|
|
7030
|
+
installation:
|
|
7031
|
+
type: string
|
|
7032
|
+
required:
|
|
7033
|
+
- channel
|
|
7034
|
+
- integration
|
|
7035
|
+
- installation
|
|
7036
|
+
IntegrationSpaceInstallationChannel:
|
|
7037
|
+
type: object
|
|
7038
|
+
properties:
|
|
7039
|
+
channel:
|
|
7040
|
+
type: string
|
|
7041
|
+
enum:
|
|
7042
|
+
- integration-space-installation
|
|
7043
|
+
integration:
|
|
7044
|
+
type: string
|
|
7045
|
+
installation:
|
|
7046
|
+
type: string
|
|
7047
|
+
space:
|
|
7048
|
+
type: string
|
|
7049
|
+
required:
|
|
7050
|
+
- channel
|
|
7051
|
+
- integration
|
|
7052
|
+
- installation
|
|
7053
|
+
- space
|
|
7054
|
+
IntegrationSpaceInstallationsChannel:
|
|
7055
|
+
type: object
|
|
7056
|
+
properties:
|
|
7057
|
+
channel:
|
|
7058
|
+
type: string
|
|
7059
|
+
enum:
|
|
7060
|
+
- integration-space-installations
|
|
7061
|
+
integration:
|
|
7062
|
+
type: string
|
|
7063
|
+
installation:
|
|
7064
|
+
type: string
|
|
7065
|
+
required:
|
|
7066
|
+
- channel
|
|
7067
|
+
- integration
|
|
7068
|
+
- installation
|
|
5312
7069
|
CustomField:
|
|
5313
7070
|
type: object
|
|
5314
7071
|
description: Custom field
|
|
@@ -5419,65 +7176,6 @@ components:
|
|
|
5419
7176
|
CustomFieldPlaceholder:
|
|
5420
7177
|
type: string
|
|
5421
7178
|
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
7179
|
responses:
|
|
5482
7180
|
UnexpectedError:
|
|
5483
7181
|
description: Unexpected Error
|
|
@@ -5678,64 +7376,20 @@ paths:
|
|
|
5678
7376
|
/user:
|
|
5679
7377
|
get:
|
|
5680
7378
|
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
|
|
7379
|
+
summary: Get profile of authenticated user
|
|
7380
|
+
tags:
|
|
7381
|
+
- users
|
|
7382
|
+
security:
|
|
7383
|
+
- user: []
|
|
7384
|
+
description: |
|
|
7385
|
+
Returns details about the user associated with the authentication provided in the request's authorization header.
|
|
5732
7386
|
responses:
|
|
5733
7387
|
"200":
|
|
5734
|
-
description:
|
|
7388
|
+
description: OK
|
|
5735
7389
|
content:
|
|
5736
7390
|
application/json:
|
|
5737
7391
|
schema:
|
|
5738
|
-
$ref: "#/components/schemas/
|
|
7392
|
+
$ref: "#/components/schemas/User"
|
|
5739
7393
|
default:
|
|
5740
7394
|
$ref: "#/components/responses/UnexpectedError"
|
|
5741
7395
|
"/users/{userId}":
|
|
@@ -5796,8 +7450,6 @@ paths:
|
|
|
5796
7450
|
properties:
|
|
5797
7451
|
visibility:
|
|
5798
7452
|
$ref: "#/components/schemas/ContentVisibility"
|
|
5799
|
-
type:
|
|
5800
|
-
$ref: "#/components/schemas/SpaceType"
|
|
5801
7453
|
responses:
|
|
5802
7454
|
"200":
|
|
5803
7455
|
description: The space has been updated
|
|
@@ -7367,120 +9019,6 @@ paths:
|
|
|
7367
9019
|
$ref: "#/components/responses/NotFoundError"
|
|
7368
9020
|
default:
|
|
7369
9021
|
$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
9022
|
"/spaces/{spaceId}/custom-fields":
|
|
7485
9023
|
get:
|
|
7486
9024
|
operationId: getSpaceCustomFields
|
|
@@ -7688,6 +9226,18 @@ paths:
|
|
|
7688
9226
|
parameters:
|
|
7689
9227
|
- $ref: "#/components/parameters/listPage"
|
|
7690
9228
|
- $ref: "#/components/parameters/listLimit"
|
|
9229
|
+
- name: category
|
|
9230
|
+
in: query
|
|
9231
|
+
description: Filter the integrations by category
|
|
9232
|
+
schema:
|
|
9233
|
+
$ref: "#/components/schemas/IntegrationCategory"
|
|
9234
|
+
- name: blockDomain
|
|
9235
|
+
in: query
|
|
9236
|
+
description: Filter the integrations by block's domains
|
|
9237
|
+
schema:
|
|
9238
|
+
type: string
|
|
9239
|
+
pattern: ^[a-zA-Z0-9-_.]+$
|
|
9240
|
+
maxLength: 100
|
|
7691
9241
|
responses:
|
|
7692
9242
|
"200":
|
|
7693
9243
|
description: Paginated list of integrations
|
|
@@ -8151,6 +9701,34 @@ paths:
|
|
|
8151
9701
|
default:
|
|
8152
9702
|
$ref: "#/components/responses/UnexpectedError"
|
|
8153
9703
|
"/integrations/{integrationName}/installations/{installationId}/spaces":
|
|
9704
|
+
get:
|
|
9705
|
+
operationId: listIntegrationInstallationSpaces
|
|
9706
|
+
summary: List installations on spaces for an integration in an organization
|
|
9707
|
+
tags:
|
|
9708
|
+
- integrations
|
|
9709
|
+
parameters:
|
|
9710
|
+
- $ref: "#/components/parameters/integrationName"
|
|
9711
|
+
- $ref: "#/components/parameters/installationId"
|
|
9712
|
+
- $ref: "#/components/parameters/listPage"
|
|
9713
|
+
- $ref: "#/components/parameters/listLimit"
|
|
9714
|
+
responses:
|
|
9715
|
+
"200":
|
|
9716
|
+
description: OK
|
|
9717
|
+
content:
|
|
9718
|
+
application/json:
|
|
9719
|
+
schema:
|
|
9720
|
+
allOf:
|
|
9721
|
+
- $ref: "#/components/schemas/List"
|
|
9722
|
+
- type: object
|
|
9723
|
+
required:
|
|
9724
|
+
- items
|
|
9725
|
+
properties:
|
|
9726
|
+
items:
|
|
9727
|
+
type: array
|
|
9728
|
+
items:
|
|
9729
|
+
$ref: "#/components/schemas/IntegrationSpaceInstallation"
|
|
9730
|
+
default:
|
|
9731
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
8154
9732
|
post:
|
|
8155
9733
|
operationId: installIntegrationOnSpace
|
|
8156
9734
|
summary: Install integration on a space using an existing installation
|
|
@@ -8729,7 +10307,7 @@ paths:
|
|
|
8729
10307
|
operationId: listTeamMembersInOrganizationById
|
|
8730
10308
|
summary: List team members
|
|
8731
10309
|
description: |
|
|
8732
|
-
Lists members for the specified organization team.
|
|
10310
|
+
Lists members, and their roles, for the specified organization team.
|
|
8733
10311
|
tags:
|
|
8734
10312
|
- organizations
|
|
8735
10313
|
security:
|
|
@@ -8754,7 +10332,7 @@ paths:
|
|
|
8754
10332
|
items:
|
|
8755
10333
|
type: array
|
|
8756
10334
|
items:
|
|
8757
|
-
$ref: "#/components/schemas/
|
|
10335
|
+
$ref: "#/components/schemas/OrganizationTeamMember"
|
|
8758
10336
|
default:
|
|
8759
10337
|
$ref: "#/components/responses/UnexpectedError"
|
|
8760
10338
|
"/orgs/{organizationId}/teams/{teamId}/members/{userId}":
|
|
@@ -9450,10 +11028,10 @@ paths:
|
|
|
9450
11028
|
description: Custom field has been deleted
|
|
9451
11029
|
default:
|
|
9452
11030
|
$ref: "#/components/responses/UnexpectedError"
|
|
9453
|
-
"/orgs/{organizationId}/
|
|
11031
|
+
"/orgs/{organizationId}/integrations":
|
|
9454
11032
|
get:
|
|
9455
|
-
operationId:
|
|
9456
|
-
summary: List
|
|
11033
|
+
operationId: listOrganizationIntegrations
|
|
11034
|
+
summary: List integrations owned by an organization
|
|
9457
11035
|
tags:
|
|
9458
11036
|
- spaces
|
|
9459
11037
|
parameters:
|
|
@@ -9462,7 +11040,7 @@ paths:
|
|
|
9462
11040
|
- $ref: "#/components/parameters/listLimit"
|
|
9463
11041
|
responses:
|
|
9464
11042
|
"200":
|
|
9465
|
-
description:
|
|
11043
|
+
description: List of integrations.
|
|
9466
11044
|
content:
|
|
9467
11045
|
application/json:
|
|
9468
11046
|
schema:
|
|
@@ -9475,130 +11053,43 @@ paths:
|
|
|
9475
11053
|
items:
|
|
9476
11054
|
type: array
|
|
9477
11055
|
items:
|
|
9478
|
-
$ref: "#/components/schemas/
|
|
11056
|
+
$ref: "#/components/schemas/Integration"
|
|
9479
11057
|
default:
|
|
9480
11058
|
$ref: "#/components/responses/UnexpectedError"
|
|
9481
|
-
"/orgs/{organizationId}/
|
|
11059
|
+
"/orgs/{organizationId}/installations":
|
|
9482
11060
|
get:
|
|
9483
|
-
operationId:
|
|
9484
|
-
summary:
|
|
11061
|
+
operationId: listOrganizationInstallations
|
|
11062
|
+
summary: List installations of integrations in an organization.
|
|
9485
11063
|
tags:
|
|
9486
|
-
-
|
|
9487
|
-
- environments
|
|
9488
|
-
security:
|
|
9489
|
-
- user: []
|
|
11064
|
+
- spaces
|
|
9490
11065
|
parameters:
|
|
9491
11066
|
- $ref: "#/components/parameters/organizationId"
|
|
9492
11067
|
- $ref: "#/components/parameters/listPage"
|
|
9493
11068
|
- $ref: "#/components/parameters/listLimit"
|
|
9494
11069
|
responses:
|
|
9495
11070
|
"200":
|
|
9496
|
-
description:
|
|
11071
|
+
description: List of integrations with the associated installations.
|
|
9497
11072
|
content:
|
|
9498
11073
|
application/json:
|
|
9499
11074
|
schema:
|
|
9500
11075
|
allOf:
|
|
9501
11076
|
- $ref: "#/components/schemas/List"
|
|
9502
11077
|
- type: object
|
|
11078
|
+
required:
|
|
11079
|
+
- items
|
|
9503
11080
|
properties:
|
|
9504
11081
|
items:
|
|
9505
11082
|
type: array
|
|
9506
11083
|
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
|
|
11084
|
+
type: object
|
|
11085
|
+
properties:
|
|
11086
|
+
installation:
|
|
11087
|
+
$ref: "#/components/schemas/IntegrationInstallation"
|
|
11088
|
+
integration:
|
|
11089
|
+
$ref: "#/components/schemas/Integration"
|
|
11090
|
+
required:
|
|
11091
|
+
- integration
|
|
11092
|
+
- installation
|
|
9602
11093
|
default:
|
|
9603
11094
|
$ref: "#/components/responses/UnexpectedError"
|
|
9604
11095
|
"/orgs/{organizationId}/schemas":
|
|
@@ -9794,6 +11285,14 @@ paths:
|
|
|
9794
11285
|
- $ref: "#/components/parameters/pageFormat"
|
|
9795
11286
|
- $ref: "#/components/parameters/listPage"
|
|
9796
11287
|
- $ref: "#/components/parameters/listLimit"
|
|
11288
|
+
- name: context
|
|
11289
|
+
in: query
|
|
11290
|
+
description: The context in which the item was captured
|
|
11291
|
+
schema:
|
|
11292
|
+
type: string
|
|
11293
|
+
enum:
|
|
11294
|
+
- walkthrough
|
|
11295
|
+
- thread
|
|
9797
11296
|
responses:
|
|
9798
11297
|
"200":
|
|
9799
11298
|
description: OK
|
|
@@ -9890,6 +11389,32 @@ paths:
|
|
|
9890
11389
|
description: OK
|
|
9891
11390
|
default:
|
|
9892
11391
|
$ref: "#/components/responses/UnexpectedError"
|
|
11392
|
+
put:
|
|
11393
|
+
operationId: updateCapture
|
|
11394
|
+
summary: Update an existing capture
|
|
11395
|
+
tags:
|
|
11396
|
+
- organizations
|
|
11397
|
+
security:
|
|
11398
|
+
- user: []
|
|
11399
|
+
parameters:
|
|
11400
|
+
- $ref: "#/components/parameters/organizationId"
|
|
11401
|
+
- $ref: "#/components/parameters/captureId"
|
|
11402
|
+
- $ref: "#/components/parameters/ifUnmodifiedSince"
|
|
11403
|
+
requestBody:
|
|
11404
|
+
required: true
|
|
11405
|
+
content:
|
|
11406
|
+
application/json:
|
|
11407
|
+
schema:
|
|
11408
|
+
$ref: "#/components/schemas/UpdateCaptureSchema"
|
|
11409
|
+
responses:
|
|
11410
|
+
"200":
|
|
11411
|
+
description: OK
|
|
11412
|
+
content:
|
|
11413
|
+
application/json:
|
|
11414
|
+
schema:
|
|
11415
|
+
$ref: "#/components/schemas/Capture"
|
|
11416
|
+
default:
|
|
11417
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
9893
11418
|
"/orgs/{organizationId}/captures/{captureId}/events":
|
|
9894
11419
|
post:
|
|
9895
11420
|
operationId: addEventsToCapture
|
|
@@ -10054,3 +11579,25 @@ paths:
|
|
|
10054
11579
|
- space
|
|
10055
11580
|
default:
|
|
10056
11581
|
$ref: "#/components/responses/UnexpectedError"
|
|
11582
|
+
/urls/embed:
|
|
11583
|
+
get:
|
|
11584
|
+
operationId: getEmbedByUrl
|
|
11585
|
+
summary: Resolve a URL to an embed
|
|
11586
|
+
tags:
|
|
11587
|
+
- urls
|
|
11588
|
+
parameters:
|
|
11589
|
+
- name: url
|
|
11590
|
+
in: query
|
|
11591
|
+
required: true
|
|
11592
|
+
description: URL to resolve
|
|
11593
|
+
schema:
|
|
11594
|
+
type: string
|
|
11595
|
+
responses:
|
|
11596
|
+
"200":
|
|
11597
|
+
description: OK
|
|
11598
|
+
content:
|
|
11599
|
+
application/json:
|
|
11600
|
+
schema:
|
|
11601
|
+
$ref: "#/components/schemas/Embed"
|
|
11602
|
+
default:
|
|
11603
|
+
$ref: "#/components/responses/UnexpectedError"
|