@gitbook/api 0.209.0 → 0.209.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/client.d.ts +271 -20
- package/dist/constants.d.ts +5 -1
- package/dist/index.cjs +69 -2
- package/dist/index.js +64 -2
- package/package.json +2 -1
- package/spec/openapi.json +713 -28
- package/spec/openapi.yaml +472 -20
package/spec/openapi.yaml
CHANGED
|
@@ -4463,7 +4463,7 @@ paths:
|
|
|
4463
4463
|
patch:
|
|
4464
4464
|
operationId: updateIntegrationInstallation
|
|
4465
4465
|
summary: Update an integration installation
|
|
4466
|
-
description: Updates the account-level configuration of an installation, and which spaces or sites it applies to.
|
|
4466
|
+
description: Updates the account-level configuration of an installation, and which spaces or sites it applies to. Only a user can change `space_selection` and `site_selection`; integration and installation tokens get a 403 when they send them.
|
|
4467
4467
|
x-gitbook-mcp: true
|
|
4468
4468
|
tags:
|
|
4469
4469
|
- integrations
|
|
@@ -6054,6 +6054,7 @@ paths:
|
|
|
6054
6054
|
description: |
|
|
6055
6055
|
Join an organization if the user's verified email domain matches one of the organization's allowed email domains.
|
|
6056
6056
|
This endpoint allows existing users to join organizations they're eligible for based on their email domain.
|
|
6057
|
+
If the user is already a member, refresh their access without changing their membership.
|
|
6057
6058
|
tags:
|
|
6058
6059
|
- organizations
|
|
6059
6060
|
security:
|
|
@@ -6062,7 +6063,7 @@ paths:
|
|
|
6062
6063
|
- $ref: '#/components/parameters/organizationId'
|
|
6063
6064
|
responses:
|
|
6064
6065
|
'204':
|
|
6065
|
-
description:
|
|
6066
|
+
description: Membership exists and access was refreshed
|
|
6066
6067
|
'400':
|
|
6067
6068
|
description: User's email domain is not valid
|
|
6068
6069
|
$ref: '#/components/responses/BadRequestError'
|
|
@@ -6682,6 +6683,171 @@ paths:
|
|
|
6682
6683
|
description: SAML provider did not exist
|
|
6683
6684
|
'205':
|
|
6684
6685
|
description: SAML provider has been deleted
|
|
6686
|
+
/orgs/{organizationId}/domains:
|
|
6687
|
+
get:
|
|
6688
|
+
operationId: listOrganizationDomains
|
|
6689
|
+
summary: List the email domains of an organization
|
|
6690
|
+
tags:
|
|
6691
|
+
- organizations
|
|
6692
|
+
security:
|
|
6693
|
+
- user-internal: []
|
|
6694
|
+
parameters:
|
|
6695
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6696
|
+
responses:
|
|
6697
|
+
'200':
|
|
6698
|
+
description: OK
|
|
6699
|
+
content:
|
|
6700
|
+
application/json:
|
|
6701
|
+
schema:
|
|
6702
|
+
allOf:
|
|
6703
|
+
- $ref: '#/components/schemas/List'
|
|
6704
|
+
- type: object
|
|
6705
|
+
required:
|
|
6706
|
+
- items
|
|
6707
|
+
properties:
|
|
6708
|
+
items:
|
|
6709
|
+
type: array
|
|
6710
|
+
items:
|
|
6711
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6712
|
+
'404':
|
|
6713
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6714
|
+
post:
|
|
6715
|
+
operationId: addOrganizationDomain
|
|
6716
|
+
summary: Add an email domain to an organization
|
|
6717
|
+
description: |
|
|
6718
|
+
Adds an email domain. People only join through it once the domain is verified.
|
|
6719
|
+
tags:
|
|
6720
|
+
- organizations
|
|
6721
|
+
security:
|
|
6722
|
+
- user-internal: []
|
|
6723
|
+
parameters:
|
|
6724
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6725
|
+
requestBody:
|
|
6726
|
+
required: true
|
|
6727
|
+
content:
|
|
6728
|
+
application/json:
|
|
6729
|
+
schema:
|
|
6730
|
+
type: object
|
|
6731
|
+
properties:
|
|
6732
|
+
domain:
|
|
6733
|
+
type: string
|
|
6734
|
+
maxLength: 253
|
|
6735
|
+
required:
|
|
6736
|
+
- domain
|
|
6737
|
+
responses:
|
|
6738
|
+
'201':
|
|
6739
|
+
description: Domain added
|
|
6740
|
+
content:
|
|
6741
|
+
application/json:
|
|
6742
|
+
schema:
|
|
6743
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6744
|
+
'400':
|
|
6745
|
+
$ref: '#/components/responses/BadRequestError'
|
|
6746
|
+
'404':
|
|
6747
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6748
|
+
'409':
|
|
6749
|
+
$ref: '#/components/responses/ConflictError'
|
|
6750
|
+
/orgs/{organizationId}/domains/{emailDomain}:
|
|
6751
|
+
get:
|
|
6752
|
+
operationId: getOrganizationDomain
|
|
6753
|
+
summary: Get an email domain of an organization
|
|
6754
|
+
tags:
|
|
6755
|
+
- organizations
|
|
6756
|
+
security:
|
|
6757
|
+
- user-internal: []
|
|
6758
|
+
parameters:
|
|
6759
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6760
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6761
|
+
responses:
|
|
6762
|
+
'200':
|
|
6763
|
+
description: OK
|
|
6764
|
+
content:
|
|
6765
|
+
application/json:
|
|
6766
|
+
schema:
|
|
6767
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6768
|
+
'404':
|
|
6769
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6770
|
+
patch:
|
|
6771
|
+
operationId: updateOrganizationDomain
|
|
6772
|
+
summary: Update an email domain of an organization
|
|
6773
|
+
tags:
|
|
6774
|
+
- organizations
|
|
6775
|
+
security:
|
|
6776
|
+
- user-internal: []
|
|
6777
|
+
parameters:
|
|
6778
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6779
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6780
|
+
requestBody:
|
|
6781
|
+
required: true
|
|
6782
|
+
content:
|
|
6783
|
+
application/json:
|
|
6784
|
+
schema:
|
|
6785
|
+
type: object
|
|
6786
|
+
minProperties: 1
|
|
6787
|
+
properties:
|
|
6788
|
+
autoJoinEnabled:
|
|
6789
|
+
type: boolean
|
|
6790
|
+
defaultRole:
|
|
6791
|
+
$ref: '#/components/schemas/OrganizationDomainDefaultRole'
|
|
6792
|
+
defaultTeam:
|
|
6793
|
+
description: ID of a team of the organization, or null to add no team
|
|
6794
|
+
type:
|
|
6795
|
+
- string
|
|
6796
|
+
- 'null'
|
|
6797
|
+
responses:
|
|
6798
|
+
'200':
|
|
6799
|
+
description: Domain updated
|
|
6800
|
+
content:
|
|
6801
|
+
application/json:
|
|
6802
|
+
schema:
|
|
6803
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6804
|
+
'400':
|
|
6805
|
+
$ref: '#/components/responses/BadRequestError'
|
|
6806
|
+
'404':
|
|
6807
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6808
|
+
delete:
|
|
6809
|
+
operationId: deleteOrganizationDomain
|
|
6810
|
+
summary: Remove an email domain from an organization
|
|
6811
|
+
description: |
|
|
6812
|
+
Removes an email domain. Members who joined through it stay members.
|
|
6813
|
+
tags:
|
|
6814
|
+
- organizations
|
|
6815
|
+
security:
|
|
6816
|
+
- user-internal: []
|
|
6817
|
+
parameters:
|
|
6818
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6819
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6820
|
+
responses:
|
|
6821
|
+
'204':
|
|
6822
|
+
description: Domain not found
|
|
6823
|
+
'205':
|
|
6824
|
+
description: Domain removed
|
|
6825
|
+
'404':
|
|
6826
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6827
|
+
/orgs/{organizationId}/domains/{emailDomain}/verify:
|
|
6828
|
+
post:
|
|
6829
|
+
operationId: verifyOrganizationDomain
|
|
6830
|
+
summary: Verify an email domain of an organization
|
|
6831
|
+
description: |
|
|
6832
|
+
Checks the domain's DNS TXT record. A legacy domain first gets its verification record, and keeps letting people join until it is verified.
|
|
6833
|
+
tags:
|
|
6834
|
+
- organizations
|
|
6835
|
+
security:
|
|
6836
|
+
- user-internal: []
|
|
6837
|
+
parameters:
|
|
6838
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6839
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6840
|
+
responses:
|
|
6841
|
+
'200':
|
|
6842
|
+
description: OK
|
|
6843
|
+
content:
|
|
6844
|
+
application/json:
|
|
6845
|
+
schema:
|
|
6846
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6847
|
+
'404':
|
|
6848
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6849
|
+
'409':
|
|
6850
|
+
$ref: '#/components/responses/ConflictError'
|
|
6685
6851
|
/orgs/{organizationId}/scim/connections:
|
|
6686
6852
|
get:
|
|
6687
6853
|
operationId: listOrganizationSCIMConnections
|
|
@@ -14675,6 +14841,13 @@ components:
|
|
|
14675
14841
|
description: The unique id of the SAML provider
|
|
14676
14842
|
schema:
|
|
14677
14843
|
type: string
|
|
14844
|
+
emailDomain:
|
|
14845
|
+
name: emailDomain
|
|
14846
|
+
in: path
|
|
14847
|
+
required: true
|
|
14848
|
+
description: Email domain
|
|
14849
|
+
schema:
|
|
14850
|
+
type: string
|
|
14678
14851
|
scimConnectionId:
|
|
14679
14852
|
name: scimConnectionId
|
|
14680
14853
|
in: path
|
|
@@ -14817,7 +14990,7 @@ components:
|
|
|
14817
14990
|
siteQuestionVisitorType:
|
|
14818
14991
|
name: visitorType
|
|
14819
14992
|
in: query
|
|
14820
|
-
description: Filter by
|
|
14993
|
+
description: Filter by who asked the question (a person, an AI agent, another bot, or unknown).
|
|
14821
14994
|
schema:
|
|
14822
14995
|
type: array
|
|
14823
14996
|
items:
|
|
@@ -14897,13 +15070,6 @@ components:
|
|
|
14897
15070
|
description: The custom hostname, for example "docs.gitbook.com"
|
|
14898
15071
|
schema:
|
|
14899
15072
|
type: string
|
|
14900
|
-
emailDomain:
|
|
14901
|
-
name: emailDomain
|
|
14902
|
-
in: path
|
|
14903
|
-
required: true
|
|
14904
|
-
description: Email domain
|
|
14905
|
-
schema:
|
|
14906
|
-
type: string
|
|
14907
15073
|
xGitBookPartnerKey:
|
|
14908
15074
|
in: header
|
|
14909
15075
|
name: X-GitBook-Partner-Key
|
|
@@ -15013,6 +15179,92 @@ components:
|
|
|
15013
15179
|
description: Temporary access token to authenticate with the API
|
|
15014
15180
|
required:
|
|
15015
15181
|
- token
|
|
15182
|
+
Timestamp:
|
|
15183
|
+
type: string
|
|
15184
|
+
format: date-time
|
|
15185
|
+
UserPasskey:
|
|
15186
|
+
type: object
|
|
15187
|
+
description: A passkey the user registered to sign in to GitBook.
|
|
15188
|
+
properties:
|
|
15189
|
+
object:
|
|
15190
|
+
type: string
|
|
15191
|
+
description: The object type, which is always "passkey"
|
|
15192
|
+
enum:
|
|
15193
|
+
- passkey
|
|
15194
|
+
id:
|
|
15195
|
+
type: string
|
|
15196
|
+
description: Unique identifier of the passkey.
|
|
15197
|
+
name:
|
|
15198
|
+
type: string
|
|
15199
|
+
description: Name the user gave the passkey, usually the device or password manager that holds it.
|
|
15200
|
+
createdAt:
|
|
15201
|
+
$ref: '#/components/schemas/Timestamp'
|
|
15202
|
+
description: When the passkey was registered.
|
|
15203
|
+
lastUsedAt:
|
|
15204
|
+
$ref: '#/components/schemas/Timestamp'
|
|
15205
|
+
description: When the passkey was last used to sign in. Absent if it has never been used.
|
|
15206
|
+
backedUp:
|
|
15207
|
+
type: boolean
|
|
15208
|
+
description: Whether the passkey is synced across devices, for example by a password manager.
|
|
15209
|
+
required:
|
|
15210
|
+
- object
|
|
15211
|
+
- id
|
|
15212
|
+
- name
|
|
15213
|
+
- createdAt
|
|
15214
|
+
- backedUp
|
|
15215
|
+
PasskeyRegistrationResponse:
|
|
15216
|
+
type: object
|
|
15217
|
+
description: The browser's answer to the passkey registration options (RegistrationResponseJSON).
|
|
15218
|
+
properties:
|
|
15219
|
+
id:
|
|
15220
|
+
type: string
|
|
15221
|
+
rawId:
|
|
15222
|
+
type: string
|
|
15223
|
+
type:
|
|
15224
|
+
type: string
|
|
15225
|
+
enum:
|
|
15226
|
+
- public-key
|
|
15227
|
+
response:
|
|
15228
|
+
type: object
|
|
15229
|
+
properties:
|
|
15230
|
+
clientDataJSON:
|
|
15231
|
+
type: string
|
|
15232
|
+
attestationObject:
|
|
15233
|
+
type: string
|
|
15234
|
+
transports:
|
|
15235
|
+
type: array
|
|
15236
|
+
maxItems: 8
|
|
15237
|
+
description: How the browser reaches the authenticator, such as usb, nfc, ble, smart-card, hybrid or internal. WebAuthn can add values, so any short lowercase name is accepted.
|
|
15238
|
+
items:
|
|
15239
|
+
type: string
|
|
15240
|
+
pattern: ^[a-z][a-z-]{0,31}$
|
|
15241
|
+
required:
|
|
15242
|
+
- clientDataJSON
|
|
15243
|
+
- attestationObject
|
|
15244
|
+
clientExtensionResults:
|
|
15245
|
+
type: object
|
|
15246
|
+
additionalProperties: true
|
|
15247
|
+
authenticatorAttachment:
|
|
15248
|
+
type: string
|
|
15249
|
+
enum:
|
|
15250
|
+
- platform
|
|
15251
|
+
- cross-platform
|
|
15252
|
+
required:
|
|
15253
|
+
- id
|
|
15254
|
+
- rawId
|
|
15255
|
+
- type
|
|
15256
|
+
- response
|
|
15257
|
+
- clientExtensionResults
|
|
15258
|
+
PasskeyRegistrationOptions:
|
|
15259
|
+
type: object
|
|
15260
|
+
description: WebAuthn options for creating a passkey (PublicKeyCredentialCreationOptionsJSON), to pass unchanged to the browser.
|
|
15261
|
+
additionalProperties: true
|
|
15262
|
+
properties:
|
|
15263
|
+
challenge:
|
|
15264
|
+
type: string
|
|
15265
|
+
description: Single-use challenge the new passkey must sign.
|
|
15266
|
+
required:
|
|
15267
|
+
- challenge
|
|
15016
15268
|
List:
|
|
15017
15269
|
type: object
|
|
15018
15270
|
properties:
|
|
@@ -15030,9 +15282,6 @@ components:
|
|
|
15030
15282
|
APITokenLabel:
|
|
15031
15283
|
type: string
|
|
15032
15284
|
maxLength: 50
|
|
15033
|
-
Timestamp:
|
|
15034
|
-
type: string
|
|
15035
|
-
format: date-time
|
|
15036
15285
|
UserAPIToken:
|
|
15037
15286
|
type: object
|
|
15038
15287
|
description: The API token details, excluding the token itself.
|
|
@@ -24911,6 +25160,12 @@ components:
|
|
|
24911
25160
|
oauthTransaction:
|
|
24912
25161
|
type: string
|
|
24913
25162
|
description: ID of a consumed OAuth transaction for this exact target, authorizing a credential write. Single use.
|
|
25163
|
+
NewOrganizationTitle:
|
|
25164
|
+
type: string
|
|
25165
|
+
description: Name of a new organization
|
|
25166
|
+
minLength: 2
|
|
25167
|
+
maxLength: 80
|
|
25168
|
+
pattern: \S.*\S
|
|
24914
25169
|
SiteOnboardingSource:
|
|
24915
25170
|
type: string
|
|
24916
25171
|
description: Where the user's docs are coming from today.
|
|
@@ -24957,9 +25212,11 @@ components:
|
|
|
24957
25212
|
type: object
|
|
24958
25213
|
properties:
|
|
24959
25214
|
title:
|
|
24960
|
-
$ref: '#/components/schemas/
|
|
25215
|
+
$ref: '#/components/schemas/NewOrganizationTitle'
|
|
24961
25216
|
emailDomains:
|
|
24962
25217
|
$ref: '#/components/schemas/OrganizationEmailDomains'
|
|
25218
|
+
description: 'No longer supported: a non-empty list is rejected. Add and verify domains with the domain management API after the organization is created.'
|
|
25219
|
+
deprecated: true
|
|
24963
25220
|
onboardingPreferences:
|
|
24964
25221
|
description: Preferences collected from the user during onboarding, to apply to the organization's default site. Only used when `withDefaultSite` is true.
|
|
24965
25222
|
$ref: '#/components/schemas/SiteOnboardingPreferences'
|
|
@@ -25974,7 +26231,23 @@ components:
|
|
|
25974
26231
|
enum:
|
|
25975
26232
|
- claude
|
|
25976
26233
|
- codex
|
|
26234
|
+
- cursor
|
|
26235
|
+
- lovable
|
|
25977
26236
|
- replit
|
|
26237
|
+
- other
|
|
26238
|
+
reasonComment:
|
|
26239
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26240
|
+
reasonHosting:
|
|
26241
|
+
description: Where the organization plans to host its own solution
|
|
26242
|
+
type: string
|
|
26243
|
+
enum:
|
|
26244
|
+
- own_website_or_app
|
|
26245
|
+
- vercel
|
|
26246
|
+
- netlify
|
|
26247
|
+
- github_pages
|
|
26248
|
+
- cloudflare_pages
|
|
26249
|
+
- not_decided
|
|
26250
|
+
- other
|
|
25978
26251
|
additionalProperties: false
|
|
25979
26252
|
required:
|
|
25980
26253
|
- reason
|
|
@@ -25984,25 +26257,79 @@ components:
|
|
|
25984
26257
|
reason:
|
|
25985
26258
|
type: string
|
|
25986
26259
|
enum:
|
|
25987
|
-
-
|
|
26260
|
+
- found_better_alternative
|
|
26261
|
+
reasonComment:
|
|
26262
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26263
|
+
additionalProperties: false
|
|
26264
|
+
required:
|
|
26265
|
+
- reason
|
|
26266
|
+
- reasonComment
|
|
26267
|
+
- type: object
|
|
26268
|
+
properties:
|
|
26269
|
+
reason:
|
|
26270
|
+
type: string
|
|
26271
|
+
enum:
|
|
26272
|
+
- company_shutdown
|
|
26273
|
+
additionalProperties: false
|
|
26274
|
+
required:
|
|
26275
|
+
- reason
|
|
26276
|
+
- type: object
|
|
26277
|
+
properties:
|
|
26278
|
+
reason:
|
|
26279
|
+
type: string
|
|
26280
|
+
enum:
|
|
26281
|
+
- other_reason
|
|
26282
|
+
reasonComment:
|
|
26283
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26284
|
+
additionalProperties: false
|
|
26285
|
+
required:
|
|
26286
|
+
- reason
|
|
26287
|
+
- reasonComment
|
|
26288
|
+
- type: object
|
|
26289
|
+
properties:
|
|
26290
|
+
reason:
|
|
26291
|
+
type: string
|
|
26292
|
+
enum:
|
|
26293
|
+
- not_using_enough
|
|
25988
26294
|
reasonDetail:
|
|
25989
|
-
description: The tool the organization is moving to
|
|
25990
26295
|
type: string
|
|
25991
26296
|
enum:
|
|
25992
|
-
-
|
|
26297
|
+
- yes_in_a_few_months
|
|
26298
|
+
- 'no'
|
|
25993
26299
|
reasonComment:
|
|
25994
26300
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
25995
26301
|
additionalProperties: false
|
|
25996
26302
|
required:
|
|
25997
26303
|
- reason
|
|
25998
26304
|
- reasonDetail
|
|
25999
|
-
- reasonComment
|
|
26000
26305
|
- type: object
|
|
26001
26306
|
properties:
|
|
26002
26307
|
reason:
|
|
26003
26308
|
type: string
|
|
26004
26309
|
enum:
|
|
26005
26310
|
- found_better_alternative
|
|
26311
|
+
reasonDetail:
|
|
26312
|
+
type: string
|
|
26313
|
+
enum:
|
|
26314
|
+
- mintlify
|
|
26315
|
+
- readme
|
|
26316
|
+
- docusaurus
|
|
26317
|
+
- notion
|
|
26318
|
+
- confluence
|
|
26319
|
+
- self_hosted
|
|
26320
|
+
- other
|
|
26321
|
+
reasonComment:
|
|
26322
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26323
|
+
additionalProperties: false
|
|
26324
|
+
required:
|
|
26325
|
+
- reason
|
|
26326
|
+
- reasonDetail
|
|
26327
|
+
- type: object
|
|
26328
|
+
properties:
|
|
26329
|
+
reason:
|
|
26330
|
+
type: string
|
|
26331
|
+
enum:
|
|
26332
|
+
- not_satisfied_with_product
|
|
26006
26333
|
reasonComment:
|
|
26007
26334
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26008
26335
|
additionalProperties: false
|
|
@@ -26014,21 +26341,36 @@ components:
|
|
|
26014
26341
|
reason:
|
|
26015
26342
|
type: string
|
|
26016
26343
|
enum:
|
|
26017
|
-
-
|
|
26344
|
+
- budget
|
|
26345
|
+
reasonDetail:
|
|
26346
|
+
type: string
|
|
26347
|
+
enum:
|
|
26348
|
+
- budget_cuts
|
|
26349
|
+
- plan_price_increase
|
|
26350
|
+
- consolidating_tools
|
|
26351
|
+
- funding_changed
|
|
26352
|
+
- excess_seats_or_sites
|
|
26353
|
+
- project_budget_reduced
|
|
26018
26354
|
additionalProperties: false
|
|
26019
26355
|
required:
|
|
26020
26356
|
- reason
|
|
26357
|
+
- reasonDetail
|
|
26021
26358
|
- type: object
|
|
26022
26359
|
properties:
|
|
26023
26360
|
reason:
|
|
26024
26361
|
type: string
|
|
26025
26362
|
enum:
|
|
26026
|
-
-
|
|
26363
|
+
- budget
|
|
26364
|
+
reasonDetail:
|
|
26365
|
+
type: string
|
|
26366
|
+
enum:
|
|
26367
|
+
- other
|
|
26027
26368
|
reasonComment:
|
|
26028
26369
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26029
26370
|
additionalProperties: false
|
|
26030
26371
|
required:
|
|
26031
26372
|
- reason
|
|
26373
|
+
- reasonDetail
|
|
26032
26374
|
- reasonComment
|
|
26033
26375
|
BillingCoupon:
|
|
26034
26376
|
type: string
|
|
@@ -26621,6 +26963,7 @@ components:
|
|
|
26621
26963
|
- members-team-owners
|
|
26622
26964
|
- security-saml
|
|
26623
26965
|
- scim
|
|
26966
|
+
- verified-domains
|
|
26624
26967
|
- change-requests-merge-rules
|
|
26625
26968
|
SearchSpaceResult:
|
|
26626
26969
|
type: object
|
|
@@ -26827,6 +27170,88 @@ components:
|
|
|
26827
27170
|
- status
|
|
26828
27171
|
- service
|
|
26829
27172
|
- urls
|
|
27173
|
+
OrganizationDomainStatus:
|
|
27174
|
+
type: string
|
|
27175
|
+
description: |
|
|
27176
|
+
Verification status of the domain. "legacy" is a domain added before verification existed: it keeps letting people join automatically without being verified.
|
|
27177
|
+
enum:
|
|
27178
|
+
- legacy
|
|
27179
|
+
- pending
|
|
27180
|
+
- verified
|
|
27181
|
+
- error
|
|
27182
|
+
OrganizationDomainDefaultRole:
|
|
27183
|
+
description: |
|
|
27184
|
+
Role given to people who join through the domain. "default" uses the organization's default role, and "guest" adds them as guests.
|
|
27185
|
+
oneOf:
|
|
27186
|
+
- $ref: '#/components/schemas/MemberRole'
|
|
27187
|
+
- type: string
|
|
27188
|
+
enum:
|
|
27189
|
+
- default
|
|
27190
|
+
- guest
|
|
27191
|
+
OrganizationDomain:
|
|
27192
|
+
type: object
|
|
27193
|
+
description: An email domain of an organization.
|
|
27194
|
+
properties:
|
|
27195
|
+
object:
|
|
27196
|
+
type: string
|
|
27197
|
+
description: The object type, which is always "organization-domain"
|
|
27198
|
+
enum:
|
|
27199
|
+
- organization-domain
|
|
27200
|
+
domain:
|
|
27201
|
+
type: string
|
|
27202
|
+
description: The email domain, such as "example.com"
|
|
27203
|
+
status:
|
|
27204
|
+
$ref: '#/components/schemas/OrganizationDomainStatus'
|
|
27205
|
+
statusDescription:
|
|
27206
|
+
type: string
|
|
27207
|
+
description: Why the last verification failed
|
|
27208
|
+
verificationRecord:
|
|
27209
|
+
type: object
|
|
27210
|
+
description: DNS TXT record to add to the domain to verify it
|
|
27211
|
+
properties:
|
|
27212
|
+
type:
|
|
27213
|
+
type: string
|
|
27214
|
+
enum:
|
|
27215
|
+
- TXT
|
|
27216
|
+
name:
|
|
27217
|
+
type: string
|
|
27218
|
+
value:
|
|
27219
|
+
type: string
|
|
27220
|
+
required:
|
|
27221
|
+
- type
|
|
27222
|
+
- name
|
|
27223
|
+
- value
|
|
27224
|
+
autoJoinEnabled:
|
|
27225
|
+
type: boolean
|
|
27226
|
+
description: Whether people with an email on the domain join the organization automatically
|
|
27227
|
+
defaultRole:
|
|
27228
|
+
$ref: '#/components/schemas/OrganizationDomainDefaultRole'
|
|
27229
|
+
defaultTeam:
|
|
27230
|
+
type: string
|
|
27231
|
+
description: ID of the team that people joining through the domain are added to
|
|
27232
|
+
verifiedAt:
|
|
27233
|
+
description: Date the domain was verified
|
|
27234
|
+
$ref: '#/components/schemas/Timestamp'
|
|
27235
|
+
createdAt:
|
|
27236
|
+
description: Date the domain was added
|
|
27237
|
+
$ref: '#/components/schemas/Timestamp'
|
|
27238
|
+
urls:
|
|
27239
|
+
type: object
|
|
27240
|
+
description: URLs associated with the object
|
|
27241
|
+
properties:
|
|
27242
|
+
location:
|
|
27243
|
+
description: URL of the domain in the API
|
|
27244
|
+
$ref: '#/components/schemas/URL'
|
|
27245
|
+
required:
|
|
27246
|
+
- location
|
|
27247
|
+
required:
|
|
27248
|
+
- object
|
|
27249
|
+
- domain
|
|
27250
|
+
- status
|
|
27251
|
+
- autoJoinEnabled
|
|
27252
|
+
- defaultRole
|
|
27253
|
+
- createdAt
|
|
27254
|
+
- urls
|
|
26830
27255
|
SCIMConnectionLabel:
|
|
26831
27256
|
type: string
|
|
26832
27257
|
description: Name of the SCIM connection, shown to organization admins.
|
|
@@ -38808,6 +39233,18 @@ components:
|
|
|
38808
39233
|
required:
|
|
38809
39234
|
- channel
|
|
38810
39235
|
- user
|
|
39236
|
+
APIChannelUserPasskeys:
|
|
39237
|
+
type: object
|
|
39238
|
+
properties:
|
|
39239
|
+
channel:
|
|
39240
|
+
type: string
|
|
39241
|
+
enum:
|
|
39242
|
+
- user-passkeys
|
|
39243
|
+
user:
|
|
39244
|
+
type: string
|
|
39245
|
+
required:
|
|
39246
|
+
- channel
|
|
39247
|
+
- user
|
|
38811
39248
|
APIChannelUserProfile:
|
|
38812
39249
|
type: object
|
|
38813
39250
|
properties:
|
|
@@ -39136,6 +39573,19 @@ components:
|
|
|
39136
39573
|
required:
|
|
39137
39574
|
- channel
|
|
39138
39575
|
- organization
|
|
39576
|
+
APIChannelOrganizationDomains:
|
|
39577
|
+
type: object
|
|
39578
|
+
description: Subscription channel for changes in the email domains of an organization.
|
|
39579
|
+
properties:
|
|
39580
|
+
channel:
|
|
39581
|
+
type: string
|
|
39582
|
+
enum:
|
|
39583
|
+
- organization-domains
|
|
39584
|
+
organization:
|
|
39585
|
+
type: string
|
|
39586
|
+
required:
|
|
39587
|
+
- channel
|
|
39588
|
+
- organization
|
|
39139
39589
|
APIChannelOrganizationCustomFonts:
|
|
39140
39590
|
type: object
|
|
39141
39591
|
description: Subscription channel for changes in custom fonts in an organization.
|
|
@@ -39680,6 +40130,7 @@ components:
|
|
|
39680
40130
|
- $ref: '#/components/schemas/APIChannelSpaceIntegrations'
|
|
39681
40131
|
- $ref: '#/components/schemas/APIChannelUserAPITokens'
|
|
39682
40132
|
- $ref: '#/components/schemas/APIChannelUserOrganizations'
|
|
40133
|
+
- $ref: '#/components/schemas/APIChannelUserPasskeys'
|
|
39683
40134
|
- $ref: '#/components/schemas/APIChannelUserProfile'
|
|
39684
40135
|
- $ref: '#/components/schemas/APIChannelChangeRequest'
|
|
39685
40136
|
- $ref: '#/components/schemas/APIChannelChangeRequests'
|
|
@@ -39705,6 +40156,7 @@ components:
|
|
|
39705
40156
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslations'
|
|
39706
40157
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslationsGlossary'
|
|
39707
40158
|
- $ref: '#/components/schemas/APIChannelOrganizationSCIMConnections'
|
|
40159
|
+
- $ref: '#/components/schemas/APIChannelOrganizationDomains'
|
|
39708
40160
|
- $ref: '#/components/schemas/APIChannelOrganizationCustomFonts'
|
|
39709
40161
|
- $ref: '#/components/schemas/APIChannelOrganizationAgentInstructions'
|
|
39710
40162
|
- $ref: '#/components/schemas/APIChannelOrganizationChangeRequests'
|