@gitbook/api 0.151.0 → 0.152.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/spec/openapi.yaml CHANGED
@@ -1266,6 +1266,7 @@ paths:
1266
1266
  - $ref: "#/components/parameters/pageId"
1267
1267
  - $ref: "#/components/parameters/documentFormat"
1268
1268
  - $ref: "#/components/parameters/documentEvaluated"
1269
+ - $ref: "#/components/parameters/documentDereferenced"
1269
1270
  - $ref: "#/components/parameters/revisionMetadata"
1270
1271
  - $ref: "#/components/parameters/revisionComputed"
1271
1272
  responses:
@@ -1373,6 +1374,7 @@ paths:
1373
1374
  - $ref: "#/components/parameters/pagePath"
1374
1375
  - $ref: "#/components/parameters/documentFormat"
1375
1376
  - $ref: "#/components/parameters/documentEvaluated"
1377
+ - $ref: "#/components/parameters/documentDereferenced"
1376
1378
  - $ref: "#/components/parameters/revisionMetadata"
1377
1379
  - $ref: "#/components/parameters/revisionComputed"
1378
1380
  responses:
@@ -2365,6 +2367,7 @@ paths:
2365
2367
  - $ref: "#/components/parameters/pageId"
2366
2368
  - $ref: "#/components/parameters/documentFormat"
2367
2369
  - $ref: "#/components/parameters/documentEvaluated"
2370
+ - $ref: "#/components/parameters/documentDereferenced"
2368
2371
  - $ref: "#/components/parameters/revisionMetadata"
2369
2372
  - $ref: "#/components/parameters/revisionComputed"
2370
2373
  responses:
@@ -2680,6 +2683,7 @@ paths:
2680
2683
  - $ref: "#/components/parameters/pageId"
2681
2684
  - $ref: "#/components/parameters/documentFormat"
2682
2685
  - $ref: "#/components/parameters/documentEvaluated"
2686
+ - $ref: "#/components/parameters/documentDereferenced"
2683
2687
  - $ref: "#/components/parameters/revisionMetadata"
2684
2688
  - $ref: "#/components/parameters/revisionComputed"
2685
2689
  responses:
@@ -2702,6 +2706,7 @@ paths:
2702
2706
  - $ref: "#/components/parameters/revisionId"
2703
2707
  - $ref: "#/components/parameters/pageId"
2704
2708
  - $ref: "#/components/parameters/documentEvaluated"
2709
+ - $ref: "#/components/parameters/documentDereferenced"
2705
2710
  responses:
2706
2711
  "200":
2707
2712
  description: OK
@@ -2723,6 +2728,7 @@ paths:
2723
2728
  - $ref: "#/components/parameters/pagePath"
2724
2729
  - $ref: "#/components/parameters/documentFormat"
2725
2730
  - $ref: "#/components/parameters/documentEvaluated"
2731
+ - $ref: "#/components/parameters/documentDereferenced"
2726
2732
  - $ref: "#/components/parameters/revisionMetadata"
2727
2733
  - $ref: "#/components/parameters/revisionComputed"
2728
2734
  responses:
@@ -2767,6 +2773,7 @@ paths:
2767
2773
  - $ref: "#/components/parameters/pagePath"
2768
2774
  - $ref: "#/components/parameters/documentFormat"
2769
2775
  - $ref: "#/components/parameters/documentEvaluated"
2776
+ - $ref: "#/components/parameters/documentDereferenced"
2770
2777
  - $ref: "#/components/parameters/revisionMetadata"
2771
2778
  - $ref: "#/components/parameters/revisionComputed"
2772
2779
  responses:
@@ -2812,6 +2819,7 @@ paths:
2812
2819
  - $ref: "#/components/parameters/revisionId"
2813
2820
  - $ref: "#/components/parameters/reusableContentId"
2814
2821
  - $ref: "#/components/parameters/documentEvaluated"
2822
+ - $ref: "#/components/parameters/documentDereferenced"
2815
2823
  responses:
2816
2824
  "200":
2817
2825
  description: OK
@@ -5198,9 +5206,12 @@ paths:
5198
5206
  in: query
5199
5207
  required: false
5200
5208
  schema:
