@gitbook/api 0.209.0 → 0.210.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/LICENSE +201 -0
- package/dist/client.d.ts +707 -148
- package/dist/constants.d.ts +10 -1
- package/dist/index.cjs +189 -48
- package/dist/index.js +174 -48
- package/package.json +2 -1
- package/spec/openapi.json +1939 -388
- package/spec/openapi.yaml +1362 -324
package/spec/openapi.yaml
CHANGED
|
@@ -2487,7 +2487,7 @@ paths:
|
|
|
2487
2487
|
Applies an ordered array of content changes (up to 50) to the change request atomically, creating a single new revision. Changes are applied sequentially; if any single change is invalid the entire batch is rejected and no revision is created. Use this to create, update, rename, move, or delete pages within a change request before merging to live. This is the primary way to programmatically author content in a change request.
|
|
2488
2488
|
**Renaming a page** — `update_page` can change a page's `title` and/or its `slug` (the path segment used to build its URL within its current parent). Both fields are independent: to rename only the title without changing the URL, set `title` and omit `slug`; to change the URL without changing the title, set `slug` and omit `title`.
|
|
2489
2489
|
**Moving a page** — `update_page` can also change a page's parent and/or its position among siblings with `into`/`at`. Set `into` to the new parent's page ID, or `null` to move the page to the root of the tree; omit `into` to leave the parent unchanged. Set `at` to place the page at a specific zero-based index among its new siblings; omit it to leave the position unchanged (when the parent isn't changing) or append at the end (when it is). A page cannot be moved under itself or one of its own descendants. `insert_page`'s `into`/`at` remain the way to place a **new** page at creation time.
|
|
2490
|
-
**Tags**: create
|
|
2490
|
+
**Tags and categories**: create with `insert_tags` using a `tags` array (1-50 entries), change appearance or placement with `update_tag`, and delete with `delete_tag`. A category (`kind: category`) must be empty before deletion and cannot be assigned to pages or blocks. Categories nest up to three levels deep; normal tags nest one level under other normal tags. Deleting a normal tag reparents its children to its parent. Changes apply in order, so newly created tags can be used by later changes, including page frontmatter. Tags within an insert apply in array order; create parents before children. For example: `{"changes":[{"operation":"insert_tags","tags":[{"label":"Products","slug":"products","kind":"category"}, {"label":"Autonomous DEM","slug":"autonomous-dem","parent":"products"}, {"label":"Core","slug":"core","parent":"autonomous-dem"}]}]}`.
|
|
2491
2491
|
To put an image or attachment in a page, upload it with an `insert_files` change. Give the file a `ref` and a page inserted in the same batch can reference it as `` or `[File](./<ref>)`, which resolves to the file's ID at apply time regardless of operation order. Uploaded files are also listed as `insertedFiles` when `compat=false`, and a file already in the change request can be referenced directly as `/files/<fileId>`. Inline `data:` URIs in markdown are not ingested and large image blocks are dropped, so upload the bytes with `insert_files` instead.
|
|
2492
2492
|
**Reusable content** (snippets shared by several pages, Git Sync's `.gitbook/includes/`) is created with `insert_reusable_contents`, changed with `update_reusable_content` and removed with `delete_reusable_content`. A page includes one in markdown as `{% include "/reusable-content/<reusableContentId>" %}`; give a new one a `ref` and a page in the same batch can include it as `{% include "./<ref>" %}`, regardless of operation order. Created reusable contents are listed as `insertedReusableContents` when `compat=false`. An update keeps the ID, so every page including it shows the change. Deleting one leaves the includes in pages unresolved, as in the editor: remove them from those pages too. Reusable content cannot include other reusable content, so an include in its document is dropped. Unlike a link, an include that matches no reusable content of the change request (or of the batch) rejects the batch, since dropping it would remove it from the page silently.
|
|
2493
2493
|
**Variables** (space variables, Git Sync's `.gitbook/vars.yaml`) are created with `insert_variables`, changed with `update_variable` and removed with `delete_variable`. A variable is identified by its name, which content references as an expression: `<code class="expression">space.vars.<name></code>` in markdown. Inserting a name the change request already uses, or updating or deleting one it does not, rejects the batch. Deleting a variable keeps the expressions referencing it, as in the editor: remove them from those pages too. A page's own variables (`page.vars.<name>`) are set with `insert_page`/`update_page`'s `variables`, or the `vars` frontmatter of a markdown document, which replace all of that page's variables. To change one of them without resending the rest, give `insert_variables`, `update_variable` or `delete_variable` a `page`; the same rules apply to that page's variables.
|
|
@@ -4357,6 +4357,11 @@ paths:
|
|
|
4357
4357
|
get:
|
|
4358
4358
|
operationId: renderIntegrationUIWithGet
|
|
4359
4359
|
summary: Render an integration UI with GET method
|
|
4360
|
+
description: |
|
|
4361
|
+
Declared integration input errors return 422. Integration connection or configuration
|
|
4362
|
+
failures return 424, independently of the caller's GitBook authentication.
|
|
4363
|
+
Invalid or failing integration responses return 502. Transport failures remain 5xx.
|
|
4364
|
+
Failed actions are not automatically retried.
|
|
4360
4365
|
tags:
|
|
4361
4366
|
- integrations
|
|
4362
4367
|
parameters:
|
|
@@ -4378,9 +4383,26 @@ paths:
|
|
|
4378
4383
|
Cache-Control:
|
|
4379
4384
|
schema:
|
|
4380
4385
|
type: string
|
|
4386
|
+
'422':
|
|
4387
|
+
description: The integration rejected the input
|
|
4388
|
+
content:
|
|
4389
|
+
application/json:
|
|
4390
|
+
schema:
|
|
4391
|
+
$ref: '#/components/schemas/Error'
|
|
4392
|
+
'424':
|
|
4393
|
+
description: The integration connection or configuration needs attention
|
|
4394
|
+
content:
|
|
4395
|
+
application/json:
|
|
4396
|
+
schema:
|
|
4397
|
+
$ref: '#/components/schemas/Error'
|
|
4381
4398
|
post:
|
|
4382
4399
|
operationId: renderIntegrationUIWithPost
|
|
4383
4400
|
summary: Render an integration UI with POST method
|
|
4401
|
+
description: |
|
|
4402
|
+
Declared integration input errors return 422. Integration connection or configuration
|
|
4403
|
+
failures return 424, independently of the caller's GitBook authentication.
|
|
4404
|
+
Invalid or failing integration responses return 502. Transport failures remain 5xx.
|
|
4405
|
+
Failed actions are not automatically retried.
|
|
4384
4406
|
tags:
|
|
4385
4407
|
- integrations
|
|
4386
4408
|
parameters:
|
|
@@ -4396,6 +4418,18 @@ paths:
|
|
|
4396
4418
|
Cache-Control:
|
|
4397
4419
|
schema:
|
|
4398
4420
|
type: string
|
|
4421
|
+
'422':
|
|
4422
|
+
description: The integration rejected the input
|
|
4423
|
+
content:
|
|
4424
|
+
application/json:
|
|
4425
|
+
schema:
|
|
4426
|
+
$ref: '#/components/schemas/Error'
|
|
4427
|
+
'424':
|
|
4428
|
+
description: The integration connection or configuration needs attention
|
|
4429
|
+
content:
|
|
4430
|
+
application/json:
|
|
4431
|
+
schema:
|
|
4432
|
+
$ref: '#/components/schemas/Error'
|
|
4399
4433
|
requestBody:
|
|
4400
4434
|
required: true
|
|
4401
4435
|
content:
|
|
@@ -4463,7 +4497,7 @@ paths:
|
|
|
4463
4497
|
patch:
|
|
4464
4498
|
operationId: updateIntegrationInstallation
|
|
4465
4499
|
summary: Update an integration installation
|
|
4466
|
-
description: Updates the account-level configuration of an installation, and which spaces or sites it applies to.
|
|
4500
|
+
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
4501
|
x-gitbook-mcp: true
|
|
4468
4502
|
tags:
|
|
4469
4503
|
- integrations
|
|
@@ -5178,7 +5212,7 @@ paths:
|
|
|
5178
5212
|
x-gitbook-mcp: true
|
|
5179
5213
|
summary: List organization audit events
|
|
5180
5214
|
description: |
|
|
5181
|
-
Lists recorded changes for an activated organization. Access is restricted to organization administrators and GitBook staff, and results are ordered by occurrence time, newest first. An active Enterprise plan is required except for GitBook's own organization.
|
|
5215
|
+
Lists recorded changes for an activated organization. Access is restricted to organization administrators and GitBook staff, and results are ordered by occurrence time, newest first. An active Enterprise plan is required except for GitBook's own organization. Only events from the latest 365 days are available, including in counts and facets.
|
|
5182
5216
|
tags:
|
|
5183
5217
|
- organizations
|
|
5184
5218
|
security:
|
|
@@ -5196,7 +5230,7 @@ paths:
|
|
|
5196
5230
|
default: 20
|
|
5197
5231
|
- name: from
|
|
5198
5232
|
in: query
|
|
5199
|
-
description: Include events occurring at or after this time.
|
|
5233
|
+
description: Include events occurring at or after this time, within the latest 365 days.
|
|
5200
5234
|
schema:
|
|
5201
5235
|
type: string
|
|
5202
5236
|
format: date-time
|
|
@@ -5286,7 +5320,7 @@ paths:
|
|
|
5286
5320
|
x-gitbook-mcp: true
|
|
5287
5321
|
summary: Get an organization audit event
|
|
5288
5322
|
description: |
|
|
5289
|
-
Returns the full allowlisted payload for one recorded organization change. Access is restricted to organization administrators and GitBook staff. The organization must be activated and on an active Enterprise plan, except for GitBook's own organization.
|
|
5323
|
+
Returns the full allowlisted payload for one recorded organization change. Access is restricted to organization administrators and GitBook staff. The organization must be activated and on an active Enterprise plan, except for GitBook's own organization. Events older than 365 days are unavailable and return 404.
|
|
5290
5324
|
tags:
|
|
5291
5325
|
- organizations
|
|
5292
5326
|
security:
|
|
@@ -5855,6 +5889,8 @@ paths:
|
|
|
5855
5889
|
post:
|
|
5856
5890
|
operationId: inviteUsersToOrganization
|
|
5857
5891
|
summary: Invite users in an organization
|
|
5892
|
+
description: Optionally adds invitees to teams using teamIds. Team owners may invite organization Guests into teams they own. Other organization invitations require an organization admin.
|
|
5893
|
+
x-gitbook-mcp: true
|
|
5858
5894
|
tags:
|
|
5859
5895
|
- organization-invites
|
|
5860
5896
|
security:
|
|
@@ -5881,9 +5917,20 @@ paths:
|
|
|
5881
5917
|
description: The number of users who were added to the organization
|
|
5882
5918
|
failedSSOEmails:
|
|
5883
5919
|
type: array
|
|
5920
|
+
deprecated: true
|
|
5884
5921
|
items:
|
|
5885
5922
|
type: string
|
|
5886
5923
|
description: A list of emails who were invited to the organization, but who were not added as SSO users as they are members of another org
|
|
5924
|
+
pendingConsentEmails:
|
|
5925
|
+
type: array
|
|
5926
|
+
description: Addresses awaiting acceptance of a team-owner invitation. Every requested address follows this flow, regardless of account existence or organization membership. No access is granted until acceptance.
|
|
5927
|
+
items:
|
|
5928
|
+
type: string
|
|
5929
|
+
unverifiedEmails:
|
|
5930
|
+
type: array
|
|
5931
|
+
description: Email addresses that must be verified before their existing accounts can be invited.
|
|
5932
|
+
items:
|
|
5933
|
+
type: string
|
|
5887
5934
|
required:
|
|
5888
5935
|
- users
|
|
5889
5936
|
- invited
|
|
@@ -6054,6 +6101,7 @@ paths:
|
|
|
6054
6101
|
description: |
|
|
6055
6102
|
Join an organization if the user's verified email domain matches one of the organization's allowed email domains.
|
|
6056
6103
|
This endpoint allows existing users to join organizations they're eligible for based on their email domain.
|
|
6104
|
+
If the user is already a member, refresh their access without changing their membership.
|
|
6057
6105
|
tags:
|
|
6058
6106
|
- organizations
|
|
6059
6107
|
security:
|
|
@@ -6062,7 +6110,7 @@ paths:
|
|
|
6062
6110
|
- $ref: '#/components/parameters/organizationId'
|
|
6063
6111
|
responses:
|
|
6064
6112
|
'204':
|
|
6065
|
-
description:
|
|
6113
|
+
description: Membership exists and access was refreshed
|
|
6066
6114
|
'400':
|
|
6067
6115
|
description: User's email domain is not valid
|
|
6068
6116
|
$ref: '#/components/responses/BadRequestError'
|
|
@@ -6594,8 +6642,12 @@ paths:
|
|
|
6594
6642
|
$ref: '#/components/schemas/URL'
|
|
6595
6643
|
defaultTeam:
|
|
6596
6644
|
type: string
|
|
6645
|
+
defaultTeamFromDomain:
|
|
6646
|
+
type: boolean
|
|
6597
6647
|
defaultRole:
|
|
6598
|
-
$ref: '#/components/schemas/
|
|
6648
|
+
$ref: '#/components/schemas/SAMLProviderDefaultRole'
|
|
6649
|
+
domains:
|
|
6650
|
+
$ref: '#/components/schemas/SAMLProviderDomains'
|
|
6599
6651
|
required:
|
|
6600
6652
|
- label
|
|
6601
6653
|
responses:
|
|
@@ -6658,8 +6710,12 @@ paths:
|
|
|
6658
6710
|
$ref: '#/components/schemas/URL'
|
|
6659
6711
|
defaultTeam:
|
|
6660
6712
|
type: string
|
|
6713
|
+
defaultTeamFromDomain:
|
|
6714
|
+
type: boolean
|
|
6661
6715
|
defaultRole:
|
|
6662
|
-
$ref: '#/components/schemas/
|
|
6716
|
+
$ref: '#/components/schemas/SAMLProviderDefaultRole'
|
|
6717
|
+
domains:
|
|
6718
|
+
$ref: '#/components/schemas/SAMLProviderDomains'
|
|
6663
6719
|
responses:
|
|
6664
6720
|
'200':
|
|
6665
6721
|
description: SAML provider has been updated
|
|
@@ -6682,6 +6738,171 @@ paths:
|
|
|
6682
6738
|
description: SAML provider did not exist
|
|
6683
6739
|
'205':
|
|
6684
6740
|
description: SAML provider has been deleted
|
|
6741
|
+
/orgs/{organizationId}/domains:
|
|
6742
|
+
get:
|
|
6743
|
+
operationId: listOrganizationDomains
|
|
6744
|
+
summary: List the email domains of an organization
|
|
6745
|
+
tags:
|
|
6746
|
+
- organizations
|
|
6747
|
+
security:
|
|
6748
|
+
- user-internal: []
|
|
6749
|
+
parameters:
|
|
6750
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6751
|
+
responses:
|
|
6752
|
+
'200':
|
|
6753
|
+
description: OK
|
|
6754
|
+
content:
|
|
6755
|
+
application/json:
|
|
6756
|
+
schema:
|
|
6757
|
+
allOf:
|
|
6758
|
+
- $ref: '#/components/schemas/List'
|
|
6759
|
+
- type: object
|
|
6760
|
+
required:
|
|
6761
|
+
- items
|
|
6762
|
+
properties:
|
|
6763
|
+
items:
|
|
6764
|
+
type: array
|
|
6765
|
+
items:
|
|
6766
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6767
|
+
'404':
|
|
6768
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6769
|
+
post:
|
|
6770
|
+
operationId: addOrganizationDomain
|
|
6771
|
+
summary: Add an email domain to an organization
|
|
6772
|
+
description: |
|
|
6773
|
+
Adds an email domain. People only join through it once the domain is verified.
|
|
6774
|
+
tags:
|
|
6775
|
+
- organizations
|
|
6776
|
+
security:
|
|
6777
|
+
- user-internal: []
|
|
6778
|
+
parameters:
|
|
6779
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6780
|
+
requestBody:
|
|
6781
|
+
required: true
|
|
6782
|
+
content:
|
|
6783
|
+
application/json:
|
|
6784
|
+
schema:
|
|
6785
|
+
type: object
|
|
6786
|
+
properties:
|
|
6787
|
+
domain:
|
|
6788
|
+
type: string
|
|
6789
|
+
maxLength: 253
|
|
6790
|
+
required:
|
|
6791
|
+
- domain
|
|
6792
|
+
responses:
|
|
6793
|
+
'201':
|
|
6794
|
+
description: Domain added
|
|
6795
|
+
content:
|
|
6796
|
+
application/json:
|
|
6797
|
+
schema:
|
|
6798
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6799
|
+
'400':
|
|
6800
|
+
$ref: '#/components/responses/BadRequestError'
|
|
6801
|
+
'404':
|
|
6802
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6803
|
+
'409':
|
|
6804
|
+
$ref: '#/components/responses/ConflictError'
|
|
6805
|
+
/orgs/{organizationId}/domains/{emailDomain}:
|
|
6806
|
+
get:
|
|
6807
|
+
operationId: getOrganizationDomain
|
|
6808
|
+
summary: Get an email domain of an organization
|
|
6809
|
+
tags:
|
|
6810
|
+
- organizations
|
|
6811
|
+
security:
|
|
6812
|
+
- user-internal: []
|
|
6813
|
+
parameters:
|
|
6814
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6815
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6816
|
+
responses:
|
|
6817
|
+
'200':
|
|
6818
|
+
description: OK
|
|
6819
|
+
content:
|
|
6820
|
+
application/json:
|
|
6821
|
+
schema:
|
|
6822
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6823
|
+
'404':
|
|
6824
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6825
|
+
patch:
|
|
6826
|
+
operationId: updateOrganizationDomain
|
|
6827
|
+
summary: Update an email domain of an organization
|
|
6828
|
+
tags:
|
|
6829
|
+
- organizations
|
|
6830
|
+
security:
|
|
6831
|
+
- user-internal: []
|
|
6832
|
+
parameters:
|
|
6833
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6834
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6835
|
+
requestBody:
|
|
6836
|
+
required: true
|
|
6837
|
+
content:
|
|
6838
|
+
application/json:
|
|
6839
|
+
schema:
|
|
6840
|
+
type: object
|
|
6841
|
+
minProperties: 1
|
|
6842
|
+
properties:
|
|
6843
|
+
autoJoinEnabled:
|
|
6844
|
+
type: boolean
|
|
6845
|
+
defaultRole:
|
|
6846
|
+
$ref: '#/components/schemas/OrganizationDomainDefaultRole'
|
|
6847
|
+
defaultTeam:
|
|
6848
|
+
description: ID of a team of the organization, or null to add no team
|
|
6849
|
+
type:
|
|
6850
|
+
- string
|
|
6851
|
+
- 'null'
|
|
6852
|
+
responses:
|
|
6853
|
+
'200':
|
|
6854
|
+
description: Domain updated
|
|
6855
|
+
content:
|
|
6856
|
+
application/json:
|
|
6857
|
+
schema:
|
|
6858
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6859
|
+
'400':
|
|
6860
|
+
$ref: '#/components/responses/BadRequestError'
|
|
6861
|
+
'404':
|
|
6862
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6863
|
+
delete:
|
|
6864
|
+
operationId: deleteOrganizationDomain
|
|
6865
|
+
summary: Remove an email domain from an organization
|
|
6866
|
+
description: |
|
|
6867
|
+
Removes an email domain. Members who joined through it stay members.
|
|
6868
|
+
tags:
|
|
6869
|
+
- organizations
|
|
6870
|
+
security:
|
|
6871
|
+
- user-internal: []
|
|
6872
|
+
parameters:
|
|
6873
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6874
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6875
|
+
responses:
|
|
6876
|
+
'204':
|
|
6877
|
+
description: Domain not found
|
|
6878
|
+
'205':
|
|
6879
|
+
description: Domain removed
|
|
6880
|
+
'404':
|
|
6881
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6882
|
+
/orgs/{organizationId}/domains/{emailDomain}/verify:
|
|
6883
|
+
post:
|
|
6884
|
+
operationId: verifyOrganizationDomain
|
|
6885
|
+
summary: Verify an email domain of an organization
|
|
6886
|
+
description: |
|
|
6887
|
+
Checks the domain's DNS TXT record. A legacy domain first gets its verification record, and keeps letting people join until it is verified.
|
|
6888
|
+
tags:
|
|
6889
|
+
- organizations
|
|
6890
|
+
security:
|
|
6891
|
+
- user-internal: []
|
|
6892
|
+
parameters:
|
|
6893
|
+
- $ref: '#/components/parameters/organizationId'
|
|
6894
|
+
- $ref: '#/components/parameters/emailDomain'
|
|
6895
|
+
responses:
|
|
6896
|
+
'200':
|
|
6897
|
+
description: OK
|
|
6898
|
+
content:
|
|
6899
|
+
application/json:
|
|
6900
|
+
schema:
|
|
6901
|
+
$ref: '#/components/schemas/OrganizationDomain'
|
|
6902
|
+
'404':
|
|
6903
|
+
$ref: '#/components/responses/NotFoundError'
|
|
6904
|
+
'409':
|
|
6905
|
+
$ref: '#/components/responses/ConflictError'
|
|
6685
6906
|
/orgs/{organizationId}/scim/connections:
|
|
6686
6907
|
get:
|
|
6687
6908
|
operationId: listOrganizationSCIMConnections
|
|
@@ -8180,6 +8401,9 @@ paths:
|
|
|
8180
8401
|
properties:
|
|
8181
8402
|
title:
|
|
8182
8403
|
$ref: '#/components/schemas/SiteTitle'
|
|
8404
|
+
publicChangeRequestPreviews:
|
|
8405
|
+
type: boolean
|
|
8406
|
+
description: Allow visitors to preview change requests and historical revisions on the published site.
|
|
8183
8407
|
visibility:
|
|
8184
8408
|
$ref: '#/components/schemas/SiteVisibility'
|
|
8185
8409
|
basename:
|
|
@@ -9902,6 +10126,40 @@ paths:
|
|
|
9902
10126
|
- $ref: '#/components/schemas/SearchRecordResult'
|
|
9903
10127
|
discriminator:
|
|
9904
10128
|
propertyName: type
|
|
10129
|
+
/orgs/{organizationId}/sites/{siteId}/search/pass:
|
|
10130
|
+
post:
|
|
10131
|
+
operationId: generateSiteSearchPass
|
|
10132
|
+
summary: Generate a site search pass
|
|
10133
|
+
description: Exchanges the content token of a published site's visitor for a short-lived search pass, which lets the visitor's browser call the site search operation directly. The reply has no pass when search passes are not enabled for the site, or when the visitor token of an authenticated visitor is missing, invalid or expired.
|
|
10134
|
+
tags:
|
|
10135
|
+
- sites
|
|
10136
|
+
security:
|
|
10137
|
+
- user: []
|
|
10138
|
+
- oauth:
|
|
10139
|
+
- site:search
|
|
10140
|
+
parameters:
|
|
10141
|
+
- $ref: '#/components/parameters/organizationId'
|
|
10142
|
+
- $ref: '#/components/parameters/siteId'
|
|
10143
|
+
requestBody:
|
|
10144
|
+
required: false
|
|
10145
|
+
content:
|
|
10146
|
+
application/json:
|
|
10147
|
+
schema:
|
|
10148
|
+
type: object
|
|
10149
|
+
properties:
|
|
10150
|
+
visitorToken:
|
|
10151
|
+
type: string
|
|
10152
|
+
description: Visitor token of the session the content token was resolved for. Required for a pass on a site with visitor authentication or for an authenticated visitor; the pass never outlives it.
|
|
10153
|
+
responses:
|
|
10154
|
+
'200':
|
|
10155
|
+
description: The search pass, when one was issued.
|
|
10156
|
+
content:
|
|
10157
|
+
application/json:
|
|
10158
|
+
schema:
|
|
10159
|
+
type: object
|
|
10160
|
+
properties:
|
|
10161
|
+
searchPass:
|
|
10162
|
+
$ref: '#/components/schemas/SiteSearchPass'
|
|
9905
10163
|
/orgs/{organizationId}/sites/{siteId}/search/prewarm:
|
|
9906
10164
|
post:
|
|
9907
10165
|
operationId: prewarmSiteSearch
|
|
@@ -10895,6 +11153,11 @@ paths:
|
|
|
10895
11153
|
items:
|
|
10896
11154
|
$ref: '#/components/schemas/SiteChannelType'
|
|
10897
11155
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11156
|
+
- $ref: '#/components/parameters/siteQuestionVisitorBot'
|
|
11157
|
+
- $ref: '#/components/parameters/siteQuestionIntent'
|
|
11158
|
+
- $ref: '#/components/parameters/siteQuestionSiteSaid'
|
|
11159
|
+
- $ref: '#/components/parameters/siteQuestionEscalation'
|
|
11160
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
10898
11161
|
- $ref: '#/components/parameters/siteQuestionCitedPage'
|
|
10899
11162
|
- name: answered
|
|
10900
11163
|
in: query
|
|
@@ -11037,6 +11300,11 @@ paths:
|
|
|
11037
11300
|
items:
|
|
11038
11301
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11039
11302
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11303
|
+
- $ref: '#/components/parameters/siteQuestionVisitorBot'
|
|
11304
|
+
- $ref: '#/components/parameters/siteQuestionIntent'
|
|
11305
|
+
- $ref: '#/components/parameters/siteQuestionSiteSaid'
|
|
11306
|
+
- $ref: '#/components/parameters/siteQuestionEscalation'
|
|
11307
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11040
11308
|
- $ref: '#/components/parameters/siteQuestionCitedPage'
|
|
11041
11309
|
- name: search
|
|
11042
11310
|
in: query
|
|
@@ -11127,6 +11395,7 @@ paths:
|
|
|
11127
11395
|
items:
|
|
11128
11396
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11129
11397
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11398
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11130
11399
|
- name: answered
|
|
11131
11400
|
in: query
|
|
11132
11401
|
description: Filter stats by answer resolution.
|
|
@@ -11184,6 +11453,7 @@ paths:
|
|
|
11184
11453
|
items:
|
|
11185
11454
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11186
11455
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11456
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11187
11457
|
- name: answered
|
|
11188
11458
|
in: query
|
|
11189
11459
|
description: Filter answer sources by answer resolution.
|
|
@@ -11254,6 +11524,11 @@ paths:
|
|
|
11254
11524
|
items:
|
|
11255
11525
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11256
11526
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11527
|
+
- $ref: '#/components/parameters/siteQuestionVisitorBot'
|
|
11528
|
+
- $ref: '#/components/parameters/siteQuestionIntent'
|
|
11529
|
+
- $ref: '#/components/parameters/siteQuestionSiteSaid'
|
|
11530
|
+
- $ref: '#/components/parameters/siteQuestionEscalation'
|
|
11531
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11257
11532
|
- $ref: '#/components/parameters/siteQuestionCitedPage'
|
|
11258
11533
|
- name: answered
|
|
11259
11534
|
in: query
|
|
@@ -11324,6 +11599,11 @@ paths:
|
|
|
11324
11599
|
items:
|
|
11325
11600
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11326
11601
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11602
|
+
- $ref: '#/components/parameters/siteQuestionVisitorBot'
|
|
11603
|
+
- $ref: '#/components/parameters/siteQuestionIntent'
|
|
11604
|
+
- $ref: '#/components/parameters/siteQuestionSiteSaid'
|
|
11605
|
+
- $ref: '#/components/parameters/siteQuestionEscalation'
|
|
11606
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11327
11607
|
- $ref: '#/components/parameters/siteQuestionCitedPage'
|
|
11328
11608
|
- name: answered
|
|
11329
11609
|
in: query
|
|
@@ -11401,6 +11681,7 @@ paths:
|
|
|
11401
11681
|
items:
|
|
11402
11682
|
$ref: '#/components/schemas/SiteChannelType'
|
|
11403
11683
|
- $ref: '#/components/parameters/siteQuestionVisitorType'
|
|
11684
|
+
- $ref: '#/components/parameters/siteQuestionVisitorAuthentication'
|
|
11404
11685
|
- name: question.type
|
|
11405
11686
|
in: query
|
|
11406
11687
|
description: Filter answers by question type.
|
|
@@ -12588,7 +12869,7 @@ paths:
|
|
|
12588
12869
|
post:
|
|
12589
12870
|
operationId: aggregateSiteEvents
|
|
12590
12871
|
summary: Query a site's analytics events
|
|
12591
|
-
description: 'Runs an aggregation query over a published site''s Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site''s documentation: page views, visitors, searches, referrers, and broken URLs (404s). A 404 is a `page_view` or `search_open_result` event whose `page` is `null`, in the `site` display context; filter `eventPageNotFoundType` not in `conditional` to leave out 404s that adaptive content explains. Group by `datetime` for a trend over time and by `urlPath` for the top broken URLs.'
|
|
12872
|
+
description: 'Runs an aggregation query over a published site''s Insights events, grouped and filtered over a time range. Use it to answer analytics questions about how visitors engage with a site''s documentation: page views, visitors, searches, referrers, and broken URLs (404s). A 404 is a `page_view` or `search_open_result` event whose `page` is `null`, in the `site` display context; filter `eventPageNotFoundType` not in `conditional` to leave out 404s that adaptive content explains. Group by `datetime` for a trend over time and by `urlPath` for the top broken URLs. A result holds at most `limit` rows; when more match, pass its `next.page` back as `page` to fetch the rest.'
|
|
12592
12873
|
x-gitbook-mcp:
|
|
12593
12874
|
readOnly: true
|
|
12594
12875
|
security:
|
|
@@ -14273,6 +14554,13 @@ components:
|
|
|
14273
14554
|
openapi:read: Read OpenAPI specifications.
|
|
14274
14555
|
openapi:write: Create, update and delete OpenAPI specifications.
|
|
14275
14556
|
parameters:
|
|
14557
|
+
passkeyId:
|
|
14558
|
+
name: passkeyId
|
|
14559
|
+
in: path
|
|
14560
|
+
required: true
|
|
14561
|
+
description: The ID of the passkey
|
|
14562
|
+
schema:
|
|
14563
|
+
type: string
|
|
14276
14564
|
listPage:
|
|
14277
14565
|
name: page
|
|
14278
14566
|
in: query
|
|
@@ -14675,6 +14963,13 @@ components:
|
|
|
14675
14963
|
description: The unique id of the SAML provider
|
|
14676
14964
|
schema:
|
|
14677
14965
|
type: string
|
|
14966
|
+
emailDomain:
|
|
14967
|
+
name: emailDomain
|
|
14968
|
+
in: path
|
|
14969
|
+
required: true
|
|
14970
|
+
description: Email domain
|
|
14971
|
+
schema:
|
|
14972
|
+
type: string
|
|
14678
14973
|
scimConnectionId:
|
|
14679
14974
|
name: scimConnectionId
|
|
14680
14975
|
in: path
|
|
@@ -14817,11 +15112,51 @@ components:
|
|
|
14817
15112
|
siteQuestionVisitorType:
|
|
14818
15113
|
name: visitorType
|
|
14819
15114
|
in: query
|
|
14820
|
-
description: Filter by
|
|
15115
|
+
description: Filter by who asked the question (a person, an AI agent, another bot, or unknown).
|
|
14821
15116
|
schema:
|
|
14822
15117
|
type: array
|
|
14823
15118
|
items:
|
|
14824
15119
|
$ref: '#/components/schemas/SiteQuestionVisitorType'
|
|
15120
|
+
siteQuestionVisitorBot:
|
|
15121
|
+
name: visitorBot
|
|
15122
|
+
in: query
|
|
15123
|
+
description: Filter by the AI agent or bot that asked the question.
|
|
15124
|
+
schema:
|
|
15125
|
+
type: array
|
|
15126
|
+
items:
|
|
15127
|
+
$ref: '#/components/schemas/SiteInsightsVisitorBot'
|
|
15128
|
+
siteQuestionIntent:
|
|
15129
|
+
name: intent
|
|
15130
|
+
in: query
|
|
15131
|
+
description: Filter by the intent of the question.
|
|
15132
|
+
schema:
|
|
15133
|
+
type: array
|
|
15134
|
+
items:
|
|
15135
|
+
$ref: '#/components/schemas/SiteQuestionIntent'
|
|
15136
|
+
siteQuestionSiteSaid:
|
|
15137
|
+
name: siteSaid
|
|
15138
|
+
in: query
|
|
15139
|
+
description: Filter by what the site said in the answer about the main thing asked.
|
|
15140
|
+
schema:
|
|
15141
|
+
type: array
|
|
15142
|
+
items:
|
|
15143
|
+
$ref: '#/components/schemas/SiteQuestionAnswerSiteSaid'
|
|
15144
|
+
siteQuestionEscalation:
|
|
15145
|
+
name: escalation
|
|
15146
|
+
in: query
|
|
15147
|
+
description: Filter by who should act on the answer (docs, another team, support or nobody).
|
|
15148
|
+
schema:
|
|
15149
|
+
type: array
|
|
15150
|
+
items:
|
|
15151
|
+
$ref: '#/components/schemas/SiteQuestionEscalation'
|
|
15152
|
+
siteQuestionVisitorAuthentication:
|
|
15153
|
+
name: visitorAuthentication
|
|
15154
|
+
in: query
|
|
15155
|
+
description: Filter by whether the visitor who asked was signed in to the site.
|
|
15156
|
+
schema:
|
|
15157
|
+
type: array
|
|
15158
|
+
items:
|
|
15159
|
+
$ref: '#/components/schemas/SiteQuestionVisitorAuthentication'
|
|
14825
15160
|
siteQuestionCitedPage:
|
|
14826
15161
|
name: citedPage
|
|
14827
15162
|
in: query
|
|
@@ -14897,13 +15232,6 @@ components:
|
|
|
14897
15232
|
description: The custom hostname, for example "docs.gitbook.com"
|
|
14898
15233
|
schema:
|
|
14899
15234
|
type: string
|
|
14900
|
-
emailDomain:
|
|
14901
|
-
name: emailDomain
|
|
14902
|
-
in: path
|
|
14903
|
-
required: true
|
|
14904
|
-
description: Email domain
|
|
14905
|
-
schema:
|
|
14906
|
-
type: string
|
|
14907
15235
|
xGitBookPartnerKey:
|
|
14908
15236
|
in: header
|
|
14909
15237
|
name: X-GitBook-Partner-Key
|
|
@@ -15013,6 +15341,92 @@ components:
|
|
|
15013
15341
|
description: Temporary access token to authenticate with the API
|
|
15014
15342
|
required:
|
|
15015
15343
|
- token
|
|
15344
|
+
Timestamp:
|
|
15345
|
+
type: string
|
|
15346
|
+
format: date-time
|
|
15347
|
+
UserPasskey:
|
|
15348
|
+
type: object
|
|
15349
|
+
description: A passkey the user registered to sign in to GitBook.
|
|
15350
|
+
properties:
|
|
15351
|
+
object:
|
|
15352
|
+
type: string
|
|
15353
|
+
description: The object type, which is always "passkey"
|
|
15354
|
+
enum:
|
|
15355
|
+
- passkey
|
|
15356
|
+
id:
|
|
15357
|
+
type: string
|
|
15358
|
+
description: Unique identifier of the passkey.
|
|
15359
|
+
name:
|
|
15360
|
+
type: string
|
|
15361
|
+
description: Name the user gave the passkey, usually the device or password manager that holds it.
|
|
15362
|
+
createdAt:
|
|
15363
|
+
$ref: '#/components/schemas/Timestamp'
|
|
15364
|
+
description: When the passkey was registered.
|
|
15365
|
+
lastUsedAt:
|
|
15366
|
+
$ref: '#/components/schemas/Timestamp'
|
|
15367
|
+
description: When the passkey was last used to sign in. Absent if it has never been used.
|
|
15368
|
+
backedUp:
|
|
15369
|
+
type: boolean
|
|
15370
|
+
description: Whether the passkey is synced across devices, for example by a password manager.
|
|
15371
|
+
required:
|
|
15372
|
+
- object
|
|
15373
|
+
- id
|
|
15374
|
+
- name
|
|
15375
|
+
- createdAt
|
|
15376
|
+
- backedUp
|
|
15377
|
+
PasskeyRegistrationResponse:
|
|
15378
|
+
type: object
|
|
15379
|
+
description: The browser's answer to the passkey registration options (RegistrationResponseJSON).
|
|
15380
|
+
properties:
|
|
15381
|
+
id:
|
|
15382
|
+
type: string
|
|
15383
|
+
rawId:
|
|
15384
|
+
type: string
|
|
15385
|
+
type:
|
|
15386
|
+
type: string
|
|
15387
|
+
enum:
|
|
15388
|
+
- public-key
|
|
15389
|
+
response:
|
|
15390
|
+
type: object
|
|
15391
|
+
properties:
|
|
15392
|
+
clientDataJSON:
|
|
15393
|
+
type: string
|
|
15394
|
+
attestationObject:
|
|
15395
|
+
type: string
|
|
15396
|
+
transports:
|
|
15397
|
+
type: array
|
|
15398
|
+
maxItems: 8
|
|
15399
|
+
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.
|
|
15400
|
+
items:
|
|
15401
|
+
type: string
|
|
15402
|
+
pattern: ^[a-z][a-z-]{0,31}$
|
|
15403
|
+
required:
|
|
15404
|
+
- clientDataJSON
|
|
15405
|
+
- attestationObject
|
|
15406
|
+
clientExtensionResults:
|
|
15407
|
+
type: object
|
|
15408
|
+
additionalProperties: true
|
|
15409
|
+
authenticatorAttachment:
|
|
15410
|
+
type: string
|
|
15411
|
+
enum:
|
|
15412
|
+
- platform
|
|
15413
|
+
- cross-platform
|
|
15414
|
+
required:
|
|
15415
|
+
- id
|
|
15416
|
+
- rawId
|
|
15417
|
+
- type
|
|
15418
|
+
- response
|
|
15419
|
+
- clientExtensionResults
|
|
15420
|
+
PasskeyRegistrationOptions:
|
|
15421
|
+
type: object
|
|
15422
|
+
description: WebAuthn options for creating a passkey (PublicKeyCredentialCreationOptionsJSON), to pass unchanged to the browser.
|
|
15423
|
+
additionalProperties: true
|
|
15424
|
+
properties:
|
|
15425
|
+
challenge:
|
|
15426
|
+
type: string
|
|
15427
|
+
description: Single-use challenge the new passkey must sign.
|
|
15428
|
+
required:
|
|
15429
|
+
- challenge
|
|
15016
15430
|
List:
|
|
15017
15431
|
type: object
|
|
15018
15432
|
properties:
|
|
@@ -15030,9 +15444,6 @@ components:
|
|
|
15030
15444
|
APITokenLabel:
|
|
15031
15445
|
type: string
|
|
15032
15446
|
maxLength: 50
|
|
15033
|
-
Timestamp:
|
|
15034
|
-
type: string
|
|
15035
|
-
format: date-time
|
|
15036
15447
|
UserAPIToken:
|
|
15037
15448
|
type: object
|
|
15038
15449
|
description: The API token details, excluding the token itself.
|
|
@@ -15052,6 +15463,9 @@ components:
|
|
|
15052
15463
|
expiresAt:
|
|
15053
15464
|
$ref: '#/components/schemas/Timestamp'
|
|
15054
15465
|
description: When the API token stops authenticating. Absent for a token that never expires.
|
|
15466
|
+
lastUsedAt:
|
|
15467
|
+
$ref: '#/components/schemas/Timestamp'
|
|
15468
|
+
description: When the API token last authenticated a request, accurate to within an hour. Absent for a token that has never been used.
|
|
15055
15469
|
required:
|
|
15056
15470
|
- id
|
|
15057
15471
|
- label
|
|
@@ -16712,6 +17126,15 @@ components:
|
|
|
16712
17126
|
properties:
|
|
16713
17127
|
ref:
|
|
16714
17128
|
$ref: '#/components/schemas/ContentRef'
|
|
17129
|
+
target:
|
|
17130
|
+
type: string
|
|
17131
|
+
description: |
|
|
17132
|
+
Where the link opens when clicked. When absent, the link follows the site's default behavior.
|
|
17133
|
+
- `self`: The link opens in the current tab.
|
|
17134
|
+
- `blank`: The link opens in a new browser tab.
|
|
17135
|
+
enum:
|
|
17136
|
+
- self
|
|
17137
|
+
- blank
|
|
16715
17138
|
required:
|
|
16716
17139
|
- ref
|
|
16717
17140
|
isVoid:
|
|
@@ -17295,6 +17718,7 @@ components:
|
|
|
17295
17718
|
type: string
|
|
17296
17719
|
description: Size of the cards. It indicates how many columns will be used
|
|
17297
17720
|
enum:
|
|
17721
|
+
- small
|
|
17298
17722
|
- medium
|
|
17299
17723
|
- large
|
|
17300
17724
|
columns:
|
|
@@ -17996,6 +18420,162 @@ components:
|
|
|
17996
18420
|
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
17997
18421
|
- $ref: '#/components/schemas/DocumentBlockColumns'
|
|
17998
18422
|
- $ref: '#/components/schemas/DocumentBlockUpdates'
|
|
18423
|
+
DocumentBlockContentRef:
|
|
18424
|
+
type: object
|
|
18425
|
+
properties:
|
|
18426
|
+
object:
|
|
18427
|
+
type: string
|
|
18428
|
+
enum:
|
|
18429
|
+
- block
|
|
18430
|
+
type:
|
|
18431
|
+
type: string
|
|
18432
|
+
enum:
|
|
18433
|
+
- content-ref
|
|
18434
|
+
key:
|
|
18435
|
+
type: string
|
|
18436
|
+
data:
|
|
18437
|
+
type: object
|
|
18438
|
+
properties:
|
|
18439
|
+
ref:
|
|
18440
|
+
$ref: '#/components/schemas/ContentRef'
|
|
18441
|
+
required:
|
|
18442
|
+
- ref
|
|
18443
|
+
isVoid:
|
|
18444
|
+
type: boolean
|
|
18445
|
+
enum:
|
|
18446
|
+
- true
|
|
18447
|
+
required:
|
|
18448
|
+
- object
|
|
18449
|
+
- type
|
|
18450
|
+
- data
|
|
18451
|
+
- isVoid
|
|
18452
|
+
DocumentBlockMath:
|
|
18453
|
+
type: object
|
|
18454
|
+
properties:
|
|
18455
|
+
object:
|
|
18456
|
+
type: string
|
|
18457
|
+
enum:
|
|
18458
|
+
- block
|
|
18459
|
+
type:
|
|
18460
|
+
type: string
|
|
18461
|
+
enum:
|
|
18462
|
+
- math
|
|
18463
|
+
key:
|
|
18464
|
+
type: string
|
|
18465
|
+
data:
|
|
18466
|
+
type: object
|
|
18467
|
+
properties:
|
|
18468
|
+
formula:
|
|
18469
|
+
type: string
|
|
18470
|
+
required:
|
|
18471
|
+
- formula
|
|
18472
|
+
isVoid:
|
|
18473
|
+
type: boolean
|
|
18474
|
+
enum:
|
|
18475
|
+
- true
|
|
18476
|
+
required:
|
|
18477
|
+
- object
|
|
18478
|
+
- type
|
|
18479
|
+
- data
|
|
18480
|
+
- isVoid
|
|
18481
|
+
DocumentBlockExpandable:
|
|
18482
|
+
type: object
|
|
18483
|
+
properties:
|
|
18484
|
+
object:
|
|
18485
|
+
type: string
|
|
18486
|
+
enum:
|
|
18487
|
+
- block
|
|
18488
|
+
type:
|
|
18489
|
+
type: string
|
|
18490
|
+
enum:
|
|
18491
|
+
- expandable
|
|
18492
|
+
key:
|
|
18493
|
+
type: string
|
|
18494
|
+
isVoid:
|
|
18495
|
+
type: boolean
|
|
18496
|
+
enum:
|
|
18497
|
+
- true
|
|
18498
|
+
data:
|
|
18499
|
+
type: object
|
|
18500
|
+
properties:
|
|
18501
|
+
defaultExpanded:
|
|
18502
|
+
type: boolean
|
|
18503
|
+
additionalProperties: false
|
|
18504
|
+
fragments:
|
|
18505
|
+
type: array
|
|
18506
|
+
items:
|
|
18507
|
+
oneOf:
|
|
18508
|
+
- allOf:
|
|
18509
|
+
- $ref: '#/components/schemas/DocumentFragment'
|
|
18510
|
+
- type: object
|
|
18511
|
+
properties:
|
|
18512
|
+
fragment:
|
|
18513
|
+
type: string
|
|
18514
|
+
enum:
|
|
18515
|
+
- expandable-title
|
|
18516
|
+
type:
|
|
18517
|
+
type: string
|
|
18518
|
+
enum:
|
|
18519
|
+
- expandable-title
|
|
18520
|
+
nodes:
|
|
18521
|
+
type: array
|
|
18522
|
+
items:
|
|
18523
|
+
$ref: '#/components/schemas/DocumentBlockParagraph'
|
|
18524
|
+
minItems: 1
|
|
18525
|
+
maxItems: 1
|
|
18526
|
+
required:
|
|
18527
|
+
- nodes
|
|
18528
|
+
- fragment
|
|
18529
|
+
- type
|
|
18530
|
+
- allOf:
|
|
18531
|
+
- $ref: '#/components/schemas/DocumentFragment'
|
|
18532
|
+
- type: object
|
|
18533
|
+
properties:
|
|
18534
|
+
fragment:
|
|
18535
|
+
type: string
|
|
18536
|
+
enum:
|
|
18537
|
+
- expandable-body
|
|
18538
|
+
type:
|
|
18539
|
+
type: string
|
|
18540
|
+
enum:
|
|
18541
|
+
- expandable-body
|
|
18542
|
+
nodes:
|
|
18543
|
+
type: array
|
|
18544
|
+
items:
|
|
18545
|
+
oneOf:
|
|
18546
|
+
- $ref: '#/components/schemas/DocumentBlocksEssentials'
|
|
18547
|
+
- $ref: '#/components/schemas/DocumentBlockEmbed'
|
|
18548
|
+
- $ref: '#/components/schemas/DocumentBlockFile'
|
|
18549
|
+
- $ref: '#/components/schemas/DocumentBlockImages'
|
|
18550
|
+
- $ref: '#/components/schemas/DocumentBlockCode'
|
|
18551
|
+
- $ref: '#/components/schemas/DocumentBlockTable'
|
|
18552
|
+
- $ref: '#/components/schemas/DocumentBlockHint'
|
|
18553
|
+
- $ref: '#/components/schemas/DocumentBlockPrompt'
|
|
18554
|
+
- $ref: '#/components/schemas/DocumentBlockQuote'
|
|
18555
|
+
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18556
|
+
- $ref: '#/components/schemas/DocumentBlockReusableContent'
|
|
18557
|
+
- $ref: '#/components/schemas/DocumentBlockIntegration'
|
|
18558
|
+
- $ref: '#/components/schemas/DocumentBlockStepper'
|
|
18559
|
+
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18560
|
+
minItems: 1
|
|
18561
|
+
required:
|
|
18562
|
+
- nodes
|
|
18563
|
+
- fragment
|
|
18564
|
+
- type
|
|
18565
|
+
meta:
|
|
18566
|
+
type: object
|
|
18567
|
+
properties:
|
|
18568
|
+
id:
|
|
18569
|
+
description: Unique ID to be used in an URL for the block.
|
|
18570
|
+
type: string
|
|
18571
|
+
required:
|
|
18572
|
+
- id
|
|
18573
|
+
required:
|
|
18574
|
+
- object
|
|
18575
|
+
- type
|
|
18576
|
+
- isVoid
|
|
18577
|
+
- fragments
|
|
18578
|
+
- data
|
|
17999
18579
|
DocumentBlockIf:
|
|
18000
18580
|
type: object
|
|
18001
18581
|
properties:
|
|
@@ -18011,8 +18591,11 @@ components:
|
|
|
18011
18591
|
type: string
|
|
18012
18592
|
nodes:
|
|
18013
18593
|
type: array
|
|
18594
|
+
description: Blocks shown when the expression is true. Directly inside an `updates` block, these are `update` blocks, and only there.
|
|
18014
18595
|
items:
|
|
18015
|
-
|
|
18596
|
+
oneOf:
|
|
18597
|
+
- $ref: '#/components/schemas/DocumentBlocksTopLevels'
|
|
18598
|
+
- $ref: '#/components/schemas/DocumentBlockUpdate'
|
|
18016
18599
|
isVoid:
|
|
18017
18600
|
type: boolean
|
|
18018
18601
|
enum:
|
|
@@ -18064,65 +18647,7 @@ components:
|
|
|
18064
18647
|
- type
|
|
18065
18648
|
- data
|
|
18066
18649
|
- isVoid
|
|
18067
|
-
|
|
18068
|
-
type: object
|
|
18069
|
-
properties:
|
|
18070
|
-
object:
|
|
18071
|
-
type: string
|
|
18072
|
-
enum:
|
|
18073
|
-
- block
|
|
18074
|
-
type:
|
|
18075
|
-
type: string
|
|
18076
|
-
enum:
|
|
18077
|
-
- content-ref
|
|
18078
|
-
key:
|
|
18079
|
-
type: string
|
|
18080
|
-
data:
|
|
18081
|
-
type: object
|
|
18082
|
-
properties:
|
|
18083
|
-
ref:
|
|
18084
|
-
$ref: '#/components/schemas/ContentRef'
|
|
18085
|
-
required:
|
|
18086
|
-
- ref
|
|
18087
|
-
isVoid:
|
|
18088
|
-
type: boolean
|
|
18089
|
-
enum:
|
|
18090
|
-
- true
|
|
18091
|
-
required:
|
|
18092
|
-
- object
|
|
18093
|
-
- type
|
|
18094
|
-
- data
|
|
18095
|
-
- isVoid
|
|
18096
|
-
DocumentBlockMath:
|
|
18097
|
-
type: object
|
|
18098
|
-
properties:
|
|
18099
|
-
object:
|
|
18100
|
-
type: string
|
|
18101
|
-
enum:
|
|
18102
|
-
- block
|
|
18103
|
-
type:
|
|
18104
|
-
type: string
|
|
18105
|
-
enum:
|
|
18106
|
-
- math
|
|
18107
|
-
key:
|
|
18108
|
-
type: string
|
|
18109
|
-
data:
|
|
18110
|
-
type: object
|
|
18111
|
-
properties:
|
|
18112
|
-
formula:
|
|
18113
|
-
type: string
|
|
18114
|
-
required:
|
|
18115
|
-
- formula
|
|
18116
|
-
isVoid:
|
|
18117
|
-
type: boolean
|
|
18118
|
-
enum:
|
|
18119
|
-
- true
|
|
18120
|
-
required:
|
|
18121
|
-
- object
|
|
18122
|
-
- type
|
|
18123
|
-
- data
|
|
18124
|
-
- isVoid
|
|
18125
|
-
DocumentBlockExpandable:
|
|
18650
|
+
DocumentBlockTabs:
|
|
18126
18651
|
type: object
|
|
18127
18652
|
properties:
|
|
18128
18653
|
object:
|
|
@@ -18132,94 +18657,27 @@ components:
|
|
|
18132
18657
|
type:
|
|
18133
18658
|
type: string
|
|
18134
18659
|
enum:
|
|
18135
|
-
-
|
|
18660
|
+
- tabs
|
|
18136
18661
|
key:
|
|
18137
18662
|
type: string
|
|
18663
|
+
nodes:
|
|
18664
|
+
type: array
|
|
18665
|
+
items:
|
|
18666
|
+
$ref: '#/components/schemas/DocumentBlockTabsItem'
|
|
18138
18667
|
isVoid:
|
|
18139
18668
|
type: boolean
|
|
18140
18669
|
enum:
|
|
18141
|
-
-
|
|
18670
|
+
- false
|
|
18142
18671
|
data:
|
|
18143
18672
|
type: object
|
|
18144
18673
|
properties:
|
|
18145
|
-
|
|
18674
|
+
fullWidth:
|
|
18146
18675
|
type: boolean
|
|
18147
18676
|
additionalProperties: false
|
|
18148
|
-
fragments:
|
|
18149
|
-
type: array
|
|
18150
|
-
items:
|
|
18151
|
-
oneOf:
|
|
18152
|
-
- allOf:
|
|
18153
|
-
- $ref: '#/components/schemas/DocumentFragment'
|
|
18154
|
-
- type: object
|
|
18155
|
-
properties:
|
|
18156
|
-
fragment:
|
|
18157
|
-
type: string
|
|
18158
|
-
enum:
|
|
18159
|
-
- expandable-title
|
|
18160
|
-
type:
|
|
18161
|
-
type: string
|
|
18162
|
-
enum:
|
|
18163
|
-
- expandable-title
|
|
18164
|
-
nodes:
|
|
18165
|
-
type: array
|
|
18166
|
-
items:
|
|
18167
|
-
$ref: '#/components/schemas/DocumentBlockParagraph'
|
|
18168
|
-
minItems: 1
|
|
18169
|
-
maxItems: 1
|
|
18170
|
-
required:
|
|
18171
|
-
- nodes
|
|
18172
|
-
- fragment
|
|
18173
|
-
- type
|
|
18174
|
-
- allOf:
|
|
18175
|
-
- $ref: '#/components/schemas/DocumentFragment'
|
|
18176
|
-
- type: object
|
|
18177
|
-
properties:
|
|
18178
|
-
fragment:
|
|
18179
|
-
type: string
|
|
18180
|
-
enum:
|
|
18181
|
-
- expandable-body
|
|
18182
|
-
type:
|
|
18183
|
-
type: string
|
|
18184
|
-
enum:
|
|
18185
|
-
- expandable-body
|
|
18186
|
-
nodes:
|
|
18187
|
-
type: array
|
|
18188
|
-
items:
|
|
18189
|
-
oneOf:
|
|
18190
|
-
- $ref: '#/components/schemas/DocumentBlocksEssentials'
|
|
18191
|
-
- $ref: '#/components/schemas/DocumentBlockEmbed'
|
|
18192
|
-
- $ref: '#/components/schemas/DocumentBlockFile'
|
|
18193
|
-
- $ref: '#/components/schemas/DocumentBlockImages'
|
|
18194
|
-
- $ref: '#/components/schemas/DocumentBlockCode'
|
|
18195
|
-
- $ref: '#/components/schemas/DocumentBlockTable'
|
|
18196
|
-
- $ref: '#/components/schemas/DocumentBlockHint'
|
|
18197
|
-
- $ref: '#/components/schemas/DocumentBlockPrompt'
|
|
18198
|
-
- $ref: '#/components/schemas/DocumentBlockQuote'
|
|
18199
|
-
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18200
|
-
- $ref: '#/components/schemas/DocumentBlockReusableContent'
|
|
18201
|
-
- $ref: '#/components/schemas/DocumentBlockIntegration'
|
|
18202
|
-
- $ref: '#/components/schemas/DocumentBlockStepper'
|
|
18203
|
-
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18204
|
-
minItems: 1
|
|
18205
|
-
required:
|
|
18206
|
-
- nodes
|
|
18207
|
-
- fragment
|
|
18208
|
-
- type
|
|
18209
|
-
meta:
|
|
18210
|
-
type: object
|
|
18211
|
-
properties:
|
|
18212
|
-
id:
|
|
18213
|
-
description: Unique ID to be used in an URL for the block.
|
|
18214
|
-
type: string
|
|
18215
|
-
required:
|
|
18216
|
-
- id
|
|
18217
18677
|
required:
|
|
18218
18678
|
- object
|
|
18219
18679
|
- type
|
|
18220
|
-
-
|
|
18221
|
-
- fragments
|
|
18222
|
-
- data
|
|
18680
|
+
- nodes
|
|
18223
18681
|
DocumentBlockStepper:
|
|
18224
18682
|
type: object
|
|
18225
18683
|
properties:
|
|
@@ -18249,7 +18707,7 @@ components:
|
|
|
18249
18707
|
- object
|
|
18250
18708
|
- type
|
|
18251
18709
|
- nodes
|
|
18252
|
-
|
|
18710
|
+
DocumentBlockStepperStep:
|
|
18253
18711
|
type: object
|
|
18254
18712
|
properties:
|
|
18255
18713
|
object:
|
|
@@ -18259,27 +18717,45 @@ components:
|
|
|
18259
18717
|
type:
|
|
18260
18718
|
type: string
|
|
18261
18719
|
enum:
|
|
18262
|
-
-
|
|
18720
|
+
- stepper-step
|
|
18263
18721
|
key:
|
|
18264
18722
|
type: string
|
|
18265
18723
|
nodes:
|
|
18266
18724
|
type: array
|
|
18267
18725
|
items:
|
|
18268
|
-
|
|
18726
|
+
oneOf:
|
|
18727
|
+
- $ref: '#/components/schemas/DocumentBlocksEssentials'
|
|
18728
|
+
- $ref: '#/components/schemas/DocumentBlockContentRef'
|
|
18729
|
+
- $ref: '#/components/schemas/DocumentBlockCode'
|
|
18730
|
+
- $ref: '#/components/schemas/DocumentBlockEmbed'
|
|
18731
|
+
- $ref: '#/components/schemas/DocumentBlockFile'
|
|
18732
|
+
- $ref: '#/components/schemas/DocumentBlockImages'
|
|
18733
|
+
- $ref: '#/components/schemas/DocumentBlockDrawing'
|
|
18734
|
+
- $ref: '#/components/schemas/DocumentBlockHint'
|
|
18735
|
+
- $ref: '#/components/schemas/DocumentBlockPrompt'
|
|
18736
|
+
- $ref: '#/components/schemas/DocumentBlockQuote'
|
|
18737
|
+
- $ref: '#/components/schemas/DocumentBlockMath'
|
|
18738
|
+
- $ref: '#/components/schemas/DocumentBlockIntegration'
|
|
18739
|
+
- $ref: '#/components/schemas/DocumentBlockExpandable'
|
|
18740
|
+
- $ref: '#/components/schemas/DocumentBlockTable'
|
|
18741
|
+
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18742
|
+
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18743
|
+
- $ref: '#/components/schemas/DocumentBlockReusableContent'
|
|
18744
|
+
- $ref: '#/components/schemas/DocumentBlockStepper'
|
|
18745
|
+
data:
|
|
18746
|
+
type: object
|
|
18747
|
+
properties:
|
|
18748
|
+
icon:
|
|
18749
|
+
type: string
|
|
18269
18750
|
isVoid:
|
|
18270
18751
|
type: boolean
|
|
18271
18752
|
enum:
|
|
18272
18753
|
- false
|
|
18273
|
-
data:
|
|
18274
|
-
type: object
|
|
18275
|
-
properties:
|
|
18276
|
-
fullWidth:
|
|
18277
|
-
type: boolean
|
|
18278
|
-
additionalProperties: false
|
|
18279
18754
|
required:
|
|
18280
18755
|
- object
|
|
18281
18756
|
- type
|
|
18282
18757
|
- nodes
|
|
18758
|
+
- data
|
|
18283
18759
|
DocumentBlockTabsItem:
|
|
18284
18760
|
type: object
|
|
18285
18761
|
properties:
|
|
@@ -18342,7 +18818,7 @@ components:
|
|
|
18342
18818
|
- type
|
|
18343
18819
|
- nodes
|
|
18344
18820
|
- data
|
|
18345
|
-
|
|
18821
|
+
DocumentBlockUpdate:
|
|
18346
18822
|
type: object
|
|
18347
18823
|
properties:
|
|
18348
18824
|
object:
|
|
@@ -18352,7 +18828,7 @@ components:
|
|
|
18352
18828
|
type:
|
|
18353
18829
|
type: string
|
|
18354
18830
|
enum:
|
|
18355
|
-
-
|
|
18831
|
+
- update
|
|
18356
18832
|
key:
|
|
18357
18833
|
type: string
|
|
18358
18834
|
nodes:
|
|
@@ -18371,17 +18847,28 @@ components:
|
|
|
18371
18847
|
- $ref: '#/components/schemas/DocumentBlockQuote'
|
|
18372
18848
|
- $ref: '#/components/schemas/DocumentBlockMath'
|
|
18373
18849
|
- $ref: '#/components/schemas/DocumentBlockIntegration'
|
|
18850
|
+
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18374
18851
|
- $ref: '#/components/schemas/DocumentBlockExpandable'
|
|
18375
18852
|
- $ref: '#/components/schemas/DocumentBlockTable'
|
|
18376
|
-
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18377
18853
|
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18378
|
-
- $ref: '#/components/schemas/DocumentBlockReusableContent'
|
|
18379
18854
|
- $ref: '#/components/schemas/DocumentBlockStepper'
|
|
18380
18855
|
data:
|
|
18381
18856
|
type: object
|
|
18382
18857
|
properties:
|
|
18383
|
-
|
|
18858
|
+
date:
|
|
18384
18859
|
type: string
|
|
18860
|
+
description: Date of the update. Accepts a YYYY-MM-DD date or a timestamp. Timestamps are normalized to their UTC calendar date; responses use YYYY-MM-DD.
|
|
18861
|
+
oneOf:
|
|
18862
|
+
- type: string
|
|
18863
|
+
format: date
|
|
18864
|
+
- $ref: '#/components/schemas/Timestamp'
|
|
18865
|
+
tags:
|
|
18866
|
+
type: array
|
|
18867
|
+
description: Array of tags. Each tag is id'ed by its slug.
|
|
18868
|
+
items:
|
|
18869
|
+
$ref: '#/components/schemas/ContentRefTag'
|
|
18870
|
+
required:
|
|
18871
|
+
- date
|
|
18385
18872
|
isVoid:
|
|
18386
18873
|
type: boolean
|
|
18387
18874
|
enum:
|
|
@@ -18845,66 +19332,6 @@ components:
|
|
|
18845
19332
|
- data
|
|
18846
19333
|
- nodes
|
|
18847
19334
|
- isVoid
|
|
18848
|
-
DocumentBlockUpdate:
|
|
18849
|
-
type: object
|
|
18850
|
-
properties:
|
|
18851
|
-
object:
|
|
18852
|
-
type: string
|
|
18853
|
-
enum:
|
|
18854
|
-
- block
|
|
18855
|
-
type:
|
|
18856
|
-
type: string
|
|
18857
|
-
enum:
|
|
18858
|
-
- update
|
|
18859
|
-
key:
|
|
18860
|
-
type: string
|
|
18861
|
-
nodes:
|
|
18862
|
-
type: array
|
|
18863
|
-
items:
|
|
18864
|
-
oneOf:
|
|
18865
|
-
- $ref: '#/components/schemas/DocumentBlocksEssentials'
|
|
18866
|
-
- $ref: '#/components/schemas/DocumentBlockContentRef'
|
|
18867
|
-
- $ref: '#/components/schemas/DocumentBlockCode'
|
|
18868
|
-
- $ref: '#/components/schemas/DocumentBlockEmbed'
|
|
18869
|
-
- $ref: '#/components/schemas/DocumentBlockFile'
|
|
18870
|
-
- $ref: '#/components/schemas/DocumentBlockImages'
|
|
18871
|
-
- $ref: '#/components/schemas/DocumentBlockDrawing'
|
|
18872
|
-
- $ref: '#/components/schemas/DocumentBlockHint'
|
|
18873
|
-
- $ref: '#/components/schemas/DocumentBlockPrompt'
|
|
18874
|
-
- $ref: '#/components/schemas/DocumentBlockQuote'
|
|
18875
|
-
- $ref: '#/components/schemas/DocumentBlockMath'
|
|
18876
|
-
- $ref: '#/components/schemas/DocumentBlockIntegration'
|
|
18877
|
-
- $ref: '#/components/schemas/DocumentBlockTabs'
|
|
18878
|
-
- $ref: '#/components/schemas/DocumentBlockExpandable'
|
|
18879
|
-
- $ref: '#/components/schemas/DocumentBlockTable'
|
|
18880
|
-
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18881
|
-
- $ref: '#/components/schemas/DocumentBlockStepper'
|
|
18882
|
-
data:
|
|
18883
|
-
type: object
|
|
18884
|
-
properties:
|
|
18885
|
-
date:
|
|
18886
|
-
type: string
|
|
18887
|
-
description: Date of the update. Accepts a YYYY-MM-DD date or a timestamp. Timestamps are normalized to their UTC calendar date; responses use YYYY-MM-DD.
|
|
18888
|
-
oneOf:
|
|
18889
|
-
- type: string
|
|
18890
|
-
format: date
|
|
18891
|
-
- $ref: '#/components/schemas/Timestamp'
|
|
18892
|
-
tags:
|
|
18893
|
-
type: array
|
|
18894
|
-
description: Array of tags. Each tag is id'ed by its slug.
|
|
18895
|
-
items:
|
|
18896
|
-
$ref: '#/components/schemas/ContentRefTag'
|
|
18897
|
-
required:
|
|
18898
|
-
- date
|
|
18899
|
-
isVoid:
|
|
18900
|
-
type: boolean
|
|
18901
|
-
enum:
|
|
18902
|
-
- false
|
|
18903
|
-
required:
|
|
18904
|
-
- object
|
|
18905
|
-
- type
|
|
18906
|
-
- nodes
|
|
18907
|
-
- data
|
|
18908
19335
|
DocumentBlockUpdates:
|
|
18909
19336
|
type: object
|
|
18910
19337
|
properties:
|
|
@@ -18920,8 +19347,11 @@ components:
|
|
|
18920
19347
|
type: string
|
|
18921
19348
|
nodes:
|
|
18922
19349
|
type: array
|
|
19350
|
+
description: The updates. An `if` block wraps updates shown only when its expression is true; it holds `update` blocks only.
|
|
18923
19351
|
items:
|
|
18924
|
-
|
|
19352
|
+
oneOf:
|
|
19353
|
+
- $ref: '#/components/schemas/DocumentBlockUpdate'
|
|
19354
|
+
- $ref: '#/components/schemas/DocumentBlockIf'
|
|
18925
19355
|
isVoid:
|
|
18926
19356
|
type: boolean
|
|
18927
19357
|
enum:
|
|
@@ -19913,6 +20343,14 @@ components:
|
|
|
19913
20343
|
label:
|
|
19914
20344
|
type: string
|
|
19915
20345
|
description: Display label for the tag. Can be renamed and differ from the slug.
|
|
20346
|
+
kind:
|
|
20347
|
+
type: string
|
|
20348
|
+
enum:
|
|
20349
|
+
- category
|
|
20350
|
+
description: Categories organize tags and cannot be assigned to pages or blocks. Immutable after creation.
|
|
20351
|
+
parent:
|
|
20352
|
+
type: string
|
|
20353
|
+
description: Slug of the parent tag or category. Omitted for root tags. Normal tags nest one level beneath another normal tag; categories nest up to three levels deep.
|
|
19916
20354
|
color:
|
|
19917
20355
|
$ref: '#/components/schemas/DocumentTextColor'
|
|
19918
20356
|
required:
|
|
@@ -19982,7 +20420,7 @@ components:
|
|
|
19982
20420
|
$ref: '#/components/schemas/RevisionReusableContent'
|
|
19983
20421
|
tags:
|
|
19984
20422
|
type: array
|
|
19985
|
-
description:
|
|
20423
|
+
description: 'Tags and categories in hierarchy order: parents before children, sibling categories by manual position, then normal tags by manual position inside a parent and by label at the top level'
|
|
19986
20424
|
items:
|
|
19987
20425
|
$ref: '#/components/schemas/RevisionTag'
|
|
19988
20426
|
variables:
|
|
@@ -20706,10 +21144,12 @@ components:
|
|
|
20706
21144
|
ChangeRequestReviewStats:
|
|
20707
21145
|
type: object
|
|
20708
21146
|
description: Exact review totals for the applied filters, independent of pagination. Keyed by review status, with a count of zero for a status nobody used.
|
|
20709
|
-
|
|
20710
|
-
|
|
20711
|
-
|
|
20712
|
-
|
|
21147
|
+
properties:
|
|
21148
|
+
approved:
|
|
21149
|
+
type: number
|
|
21150
|
+
changes-requested:
|
|
21151
|
+
type: number
|
|
21152
|
+
additionalProperties: false
|
|
20713
21153
|
required:
|
|
20714
21154
|
- approved
|
|
20715
21155
|
- changes-requested
|
|
@@ -20982,7 +21422,7 @@ components:
|
|
|
20982
21422
|
type: string
|
|
20983
21423
|
description: ID of the page to update.
|
|
20984
21424
|
document:
|
|
20985
|
-
description: New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. Omit to update only the metadata fields.
|
|
21425
|
+
description: New document for the page. When provided as markdown, its frontmatter is read to update the page metadata. A `tags` list replaces the page's tags; each must be an existing tag slug in the space. Omit to update only the metadata fields.
|
|
20986
21426
|
$ref: '#/components/schemas/Document'
|
|
20987
21427
|
into:
|
|
20988
21428
|
description: Move the page to be a child of this page ID. Set to `null` to move it to the root of the page tree. Omit to leave the page's parent unchanged. The target cannot be the page itself or one of its own descendants.
|
|
@@ -21030,7 +21470,7 @@ components:
|
|
|
21030
21470
|
maxLength: 255
|
|
21031
21471
|
description: 'Stable identifier for the page''s content, such as the ID of the record it is generated from. The page''s ID is derived from it, so re-inserting a deleted page with the same key restores its ID and links to it keep working. The same key gives the same page ID in every space, including duplicated spaces. To change a page that exists, use `update_page`: an insert whose key matches an existing page, or another insert in the batch, is rejected, so deleting a page and re-inserting its key must be done in separate requests. A re-created page takes over the old page''s comments, redirects, insights and history. When two change requests insert the same key, merging both keeps only one of the pages, without a conflict.'
|
|
21032
21472
|
document:
|
|
21033
|
-
description: Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata.
|
|
21473
|
+
description: Document for the new page. When provided as markdown, its frontmatter is read to set the page metadata, including its `tags` (existing tag slugs in the space).
|
|
21034
21474
|
$ref: '#/components/schemas/Document'
|
|
21035
21475
|
example:
|
|
21036
21476
|
operation: insert_page
|
|
@@ -21348,13 +21788,13 @@ components:
|
|
|
21348
21788
|
variable: version
|
|
21349
21789
|
RevisionTagLabel:
|
|
21350
21790
|
type: string
|
|
21351
|
-
description: Display label of a tag.
|
|
21791
|
+
description: Display label of a tag or category.
|
|
21352
21792
|
minLength: 1
|
|
21353
21793
|
maxLength: 50
|
|
21354
21794
|
ChangeRequestContentChangeInsertTags:
|
|
21355
21795
|
type: object
|
|
21356
21796
|
additionalProperties: false
|
|
21357
|
-
description: Create
|
|
21797
|
+
description: Create normal tags and categories in array order. Parents must exist or appear earlier in the array. The batch is rejected atomically if any tag is invalid. Kind cannot be changed through an update or a delete-and-reinsert within the same batch. After deletion in an earlier request, the slug can be reused for a new definition.
|
|
21358
21798
|
required:
|
|
21359
21799
|
- operation
|
|
21360
21800
|
- tags
|
|
@@ -21377,6 +21817,10 @@ components:
|
|
|
21377
21817
|
type: string
|
|
21378
21818
|
minLength: 1
|
|
21379
21819
|
description: Stable tag identifier; generated from the label when omitted.
|
|
21820
|
+
kind:
|
|
21821
|
+
type: string
|
|
21822
|
+
enum:
|
|
21823
|
+
- category
|
|
21380
21824
|
label:
|
|
21381
21825
|
$ref: '#/components/schemas/RevisionTagLabel'
|
|
21382
21826
|
color:
|
|
@@ -21385,10 +21829,20 @@ components:
|
|
|
21385
21829
|
$ref: '#/components/schemas/Icon'
|
|
21386
21830
|
emoji:
|
|
21387
21831
|
$ref: '#/components/schemas/Emoji'
|
|
21832
|
+
parent:
|
|
21833
|
+
oneOf:
|
|
21834
|
+
- type: string
|
|
21835
|
+
minLength: 1
|
|
21836
|
+
- type: 'null'
|
|
21837
|
+
description: Parent category or normal tag slug. Null places the tag at the root.
|
|
21838
|
+
at:
|
|
21839
|
+
type: integer
|
|
21840
|
+
minimum: 0
|
|
21841
|
+
description: Zero-based position among siblings of the same kind (categories, or tags inside a category or parent tag). Top-level tags sort by label and take no position; omit to append when moving to another parent.
|
|
21388
21842
|
ChangeRequestContentChangeUpdateTag:
|
|
21389
21843
|
type: object
|
|
21390
21844
|
additionalProperties: false
|
|
21391
|
-
description: Rename or
|
|
21845
|
+
description: Rename, restyle, reparent or reorder an existing tag or category. Moving a parent keeps all descendants attached. Kind cannot be changed.
|
|
21392
21846
|
required:
|
|
21393
21847
|
- operation
|
|
21394
21848
|
- tag
|
|
@@ -21400,7 +21854,7 @@ components:
|
|
|
21400
21854
|
tag:
|
|
21401
21855
|
type: string
|
|
21402
21856
|
minLength: 1
|
|
21403
|
-
description: Slug of the tag to update.
|
|
21857
|
+
description: Slug of the tag or category to update.
|
|
21404
21858
|
label:
|
|
21405
21859
|
$ref: '#/components/schemas/RevisionTagLabel'
|
|
21406
21860
|
color:
|
|
@@ -21415,10 +21869,20 @@ components:
|
|
|
21415
21869
|
- $ref: '#/components/schemas/Emoji'
|
|
21416
21870
|
- type: 'null'
|
|
21417
21871
|
description: Emoji to set. Null removes the emoji; omission preserves it.
|
|
21872
|
+
parent:
|
|
21873
|
+
oneOf:
|
|
21874
|
+
- type: string
|
|
21875
|
+
minLength: 1
|
|
21876
|
+
- type: 'null'
|
|
21877
|
+
description: Parent category or normal tag slug. Null places the tag at the root.
|
|
21878
|
+
at:
|
|
21879
|
+
type: integer
|
|
21880
|
+
minimum: 0
|
|
21881
|
+
description: Zero-based position among siblings of the same kind (categories, or tags inside a category or parent tag). Top-level tags sort by label and take no position; omit to append when moving to another parent.
|
|
21418
21882
|
ChangeRequestContentChangeDeleteTag:
|
|
21419
21883
|
type: object
|
|
21420
21884
|
additionalProperties: false
|
|
21421
|
-
description: Delete an
|
|
21885
|
+
description: Delete an empty category or a normal tag. A normal tag's children are reparented to its parent. Page and block references to the deleted tag stop resolving.
|
|
21422
21886
|
required:
|
|
21423
21887
|
- operation
|
|
21424
21888
|
- tag
|
|
@@ -21923,6 +22387,14 @@ components:
|
|
|
21923
22387
|
type: string
|
|
21924
22388
|
label:
|
|
21925
22389
|
type: string
|
|
22390
|
+
kind:
|
|
22391
|
+
type: string
|
|
22392
|
+
enum:
|
|
22393
|
+
- category
|
|
22394
|
+
description: Present for categories; omitted for normal tags.
|
|
22395
|
+
parent:
|
|
22396
|
+
type: string
|
|
22397
|
+
description: Parent tag or category slug. Omitted for root tags.
|
|
21926
22398
|
required:
|
|
21927
22399
|
- slug
|
|
21928
22400
|
- label
|
|
@@ -21956,6 +22428,28 @@ components:
|
|
|
21956
22428
|
properties:
|
|
21957
22429
|
label:
|
|
21958
22430
|
$ref: '#/components/schemas/ChangeAttributeString'
|
|
22431
|
+
kind:
|
|
22432
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
22433
|
+
parent:
|
|
22434
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
22435
|
+
orderIndex:
|
|
22436
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
22437
|
+
color:
|
|
22438
|
+
$ref: '#/components/schemas/ChangeAttributeString'
|
|
22439
|
+
icon:
|
|
22440
|
+
type: object
|
|
22441
|
+
properties:
|
|
22442
|
+
before:
|
|
22443
|
+
$ref: '#/components/schemas/Icon'
|
|
22444
|
+
after:
|
|
22445
|
+
$ref: '#/components/schemas/Icon'
|
|
22446
|
+
emoji:
|
|
22447
|
+
type: object
|
|
22448
|
+
properties:
|
|
22449
|
+
before:
|
|
22450
|
+
$ref: '#/components/schemas/Emoji'
|
|
22451
|
+
after:
|
|
22452
|
+
$ref: '#/components/schemas/Emoji'
|
|
21959
22453
|
RevisionSemanticChangeTagEdited:
|
|
21960
22454
|
type: object
|
|
21961
22455
|
properties:
|
|
@@ -22663,7 +23157,13 @@ components:
|
|
|
22663
23157
|
defaultContent:
|
|
22664
23158
|
$ref: '#/components/schemas/OrganizationDefaultContent'
|
|
22665
23159
|
sso:
|
|
22666
|
-
description: Whether SSO is enforced organization-wide
|
|
23160
|
+
description: Whether SSO is enforced organization-wide. Requires an active SAML provider and at least one organization admin linked through SSO.
|
|
23161
|
+
type: boolean
|
|
23162
|
+
ssoPreference:
|
|
23163
|
+
description: Whether Enforce SSO is turned on, regardless of whether its requirements are met.
|
|
23164
|
+
type: boolean
|
|
23165
|
+
ssoRequired:
|
|
23166
|
+
description: Whether Enforce SSO applies to the current user, because one of the organization's SAML providers can sign in their email. Members no provider can sign in keep their other sign-in methods.
|
|
22667
23167
|
type: boolean
|
|
22668
23168
|
ai:
|
|
22669
23169
|
description: If true, the organization is configured to use all our AI features.
|
|
@@ -23731,6 +24231,9 @@ components:
|
|
|
23731
24231
|
- installIntegration
|
|
23732
24232
|
- viewAdaptiveSchema
|
|
23733
24233
|
- editAdaptiveSchema
|
|
24234
|
+
publicChangeRequestPreviews:
|
|
24235
|
+
type: boolean
|
|
24236
|
+
description: Whether visitors can preview change requests and historical revisions on the published site. Previews inside GitBook are not affected.
|
|
23734
24237
|
published:
|
|
23735
24238
|
type: boolean
|
|
23736
24239
|
description: Whether the site is live or not. If true, the site is accessible to the audience defined by the visibility setting.
|
|
@@ -23808,6 +24311,7 @@ components:
|
|
|
23808
24311
|
- defaultLevel
|
|
23809
24312
|
- permissions
|
|
23810
24313
|
- published
|
|
24314
|
+
- publicChangeRequestPreviews
|
|
23811
24315
|
- createdAt
|
|
23812
24316
|
- siteSpaces
|
|
23813
24317
|
- features
|
|
@@ -24650,6 +25154,22 @@ components:
|
|
|
24650
25154
|
oneOf:
|
|
24651
25155
|
- $ref: '#/components/schemas/ContentKitRenderOutputElement'
|
|
24652
25156
|
- $ref: '#/components/schemas/ContentKitRenderOutputComplete'
|
|
25157
|
+
Error:
|
|
25158
|
+
type: object
|
|
25159
|
+
required:
|
|
25160
|
+
- error
|
|
25161
|
+
properties:
|
|
25162
|
+
error:
|
|
25163
|
+
type: object
|
|
25164
|
+
properties:
|
|
25165
|
+
code:
|
|
25166
|
+
type: integer
|
|
25167
|
+
format: int32
|
|
25168
|
+
message:
|
|
25169
|
+
type: string
|
|
25170
|
+
required:
|
|
25171
|
+
- code
|
|
25172
|
+
- message
|
|
24653
25173
|
ContentKitContextBase:
|
|
24654
25174
|
type: object
|
|
24655
25175
|
description: Common properties for ContentKit context.
|
|
@@ -24911,6 +25431,12 @@ components:
|
|
|
24911
25431
|
oauthTransaction:
|
|
24912
25432
|
type: string
|
|
24913
25433
|
description: ID of a consumed OAuth transaction for this exact target, authorizing a credential write. Single use.
|
|
25434
|
+
NewOrganizationTitle:
|
|
25435
|
+
type: string
|
|
25436
|
+
description: Name of a new organization
|
|
25437
|
+
minLength: 2
|
|
25438
|
+
maxLength: 80
|
|
25439
|
+
pattern: \S.*\S
|
|
24914
25440
|
SiteOnboardingSource:
|
|
24915
25441
|
type: string
|
|
24916
25442
|
description: Where the user's docs are coming from today.
|
|
@@ -24957,9 +25483,11 @@ components:
|
|
|
24957
25483
|
type: object
|
|
24958
25484
|
properties:
|
|
24959
25485
|
title:
|
|
24960
|
-
$ref: '#/components/schemas/
|
|
25486
|
+
$ref: '#/components/schemas/NewOrganizationTitle'
|
|
24961
25487
|
emailDomains:
|
|
24962
25488
|
$ref: '#/components/schemas/OrganizationEmailDomains'
|
|
25489
|
+
description: 'No longer supported: a non-empty list is rejected. Add and verify domains with the domain management API after the organization is created.'
|
|
25490
|
+
deprecated: true
|
|
24963
25491
|
onboardingPreferences:
|
|
24964
25492
|
description: Preferences collected from the user during onboarding, to apply to the organization's default site. Only used when `withDefaultSite` is true.
|
|
24965
25493
|
$ref: '#/components/schemas/SiteOnboardingPreferences'
|
|
@@ -25733,6 +26261,13 @@ components:
|
|
|
25733
26261
|
role:
|
|
25734
26262
|
description: Default role to set on newly invited members.
|
|
25735
26263
|
$ref: '#/components/schemas/MemberRoleOrGuest'
|
|
26264
|
+
teamIds:
|
|
26265
|
+
description: Teams to add the invitees to as Members, preserving existing team roles. The caller must be an owner of every team or an organization admin. Team-owner email invitations require acceptance before granting organization Guest and team Member access, including when the recipient already belongs to the organization. Existing roles are preserved. Granting an organization role or SSO access requires an organization admin.
|
|
26266
|
+
type: array
|
|
26267
|
+
minItems: 1
|
|
26268
|
+
uniqueItems: true
|
|
26269
|
+
items:
|
|
26270
|
+
$ref: '#/components/schemas/EntityId'
|
|
25736
26271
|
sso:
|
|
25737
26272
|
description: If true, invites the user as an SSO user of the organization. Defaults to false.
|
|
25738
26273
|
type: boolean
|
|
@@ -25810,6 +26345,28 @@ components:
|
|
|
25810
26345
|
redundant:
|
|
25811
26346
|
type: boolean
|
|
25812
26347
|
description: An invite is redundant if the requesting user already has all necessary permissions.
|
|
26348
|
+
teamInvitation:
|
|
26349
|
+
type: object
|
|
26350
|
+
description: Details shown to the recipient before accepting a team invitation.
|
|
26351
|
+
properties:
|
|
26352
|
+
inviter:
|
|
26353
|
+
type: string
|
|
26354
|
+
description: Display name of the person who sent the invitation.
|
|
26355
|
+
teams:
|
|
26356
|
+
type: array
|
|
26357
|
+
items:
|
|
26358
|
+
type: object
|
|
26359
|
+
properties:
|
|
26360
|
+
id:
|
|
26361
|
+
type: string
|
|
26362
|
+
title:
|
|
26363
|
+
type: string
|
|
26364
|
+
required:
|
|
26365
|
+
- id
|
|
26366
|
+
- title
|
|
26367
|
+
required:
|
|
26368
|
+
- inviter
|
|
26369
|
+
- teams
|
|
25813
26370
|
required:
|
|
25814
26371
|
- object
|
|
25815
26372
|
- id
|
|
@@ -25974,7 +26531,23 @@ components:
|
|
|
25974
26531
|
enum:
|
|
25975
26532
|
- claude
|
|
25976
26533
|
- codex
|
|
26534
|
+
- cursor
|
|
26535
|
+
- lovable
|
|
25977
26536
|
- replit
|
|
26537
|
+
- other
|
|
26538
|
+
reasonComment:
|
|
26539
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26540
|
+
reasonHosting:
|
|
26541
|
+
description: Where the organization plans to host its own solution
|
|
26542
|
+
type: string
|
|
26543
|
+
enum:
|
|
26544
|
+
- own_website_or_app
|
|
26545
|
+
- vercel
|
|
26546
|
+
- netlify
|
|
26547
|
+
- github_pages
|
|
26548
|
+
- cloudflare_pages
|
|
26549
|
+
- not_decided
|
|
26550
|
+
- other
|
|
25978
26551
|
additionalProperties: false
|
|
25979
26552
|
required:
|
|
25980
26553
|
- reason
|
|
@@ -25984,25 +26557,79 @@ components:
|
|
|
25984
26557
|
reason:
|
|
25985
26558
|
type: string
|
|
25986
26559
|
enum:
|
|
25987
|
-
-
|
|
26560
|
+
- found_better_alternative
|
|
26561
|
+
reasonComment:
|
|
26562
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26563
|
+
additionalProperties: false
|
|
26564
|
+
required:
|
|
26565
|
+
- reason
|
|
26566
|
+
- reasonComment
|
|
26567
|
+
- type: object
|
|
26568
|
+
properties:
|
|
26569
|
+
reason:
|
|
26570
|
+
type: string
|
|
26571
|
+
enum:
|
|
26572
|
+
- company_shutdown
|
|
26573
|
+
additionalProperties: false
|
|
26574
|
+
required:
|
|
26575
|
+
- reason
|
|
26576
|
+
- type: object
|
|
26577
|
+
properties:
|
|
26578
|
+
reason:
|
|
26579
|
+
type: string
|
|
26580
|
+
enum:
|
|
26581
|
+
- other_reason
|
|
26582
|
+
reasonComment:
|
|
26583
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26584
|
+
additionalProperties: false
|
|
26585
|
+
required:
|
|
26586
|
+
- reason
|
|
26587
|
+
- reasonComment
|
|
26588
|
+
- type: object
|
|
26589
|
+
properties:
|
|
26590
|
+
reason:
|
|
26591
|
+
type: string
|
|
26592
|
+
enum:
|
|
26593
|
+
- not_using_enough
|
|
25988
26594
|
reasonDetail:
|
|
25989
|
-
description: The tool the organization is moving to
|
|
25990
26595
|
type: string
|
|
25991
26596
|
enum:
|
|
25992
|
-
-
|
|
26597
|
+
- yes_in_a_few_months
|
|
26598
|
+
- 'no'
|
|
25993
26599
|
reasonComment:
|
|
25994
26600
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
25995
26601
|
additionalProperties: false
|
|
25996
26602
|
required:
|
|
25997
26603
|
- reason
|
|
25998
26604
|
- reasonDetail
|
|
25999
|
-
- reasonComment
|
|
26000
26605
|
- type: object
|
|
26001
26606
|
properties:
|
|
26002
26607
|
reason:
|
|
26003
26608
|
type: string
|
|
26004
26609
|
enum:
|
|
26005
26610
|
- found_better_alternative
|
|
26611
|
+
reasonDetail:
|
|
26612
|
+
type: string
|
|
26613
|
+
enum:
|
|
26614
|
+
- mintlify
|
|
26615
|
+
- readme
|
|
26616
|
+
- docusaurus
|
|
26617
|
+
- notion
|
|
26618
|
+
- confluence
|
|
26619
|
+
- self_hosted
|
|
26620
|
+
- other
|
|
26621
|
+
reasonComment:
|
|
26622
|
+
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26623
|
+
additionalProperties: false
|
|
26624
|
+
required:
|
|
26625
|
+
- reason
|
|
26626
|
+
- reasonDetail
|
|
26627
|
+
- type: object
|
|
26628
|
+
properties:
|
|
26629
|
+
reason:
|
|
26630
|
+
type: string
|
|
26631
|
+
enum:
|
|
26632
|
+
- not_satisfied_with_product
|
|
26006
26633
|
reasonComment:
|
|
26007
26634
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26008
26635
|
additionalProperties: false
|
|
@@ -26014,21 +26641,36 @@ components:
|
|
|
26014
26641
|
reason:
|
|
26015
26642
|
type: string
|
|
26016
26643
|
enum:
|
|
26017
|
-
-
|
|
26644
|
+
- budget
|
|
26645
|
+
reasonDetail:
|
|
26646
|
+
type: string
|
|
26647
|
+
enum:
|
|
26648
|
+
- budget_cuts
|
|
26649
|
+
- plan_price_increase
|
|
26650
|
+
- consolidating_tools
|
|
26651
|
+
- funding_changed
|
|
26652
|
+
- excess_seats_or_sites
|
|
26653
|
+
- project_budget_reduced
|
|
26018
26654
|
additionalProperties: false
|
|
26019
26655
|
required:
|
|
26020
26656
|
- reason
|
|
26657
|
+
- reasonDetail
|
|
26021
26658
|
- type: object
|
|
26022
26659
|
properties:
|
|
26023
26660
|
reason:
|
|
26024
26661
|
type: string
|
|
26025
26662
|
enum:
|
|
26026
|
-
-
|
|
26663
|
+
- budget
|
|
26664
|
+
reasonDetail:
|
|
26665
|
+
type: string
|
|
26666
|
+
enum:
|
|
26667
|
+
- other
|
|
26027
26668
|
reasonComment:
|
|
26028
26669
|
$ref: '#/components/schemas/BillingCancellationComment'
|
|
26029
26670
|
additionalProperties: false
|
|
26030
26671
|
required:
|
|
26031
26672
|
- reason
|
|
26673
|
+
- reasonDetail
|
|
26032
26674
|
- reasonComment
|
|
26033
26675
|
BillingCoupon:
|
|
26034
26676
|
type: string
|
|
@@ -26621,6 +27263,7 @@ components:
|
|
|
26621
27263
|
- members-team-owners
|
|
26622
27264
|
- security-saml
|
|
26623
27265
|
- scim
|
|
27266
|
+
- verified-domains
|
|
26624
27267
|
- change-requests-merge-rules
|
|
26625
27268
|
SearchSpaceResult:
|
|
26626
27269
|
type: object
|
|
@@ -26751,6 +27394,16 @@ components:
|
|
|
26751
27394
|
SAMLProviderCertificate:
|
|
26752
27395
|
type: string
|
|
26753
27396
|
maxLength: 10000
|
|
27397
|
+
SAMLProviderDefaultRole:
|
|
27398
|
+
description: |
|
|
27399
|
+
Role given to people on their first sign-in through the provider. null adds them as guests, "default" uses the organization's default role, and "domain" uses the role of the verified email domain they signed in with.
|
|
27400
|
+
oneOf:
|
|
27401
|
+
- $ref: '#/components/schemas/MemberRole'
|
|
27402
|
+
- type: 'null'
|
|
27403
|
+
- type: string
|
|
27404
|
+
enum:
|
|
27405
|
+
- default
|
|
27406
|
+
- domain
|
|
26754
27407
|
SAMLProviderStatus:
|
|
26755
27408
|
type: string
|
|
26756
27409
|
description: |
|
|
@@ -26760,6 +27413,30 @@ components:
|
|
|
26760
27413
|
enum:
|
|
26761
27414
|
- active
|
|
26762
27415
|
- pending
|
|
27416
|
+
SAMLProviderDomainStatus:
|
|
27417
|
+
type: string
|
|
27418
|
+
description: |
|
|
27419
|
+
State of a SAML provider's email domain in the organization.
|
|
27420
|
+
- `verified`: People with an email on this domain can sign in through the provider.
|
|
27421
|
+
- `pending`, `error`, `legacy`: The domain isn't verified yet, so it doesn't let anyone sign in.
|
|
27422
|
+
- `removed`: The organization no longer has this domain.
|
|
27423
|
+
enum:
|
|
27424
|
+
- verified
|
|
27425
|
+
- pending
|
|
27426
|
+
- error
|
|
27427
|
+
- legacy
|
|
27428
|
+
- removed
|
|
27429
|
+
SAMLProviderDomain:
|
|
27430
|
+
type: object
|
|
27431
|
+
description: An email domain of a SAML provider, with its verification state in the organization.
|
|
27432
|
+
properties:
|
|
27433
|
+
domain:
|
|
27434
|
+
type: string
|
|
27435
|
+
status:
|
|
27436
|
+
$ref: '#/components/schemas/SAMLProviderDomainStatus'
|
|
27437
|
+
required:
|
|
27438
|
+
- domain
|
|
27439
|
+
- status
|
|
26763
27440
|
OrganizationSAMLProvider:
|
|
26764
27441
|
type: object
|
|
26765
27442
|
properties:
|
|
@@ -26781,13 +27458,23 @@ components:
|
|
|
26781
27458
|
$ref: '#/components/schemas/SAMLProviderCertificate'
|
|
26782
27459
|
defaultTeam:
|
|
26783
27460
|
$ref: '#/components/schemas/OrganizationTeam'
|
|
27461
|
+
defaultTeamFromDomain:
|
|
27462
|
+
type: boolean
|
|
27463
|
+
description: |
|
|
27464
|
+
Whether people join the team of the verified email domain they signed in with, instead of `defaultTeam`.
|
|
26784
27465
|
defaultRole:
|
|
26785
|
-
$ref: '#/components/schemas/
|
|
27466
|
+
$ref: '#/components/schemas/SAMLProviderDefaultRole'
|
|
26786
27467
|
createdAt:
|
|
26787
27468
|
description: Date at which the provider was created.
|
|
26788
27469
|
$ref: '#/components/schemas/Timestamp'
|
|
26789
27470
|
status:
|
|
26790
27471
|
$ref: '#/components/schemas/SAMLProviderStatus'
|
|
27472
|
+
domains:
|
|
27473
|
+
type: array
|
|
27474
|
+
description: |
|
|
27475
|
+
Email domains the provider signs people in for. Absent on providers created before domains existed, which accept any email.
|
|
27476
|
+
items:
|
|
27477
|
+
$ref: '#/components/schemas/SAMLProviderDomain'
|
|
26791
27478
|
service:
|
|
26792
27479
|
description: Metadata about the service provider.
|
|
26793
27480
|
properties:
|
|
@@ -26827,6 +27514,98 @@ components:
|
|
|
26827
27514
|
- status
|
|
26828
27515
|
- service
|
|
26829
27516
|
- urls
|
|
27517
|
+
SAMLProviderDomains:
|
|
27518
|
+
type: array
|
|
27519
|
+
description: |
|
|
27520
|
+
Email domains the provider signs people in for. Each one must be an email domain of the organization. Only emails on a verified domain in this list can sign in through the provider.
|
|
27521
|
+
maxItems: 50
|
|
27522
|
+
uniqueItems: true
|
|
27523
|
+
items:
|
|
27524
|
+
type: string
|
|
27525
|
+
minLength: 1
|
|
27526
|
+
maxLength: 255
|
|
27527
|
+
OrganizationDomainStatus:
|
|
27528
|
+
type: string
|
|
27529
|
+
description: |
|
|
27530
|
+
Verification status of the domain. "legacy" is a domain added before verification existed: it keeps letting people join automatically without being verified.
|
|
27531
|
+
enum:
|
|
27532
|
+
- legacy
|
|
27533
|
+
- pending
|
|
27534
|
+
- verified
|
|
27535
|
+
- error
|
|
27536
|
+
OrganizationDomainDefaultRole:
|
|
27537
|
+
description: |
|
|
27538
|
+
Role given to people who join through the domain. "default" uses the organization's default role, and "guest" adds them as guests.
|
|
27539
|
+
oneOf:
|
|
27540
|
+
- $ref: '#/components/schemas/MemberRole'
|
|
27541
|
+
- type: string
|
|
27542
|
+
enum:
|
|
27543
|
+
- default
|
|
27544
|
+
- guest
|
|
27545
|
+
OrganizationDomain:
|
|
27546
|
+
type: object
|
|
27547
|
+
description: An email domain of an organization.
|
|
27548
|
+
properties:
|
|
27549
|
+
object:
|
|
27550
|
+
type: string
|
|
27551
|
+
description: The object type, which is always "organization-domain"
|
|
27552
|
+
enum:
|
|
27553
|
+
- organization-domain
|
|
27554
|
+
domain:
|
|
27555
|
+
type: string
|
|
27556
|
+
description: The email domain, such as "example.com"
|
|
27557
|
+
status:
|
|
27558
|
+
$ref: '#/components/schemas/OrganizationDomainStatus'
|
|
27559
|
+
statusDescription:
|
|
27560
|
+
type: string
|
|
27561
|
+
description: Why the last verification failed
|
|
27562
|
+
verificationRecord:
|
|
27563
|
+
type: object
|
|
27564
|
+
description: DNS TXT record to add to the domain to verify it
|
|
27565
|
+
properties:
|
|
27566
|
+
type:
|
|
27567
|
+
type: string
|
|
27568
|
+
enum:
|
|
27569
|
+
- TXT
|
|
27570
|
+
name:
|
|
27571
|
+
type: string
|
|
27572
|
+
value:
|
|
27573
|
+
type: string
|
|
27574
|
+
required:
|
|
27575
|
+
- type
|
|
27576
|
+
- name
|
|
27577
|
+
- value
|
|
27578
|
+
autoJoinEnabled:
|
|
27579
|
+
type: boolean
|
|
27580
|
+
description: Whether people with an email on the domain join the organization automatically
|
|
27581
|
+
defaultRole:
|
|
27582
|
+
$ref: '#/components/schemas/OrganizationDomainDefaultRole'
|
|
27583
|
+
defaultTeam:
|
|
27584
|
+
type: string
|
|
27585
|
+
description: ID of the team that people joining through the domain are added to
|
|
27586
|
+
verifiedAt:
|
|
27587
|
+
description: Date the domain was verified
|
|
27588
|
+
$ref: '#/components/schemas/Timestamp'
|
|
27589
|
+
createdAt:
|
|
27590
|
+
description: Date the domain was added
|
|
27591
|
+
$ref: '#/components/schemas/Timestamp'
|
|
27592
|
+
urls:
|
|
27593
|
+
type: object
|
|
27594
|
+
description: URLs associated with the object
|
|
27595
|
+
properties:
|
|
27596
|
+
location:
|
|
27597
|
+
description: URL of the domain in the API
|
|
27598
|
+
$ref: '#/components/schemas/URL'
|
|
27599
|
+
required:
|
|
27600
|
+
- location
|
|
27601
|
+
required:
|
|
27602
|
+
- object
|
|
27603
|
+
- domain
|
|
27604
|
+
- status
|
|
27605
|
+
- autoJoinEnabled
|
|
27606
|
+
- defaultRole
|
|
27607
|
+
- createdAt
|
|
27608
|
+
- urls
|
|
26830
27609
|
SCIMConnectionLabel:
|
|
26831
27610
|
type: string
|
|
26832
27611
|
description: Name of the SCIM connection, shown to organization admins.
|
|
@@ -28095,6 +28874,11 @@ components:
|
|
|
28095
28874
|
createdBy:
|
|
28096
28875
|
type: string
|
|
28097
28876
|
description: Identifier of the user who created the installation.
|
|
28877
|
+
authorizedBy:
|
|
28878
|
+
description: Identifier of the user who connected the Git provider credentials. Only this user can browse repositories or change the repository and branch with them. Null when it is unknown, for credentials connected before it was recorded, until someone reconnects the provider.
|
|
28879
|
+
oneOf:
|
|
28880
|
+
- type: string
|
|
28881
|
+
- type: 'null'
|
|
28098
28882
|
updatedAt:
|
|
28099
28883
|
$ref: '#/components/schemas/Timestamp'
|
|
28100
28884
|
urls:
|
|
@@ -28114,24 +28898,9 @@ components:
|
|
|
28114
28898
|
- status
|
|
28115
28899
|
- createdAt
|
|
28116
28900
|
- createdBy
|
|
28901
|
+
- authorizedBy
|
|
28117
28902
|
- updatedAt
|
|
28118
28903
|
- urls
|
|
28119
|
-
Error:
|
|
28120
|
-
type: object
|
|
28121
|
-
required:
|
|
28122
|
-
- error
|
|
28123
|
-
properties:
|
|
28124
|
-
error:
|
|
28125
|
-
type: object
|
|
28126
|
-
properties:
|
|
28127
|
-
code:
|
|
28128
|
-
type: integer
|
|
28129
|
-
format: int32
|
|
28130
|
-
message:
|
|
28131
|
-
type: string
|
|
28132
|
-
required:
|
|
28133
|
-
- code
|
|
28134
|
-
- message
|
|
28135
28904
|
SiteAdaptiveRegions:
|
|
28136
28905
|
type: object
|
|
28137
28906
|
description: Groups of countries exposed to adaptive content as `visitor.region`. The key of each entry is the region name; `visitor.region` is undefined for a visitor whose country is in none of the regions. A site can declare at most 10 regions.
|
|
@@ -29806,6 +30575,20 @@ components:
|
|
|
29806
30575
|
- title
|
|
29807
30576
|
- score
|
|
29808
30577
|
- url
|
|
30578
|
+
SiteSearchPass:
|
|
30579
|
+
type: object
|
|
30580
|
+
description: Short-lived credential that lets a published site's visitor call the site search operation directly. It is opaque, accepted only by that operation for one site, and expires within five minutes.
|
|
30581
|
+
properties:
|
|
30582
|
+
token:
|
|
30583
|
+
type: string
|
|
30584
|
+
description: Credential to send as a bearer token in the Authorization header.
|
|
30585
|
+
expiresAt:
|
|
30586
|
+
type: string
|
|
30587
|
+
format: date-time
|
|
30588
|
+
description: When the credential expires.
|
|
30589
|
+
required:
|
|
30590
|
+
- token
|
|
30591
|
+
- expiresAt
|
|
29809
30592
|
AgentGoal:
|
|
29810
30593
|
type: string
|
|
29811
30594
|
maxLength: 1024
|
|
@@ -30581,6 +31364,19 @@ components:
|
|
|
30581
31364
|
- troubleshooting
|
|
30582
31365
|
- reference
|
|
30583
31366
|
- unknown
|
|
31367
|
+
SiteQuestionIntent:
|
|
31368
|
+
type: string
|
|
31369
|
+
description: 'What the person was asking for, independent of the type of site: `can-it` whether it does, supports or integrates with something; `how-to` the steps to get something done; `how-it-works` rules, defaults and what happens when; `details` exact values, syntax, limits or lists; `troubleshoot` errors and why something fails; `pricing` price, plans and licensing; `trust` security, compliance and data handling; `fit` use-case fit, alternatives and switching from another tool; `other` anything else.'
|
|
31370
|
+
enum:
|
|
31371
|
+
- can-it
|
|
31372
|
+
- how-to
|
|
31373
|
+
- how-it-works
|
|
31374
|
+
- details
|
|
31375
|
+
- troubleshoot
|
|
31376
|
+
- pricing
|
|
31377
|
+
- trust
|
|
31378
|
+
- fit
|
|
31379
|
+
- other
|
|
30584
31380
|
SiteQuestionStatsFeedback:
|
|
30585
31381
|
type: object
|
|
30586
31382
|
description: Aggregated feedback for answers linked to a site question.
|
|
@@ -30677,6 +31473,84 @@ components:
|
|
|
30677
31473
|
- agent
|
|
30678
31474
|
- bot
|
|
30679
31475
|
- unknown
|
|
31476
|
+
SiteQuestionStatsIntents:
|
|
31477
|
+
type: object
|
|
31478
|
+
description: Count of answers by the intent of their question. `unlabelled` counts questions not labelled yet.
|
|
31479
|
+
properties:
|
|
31480
|
+
can-it:
|
|
31481
|
+
type: number
|
|
31482
|
+
how-to:
|
|
31483
|
+
type: number
|
|
31484
|
+
how-it-works:
|
|
31485
|
+
type: number
|
|
31486
|
+
details:
|
|
31487
|
+
type: number
|
|
31488
|
+
troubleshoot:
|
|
31489
|
+
type: number
|
|
31490
|
+
pricing:
|
|
31491
|
+
type: number
|
|
31492
|
+
trust:
|
|
31493
|
+
type: number
|
|
31494
|
+
fit:
|
|
31495
|
+
type: number
|
|
31496
|
+
other:
|
|
31497
|
+
type: number
|
|
31498
|
+
unlabelled:
|
|
31499
|
+
type: number
|
|
31500
|
+
required:
|
|
31501
|
+
- can-it
|
|
31502
|
+
- how-to
|
|
31503
|
+
- how-it-works
|
|
31504
|
+
- details
|
|
31505
|
+
- troubleshoot
|
|
31506
|
+
- pricing
|
|
31507
|
+
- trust
|
|
31508
|
+
- fit
|
|
31509
|
+
- other
|
|
31510
|
+
- unlabelled
|
|
31511
|
+
SiteQuestionStatsSiteSaid:
|
|
31512
|
+
type: object
|
|
31513
|
+
description: Count of answers by what the site said about the main thing asked. `unlabelled` counts answers not labelled yet.
|
|
31514
|
+
properties:
|
|
31515
|
+
covered:
|
|
31516
|
+
type: number
|
|
31517
|
+
limited:
|
|
31518
|
+
type: number
|
|
31519
|
+
unsupported:
|
|
31520
|
+
type: number
|
|
31521
|
+
no-answer:
|
|
31522
|
+
type: number
|
|
31523
|
+
needs-support:
|
|
31524
|
+
type: number
|
|
31525
|
+
unlabelled:
|
|
31526
|
+
type: number
|
|
31527
|
+
required:
|
|
31528
|
+
- covered
|
|
31529
|
+
- limited
|
|
31530
|
+
- unsupported
|
|
31531
|
+
- no-answer
|
|
31532
|
+
- needs-support
|
|
31533
|
+
- unlabelled
|
|
31534
|
+
SiteQuestionStatsEscalations:
|
|
31535
|
+
type: object
|
|
31536
|
+
description: Count of answers by who should act on them (see `SiteQuestionEscalation`). `unlabelled` counts answers that cannot be escalated until their question and answer are labelled.
|
|
31537
|
+
properties:
|
|
31538
|
+
docs:
|
|
31539
|
+
type: number
|
|
31540
|
+
team:
|
|
31541
|
+
type: number
|
|
31542
|
+
support:
|
|
31543
|
+
type: number
|
|
31544
|
+
none:
|
|
31545
|
+
type: number
|
|
31546
|
+
unlabelled:
|
|
31547
|
+
type: number
|
|
31548
|
+
required:
|
|
31549
|
+
- docs
|
|
31550
|
+
- team
|
|
31551
|
+
- support
|
|
31552
|
+
- none
|
|
31553
|
+
- unlabelled
|
|
30680
31554
|
SiteQuestionStats:
|
|
30681
31555
|
type: object
|
|
30682
31556
|
description: Aggregated stats for questions and linked answers.
|
|
@@ -30701,6 +31575,15 @@ components:
|
|
|
30701
31575
|
$ref: '#/components/schemas/SiteQuestionStatsChannels'
|
|
30702
31576
|
visitorTypes:
|
|
30703
31577
|
$ref: '#/components/schemas/SiteQuestionStatsVisitorTypes'
|
|
31578
|
+
intents:
|
|
31579
|
+
$ref: '#/components/schemas/SiteQuestionStatsIntents'
|
|
31580
|
+
siteSaid:
|
|
31581
|
+
$ref: '#/components/schemas/SiteQuestionStatsSiteSaid'
|
|
31582
|
+
escalations:
|
|
31583
|
+
$ref: '#/components/schemas/SiteQuestionStatsEscalations'
|
|
31584
|
+
goals:
|
|
31585
|
+
type: number
|
|
31586
|
+
description: Count of distinct goals agents gave with the answers.
|
|
30704
31587
|
weeklyPulse:
|
|
30705
31588
|
type: array
|
|
30706
31589
|
minItems: 13
|
|
@@ -30718,6 +31601,10 @@ components:
|
|
|
30718
31601
|
- channelTypes
|
|
30719
31602
|
- channels
|
|
30720
31603
|
- visitorTypes
|
|
31604
|
+
- intents
|
|
31605
|
+
- siteSaid
|
|
31606
|
+
- escalations
|
|
31607
|
+
- goals
|
|
30721
31608
|
- weeklyPulse
|
|
30722
31609
|
SiteQuestion:
|
|
30723
31610
|
type: object
|
|
@@ -30734,6 +31621,11 @@ components:
|
|
|
30734
31621
|
description: Canonical text for the unique site question.
|
|
30735
31622
|
type:
|
|
30736
31623
|
$ref: '#/components/schemas/SiteQuestionType'
|
|
31624
|
+
intent:
|
|
31625
|
+
description: What the person was asking for; `null` until the question is labelled.
|
|
31626
|
+
oneOf:
|
|
31627
|
+
- $ref: '#/components/schemas/SiteQuestionIntent'
|
|
31628
|
+
- type: 'null'
|
|
30737
31629
|
createdAt:
|
|
30738
31630
|
$ref: '#/components/schemas/Timestamp'
|
|
30739
31631
|
askedAt:
|
|
@@ -30755,6 +31647,7 @@ components:
|
|
|
30755
31647
|
- id
|
|
30756
31648
|
- question
|
|
30757
31649
|
- type
|
|
31650
|
+
- intent
|
|
30758
31651
|
- createdAt
|
|
30759
31652
|
- askedAt
|
|
30760
31653
|
- stats
|
|
@@ -31390,6 +32283,78 @@ components:
|
|
|
31390
32283
|
- agent
|
|
31391
32284
|
- bot
|
|
31392
32285
|
- unknown
|
|
32286
|
+
SiteInsightsVisitorBot:
|
|
32287
|
+
type:
|
|
32288
|
+
- string
|
|
32289
|
+
- 'null'
|
|
32290
|
+
enum:
|
|
32291
|
+
- null
|
|
32292
|
+
- unknown
|
|
32293
|
+
- googlebot
|
|
32294
|
+
- bingbot
|
|
32295
|
+
- duckduckbot
|
|
32296
|
+
- facebookbot
|
|
32297
|
+
- applebot
|
|
32298
|
+
- chatgpt
|
|
32299
|
+
- openai
|
|
32300
|
+
- claude
|
|
32301
|
+
- anthropic
|
|
32302
|
+
- gemini
|
|
32303
|
+
- perplexity
|
|
32304
|
+
- cohere
|
|
32305
|
+
- mistral
|
|
32306
|
+
- deepseek
|
|
32307
|
+
- meta
|
|
32308
|
+
- bytespider
|
|
32309
|
+
- ccbot
|
|
32310
|
+
- amazonbot
|
|
32311
|
+
- youbot
|
|
32312
|
+
- cursor
|
|
32313
|
+
- vscode
|
|
32314
|
+
- claude-code
|
|
32315
|
+
- codex
|
|
32316
|
+
- opencode
|
|
32317
|
+
- gptbot
|
|
32318
|
+
- claudebot
|
|
32319
|
+
- meta-fetcher
|
|
32320
|
+
- grok
|
|
32321
|
+
- github-copilot
|
|
32322
|
+
- meta-webindexer
|
|
32323
|
+
- meta-ads
|
|
32324
|
+
- duckassist
|
|
32325
|
+
- amzn-searchbot
|
|
32326
|
+
- amzn-user
|
|
32327
|
+
- other-bot
|
|
32328
|
+
- parallel
|
|
32329
|
+
- exa
|
|
32330
|
+
- linkup
|
|
32331
|
+
- vertex-ai
|
|
32332
|
+
- atlassian
|
|
32333
|
+
- kapa
|
|
32334
|
+
- bedrock
|
|
32335
|
+
SiteQuestionAnswerSiteSaid:
|
|
32336
|
+
type: string
|
|
32337
|
+
description: 'What the site''s content said about the main thing asked, judged from the answer. Unlike `answered`, which measures the assistant, it tells a product limit from a content gap: `covered` the site confirms it is possible or explains how it works; `limited` possible only under a named condition such as a plan, version, role or quota; `unsupported` the site says it cannot be done; `no-answer` the site gave no answer to a question a page could answer for everyone; `needs-support` only a person can resolve it, because it concerns the asker''s own account, order, data or contract.'
|
|
32338
|
+
enum:
|
|
32339
|
+
- covered
|
|
32340
|
+
- limited
|
|
32341
|
+
- unsupported
|
|
32342
|
+
- no-answer
|
|
32343
|
+
- needs-support
|
|
32344
|
+
SiteQuestionEscalation:
|
|
32345
|
+
type: string
|
|
32346
|
+
description: Who should act on an answer, derived from what was asked and what the site said. `docs` the site had no answer, or only a weak one, to a question a page could answer for everyone, so the content should be written or fixed; `team` the question needs a decision or clarification from a team beyond the docs, such as product, sales or marketing, for example when the site said something is not supported or only available on another plan; `support` only a person can resolve it, because it concerns the asker's own account, order, data or contract; `none` the site answered it.
|
|
32347
|
+
enum:
|
|
32348
|
+
- docs
|
|
32349
|
+
- team
|
|
32350
|
+
- support
|
|
32351
|
+
- none
|
|
32352
|
+
SiteQuestionVisitorAuthentication:
|
|
32353
|
+
type: string
|
|
32354
|
+
description: 'Whether the visitor who asked was signed in to the site: `authenticated` on a site behind authenticated access, or when they asked with a verified visitor token, and `anonymous` otherwise. Questions asked through the API or a connected channel, and those asked before this was recorded, are neither.'
|
|
32355
|
+
enum:
|
|
32356
|
+
- authenticated
|
|
32357
|
+
- anonymous
|
|
31393
32358
|
SiteQuestionAnswerResolution:
|
|
31394
32359
|
type: string
|
|
31395
32360
|
description: Whether the response answered the question.
|
|
@@ -31600,6 +32565,45 @@ components:
|
|
|
31600
32565
|
$ref: '#/components/schemas/SiteQuestionTimelineBucket'
|
|
31601
32566
|
required:
|
|
31602
32567
|
- items
|
|
32568
|
+
SiteGoal:
|
|
32569
|
+
type: object
|
|
32570
|
+
description: 'A distinct goal AI agents gave when asking a site''s questions: the task they were working on for someone. Agents giving the same goal in the same words share one goal.'
|
|
32571
|
+
properties:
|
|
32572
|
+
object:
|
|
32573
|
+
type: string
|
|
32574
|
+
enum:
|
|
32575
|
+
- site-goal
|
|
32576
|
+
id:
|
|
32577
|
+
type: string
|
|
32578
|
+
description: The ID of the site goal.
|
|
32579
|
+
goal:
|
|
32580
|
+
type: string
|
|
32581
|
+
description: The goal as the first agent to give it wrote it.
|
|
32582
|
+
createdAt:
|
|
32583
|
+
$ref: '#/components/schemas/Timestamp'
|
|
32584
|
+
stats:
|
|
32585
|
+
type: object
|
|
32586
|
+
description: Activity of the goal within the requested filters.
|
|
32587
|
+
properties:
|
|
32588
|
+
questions:
|
|
32589
|
+
type: number
|
|
32590
|
+
description: Count of distinct questions agents asked with this goal.
|
|
32591
|
+
answers:
|
|
32592
|
+
type: number
|
|
32593
|
+
description: Count of answers given to questions asked with this goal.
|
|
32594
|
+
askedAt:
|
|
32595
|
+
description: When a question was last asked with this goal.
|
|
32596
|
+
$ref: '#/components/schemas/Timestamp'
|
|
32597
|
+
required:
|
|
32598
|
+
- questions
|
|
32599
|
+
- answers
|
|
32600
|
+
- askedAt
|
|
32601
|
+
required:
|
|
32602
|
+
- object
|
|
32603
|
+
- id
|
|
32604
|
+
- goal
|
|
32605
|
+
- createdAt
|
|
32606
|
+
- stats
|
|
31603
32607
|
SiteQuestionAnswerHelpfulness:
|
|
31604
32608
|
type: string
|
|
31605
32609
|
description: Helpfulness of the response for the end user need.
|
|
@@ -34673,55 +35677,6 @@ components:
|
|
|
34673
35677
|
- android
|
|
34674
35678
|
- ios
|
|
34675
35679
|
- unknown
|
|
34676
|
-
SiteInsightsVisitorBot:
|
|
34677
|
-
type:
|
|
34678
|
-
- string
|
|
34679
|
-
- 'null'
|
|
34680
|
-
enum:
|
|
34681
|
-
- null
|
|
34682
|
-
- unknown
|
|
34683
|
-
- googlebot
|
|
34684
|
-
- bingbot
|
|
34685
|
-
- duckduckbot
|
|
34686
|
-
- facebookbot
|
|
34687
|
-
- applebot
|
|
34688
|
-
- chatgpt
|
|
34689
|
-
- openai
|
|
34690
|
-
- claude
|
|
34691
|
-
- anthropic
|
|
34692
|
-
- gemini
|
|
34693
|
-
- perplexity
|
|
34694
|
-
- cohere
|
|
34695
|
-
- mistral
|
|
34696
|
-
- deepseek
|
|
34697
|
-
- meta
|
|
34698
|
-
- bytespider
|
|
34699
|
-
- ccbot
|
|
34700
|
-
- amazonbot
|
|
34701
|
-
- youbot
|
|
34702
|
-
- cursor
|
|
34703
|
-
- vscode
|
|
34704
|
-
- claude-code
|
|
34705
|
-
- codex
|
|
34706
|
-
- opencode
|
|
34707
|
-
- gptbot
|
|
34708
|
-
- claudebot
|
|
34709
|
-
- meta-fetcher
|
|
34710
|
-
- grok
|
|
34711
|
-
- github-copilot
|
|
34712
|
-
- meta-webindexer
|
|
34713
|
-
- meta-ads
|
|
34714
|
-
- duckassist
|
|
34715
|
-
- amzn-searchbot
|
|
34716
|
-
- amzn-user
|
|
34717
|
-
- other-bot
|
|
34718
|
-
- parallel
|
|
34719
|
-
- exa
|
|
34720
|
-
- linkup
|
|
34721
|
-
- vertex-ai
|
|
34722
|
-
- atlassian
|
|
34723
|
-
- kapa
|
|
34724
|
-
- bedrock
|
|
34725
35680
|
SiteInsightsPageNotFoundType:
|
|
34726
35681
|
description: Why a site URL returned a 404. `conditional` means the URL targets content gated by an adaptive-content condition, so the visitor lacked access to a page that exists. Computed by GitBook when the event is ingested; 404s recorded before this existed, and those on genuinely missing pages, carry no value.
|
|
34727
35682
|
type: string
|
|
@@ -35588,15 +36543,20 @@ components:
|
|
|
35588
36543
|
default: 1000
|
|
35589
36544
|
minimum: 1
|
|
35590
36545
|
maximum: 1000
|
|
36546
|
+
page:
|
|
36547
|
+
type: string
|
|
36548
|
+
description: The `next.page` value of a previous result, to fetch the rows that follow it. Send the rest of the query unchanged. Relative ranges stay fixed to the time of the first page, but events recorded while paging can still move rows between pages.
|
|
35591
36549
|
SiteInsightsQueryEventsAggregationResult:
|
|
35592
|
-
|
|
35593
|
-
|
|
35594
|
-
-
|
|
35595
|
-
|
|
35596
|
-
|
|
35597
|
-
|
|
35598
|
-
|
|
35599
|
-
|
|
36550
|
+
allOf:
|
|
36551
|
+
- $ref: '#/components/schemas/List'
|
|
36552
|
+
- type: object
|
|
36553
|
+
required:
|
|
36554
|
+
- columns
|
|
36555
|
+
properties:
|
|
36556
|
+
columns:
|
|
36557
|
+
type: array
|
|
36558
|
+
items:
|
|
36559
|
+
$ref: '#/components/schemas/SiteInsightsQueryEventsValues'
|
|
35600
36560
|
SiteInsightsVisitorSegment:
|
|
35601
36561
|
type: object
|
|
35602
36562
|
description: A segment of visitors with the same characteristics.
|
|
@@ -36019,6 +36979,57 @@ components:
|
|
|
36019
36979
|
- target
|
|
36020
36980
|
- isActive
|
|
36021
36981
|
- urls
|
|
36982
|
+
PasskeyAuthenticationResponse:
|
|
36983
|
+
type: object
|
|
36984
|
+
description: The browser's answer to the passkey sign-in options (AuthenticationResponseJSON).
|
|
36985
|
+
properties:
|
|
36986
|
+
id:
|
|
36987
|
+
type: string
|
|
36988
|
+
rawId:
|
|
36989
|
+
type: string
|
|
36990
|
+
type:
|
|
36991
|
+
type: string
|
|
36992
|
+
enum:
|
|
36993
|
+
- public-key
|
|
36994
|
+
response:
|
|
36995
|
+
type: object
|
|
36996
|
+
properties:
|
|
36997
|
+
clientDataJSON:
|
|
36998
|
+
type: string
|
|
36999
|
+
authenticatorData:
|
|
37000
|
+
type: string
|
|
37001
|
+
signature:
|
|
37002
|
+
type: string
|
|
37003
|
+
userHandle:
|
|
37004
|
+
type: string
|
|
37005
|
+
required:
|
|
37006
|
+
- clientDataJSON
|
|
37007
|
+
- authenticatorData
|
|
37008
|
+
- signature
|
|
37009
|
+
clientExtensionResults:
|
|
37010
|
+
type: object
|
|
37011
|
+
additionalProperties: true
|
|
37012
|
+
authenticatorAttachment:
|
|
37013
|
+
type: string
|
|
37014
|
+
enum:
|
|
37015
|
+
- platform
|
|
37016
|
+
- cross-platform
|
|
37017
|
+
required:
|
|
37018
|
+
- id
|
|
37019
|
+
- rawId
|
|
37020
|
+
- type
|
|
37021
|
+
- response
|
|
37022
|
+
- clientExtensionResults
|
|
37023
|
+
PasskeySignInOptions:
|
|
37024
|
+
type: object
|
|
37025
|
+
description: WebAuthn options for signing in with a passkey (PublicKeyCredentialRequestOptionsJSON), to pass unchanged to the browser.
|
|
37026
|
+
additionalProperties: true
|
|
37027
|
+
properties:
|
|
37028
|
+
challenge:
|
|
37029
|
+
type: string
|
|
37030
|
+
description: Single-use challenge the passkey must sign.
|
|
37031
|
+
required:
|
|
37032
|
+
- challenge
|
|
36022
37033
|
UnsplashImage:
|
|
36023
37034
|
type: object
|
|
36024
37035
|
required:
|
|
@@ -38808,6 +39819,18 @@ components:
|
|
|
38808
39819
|
required:
|
|
38809
39820
|
- channel
|
|
38810
39821
|
- user
|
|
39822
|
+
APIChannelUserPasskeys:
|
|
39823
|
+
type: object
|
|
39824
|
+
properties:
|
|
39825
|
+
channel:
|
|
39826
|
+
type: string
|
|
39827
|
+
enum:
|
|
39828
|
+
- user-passkeys
|
|
39829
|
+
user:
|
|
39830
|
+
type: string
|
|
39831
|
+
required:
|
|
39832
|
+
- channel
|
|
39833
|
+
- user
|
|
38811
39834
|
APIChannelUserProfile:
|
|
38812
39835
|
type: object
|
|
38813
39836
|
properties:
|
|
@@ -39136,6 +40159,19 @@ components:
|
|
|
39136
40159
|
required:
|
|
39137
40160
|
- channel
|
|
39138
40161
|
- organization
|
|
40162
|
+
APIChannelOrganizationDomains:
|
|
40163
|
+
type: object
|
|
40164
|
+
description: Subscription channel for changes in the email domains of an organization.
|
|
40165
|
+
properties:
|
|
40166
|
+
channel:
|
|
40167
|
+
type: string
|
|
40168
|
+
enum:
|
|
40169
|
+
- organization-domains
|
|
40170
|
+
organization:
|
|
40171
|
+
type: string
|
|
40172
|
+
required:
|
|
40173
|
+
- channel
|
|
40174
|
+
- organization
|
|
39139
40175
|
APIChannelOrganizationCustomFonts:
|
|
39140
40176
|
type: object
|
|
39141
40177
|
description: Subscription channel for changes in custom fonts in an organization.
|
|
@@ -39680,6 +40716,7 @@ components:
|
|
|
39680
40716
|
- $ref: '#/components/schemas/APIChannelSpaceIntegrations'
|
|
39681
40717
|
- $ref: '#/components/schemas/APIChannelUserAPITokens'
|
|
39682
40718
|
- $ref: '#/components/schemas/APIChannelUserOrganizations'
|
|
40719
|
+
- $ref: '#/components/schemas/APIChannelUserPasskeys'
|
|
39683
40720
|
- $ref: '#/components/schemas/APIChannelUserProfile'
|
|
39684
40721
|
- $ref: '#/components/schemas/APIChannelChangeRequest'
|
|
39685
40722
|
- $ref: '#/components/schemas/APIChannelChangeRequests'
|
|
@@ -39705,6 +40742,7 @@ components:
|
|
|
39705
40742
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslations'
|
|
39706
40743
|
- $ref: '#/components/schemas/APIChannelOrganizationTranslationsGlossary'
|
|
39707
40744
|
- $ref: '#/components/schemas/APIChannelOrganizationSCIMConnections'
|
|
40745
|
+
- $ref: '#/components/schemas/APIChannelOrganizationDomains'
|
|
39708
40746
|
- $ref: '#/components/schemas/APIChannelOrganizationCustomFonts'
|
|
39709
40747
|
- $ref: '#/components/schemas/APIChannelOrganizationAgentInstructions'
|
|
39710
40748
|
- $ref: '#/components/schemas/APIChannelOrganizationChangeRequests'
|