@gitbook/api 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +114 -183
- package/dist/index.cjs +23 -72
- package/dist/index.js +23 -72
- package/package.json +1 -1
- package/spec/openapi.json +334 -592
- package/spec/openapi.yaml +183 -337
package/spec/openapi.json
CHANGED
|
@@ -1764,6 +1764,10 @@
|
|
|
1764
1764
|
"apiToken": {
|
|
1765
1765
|
"type": "string",
|
|
1766
1766
|
"description": "Short-lived API token to fetch content related to the space in the context of the URL."
|
|
1767
|
+
},
|
|
1768
|
+
"organization": {
|
|
1769
|
+
"type": "string",
|
|
1770
|
+
"description": "ID of the organization."
|
|
1767
1771
|
}
|
|
1768
1772
|
},
|
|
1769
1773
|
"required": [
|
|
@@ -1772,7 +1776,8 @@
|
|
|
1772
1776
|
"space",
|
|
1773
1777
|
"pathname",
|
|
1774
1778
|
"basePath",
|
|
1775
|
-
"apiToken"
|
|
1779
|
+
"apiToken",
|
|
1780
|
+
"organization"
|
|
1776
1781
|
]
|
|
1777
1782
|
}
|
|
1778
1783
|
]
|
|
@@ -6318,9 +6323,15 @@
|
|
|
6318
6323
|
"title": {
|
|
6319
6324
|
"$ref": "#/components/schemas/OrganizationTitle"
|
|
6320
6325
|
},
|
|
6326
|
+
"createdAt": {
|
|
6327
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
6328
|
+
},
|
|
6321
6329
|
"emailDomains": {
|
|
6322
6330
|
"$ref": "#/components/schemas/OrganizationEmailDomains"
|
|
6323
6331
|
},
|
|
6332
|
+
"hostname": {
|
|
6333
|
+
"$ref": "#/paths/~1orgs~1%7BorganizationId%7D/patch/requestBody/content/application~1json/schema/properties/hostname"
|
|
6334
|
+
},
|
|
6324
6335
|
"type": {
|
|
6325
6336
|
"$ref": "#/components/schemas/OrganizationType"
|
|
6326
6337
|
},
|
|
@@ -6377,6 +6388,7 @@
|
|
|
6377
6388
|
"object",
|
|
6378
6389
|
"id",
|
|
6379
6390
|
"title",
|
|
6391
|
+
"createdAt",
|
|
6380
6392
|
"type",
|
|
6381
6393
|
"emailDomains",
|
|
6382
6394
|
"urls"
|
|
@@ -6760,9 +6772,6 @@
|
|
|
6760
6772
|
"sites": {
|
|
6761
6773
|
"$ref": "#/components/schemas/OrganizationUsageSites"
|
|
6762
6774
|
},
|
|
6763
|
-
"seats": {
|
|
6764
|
-
"$ref": "#/components/schemas/OrganizationUsageSeats"
|
|
6765
|
-
},
|
|
6766
6775
|
"teams": {
|
|
6767
6776
|
"$ref": "#/components/schemas/OrganizationUsageTeams"
|
|
6768
6777
|
},
|
|
@@ -6777,7 +6786,6 @@
|
|
|
6777
6786
|
"spaces",
|
|
6778
6787
|
"collections",
|
|
6779
6788
|
"sites",
|
|
6780
|
-
"seats",
|
|
6781
6789
|
"teams",
|
|
6782
6790
|
"members",
|
|
6783
6791
|
"teamMembers"
|
|
@@ -6855,6 +6863,10 @@
|
|
|
6855
6863
|
"description": "Count of all members",
|
|
6856
6864
|
"type": "number"
|
|
6857
6865
|
},
|
|
6866
|
+
"seats": {
|
|
6867
|
+
"description": "Count of all paid seats",
|
|
6868
|
+
"type": "number"
|
|
6869
|
+
},
|
|
6858
6870
|
"admin": {
|
|
6859
6871
|
"description": "Count of all admins",
|
|
6860
6872
|
"type": "number"
|
|
@@ -6886,6 +6898,7 @@
|
|
|
6886
6898
|
},
|
|
6887
6899
|
"required": [
|
|
6888
6900
|
"total",
|
|
6901
|
+
"seats",
|
|
6889
6902
|
"admin",
|
|
6890
6903
|
"create",
|
|
6891
6904
|
"edit",
|
|
@@ -6931,24 +6944,6 @@
|
|
|
6931
6944
|
"member"
|
|
6932
6945
|
]
|
|
6933
6946
|
},
|
|
6934
|
-
"OrganizationUsageSeats": {
|
|
6935
|
-
"type": "object",
|
|
6936
|
-
"description": "Seats usage metrics of an organization",
|
|
6937
|
-
"properties": {
|
|
6938
|
-
"total": {
|
|
6939
|
-
"description": "The total amount of seats in the organization.",
|
|
6940
|
-
"type": "number"
|
|
6941
|
-
},
|
|
6942
|
-
"available": {
|
|
6943
|
-
"description": "How many seats are still available.",
|
|
6944
|
-
"type": "number"
|
|
6945
|
-
}
|
|
6946
|
-
},
|
|
6947
|
-
"required": [
|
|
6948
|
-
"total",
|
|
6949
|
-
"available"
|
|
6950
|
-
]
|
|
6951
|
-
},
|
|
6952
6947
|
"Capture": {
|
|
6953
6948
|
"type": "object",
|
|
6954
6949
|
"properties": {
|
|
@@ -12956,15 +12951,6 @@
|
|
|
12956
12951
|
{
|
|
12957
12952
|
"$ref": "#/components/schemas/OrganizationSitesChannel"
|
|
12958
12953
|
},
|
|
12959
|
-
{
|
|
12960
|
-
"$ref": "#/components/schemas/OrganizationSeatsChannel"
|
|
12961
|
-
},
|
|
12962
|
-
{
|
|
12963
|
-
"$ref": "#/components/schemas/OrganizationUsageSeatsChannel"
|
|
12964
|
-
},
|
|
12965
|
-
{
|
|
12966
|
-
"$ref": "#/components/schemas/OrganizationSeatChannel"
|
|
12967
|
-
},
|
|
12968
12954
|
{
|
|
12969
12955
|
"type": "object",
|
|
12970
12956
|
"properties": {
|
|
@@ -13770,67 +13756,6 @@
|
|
|
13770
13756
|
"organization"
|
|
13771
13757
|
]
|
|
13772
13758
|
},
|
|
13773
|
-
"OrganizationSeatChannel": {
|
|
13774
|
-
"type": "object",
|
|
13775
|
-
"description": "Subscription channel for changes in a member seat in an organization.",
|
|
13776
|
-
"properties": {
|
|
13777
|
-
"channel": {
|
|
13778
|
-
"type": "string",
|
|
13779
|
-
"enum": [
|
|
13780
|
-
"organization-seat"
|
|
13781
|
-
]
|
|
13782
|
-
},
|
|
13783
|
-
"organization": {
|
|
13784
|
-
"type": "string"
|
|
13785
|
-
},
|
|
13786
|
-
"member": {
|
|
13787
|
-
"type": "string"
|
|
13788
|
-
}
|
|
13789
|
-
},
|
|
13790
|
-
"required": [
|
|
13791
|
-
"channel",
|
|
13792
|
-
"organization",
|
|
13793
|
-
"member"
|
|
13794
|
-
]
|
|
13795
|
-
},
|
|
13796
|
-
"OrganizationSeatsChannel": {
|
|
13797
|
-
"type": "object",
|
|
13798
|
-
"description": "Subscription channel for changes in seats in an organization.",
|
|
13799
|
-
"properties": {
|
|
13800
|
-
"channel": {
|
|
13801
|
-
"type": "string",
|
|
13802
|
-
"enum": [
|
|
13803
|
-
"organization-seats"
|
|
13804
|
-
]
|
|
13805
|
-
},
|
|
13806
|
-
"organization": {
|
|
13807
|
-
"type": "string"
|
|
13808
|
-
}
|
|
13809
|
-
},
|
|
13810
|
-
"required": [
|
|
13811
|
-
"channel",
|
|
13812
|
-
"organization"
|
|
13813
|
-
]
|
|
13814
|
-
},
|
|
13815
|
-
"OrganizationUsageSeatsChannel": {
|
|
13816
|
-
"type": "object",
|
|
13817
|
-
"description": "Subscription channel for changes in seats usage in an organization.",
|
|
13818
|
-
"properties": {
|
|
13819
|
-
"channel": {
|
|
13820
|
-
"type": "string",
|
|
13821
|
-
"enum": [
|
|
13822
|
-
"organization-usage-seats"
|
|
13823
|
-
]
|
|
13824
|
-
},
|
|
13825
|
-
"organization": {
|
|
13826
|
-
"type": "string"
|
|
13827
|
-
}
|
|
13828
|
-
},
|
|
13829
|
-
"required": [
|
|
13830
|
-
"channel",
|
|
13831
|
-
"organization"
|
|
13832
|
-
]
|
|
13833
|
-
},
|
|
13834
13759
|
"IntegrationChannel": {
|
|
13835
13760
|
"type": "object",
|
|
13836
13761
|
"properties": {
|
|
@@ -14912,6 +14837,10 @@
|
|
|
14912
14837
|
"SiteCustomizationSettings": {
|
|
14913
14838
|
"type": "object",
|
|
14914
14839
|
"properties": {
|
|
14840
|
+
"title": {
|
|
14841
|
+
"description": "Title to use for the published site. If not defined, it'll fallback to the default content title.",
|
|
14842
|
+
"$ref": "#/components/schemas/SiteTitle"
|
|
14843
|
+
},
|
|
14915
14844
|
"styling": {
|
|
14916
14845
|
"type": "object",
|
|
14917
14846
|
"properties": {
|
|
@@ -15150,6 +15079,10 @@
|
|
|
15150
15079
|
"SiteSpaceCustomizationOverrides": {
|
|
15151
15080
|
"type": "object",
|
|
15152
15081
|
"properties": {
|
|
15082
|
+
"title": {
|
|
15083
|
+
"description": "Title to use for the published site variant. If not defined, it'll fallback to the content title.",
|
|
15084
|
+
"$ref": "#/components/schemas/SiteTitle"
|
|
15085
|
+
},
|
|
15153
15086
|
"styling": {
|
|
15154
15087
|
"type": "object",
|
|
15155
15088
|
"properties": {
|
|
@@ -15624,12 +15557,27 @@
|
|
|
15624
15557
|
"default": {
|
|
15625
15558
|
"type": "boolean",
|
|
15626
15559
|
"description": "Whether this is the default space for the site"
|
|
15560
|
+
},
|
|
15561
|
+
"urls": {
|
|
15562
|
+
"type": "object",
|
|
15563
|
+
"description": "URLs associated with the object",
|
|
15564
|
+
"properties": {
|
|
15565
|
+
"published": {
|
|
15566
|
+
"type": "string",
|
|
15567
|
+
"description": "URL of the published version of the site-space. Only defined when site is not \"unpublished\"",
|
|
15568
|
+
"format": "uri"
|
|
15569
|
+
}
|
|
15570
|
+
},
|
|
15571
|
+
"required": [
|
|
15572
|
+
"location"
|
|
15573
|
+
]
|
|
15627
15574
|
}
|
|
15628
15575
|
},
|
|
15629
15576
|
"required": [
|
|
15630
15577
|
"id",
|
|
15631
15578
|
"space",
|
|
15632
|
-
"path"
|
|
15579
|
+
"path",
|
|
15580
|
+
"urls"
|
|
15633
15581
|
]
|
|
15634
15582
|
},
|
|
15635
15583
|
"SiteSpacePath": {
|
|
@@ -15638,6 +15586,37 @@
|
|
|
15638
15586
|
"minLength": 1,
|
|
15639
15587
|
"maxLength": 100
|
|
15640
15588
|
},
|
|
15589
|
+
"SiteSpaceMovePosition": {
|
|
15590
|
+
"type": "object",
|
|
15591
|
+
"description": "Position at which to move the site space to.",
|
|
15592
|
+
"properties": {
|
|
15593
|
+
"before": {
|
|
15594
|
+
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
15595
|
+
},
|
|
15596
|
+
"after": {
|
|
15597
|
+
"$ref": "#/components/schemas/SiteSpacePointer"
|
|
15598
|
+
}
|
|
15599
|
+
}
|
|
15600
|
+
},
|
|
15601
|
+
"SiteSpacePointer": {
|
|
15602
|
+
"type": "object",
|
|
15603
|
+
"properties": {
|
|
15604
|
+
"type": {
|
|
15605
|
+
"type": "string",
|
|
15606
|
+
"enum": [
|
|
15607
|
+
"site-space"
|
|
15608
|
+
]
|
|
15609
|
+
},
|
|
15610
|
+
"siteSpace": {
|
|
15611
|
+
"type": "string",
|
|
15612
|
+
"description": "Unique identifier for the site space"
|
|
15613
|
+
}
|
|
15614
|
+
},
|
|
15615
|
+
"required": [
|
|
15616
|
+
"type",
|
|
15617
|
+
"siteSpace"
|
|
15618
|
+
]
|
|
15619
|
+
},
|
|
15641
15620
|
"SiteSubscriptionStatus": {
|
|
15642
15621
|
"type": "string",
|
|
15643
15622
|
"enum": [
|
|
@@ -15912,6 +15891,40 @@
|
|
|
15912
15891
|
}
|
|
15913
15892
|
}
|
|
15914
15893
|
}
|
|
15894
|
+
},
|
|
15895
|
+
"PreconditionFailedError": {
|
|
15896
|
+
"description": "PreconditionFailed",
|
|
15897
|
+
"content": {
|
|
15898
|
+
"application/json": {
|
|
15899
|
+
"schema": {
|
|
15900
|
+
"type": "object",
|
|
15901
|
+
"required": [
|
|
15902
|
+
"error"
|
|
15903
|
+
],
|
|
15904
|
+
"properties": {
|
|
15905
|
+
"error": {
|
|
15906
|
+
"type": "object",
|
|
15907
|
+
"properties": {
|
|
15908
|
+
"code": {
|
|
15909
|
+
"type": "integer",
|
|
15910
|
+
"format": "int32",
|
|
15911
|
+
"enum": [
|
|
15912
|
+
412
|
|
15913
|
+
]
|
|
15914
|
+
},
|
|
15915
|
+
"message": {
|
|
15916
|
+
"type": "string"
|
|
15917
|
+
}
|
|
15918
|
+
},
|
|
15919
|
+
"required": [
|
|
15920
|
+
"code",
|
|
15921
|
+
"message"
|
|
15922
|
+
]
|
|
15923
|
+
}
|
|
15924
|
+
}
|
|
15925
|
+
}
|
|
15926
|
+
}
|
|
15927
|
+
}
|
|
15915
15928
|
}
|
|
15916
15929
|
}
|
|
15917
15930
|
},
|
|
@@ -16580,6 +16593,10 @@
|
|
|
16580
16593
|
"description": "Transfer would not result in any update",
|
|
16581
16594
|
"$ref": "#/components/responses/ConflictError"
|
|
16582
16595
|
},
|
|
16596
|
+
"412": {
|
|
16597
|
+
"description": "The space cannot be moved.",
|
|
16598
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
16599
|
+
},
|
|
16583
16600
|
"default": {
|
|
16584
16601
|
"$ref": "#/components/responses/UnexpectedError"
|
|
16585
16602
|
}
|
|
@@ -17350,6 +17367,67 @@
|
|
|
17350
17367
|
}
|
|
17351
17368
|
}
|
|
17352
17369
|
},
|
|
17370
|
+
"/spaces/{spaceId}/content/files/{fileId}/backlinks": {
|
|
17371
|
+
"get": {
|
|
17372
|
+
"operationId": "listSpaceFileBacklinks",
|
|
17373
|
+
"summary": "Get backlink locations for a file existing in a space.",
|
|
17374
|
+
"tags": [
|
|
17375
|
+
"spaces"
|
|
17376
|
+
],
|
|
17377
|
+
"security": [
|
|
17378
|
+
{
|
|
17379
|
+
"user": []
|
|
17380
|
+
}
|
|
17381
|
+
],
|
|
17382
|
+
"parameters": [
|
|
17383
|
+
{
|
|
17384
|
+
"$ref": "#/components/parameters/spaceId"
|
|
17385
|
+
},
|
|
17386
|
+
{
|
|
17387
|
+
"$ref": "#/components/parameters/fileId"
|
|
17388
|
+
},
|
|
17389
|
+
{
|
|
17390
|
+
"$ref": "#/components/parameters/listPage"
|
|
17391
|
+
},
|
|
17392
|
+
{
|
|
17393
|
+
"$ref": "#/components/parameters/listLimit"
|
|
17394
|
+
}
|
|
17395
|
+
],
|
|
17396
|
+
"responses": {
|
|
17397
|
+
"200": {
|
|
17398
|
+
"description": "OK",
|
|
17399
|
+
"content": {
|
|
17400
|
+
"application/json": {
|
|
17401
|
+
"schema": {
|
|
17402
|
+
"allOf": [
|
|
17403
|
+
{
|
|
17404
|
+
"$ref": "#/components/schemas/List"
|
|
17405
|
+
},
|
|
17406
|
+
{
|
|
17407
|
+
"type": "object",
|
|
17408
|
+
"required": [
|
|
17409
|
+
"items"
|
|
17410
|
+
],
|
|
17411
|
+
"properties": {
|
|
17412
|
+
"items": {
|
|
17413
|
+
"type": "array",
|
|
17414
|
+
"items": {
|
|
17415
|
+
"$ref": "#/components/schemas/ContentLocation"
|
|
17416
|
+
}
|
|
17417
|
+
}
|
|
17418
|
+
}
|
|
17419
|
+
}
|
|
17420
|
+
]
|
|
17421
|
+
}
|
|
17422
|
+
}
|
|
17423
|
+
}
|
|
17424
|
+
},
|
|
17425
|
+
"default": {
|
|
17426
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
17427
|
+
}
|
|
17428
|
+
}
|
|
17429
|
+
}
|
|
17430
|
+
},
|
|
17353
17431
|
"/spaces/{spaceId}/content/page/{pageId}": {
|
|
17354
17432
|
"get": {
|
|
17355
17433
|
"operationId": "getPageById",
|
|
@@ -18998,10 +19076,13 @@
|
|
|
18998
19076
|
}
|
|
18999
19077
|
}
|
|
19000
19078
|
},
|
|
19001
|
-
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/
|
|
19079
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/files/{fileId}/backlinks": {
|
|
19002
19080
|
"get": {
|
|
19003
|
-
"operationId": "
|
|
19004
|
-
"summary": "Get
|
|
19081
|
+
"operationId": "listChangeRequestFileBacklinks",
|
|
19082
|
+
"summary": "Get backlink locations for a file existing in a change request.",
|
|
19083
|
+
"tags": [
|
|
19084
|
+
"spaces"
|
|
19085
|
+
],
|
|
19005
19086
|
"security": [
|
|
19006
19087
|
{
|
|
19007
19088
|
"user": []
|
|
@@ -19015,13 +19096,13 @@
|
|
|
19015
19096
|
"$ref": "#/components/parameters/changeRequestId"
|
|
19016
19097
|
},
|
|
19017
19098
|
{
|
|
19018
|
-
"$ref": "#/components/parameters/
|
|
19099
|
+
"$ref": "#/components/parameters/fileId"
|
|
19019
19100
|
},
|
|
19020
19101
|
{
|
|
19021
|
-
"$ref": "#/components/parameters/
|
|
19102
|
+
"$ref": "#/components/parameters/listPage"
|
|
19022
19103
|
},
|
|
19023
19104
|
{
|
|
19024
|
-
"$ref": "#/components/parameters/
|
|
19105
|
+
"$ref": "#/components/parameters/listLimit"
|
|
19025
19106
|
}
|
|
19026
19107
|
],
|
|
19027
19108
|
"responses": {
|
|
@@ -19030,25 +19111,86 @@
|
|
|
19030
19111
|
"content": {
|
|
19031
19112
|
"application/json": {
|
|
19032
19113
|
"schema": {
|
|
19033
|
-
"
|
|
19034
|
-
|
|
19035
|
-
|
|
19036
|
-
|
|
19037
|
-
|
|
19038
|
-
|
|
19039
|
-
|
|
19040
|
-
|
|
19041
|
-
|
|
19042
|
-
|
|
19043
|
-
|
|
19044
|
-
|
|
19045
|
-
|
|
19046
|
-
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19114
|
+
"allOf": [
|
|
19115
|
+
{
|
|
19116
|
+
"$ref": "#/components/schemas/List"
|
|
19117
|
+
},
|
|
19118
|
+
{
|
|
19119
|
+
"type": "object",
|
|
19120
|
+
"required": [
|
|
19121
|
+
"items"
|
|
19122
|
+
],
|
|
19123
|
+
"properties": {
|
|
19124
|
+
"items": {
|
|
19125
|
+
"type": "array",
|
|
19126
|
+
"items": {
|
|
19127
|
+
"$ref": "#/components/schemas/ContentLocation"
|
|
19128
|
+
}
|
|
19129
|
+
}
|
|
19130
|
+
}
|
|
19131
|
+
}
|
|
19132
|
+
]
|
|
19133
|
+
}
|
|
19134
|
+
}
|
|
19135
|
+
}
|
|
19136
|
+
},
|
|
19137
|
+
"default": {
|
|
19138
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
19139
|
+
}
|
|
19140
|
+
}
|
|
19141
|
+
}
|
|
19142
|
+
},
|
|
19143
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}": {
|
|
19144
|
+
"get": {
|
|
19145
|
+
"operationId": "getPageInChangeRequestById",
|
|
19146
|
+
"summary": "Get a page by its ID in a change request.",
|
|
19147
|
+
"security": [
|
|
19148
|
+
{
|
|
19149
|
+
"user": []
|
|
19150
|
+
}
|
|
19151
|
+
],
|
|
19152
|
+
"parameters": [
|
|
19153
|
+
{
|
|
19154
|
+
"$ref": "#/components/parameters/spaceId"
|
|
19155
|
+
},
|
|
19156
|
+
{
|
|
19157
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
19158
|
+
},
|
|
19159
|
+
{
|
|
19160
|
+
"$ref": "#/components/parameters/pageId"
|
|
19161
|
+
},
|
|
19162
|
+
{
|
|
19163
|
+
"$ref": "#/components/parameters/pageFormat"
|
|
19164
|
+
},
|
|
19165
|
+
{
|
|
19166
|
+
"$ref": "#/components/parameters/revisionMetadata"
|
|
19167
|
+
}
|
|
19168
|
+
],
|
|
19169
|
+
"responses": {
|
|
19170
|
+
"200": {
|
|
19171
|
+
"description": "OK",
|
|
19172
|
+
"content": {
|
|
19173
|
+
"application/json": {
|
|
19174
|
+
"schema": {
|
|
19175
|
+
"$ref": "#/components/schemas/RevisionPage"
|
|
19176
|
+
}
|
|
19177
|
+
}
|
|
19178
|
+
}
|
|
19179
|
+
},
|
|
19180
|
+
"default": {
|
|
19181
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
19182
|
+
}
|
|
19183
|
+
}
|
|
19184
|
+
}
|
|
19185
|
+
},
|
|
19186
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/content/page/{pageId}/import": {
|
|
19187
|
+
"post": {
|
|
19188
|
+
"operationId": "importContentInChangeRequestPageById",
|
|
19189
|
+
"summary": "Import external content into a page of a change-request by its ID.",
|
|
19190
|
+
"security": [
|
|
19191
|
+
{
|
|
19192
|
+
"user": []
|
|
19193
|
+
}
|
|
19052
19194
|
],
|
|
19053
19195
|
"parameters": [
|
|
19054
19196
|
{
|
|
@@ -21225,6 +21367,10 @@
|
|
|
21225
21367
|
"description": "Transfer would not result in any update",
|
|
21226
21368
|
"$ref": "#/components/responses/ConflictError"
|
|
21227
21369
|
},
|
|
21370
|
+
"412": {
|
|
21371
|
+
"description": "The collection cannot be moved.",
|
|
21372
|
+
"$ref": "#/components/responses/PreconditionFailedError"
|
|
21373
|
+
},
|
|
21228
21374
|
"default": {
|
|
21229
21375
|
"$ref": "#/components/responses/UnexpectedError"
|
|
21230
21376
|
}
|
|
@@ -23069,6 +23215,12 @@
|
|
|
23069
23215
|
"emailDomains": {
|
|
23070
23216
|
"$ref": "#/components/schemas/OrganizationEmailDomains"
|
|
23071
23217
|
},
|
|
23218
|
+
"hostname": {
|
|
23219
|
+
"type": "string",
|
|
23220
|
+
"description": "Default hostname for the organization's public content, e.g. <org-hostname>.gitbook.io",
|
|
23221
|
+
"minLength": 3,
|
|
23222
|
+
"maxLength": 32
|
|
23223
|
+
},
|
|
23072
23224
|
"defaultRole": {
|
|
23073
23225
|
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
23074
23226
|
},
|
|
@@ -24366,87 +24518,6 @@
|
|
|
24366
24518
|
}
|
|
24367
24519
|
}
|
|
24368
24520
|
},
|
|
24369
|
-
"/orgs/{organizationId}/transfer": {
|
|
24370
|
-
"post": {
|
|
24371
|
-
"operationId": "transferOrganization",
|
|
24372
|
-
"summary": "Transfer one organization (source) into another organization (target).",
|
|
24373
|
-
"tags": [
|
|
24374
|
-
"organizations"
|
|
24375
|
-
],
|
|
24376
|
-
"security": [
|
|
24377
|
-
{
|
|
24378
|
-
"user": []
|
|
24379
|
-
}
|
|
24380
|
-
],
|
|
24381
|
-
"parameters": [
|
|
24382
|
-
{
|
|
24383
|
-
"$ref": "#/components/parameters/organizationId"
|
|
24384
|
-
}
|
|
24385
|
-
],
|
|
24386
|
-
"requestBody": {
|
|
24387
|
-
"required": true,
|
|
24388
|
-
"content": {
|
|
24389
|
-
"application/json": {
|
|
24390
|
-
"schema": {
|
|
24391
|
-
"type": "object",
|
|
24392
|
-
"required": [
|
|
24393
|
-
"source"
|
|
24394
|
-
],
|
|
24395
|
-
"properties": {
|
|
24396
|
-
"source": {
|
|
24397
|
-
"type": "string",
|
|
24398
|
-
"description": "The unique id of the organization to transfer into the current one."
|
|
24399
|
-
},
|
|
24400
|
-
"defaultOrgRole": {
|
|
24401
|
-
"description": "Determine the default role members of the source org will have when they are transferred into the target org. Defaults to null, which means no access.",
|
|
24402
|
-
"oneOf": [
|
|
24403
|
-
{
|
|
24404
|
-
"$ref": "#/components/schemas/MemberRoleOrGuest"
|
|
24405
|
-
},
|
|
24406
|
-
{
|
|
24407
|
-
"type": "string",
|
|
24408
|
-
"description": "Use SAML's default role for transferred members.",
|
|
24409
|
-
"enum": [
|
|
24410
|
-
"saml"
|
|
24411
|
-
]
|
|
24412
|
-
}
|
|
24413
|
-
]
|
|
24414
|
-
}
|
|
24415
|
-
}
|
|
24416
|
-
}
|
|
24417
|
-
}
|
|
24418
|
-
}
|
|
24419
|
-
},
|
|
24420
|
-
"responses": {
|
|
24421
|
-
"200": {
|
|
24422
|
-
"description": "OK",
|
|
24423
|
-
"content": {
|
|
24424
|
-
"application/json": {
|
|
24425
|
-
"schema": {
|
|
24426
|
-
"type": "object",
|
|
24427
|
-
"required": [
|
|
24428
|
-
"collection"
|
|
24429
|
-
],
|
|
24430
|
-
"properties": {
|
|
24431
|
-
"collection": {
|
|
24432
|
-
"type": "string",
|
|
24433
|
-
"description": "The unique id of the collection created in the target organization containing the content of the source organization."
|
|
24434
|
-
},
|
|
24435
|
-
"newSourceHostname": {
|
|
24436
|
-
"type": "string",
|
|
24437
|
-
"description": "The new hostname if the source organization needed to change hostname."
|
|
24438
|
-
}
|
|
24439
|
-
}
|
|
24440
|
-
}
|
|
24441
|
-
}
|
|
24442
|
-
}
|
|
24443
|
-
},
|
|
24444
|
-
"default": {
|
|
24445
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
24446
|
-
}
|
|
24447
|
-
}
|
|
24448
|
-
}
|
|
24449
|
-
},
|
|
24450
24521
|
"/orgs/{organizationId}/search": {
|
|
24451
24522
|
"get": {
|
|
24452
24523
|
"operationId": "searchOrganizationContent",
|
|
@@ -25652,49 +25723,6 @@
|
|
|
25652
25723
|
}
|
|
25653
25724
|
}
|
|
25654
25725
|
},
|
|
25655
|
-
"/orgs/{organizationId}/usage/seats": {
|
|
25656
|
-
"get": {
|
|
25657
|
-
"operationId": "getSeatsUsageForOrganizationById",
|
|
25658
|
-
"summary": "Get seats usage metrics for an organization",
|
|
25659
|
-
"tags": [
|
|
25660
|
-
"organizations",
|
|
25661
|
-
"usage"
|
|
25662
|
-
],
|
|
25663
|
-
"security": [
|
|
25664
|
-
{
|
|
25665
|
-
"user-internal": []
|
|
25666
|
-
}
|
|
25667
|
-
],
|
|
25668
|
-
"parameters": [
|
|
25669
|
-
{
|
|
25670
|
-
"$ref": "#/components/parameters/organizationId"
|
|
25671
|
-
}
|
|
25672
|
-
],
|
|
25673
|
-
"responses": {
|
|
25674
|
-
"200": {
|
|
25675
|
-
"description": "OK",
|
|
25676
|
-
"content": {
|
|
25677
|
-
"application/json": {
|
|
25678
|
-
"schema": {
|
|
25679
|
-
"type": "object",
|
|
25680
|
-
"properties": {
|
|
25681
|
-
"seats": {
|
|
25682
|
-
"$ref": "#/components/schemas/OrganizationUsageSeats"
|
|
25683
|
-
}
|
|
25684
|
-
},
|
|
25685
|
-
"required": [
|
|
25686
|
-
"seats"
|
|
25687
|
-
]
|
|
25688
|
-
}
|
|
25689
|
-
}
|
|
25690
|
-
}
|
|
25691
|
-
},
|
|
25692
|
-
"default": {
|
|
25693
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
25694
|
-
}
|
|
25695
|
-
}
|
|
25696
|
-
}
|
|
25697
|
-
},
|
|
25698
25726
|
"/orgs/{organizationId}/schemas": {
|
|
25699
25727
|
"get": {
|
|
25700
25728
|
"operationId": "listEntitySchemas",
|
|
@@ -28362,6 +28390,69 @@
|
|
|
28362
28390
|
}
|
|
28363
28391
|
}
|
|
28364
28392
|
},
|
|
28393
|
+
"/orgs/{organizationId}/sites/{siteId}/spaces/{siteSpaceId}/move": {
|
|
28394
|
+
"post": {
|
|
28395
|
+
"operationId": "moveSiteSpace",
|
|
28396
|
+
"summary": "Move a site space to a new position in the site.",
|
|
28397
|
+
"tags": [
|
|
28398
|
+
"sites"
|
|
28399
|
+
],
|
|
28400
|
+
"security": [
|
|
28401
|
+
{
|
|
28402
|
+
"user": []
|
|
28403
|
+
}
|
|
28404
|
+
],
|
|
28405
|
+
"parameters": [
|
|
28406
|
+
{
|
|
28407
|
+
"$ref": "#/components/parameters/organizationId"
|
|
28408
|
+
},
|
|
28409
|
+
{
|
|
28410
|
+
"$ref": "#/components/parameters/siteId"
|
|
28411
|
+
},
|
|
28412
|
+
{
|
|
28413
|
+
"$ref": "#/components/parameters/siteSpaceId"
|
|
28414
|
+
}
|
|
28415
|
+
],
|
|
28416
|
+
"requestBody": {
|
|
28417
|
+
"content": {
|
|
28418
|
+
"application/json": {
|
|
28419
|
+
"schema": {
|
|
28420
|
+
"type": "object",
|
|
28421
|
+
"properties": {
|
|
28422
|
+
"position": {
|
|
28423
|
+
"description": "The position where to move the site space. When not provided the site space is moved at the end of the site.",
|
|
28424
|
+
"$ref": "#/components/schemas/SiteSpaceMovePosition"
|
|
28425
|
+
}
|
|
28426
|
+
}
|
|
28427
|
+
}
|
|
28428
|
+
}
|
|
28429
|
+
}
|
|
28430
|
+
},
|
|
28431
|
+
"responses": {
|
|
28432
|
+
"200": {
|
|
28433
|
+
"description": "Site space moved",
|
|
28434
|
+
"content": {
|
|
28435
|
+
"application/json": {
|
|
28436
|
+
"schema": {
|
|
28437
|
+
"$ref": "#/components/schemas/SiteSpace"
|
|
28438
|
+
}
|
|
28439
|
+
}
|
|
28440
|
+
}
|
|
28441
|
+
},
|
|
28442
|
+
"400": {
|
|
28443
|
+
"description": "Invalid move site space position provided",
|
|
28444
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
28445
|
+
},
|
|
28446
|
+
"404": {
|
|
28447
|
+
"description": "No matching Site space found",
|
|
28448
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
28449
|
+
},
|
|
28450
|
+
"default": {
|
|
28451
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
28452
|
+
}
|
|
28453
|
+
}
|
|
28454
|
+
}
|
|
28455
|
+
},
|
|
28365
28456
|
"/orgs/{organizationId}/sites/{siteId}/permissions/aggregate": {
|
|
28366
28457
|
"get": {
|
|
28367
28458
|
"operationId": "listPermissionsAggregateInSite",
|
|
@@ -28454,355 +28545,6 @@
|
|
|
28454
28545
|
}
|
|
28455
28546
|
}
|
|
28456
28547
|
},
|
|
28457
|
-
"/orgs/{organizationId}/seats": {
|
|
28458
|
-
"get": {
|
|
28459
|
-
"operationId": "listSeatsInOrganizationById",
|
|
28460
|
-
"summary": "List all seats in an organization",
|
|
28461
|
-
"tags": [
|
|
28462
|
-
"seats"
|
|
28463
|
-
],
|
|
28464
|
-
"security": [
|
|
28465
|
-
{
|
|
28466
|
-
"user-internal": []
|
|
28467
|
-
}
|
|
28468
|
-
],
|
|
28469
|
-
"parameters": [
|
|
28470
|
-
{
|
|
28471
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28472
|
-
}
|
|
28473
|
-
],
|
|
28474
|
-
"responses": {
|
|
28475
|
-
"200": {
|
|
28476
|
-
"description": "OK",
|
|
28477
|
-
"content": {
|
|
28478
|
-
"application/json": {
|
|
28479
|
-
"schema": {
|
|
28480
|
-
"allOf": [
|
|
28481
|
-
{
|
|
28482
|
-
"$ref": "#/components/schemas/List"
|
|
28483
|
-
},
|
|
28484
|
-
{
|
|
28485
|
-
"type": "object",
|
|
28486
|
-
"required": [
|
|
28487
|
-
"items"
|
|
28488
|
-
],
|
|
28489
|
-
"properties": {
|
|
28490
|
-
"items": {
|
|
28491
|
-
"type": "array",
|
|
28492
|
-
"items": {
|
|
28493
|
-
"$ref": "#/components/schemas/Seat"
|
|
28494
|
-
}
|
|
28495
|
-
}
|
|
28496
|
-
}
|
|
28497
|
-
}
|
|
28498
|
-
]
|
|
28499
|
-
}
|
|
28500
|
-
}
|
|
28501
|
-
}
|
|
28502
|
-
},
|
|
28503
|
-
"default": {
|
|
28504
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28505
|
-
}
|
|
28506
|
-
}
|
|
28507
|
-
},
|
|
28508
|
-
"post": {
|
|
28509
|
-
"operationId": "addSeatsToOrganizationById",
|
|
28510
|
-
"summary": "Add more seats to an organization",
|
|
28511
|
-
"tags": [
|
|
28512
|
-
"seats"
|
|
28513
|
-
],
|
|
28514
|
-
"security": [
|
|
28515
|
-
{
|
|
28516
|
-
"user-internal": []
|
|
28517
|
-
}
|
|
28518
|
-
],
|
|
28519
|
-
"parameters": [
|
|
28520
|
-
{
|
|
28521
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28522
|
-
}
|
|
28523
|
-
],
|
|
28524
|
-
"requestBody": {
|
|
28525
|
-
"required": true,
|
|
28526
|
-
"content": {
|
|
28527
|
-
"application/json": {
|
|
28528
|
-
"schema": {
|
|
28529
|
-
"type": "object",
|
|
28530
|
-
"properties": {
|
|
28531
|
-
"amount": {
|
|
28532
|
-
"description": "How many seats to add",
|
|
28533
|
-
"type": "number"
|
|
28534
|
-
}
|
|
28535
|
-
},
|
|
28536
|
-
"required": [
|
|
28537
|
-
"amount"
|
|
28538
|
-
]
|
|
28539
|
-
}
|
|
28540
|
-
}
|
|
28541
|
-
}
|
|
28542
|
-
},
|
|
28543
|
-
"responses": {
|
|
28544
|
-
"201": {
|
|
28545
|
-
"description": "Seats added"
|
|
28546
|
-
},
|
|
28547
|
-
"default": {
|
|
28548
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28549
|
-
}
|
|
28550
|
-
}
|
|
28551
|
-
},
|
|
28552
|
-
"delete": {
|
|
28553
|
-
"operationId": "removeSeatsFromOrganizationById",
|
|
28554
|
-
"summary": "Remove unassigned seats from an organization",
|
|
28555
|
-
"tags": [
|
|
28556
|
-
"seats"
|
|
28557
|
-
],
|
|
28558
|
-
"security": [
|
|
28559
|
-
{
|
|
28560
|
-
"user-internal": []
|
|
28561
|
-
}
|
|
28562
|
-
],
|
|
28563
|
-
"parameters": [
|
|
28564
|
-
{
|
|
28565
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28566
|
-
}
|
|
28567
|
-
],
|
|
28568
|
-
"requestBody": {
|
|
28569
|
-
"content": {
|
|
28570
|
-
"application/json": {
|
|
28571
|
-
"schema": {
|
|
28572
|
-
"type": "object",
|
|
28573
|
-
"properties": {
|
|
28574
|
-
"amount": {
|
|
28575
|
-
"description": "How many seats to remove. Omit to remove all unassigned seats.",
|
|
28576
|
-
"type": "number"
|
|
28577
|
-
}
|
|
28578
|
-
}
|
|
28579
|
-
}
|
|
28580
|
-
}
|
|
28581
|
-
}
|
|
28582
|
-
},
|
|
28583
|
-
"responses": {
|
|
28584
|
-
"205": {
|
|
28585
|
-
"description": "Seats removed"
|
|
28586
|
-
},
|
|
28587
|
-
"default": {
|
|
28588
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28589
|
-
}
|
|
28590
|
-
}
|
|
28591
|
-
}
|
|
28592
|
-
},
|
|
28593
|
-
"/orgs/{organizationId}/seats/members": {
|
|
28594
|
-
"put": {
|
|
28595
|
-
"operationId": "assignSeatsToMembersInOrganizationById",
|
|
28596
|
-
"summary": "Assign seats for one or more members within an organization",
|
|
28597
|
-
"tags": [
|
|
28598
|
-
"seats"
|
|
28599
|
-
],
|
|
28600
|
-
"security": [
|
|
28601
|
-
{
|
|
28602
|
-
"user-internal": []
|
|
28603
|
-
}
|
|
28604
|
-
],
|
|
28605
|
-
"parameters": [
|
|
28606
|
-
{
|
|
28607
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28608
|
-
}
|
|
28609
|
-
],
|
|
28610
|
-
"requestBody": {
|
|
28611
|
-
"required": true,
|
|
28612
|
-
"content": {
|
|
28613
|
-
"application/json": {
|
|
28614
|
-
"schema": {
|
|
28615
|
-
"type": "array",
|
|
28616
|
-
"description": "A list of members",
|
|
28617
|
-
"minItems": 1,
|
|
28618
|
-
"items": {
|
|
28619
|
-
"type": "object",
|
|
28620
|
-
"properties": {
|
|
28621
|
-
"member": {
|
|
28622
|
-
"description": "The unique ID of the organization member",
|
|
28623
|
-
"type": "string"
|
|
28624
|
-
}
|
|
28625
|
-
},
|
|
28626
|
-
"required": [
|
|
28627
|
-
"member"
|
|
28628
|
-
]
|
|
28629
|
-
}
|
|
28630
|
-
}
|
|
28631
|
-
}
|
|
28632
|
-
}
|
|
28633
|
-
},
|
|
28634
|
-
"responses": {
|
|
28635
|
-
"200": {
|
|
28636
|
-
"description": "Seats assigned"
|
|
28637
|
-
},
|
|
28638
|
-
"409": {
|
|
28639
|
-
"description": "Not enough seats available",
|
|
28640
|
-
"$ref": "#/components/responses/ConflictError"
|
|
28641
|
-
},
|
|
28642
|
-
"default": {
|
|
28643
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28644
|
-
}
|
|
28645
|
-
}
|
|
28646
|
-
},
|
|
28647
|
-
"delete": {
|
|
28648
|
-
"operationId": "revokeSeatsFromMembersInOrganizationById",
|
|
28649
|
-
"summary": "Revoke seats for one or more members within an organization",
|
|
28650
|
-
"tags": [
|
|
28651
|
-
"seats"
|
|
28652
|
-
],
|
|
28653
|
-
"security": [
|
|
28654
|
-
{
|
|
28655
|
-
"user-internal": []
|
|
28656
|
-
}
|
|
28657
|
-
],
|
|
28658
|
-
"parameters": [
|
|
28659
|
-
{
|
|
28660
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28661
|
-
}
|
|
28662
|
-
],
|
|
28663
|
-
"requestBody": {
|
|
28664
|
-
"required": true,
|
|
28665
|
-
"content": {
|
|
28666
|
-
"application/json": {
|
|
28667
|
-
"schema": {
|
|
28668
|
-
"type": "array",
|
|
28669
|
-
"description": "A list of members",
|
|
28670
|
-
"minItems": 1,
|
|
28671
|
-
"items": {
|
|
28672
|
-
"type": "object",
|
|
28673
|
-
"properties": {
|
|
28674
|
-
"member": {
|
|
28675
|
-
"description": "The unique ID of the organization member",
|
|
28676
|
-
"type": "string"
|
|
28677
|
-
}
|
|
28678
|
-
},
|
|
28679
|
-
"required": [
|
|
28680
|
-
"member"
|
|
28681
|
-
]
|
|
28682
|
-
}
|
|
28683
|
-
}
|
|
28684
|
-
}
|
|
28685
|
-
}
|
|
28686
|
-
},
|
|
28687
|
-
"responses": {
|
|
28688
|
-
"205": {
|
|
28689
|
-
"description": "Seats revoked"
|
|
28690
|
-
},
|
|
28691
|
-
"409": {
|
|
28692
|
-
"description": "Not enough seats available",
|
|
28693
|
-
"$ref": "#/components/responses/ConflictError"
|
|
28694
|
-
},
|
|
28695
|
-
"default": {
|
|
28696
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28697
|
-
}
|
|
28698
|
-
}
|
|
28699
|
-
}
|
|
28700
|
-
},
|
|
28701
|
-
"/orgs/{organizationId}/seats/members/{userId}": {
|
|
28702
|
-
"get": {
|
|
28703
|
-
"operationId": "getSeatForMemberInOrganizationById",
|
|
28704
|
-
"summary": "Get the seat of a member of the organization",
|
|
28705
|
-
"tags": [
|
|
28706
|
-
"seats"
|
|
28707
|
-
],
|
|
28708
|
-
"security": [
|
|
28709
|
-
{
|
|
28710
|
-
"user-internal": []
|
|
28711
|
-
}
|
|
28712
|
-
],
|
|
28713
|
-
"parameters": [
|
|
28714
|
-
{
|
|
28715
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28716
|
-
},
|
|
28717
|
-
{
|
|
28718
|
-
"$ref": "#/components/parameters/userId"
|
|
28719
|
-
}
|
|
28720
|
-
],
|
|
28721
|
-
"responses": {
|
|
28722
|
-
"200": {
|
|
28723
|
-
"description": "OK",
|
|
28724
|
-
"content": {
|
|
28725
|
-
"application/json": {
|
|
28726
|
-
"schema": {
|
|
28727
|
-
"$ref": "#/components/schemas/Seat"
|
|
28728
|
-
}
|
|
28729
|
-
}
|
|
28730
|
-
}
|
|
28731
|
-
},
|
|
28732
|
-
"409": {
|
|
28733
|
-
"description": "Member has no seat assigned",
|
|
28734
|
-
"$ref": "#/components/responses/ConflictError"
|
|
28735
|
-
},
|
|
28736
|
-
"default": {
|
|
28737
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28738
|
-
}
|
|
28739
|
-
}
|
|
28740
|
-
},
|
|
28741
|
-
"put": {
|
|
28742
|
-
"operationId": "assignSeatToMemberInOrganizationById",
|
|
28743
|
-
"summary": "Assign an available seat to a member of the organization",
|
|
28744
|
-
"tags": [
|
|
28745
|
-
"seats"
|
|
28746
|
-
],
|
|
28747
|
-
"security": [
|
|
28748
|
-
{
|
|
28749
|
-
"user-internal": []
|
|
28750
|
-
}
|
|
28751
|
-
],
|
|
28752
|
-
"parameters": [
|
|
28753
|
-
{
|
|
28754
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28755
|
-
},
|
|
28756
|
-
{
|
|
28757
|
-
"$ref": "#/components/parameters/userId"
|
|
28758
|
-
}
|
|
28759
|
-
],
|
|
28760
|
-
"responses": {
|
|
28761
|
-
"200": {
|
|
28762
|
-
"description": "Seat assigned"
|
|
28763
|
-
},
|
|
28764
|
-
"409": {
|
|
28765
|
-
"description": "Not enough seats available",
|
|
28766
|
-
"$ref": "#/components/responses/ConflictError"
|
|
28767
|
-
},
|
|
28768
|
-
"default": {
|
|
28769
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28770
|
-
}
|
|
28771
|
-
}
|
|
28772
|
-
},
|
|
28773
|
-
"delete": {
|
|
28774
|
-
"operationId": "revokeSeatFromMemberInOrganizationById",
|
|
28775
|
-
"summary": "Revoke a seat from a member of the organization",
|
|
28776
|
-
"tags": [
|
|
28777
|
-
"seats"
|
|
28778
|
-
],
|
|
28779
|
-
"security": [
|
|
28780
|
-
{
|
|
28781
|
-
"user-internal": []
|
|
28782
|
-
}
|
|
28783
|
-
],
|
|
28784
|
-
"parameters": [
|
|
28785
|
-
{
|
|
28786
|
-
"$ref": "#/components/parameters/organizationId"
|
|
28787
|
-
},
|
|
28788
|
-
{
|
|
28789
|
-
"$ref": "#/components/parameters/userId"
|
|
28790
|
-
}
|
|
28791
|
-
],
|
|
28792
|
-
"responses": {
|
|
28793
|
-
"205": {
|
|
28794
|
-
"description": "Seat revoked"
|
|
28795
|
-
},
|
|
28796
|
-
"409": {
|
|
28797
|
-
"description": "Member has no seat assigned",
|
|
28798
|
-
"$ref": "#/components/responses/ConflictError"
|
|
28799
|
-
},
|
|
28800
|
-
"default": {
|
|
28801
|
-
"$ref": "#/components/responses/UnexpectedError"
|
|
28802
|
-
}
|
|
28803
|
-
}
|
|
28804
|
-
}
|
|
28805
|
-
},
|
|
28806
28548
|
"/custom-hostnames/{hostname}": {
|
|
28807
28549
|
"get": {
|
|
28808
28550
|
"operationId": "getCustomHostname",
|