5201
- $ref: "#/components/schemas/ChangeRequestStatus"
5202
- default: open
5203
- description: If defined, only change requests matching this status will be returned.
5209
+ type: array
5210
+ description: If defined, only change requests matching the statuses will be returned.
5211
+ items:
5212
+ $ref: "#/components/schemas/ChangeRequestStatus"
5213
+ default:
5214
+ - open
5204
5215
  - name: creator
5205
5216
  in: query
5206
5217
  required: false
@@ -6057,6 +6068,7 @@ paths:
6057
6068
  - updatedAt
6058
6069
  - issues
6059
6070
  - conversations
6071
+ - impact
6060
6072
  security:
6061
6073
  - user: []
6062
6074
  responses:
@@ -6082,12 +6094,41 @@ paths:
6082
6094
  operationId: getConversationsIssuesCluster
6083
6095
  summary: Get a conversations issues cluster by its identifier
6084
6096
  tags:
6085
- - agents
6097
+ - conversations
6098
+ parameters:
6099
+ - $ref: "#/components/parameters/organizationId"
6100
+ - $ref: "#/components/parameters/clusterId"
6101
+ security:
6102
+ - user: []
6103
+ responses:
6104
+ "200":
6105
+ description: OK
6106
+ content:
6107
+ application/json:
6108
+ schema:
6109
+ $ref: "#/components/schemas/ConversationsIssuesCluster"
6110
+ patch:
6111
+ operationId: updateConversationsIssuesCluster
6112
+ summary: Update a conversations issues cluster
6113
+ tags:
6114
+ - conversations
6086
6115
  parameters:
6087
6116
  - $ref: "#/components/parameters/organizationId"
6088
6117
  - $ref: "#/components/parameters/clusterId"
6089
6118
  security:
6090
6119
  - user: []
6120
+ requestBody:
6121
+ required: true
6122
+ content:
6123
+ application/json:
6124
+ schema:
6125
+ type: object
6126
+ properties:
6127
+ muted:
6128
+ type: boolean
6129
+ description: Whether the cluster is muted for change request creation
6130
+ required:
6131
+ - muted
6091
6132
  responses:
6092
6133
  "200":
6093
6134
  description: OK
@@ -6279,6 +6320,23 @@ paths:
6279
6320
  application/json:
6280
6321
  schema:
6281
6322
  $ref: "#/components/schemas/AgentSetupState"
6323
+ delete:
6324
+ operationId: deleteAgentSetup
6325
+ summary: Delete the agents setup data
6326
+ description: |
6327
+ Delete all the conversations, conversation issues, and issue clusters used by Docs Agent for an organization.
6328
+ tags:
6329
+ - agents
6330
+ - critical
6331
+ security:
6332
+ - user-internal: []
6333
+ parameters:
6334
+ - $ref: "#/components/parameters/organizationId"
6335
+ responses:
6336
+ "204":
6337
+ description: No data was deleted
6338
+ "205":
6339
+ description: Deleted the data for Docs Agent
6282
6340
  "/orgs/{organizationId}/agent-instructions":
6283
6341
  get:
6284
6342
  operationId: getOrganizationAgentInstructions
@@ -9594,6 +9652,20 @@ components:
9594
9652
  enum:
9595
9653
  - deterministic-only
9596
9654
  default: false
9655
+ documentDereferenced:
9656
+ name: dereferenced
9657
+ in: query
9658
+ description: |
9659
+ Controls whether the document should be deferenced (eference to other content will be resolved and expanded).
9660
+ - When set to `true`, the entire document will be deferenced
9661
+ - When set to `reusable-contents`, only reusable contents will be deferenced.
9662
+ schema:
9663
+ oneOf:
9664
+ - type: boolean
9665
+ - type: string
9666
+ enum:
9667
+ - reusable-contents
9668
+ default: false
9597
9669
  pagePath:
9598
9670
  name: pagePath
9599
9671
  in: path
@@ -10178,6 +10250,7 @@ components:
10178
10250
  - require_up_to_date_change_request
10179
10251
  - require_change_request_subject
10180
10252
  - require_change_request_description
10253
+ - require_author_to_merge
10181
10254
  required:
10182
10255
  - rule
10183
10256
  - type: object
@@ -10892,6 +10965,11 @@ components:
10892
10965
  description: Title of the page
10893
10966
  type: string
10894
10967
  minLength: 1
10968
+ linkTitle:
10969
+ description: Optional custom title for the page ToC and mention entries instead of the page title.
10970
+ type: string
10971
+ minLength: 1
10972
+ maxLength: 100
10895
10973
  emoji:
10896
10974
  description: Emoji of the page, if one has been set.
10897
10975
  $ref: "#/components/schemas/Emoji"
@@ -13353,10 +13431,7 @@ components:
13353
13431
  - full
13354
13432
  - short
13355
13433
  default: full
13356
- sticky:
13357
- type: boolean
13358
13434
  required:
13359
- - sticky
13360
13435
  - format
13361
13436
  additionalProperties: false
13362
13437
  required:
@@ -13493,6 +13568,12 @@ components:
13493
13568
  type: array
13494
13569
  items:
13495
13570
  $ref: "#/components/schemas/DocumentBlocksTopLevels"
13571
+ meta:
13572
+ type: object
13573
+ properties:
13574
+ token:
13575
+ description: A content token that can be used to fetch the content referenced in this document from the API.
13576
+ type: string
13496
13577
  required:
13497
13578
  - object
13498
13579
  - data
@@ -13512,6 +13593,11 @@ components:
13512
13593
  title: Empty
13513
13594
  properties: {}
13514
13595
  additionalProperties: false
13596
+ RevisionPageSlug:
13597
+ type: string
13598
+ description: Page's slug in its direct parent
13599
+ minLength: 0
13600
+ maxLength: 100
13515
13601
  RevisionPageDocument:
13516
13602
  allOf:
13517
13603
  - $ref: "#/components/schemas/RevisionPageBase"
@@ -13535,8 +13621,7 @@ components:
13535
13621
  description: Location of the page in the app
13536
13622
  $ref: "#/components/schemas/URL"
13537
13623
  slug:
13538
- description: Page's slug in its direct parent
13539
- type: string
13624
+ $ref: "#/components/schemas/RevisionPageSlug"
13540
13625
  path:
13541
13626
  description: Complete path to access the page in the revision.
13542
13627
  type: string
@@ -14551,6 +14636,15 @@ components:
14551
14636
  type: object
14552
14637
  additionalProperties:
14553
14638
  $ref: "#/components/schemas/BillingMeterAddon"
14639
+ minUsers:
14640
+ description: The minimum number of members allowed for this organization.
14641
+ type: number
14642
+ maxUsers:
14643
+ description: The maximum number of members allowed for this organization
14644
+ type: number
14645
+ paidMembers:
14646
+ description: The number of paid members on the current subscription.
14647
+ type: number
14554
14648
  required:
14555
14649
  - interval
14556
14650
  - endDate
@@ -16573,6 +16667,13 @@ components:
16573
16667
  IntegrationInstallationTarget:
16574
16668
  oneOf:
16575
16669
  - $ref: "#/components/schemas/OrganizationTarget"
16670
+ IntegrationNetwork:
16671
+ type: object
16672
+ description: Network configuration for the installation
16673
+ properties:
16674
+ proxy:
16675
+ type: boolean
16676
+ description: Whether the installation is proxied through the backend
16576
16677
  IntegrationInstallation:
16577
16678
  type: object
16578
16679
  description: Installation of an integration on an account
@@ -16619,6 +16720,9 @@ components:
16619
16720
  target:
16620
16721
  $ref: "#/components/schemas/IntegrationInstallationTarget"
16621
16722
  description: Target of the integration installation
16723
+ network:
16724
+ $ref: "#/components/schemas/IntegrationNetwork"
16725
+ description: Network configuration for the installation
16622
16726
  required:
16623
16727
  - id
16624
16728
  - status
@@ -16954,6 +17058,22 @@ components:
16954
17058
  - type
16955
17059
  - previousVisibility
16956
17060
  - visibility
17061
+ TaskEvent:
17062
+ allOf:
17063
+ - $ref: "#/components/schemas/BaseEvent"
17064
+ - type: object
17065
+ description: Event representing a background task trigger for an integration.
17066
+ properties:
17067
+ type:
17068
+ type: string
17069
+ enum:
17070
+ - task
17071
+ task:
17072
+ type: object
17073
+ description: Payload associated with the integration task.
17074
+ required:
17075
+ - type
17076
+ - task
16957
17077
  FetchRequest:
16958
17078
  type: object
16959
17079
  properties:
@@ -17295,6 +17415,7 @@ components:
17295
17415
  - $ref: "#/components/schemas/SpaceGitSyncCompletedEvent"
17296
17416
  - $ref: "#/components/schemas/SpaceGitSyncStartedEvent"
17297
17417
  - $ref: "#/components/schemas/SpaceVisibilityUpdatedEvent"
17418
+ - $ref: "#/components/schemas/TaskEvent"
17298
17419
  - $ref: "#/components/schemas/FetchEvent"
17299
17420
  - $ref: "#/components/schemas/FetchPublishedScriptEvent"
17300
17421
  - $ref: "#/components/schemas/FetchVisitorAuthenticationEvent"
@@ -19295,36 +19416,23 @@ components:
19295
19416
  required:
19296
19417
  - duration
19297
19418
  - percentOff
19298
- SiteToMigrate:
19419
+ SitePageviews:
19299
19420
  type: object
19300
19421
  properties:
19301
19422
  object:
19302
19423
  type: string
19303
19424
  enum:
19304
- - site-to-migrate
19305
- site:
19306
- $ref: "#/components/schemas/Site"
19307
- newType:
19308
- description: The new type of the site
19309
- $ref: "#/components/schemas/SiteType"
19310
- traffic:
19311
- type: object
19312
- properties:
19313
- pageviews:
19314
- description: Number of pageviews in the past 30 days
19315
- type: number
19316
- required:
19317
- - pageviews
19318
- features:
19319
- type: array
19320
- items:
19321
- $ref: "#/components/schemas/SiteFeature"
19425
+ - site-pageviews
19426
+ siteId:
19427
+ type: string
19428
+ description: The identifier of the site
19429
+ pageviews:
19430
+ description: Number of pageviews in the past 30 days
19431
+ type: number
19322
19432
  required:
19323
19433
  - object
19324
- - site
19325
- - newType
19326
- - traffic
19327
- - features
19434
+ - siteId
19435
+ - pageviews
19328
19436
  BillingPortal:
19329
19437
  type: object
19330
19438
  properties:
@@ -19858,6 +19966,18 @@ components:
19858
19966
  required:
19859
19967
  - filesystem
19860
19968
  - url
19969
+ ConversationIssueImpact:
19970
+ type: string
19971
+ description: |
19972
+ Estimated end-user impact of a conversation issue.
19973
+
19974
+ - low: Minor friction or small polish issues; users can proceed with little to no guidance.
19975
+ - medium: Noticeable friction or partial blocking; users can proceed with workarounds or extra guidance.
19976
+ - high: Fully or near-fully blocking, severe regression, repeated failures, or risk of data loss; no viable workaround.
19977
+ enum:
19978
+ - low
19979
+ - medium
19980
+ - high
19861
19981
  ConversationsIssuesCluster:
19862
19982
  type: object
19863
19983
  properties:
@@ -19878,8 +19998,12 @@ components:
19878
19998
  icon:
19879
19999
  $ref: "#/components/schemas/Icon"
19880
20000
  summary:
19881
- type: string
19882
- description: The summary of the conversations issues cluster
20001
+ $ref: "#/components/schemas/JSONDocument"
20002
+ muted:
20003
+ type: boolean
20004
+ description: Whether the cluster is muted for change request creation
20005
+ impact:
20006
+ $ref: "#/components/schemas/ConversationIssueImpact"
19883
20007
  weeklyPulse:
19884
20008
  type: array
19885
20009
  minItems: 13
@@ -19921,6 +20045,8 @@ components:
19921
20045
  - label
19922
20046
  - summary
19923
20047
  - icon
20048
+ - muted
20049
+ - impact
19924
20050
  - sources
19925
20051
  - stats
19926
20052
  - weeklyPulse
@@ -19956,6 +20082,8 @@ components:
19956
20082
  $ref: "#/components/schemas/Timestamp"
19957
20083
  source:
19958
20084
  $ref: "#/components/schemas/ConversationSource"
20085
+ impact:
20086
+ $ref: "#/components/schemas/ConversationIssueImpact"
19959
20087
  urls:
19960
20088
  type: object
19961
20089
  description: URLs associated with the conversation
@@ -19975,6 +20103,7 @@ components:
19975
20103
  - id
19976
20104
  - createdAt
19977
20105
  - source
20106
+ - impact
19978
20107
  - urls
19979
20108
  ConversationMetadata:
19980
20109
  type: object
@@ -20047,9 +20176,10 @@ components:
20047
20176
  title:
20048
20177
  type: string
20049
20178
  description: The title of the conversation issue
20050
- summary:
20051
- type: string
20052
- description: The summary of the conversation issue
20179
+ details:
20180
+ $ref: "#/components/schemas/JSONDocument"
20181
+ impact:
20182
+ $ref: "#/components/schemas/ConversationIssueImpact"
20053
20183
  createdAt:
20054
20184
  $ref: "#/components/schemas/Timestamp"
20055
20185
  ingestedAt:
@@ -20074,7 +20204,8 @@ components:
20074
20204
  - object
20075
20205
  - id
20076
20206
  - title
20077
- - summary
20207
+ - details
20208
+ - impact
20078
20209
  - createdAt
20079
20210
  - ingestedAt
20080
20211
  - conversation
@@ -21781,6 +21912,23 @@ components:
21781
21912
  - type
21782
21913
  - spaceId
21783
21914
  - changeRequestId
21915
+ - type: object
21916
+ description: When the agent is implementing a task in a change request.
21917
+ properties:
21918
+ type:
21919
+ type: string
21920
+ enum:
21921
+ - implement_change_request
21922
+ spaceId:
21923
+ type: string
21924
+ description: The ID of the space the change request is in.
21925
+ changeRequestId:
21926
+ type: string
21927
+ description: The ID of the change request to implement the task in.
21928
+ required:
21929
+ - type
21930
+ - spaceId
21931
+ - changeRequestId
21784
21932
  AIStreamResponseStart:
21785
21933
  type: object
21786
21934
  description: |
@@ -21799,6 +21947,18 @@ components:
21799
21947
  required:
21800
21948
  - type
21801
21949
  - messageId
21950
+ AIMessageResponseMetadata:
21951
+ description: The response that generated this message.
21952
+ type: object
21953
+ properties:
21954
+ id:
21955
+ type: string
21956
+ description: The ID of the response that generated this message.
21957
+ previous:
21958
+ type: string
21959
+ description: The ID of the previous response that this message is based on.
21960
+ required:
21961
+ - id
21802
21962
  AIStreamResponseFinish:
21803
21963
  type: object
21804
21964
  description: |
@@ -21814,11 +21974,15 @@ components:
21814
21974
  The ID of the message that this event is composing.
21815
21975
  responseId:
21816
21976
  type: string
21977
+ deprecated: true
21817
21978
  description: The ID of the response
21979
+ response:
21980
+ $ref: "#/components/schemas/AIMessageResponseMetadata"
21818
21981
  required:
21819
21982
  - type
21820
21983
  - messageId
21821
21984
  - responseId
21985
+ - response
21822
21986
  AIStreamResponseDocument:
21823
21987
  type: object
21824
21988
  description: |
@@ -22737,6 +22901,7 @@ components:
22737
22901
  - ad
22738
22902
  - footer
22739
22903
  - pdf
22904
+ - embed
22740
22905
  SiteInsightsEventTrademarkClick:
22741
22906
  allOf:
22742
22907
  - $ref: "#/components/schemas/SiteInsightsEventBase"
@@ -24758,6 +24923,11 @@ components:
24758
24923
  title:
24759
24924
  type: string
24760
24925
  minLength: 1
24926
+ linkTitle:
24927
+ description: Optional custom title for the page ToC and mention entries instead of the page title.
24928
+ type: string
24929
+ minLength: 1
24930
+ maxLength: 100
24761
24931
  required:
24762
24932
  - title
24763
24933
  - oneOf:
@@ -25034,6 +25204,9 @@ components:
25034
25204
  description: API authentication token representing the current installation.
25035
25205
  required:
25036
25206
  - integration
25207
+ network:
25208
+ $ref: "#/components/schemas/IntegrationNetwork"
25209
+ description: Network configuration for the integration environment
25037
25210
  required:
25038
25211
  - apiEndpoint
25039
25212
  - apiTokens
@@ -25394,6 +25567,19 @@ components:
25394
25567
  required:
25395
25568
  - channel
25396
25569
  - organization
25570
+ OrganizationAgentDataChannel:
25571
+ type: object
25572
+ description: Subscription channel for changes in Docs Agent data in an organization.
25573
+ properties:
25574
+ channel:
25575
+ type: string
25576
+ enum:
25577
+ - organization-agent-data
25578
+ organization:
25579
+ type: string
25580
+ required:
25581
+ - channel
25582
+ - organization
25397
25583
  OrganizationInviteLinksChannel:
25398
25584
  type: object
25399
25585
  properties:
@@ -25567,19 +25753,6 @@ components:
25567
25753
  required:
25568
25754
  - channel
25569
25755
  - organization
25570
- OrganizationAIIndexationChannel:
25571
- type: object
25572
- description: Channel for messages everytime a space is indexed by the AI in an organization
25573
- properties:
25574
- channel:
25575
- type: string
25576
- enum:
25577
- - organization-ai-indexation
25578
- organization:
25579
- type: string
25580
- required:
25581
- - channel
25582
- - organization
25583
25756
  OrganizationOpenAPISpecsChannel:
25584
25757
  type: object
25585
25758
  description: Subscription channel for changes in OpenAPI specifications in an organization.
@@ -26110,6 +26283,7 @@ components:
26110
26283
  - $ref: "#/components/schemas/CollectionChannel"
26111
26284
  - $ref: "#/components/schemas/CollectionPublishingCustomizationChannel"
26112
26285
  - $ref: "#/components/schemas/OrganizationInfoChannel"
26286
+ - $ref: "#/components/schemas/OrganizationAgentDataChannel"
26113
26287
  - $ref: "#/components/schemas/OrganizationInviteLinksChannel"
26114
26288
  - $ref: "#/components/schemas/OrganizationMembersChannel"
26115
26289
  - $ref: "#/components/schemas/OrganizationMemberChannel"
@@ -26123,7 +26297,6 @@ components:
26123
26297
  - $ref: "#/components/schemas/OrganizationIntegrationsChannel"
26124
26298
  - $ref: "#/components/schemas/OrganizationInstallationsChannel"
26125
26299
  - $ref: "#/components/schemas/OrganizationSitesChannel"
26126
- - $ref: "#/components/schemas/OrganizationAIIndexationChannel"
26127
26300
  - $ref: "#/components/schemas/OrganizationOpenAPISpecsChannel"
26128
26301
  - $ref: "#/components/schemas/OrganizationTranslationsChannel"
26129
26302
  - $ref: "#/components/schemas/OrganizationTranslationsGlossaryChannel"
@@ -26256,24 +26429,6 @@ components:
26256
26429
  required:
26257
26430
  - channel
26258
26431
  - data
26259
- OrganizationAIIndexationChannelData:
26260
- type: object
26261
- properties:
26262
- channel:
26263
- type: string
26264
- enum:
26265
- - organization-ai-indexation
26266
- data:
26267
- type: object
26268
- properties:
26269
- space:
26270
- type: string
26271
- description: The space that was indexed
26272
- required:
26273
- - space
26274
- required:
26275
- - channel
26276
- - data
26277
26432
  APIChannelMutationData:
26278
26433
  type: object
26279
26434
  properties:
@@ -26299,7 +26454,6 @@ components:
26299
26454
  - $ref: "#/components/schemas/GitSyncOperationChannelData"
26300
26455
  - $ref: "#/components/schemas/SpaceContentRefsChannelData"
26301
26456
  - $ref: "#/components/schemas/ChangeRequestContentRefsChannelData"
26302
- - $ref: "#/components/schemas/OrganizationAIIndexationChannelData"
26303
26457
  - $ref: "#/components/schemas/TranslationRunChannelData"
26304
26458
  - $ref: "#/components/schemas/ImportRunChannelData"
26305
26459
  - $ref: "#/components/schemas/APIChannelMutationData"
@@ -26397,6 +26551,8 @@ components:
26397
26551
  $ref: "#/components/schemas/AIMessageStep"
26398
26552
  task:
26399
26553
  $ref: "#/components/schemas/AIMessageTask"
26554
+ response:
26555
+ $ref: "#/components/schemas/AIMessageResponseMetadata"
26400
26556
  required:
26401
26557
  - id
26402
26558
  - role