@work-shape/catalyst-api-contract 0.8.0-rc.6 → 0.8.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1164 -12
- package/dist/index.js +343 -31
- package/openapi.json +1604 -416
- package/package.json +2 -2
package/openapi.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Workshape Catalyst API",
|
|
5
|
-
"version": "0.8.0-rc.
|
|
6
|
-
"description": "Every operation under `/api/v1` of release 0.8.0-rc.
|
|
5
|
+
"version": "0.8.0-rc.7",
|
|
6
|
+
"description": "Every operation under `/api/v1` of release 0.8.0-rc.7, and the unversioned readiness probe `/ready`. Every error answers with the envelope `ApiErrorResponse`; its `code` is the stable part, its `correlationId` names the request in the instance's log."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -1920,6 +1920,128 @@
|
|
|
1920
1920
|
"x-catalyst-rate-class": "write"
|
|
1921
1921
|
}
|
|
1922
1922
|
},
|
|
1923
|
+
"/api/v1/apps/draft-hosts": {
|
|
1924
|
+
"post": {
|
|
1925
|
+
"operationId": "apps.allow_draft_host",
|
|
1926
|
+
"summary": "Allow an outside host a draft lists for the caller's own view of that draft, before it is published",
|
|
1927
|
+
"tags": [
|
|
1928
|
+
"Apps"
|
|
1929
|
+
],
|
|
1930
|
+
"security": [
|
|
1931
|
+
{
|
|
1932
|
+
"sessionCookie": [
|
|
1933
|
+
"config_assets:write"
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"sessionToken": [
|
|
1938
|
+
"config_assets:write"
|
|
1939
|
+
]
|
|
1940
|
+
}
|
|
1941
|
+
],
|
|
1942
|
+
"parameters": [
|
|
1943
|
+
{
|
|
1944
|
+
"name": "Idempotency-Key",
|
|
1945
|
+
"in": "header",
|
|
1946
|
+
"description": "A key the caller chooses for one changing call, up to 255 characters. The same key with the same input answers what the first call answered instead of acting twice. A key belongs to its caller: another caller's same key is another call.",
|
|
1947
|
+
"required": false,
|
|
1948
|
+
"schema": {
|
|
1949
|
+
"type": "string",
|
|
1950
|
+
"minLength": 1,
|
|
1951
|
+
"maxLength": 255
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "Catalyst-Unattended",
|
|
1956
|
+
"in": "header",
|
|
1957
|
+
"description": "`1` on a call of an API credential when nobody watches its terminal, such as `catalyst <kind> publish --yes`. The call is then not its caller's own confirmation: a call that needs one waits in the caller's Inbox and answers `202` with its run, status `pending_confirmation`. It only ever makes a call stricter; a browser session's call ignores it.",
|
|
1958
|
+
"required": false,
|
|
1959
|
+
"schema": {
|
|
1960
|
+
"type": "string",
|
|
1961
|
+
"minLength": 1,
|
|
1962
|
+
"maxLength": 255
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
],
|
|
1966
|
+
"requestBody": {
|
|
1967
|
+
"required": true,
|
|
1968
|
+
"content": {
|
|
1969
|
+
"application/json": {
|
|
1970
|
+
"schema": {
|
|
1971
|
+
"$ref": "#/components/schemas/AllowDraftHostRequest"
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
"responses": {
|
|
1977
|
+
"200": {
|
|
1978
|
+
"description": "The result",
|
|
1979
|
+
"content": {
|
|
1980
|
+
"application/json": {
|
|
1981
|
+
"schema": {
|
|
1982
|
+
"$ref": "#/components/schemas/AllowDraftHostResponse"
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
"headers": {
|
|
1987
|
+
"Operation-Run-Id": {
|
|
1988
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
1989
|
+
},
|
|
1990
|
+
"Idempotent-Replayed": {
|
|
1991
|
+
"$ref": "#/components/headers/IdempotentReplayed"
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"202": {
|
|
1996
|
+
"description": "The call waits for somebody else to approve it. This is its Operation Run; read it again at `Location`.",
|
|
1997
|
+
"content": {
|
|
1998
|
+
"application/json": {
|
|
1999
|
+
"schema": {
|
|
2000
|
+
"$ref": "#/components/schemas/OperationRun"
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
"headers": {
|
|
2005
|
+
"Operation-Run-Id": {
|
|
2006
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
2007
|
+
},
|
|
2008
|
+
"Location": {
|
|
2009
|
+
"$ref": "#/components/headers/Location"
|
|
2010
|
+
},
|
|
2011
|
+
"Idempotent-Replayed": {
|
|
2012
|
+
"$ref": "#/components/headers/IdempotentReplayed"
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
"400": {
|
|
2017
|
+
"$ref": "#/components/responses/BadRequest"
|
|
2018
|
+
},
|
|
2019
|
+
"401": {
|
|
2020
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
2021
|
+
},
|
|
2022
|
+
"403": {
|
|
2023
|
+
"$ref": "#/components/responses/ForbiddenOrPolicyDeniedOrGuardrailBlockedOrDeclined"
|
|
2024
|
+
},
|
|
2025
|
+
"404": {
|
|
2026
|
+
"$ref": "#/components/responses/NotFound"
|
|
2027
|
+
},
|
|
2028
|
+
"409": {
|
|
2029
|
+
"$ref": "#/components/responses/IdempotencyKeyReusedOrOperationInProgressOrOperationExpiredOrOutputNotRetained"
|
|
2030
|
+
},
|
|
2031
|
+
"422": {
|
|
2032
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
2033
|
+
},
|
|
2034
|
+
"429": {
|
|
2035
|
+
"$ref": "#/components/responses/RateLimited"
|
|
2036
|
+
},
|
|
2037
|
+
"500": {
|
|
2038
|
+
"$ref": "#/components/responses/Internal"
|
|
2039
|
+
}
|
|
2040
|
+
},
|
|
2041
|
+
"x-catalyst-effect": "changing",
|
|
2042
|
+
"x-catalyst-rate-class": "write"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
1923
2045
|
"/api/v1/apps/{app}/preview": {
|
|
1924
2046
|
"post": {
|
|
1925
2047
|
"operationId": "apps.preview",
|
|
@@ -5293,22 +5415,22 @@
|
|
|
5293
5415
|
"x-catalyst-rate-class": "write"
|
|
5294
5416
|
}
|
|
5295
5417
|
},
|
|
5296
|
-
"/api/v1/connections/{name}/oauth/
|
|
5297
|
-
"
|
|
5298
|
-
"operationId": "connections.
|
|
5299
|
-
"summary": "
|
|
5418
|
+
"/api/v1/connections/{name}/oauth/sign-ins/{signInId}": {
|
|
5419
|
+
"get": {
|
|
5420
|
+
"operationId": "connections.oauth_sign_in",
|
|
5421
|
+
"summary": "Read whether a shared OAuth sign-in the caller started still waits for the browser to come back",
|
|
5300
5422
|
"tags": [
|
|
5301
5423
|
"Connections"
|
|
5302
5424
|
],
|
|
5303
5425
|
"security": [
|
|
5304
5426
|
{
|
|
5305
5427
|
"sessionCookie": [
|
|
5306
|
-
"config_assets:
|
|
5428
|
+
"config_assets:read"
|
|
5307
5429
|
]
|
|
5308
5430
|
},
|
|
5309
5431
|
{
|
|
5310
5432
|
"sessionToken": [
|
|
5311
|
-
"config_assets:
|
|
5433
|
+
"config_assets:read"
|
|
5312
5434
|
]
|
|
5313
5435
|
}
|
|
5314
5436
|
],
|
|
@@ -5322,14 +5444,11 @@
|
|
|
5322
5444
|
}
|
|
5323
5445
|
},
|
|
5324
5446
|
{
|
|
5325
|
-
"name": "
|
|
5326
|
-
"in": "
|
|
5327
|
-
"
|
|
5328
|
-
"required": false,
|
|
5447
|
+
"name": "signInId",
|
|
5448
|
+
"in": "path",
|
|
5449
|
+
"required": true,
|
|
5329
5450
|
"schema": {
|
|
5330
|
-
"type": "string"
|
|
5331
|
-
"minLength": 1,
|
|
5332
|
-
"maxLength": 255
|
|
5451
|
+
"type": "string"
|
|
5333
5452
|
}
|
|
5334
5453
|
}
|
|
5335
5454
|
],
|
|
@@ -5341,28 +5460,16 @@
|
|
|
5341
5460
|
"schema": {
|
|
5342
5461
|
"type": "object",
|
|
5343
5462
|
"properties": {
|
|
5344
|
-
"
|
|
5463
|
+
"state": {
|
|
5345
5464
|
"type": "string",
|
|
5346
|
-
"
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
},
|
|
5351
|
-
"scopes": {
|
|
5352
|
-
"type": "array",
|
|
5353
|
-
"items": {
|
|
5354
|
-
"type": "string"
|
|
5355
|
-
}
|
|
5356
|
-
},
|
|
5357
|
-
"expiresAt": {
|
|
5358
|
-
"$ref": "#/components/schemas/Timestamp"
|
|
5465
|
+
"enum": [
|
|
5466
|
+
"waiting",
|
|
5467
|
+
"ended"
|
|
5468
|
+
]
|
|
5359
5469
|
}
|
|
5360
5470
|
},
|
|
5361
5471
|
"required": [
|
|
5362
|
-
"
|
|
5363
|
-
"providerHost",
|
|
5364
|
-
"scopes",
|
|
5365
|
-
"expiresAt"
|
|
5472
|
+
"state"
|
|
5366
5473
|
]
|
|
5367
5474
|
}
|
|
5368
5475
|
}
|
|
@@ -5370,9 +5477,6 @@
|
|
|
5370
5477
|
"headers": {
|
|
5371
5478
|
"Operation-Run-Id": {
|
|
5372
5479
|
"$ref": "#/components/headers/OperationRunId"
|
|
5373
|
-
},
|
|
5374
|
-
"Idempotent-Replayed": {
|
|
5375
|
-
"$ref": "#/components/headers/IdempotentReplayed"
|
|
5376
5480
|
}
|
|
5377
5481
|
}
|
|
5378
5482
|
},
|
|
@@ -5388,9 +5492,6 @@
|
|
|
5388
5492
|
"404": {
|
|
5389
5493
|
"$ref": "#/components/responses/NotFound"
|
|
5390
5494
|
},
|
|
5391
|
-
"409": {
|
|
5392
|
-
"$ref": "#/components/responses/ConflictOrIdempotencyKeyReusedOrOperationInProgressOrOutputNotRetained"
|
|
5393
|
-
},
|
|
5394
5495
|
"422": {
|
|
5395
5496
|
"$ref": "#/components/responses/ValidationFailed"
|
|
5396
5497
|
},
|
|
@@ -5401,14 +5502,14 @@
|
|
|
5401
5502
|
"$ref": "#/components/responses/Internal"
|
|
5402
5503
|
}
|
|
5403
5504
|
},
|
|
5404
|
-
"x-catalyst-effect": "
|
|
5405
|
-
"x-catalyst-rate-class": "
|
|
5505
|
+
"x-catalyst-effect": "reading",
|
|
5506
|
+
"x-catalyst-rate-class": "read"
|
|
5406
5507
|
}
|
|
5407
5508
|
},
|
|
5408
|
-
"/api/v1/connections/{name}/
|
|
5409
|
-
"
|
|
5410
|
-
"operationId": "connections.
|
|
5411
|
-
"summary": "
|
|
5509
|
+
"/api/v1/connections/{name}/oauth/start": {
|
|
5510
|
+
"post": {
|
|
5511
|
+
"operationId": "connections.oauth_start",
|
|
5512
|
+
"summary": "Start the shared OAuth sign-in of one Connection. The answer is the address to open in the person's browser",
|
|
5412
5513
|
"tags": [
|
|
5413
5514
|
"Connections"
|
|
5414
5515
|
],
|
|
@@ -5422,11 +5523,6 @@
|
|
|
5422
5523
|
"sessionToken": [
|
|
5423
5524
|
"config_assets:write"
|
|
5424
5525
|
]
|
|
5425
|
-
},
|
|
5426
|
-
{
|
|
5427
|
-
"accessToken": [
|
|
5428
|
-
"config_assets:write"
|
|
5429
|
-
]
|
|
5430
5526
|
}
|
|
5431
5527
|
],
|
|
5432
5528
|
"parameters": [
|
|
@@ -5439,25 +5535,14 @@
|
|
|
5439
5535
|
}
|
|
5440
5536
|
},
|
|
5441
5537
|
{
|
|
5442
|
-
"name": "
|
|
5443
|
-
"in": "
|
|
5444
|
-
"
|
|
5445
|
-
"
|
|
5446
|
-
"type": "string",
|
|
5447
|
-
"enum": [
|
|
5448
|
-
"user",
|
|
5449
|
-
"service_principal"
|
|
5450
|
-
]
|
|
5451
|
-
}
|
|
5452
|
-
},
|
|
5453
|
-
{
|
|
5454
|
-
"name": "subjectId",
|
|
5455
|
-
"in": "query",
|
|
5456
|
-
"required": true,
|
|
5538
|
+
"name": "Idempotency-Key",
|
|
5539
|
+
"in": "header",
|
|
5540
|
+
"description": "A key the caller chooses for one changing call, up to 255 characters. The same key with the same input answers what the first call answered instead of acting twice. A key belongs to its caller: another caller's same key is another call.",
|
|
5541
|
+
"required": false,
|
|
5457
5542
|
"schema": {
|
|
5458
5543
|
"type": "string",
|
|
5459
5544
|
"minLength": 1,
|
|
5460
|
-
"maxLength":
|
|
5545
|
+
"maxLength": 255
|
|
5461
5546
|
}
|
|
5462
5547
|
}
|
|
5463
5548
|
],
|
|
@@ -5469,38 +5554,32 @@
|
|
|
5469
5554
|
"schema": {
|
|
5470
5555
|
"type": "object",
|
|
5471
5556
|
"properties": {
|
|
5472
|
-
"
|
|
5473
|
-
"type": "string"
|
|
5474
|
-
"enum": [
|
|
5475
|
-
"user",
|
|
5476
|
-
"service_principal"
|
|
5477
|
-
]
|
|
5557
|
+
"signInId": {
|
|
5558
|
+
"type": "string"
|
|
5478
5559
|
},
|
|
5479
|
-
"
|
|
5560
|
+
"authorizationUrl": {
|
|
5480
5561
|
"type": "string",
|
|
5481
|
-
"
|
|
5482
|
-
"maxLength": 256
|
|
5562
|
+
"format": "uri"
|
|
5483
5563
|
},
|
|
5484
|
-
"
|
|
5564
|
+
"providerHost": {
|
|
5485
5565
|
"type": "string"
|
|
5486
5566
|
},
|
|
5487
|
-
"
|
|
5488
|
-
"
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
"type": "null"
|
|
5496
|
-
}
|
|
5497
|
-
]
|
|
5567
|
+
"scopes": {
|
|
5568
|
+
"type": "array",
|
|
5569
|
+
"items": {
|
|
5570
|
+
"type": "string"
|
|
5571
|
+
}
|
|
5572
|
+
},
|
|
5573
|
+
"expiresAt": {
|
|
5574
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
5498
5575
|
}
|
|
5499
5576
|
},
|
|
5500
5577
|
"required": [
|
|
5501
|
-
"
|
|
5502
|
-
"
|
|
5503
|
-
"
|
|
5578
|
+
"signInId",
|
|
5579
|
+
"authorizationUrl",
|
|
5580
|
+
"providerHost",
|
|
5581
|
+
"scopes",
|
|
5582
|
+
"expiresAt"
|
|
5504
5583
|
]
|
|
5505
5584
|
}
|
|
5506
5585
|
}
|
|
@@ -5508,6 +5587,9 @@
|
|
|
5508
5587
|
"headers": {
|
|
5509
5588
|
"Operation-Run-Id": {
|
|
5510
5589
|
"$ref": "#/components/headers/OperationRunId"
|
|
5590
|
+
},
|
|
5591
|
+
"Idempotent-Replayed": {
|
|
5592
|
+
"$ref": "#/components/headers/IdempotentReplayed"
|
|
5511
5593
|
}
|
|
5512
5594
|
}
|
|
5513
5595
|
},
|
|
@@ -5524,7 +5606,7 @@
|
|
|
5524
5606
|
"$ref": "#/components/responses/NotFound"
|
|
5525
5607
|
},
|
|
5526
5608
|
"409": {
|
|
5527
|
-
"$ref": "#/components/responses/
|
|
5609
|
+
"$ref": "#/components/responses/ConflictOrIdempotencyKeyReusedOrOperationInProgressOrOutputNotRetained"
|
|
5528
5610
|
},
|
|
5529
5611
|
"422": {
|
|
5530
5612
|
"$ref": "#/components/responses/ValidationFailed"
|
|
@@ -5536,12 +5618,147 @@
|
|
|
5536
5618
|
"$ref": "#/components/responses/Internal"
|
|
5537
5619
|
}
|
|
5538
5620
|
},
|
|
5539
|
-
"x-catalyst-effect": "
|
|
5540
|
-
"x-catalyst-rate-class": "
|
|
5541
|
-
}
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5621
|
+
"x-catalyst-effect": "changing",
|
|
5622
|
+
"x-catalyst-rate-class": "write"
|
|
5623
|
+
}
|
|
5624
|
+
},
|
|
5625
|
+
"/api/v1/connections/{name}/person-context": {
|
|
5626
|
+
"get": {
|
|
5627
|
+
"operationId": "connections.person_context",
|
|
5628
|
+
"summary": "Read one person's or service principal's context mapping; requires Connection write access",
|
|
5629
|
+
"tags": [
|
|
5630
|
+
"Connections"
|
|
5631
|
+
],
|
|
5632
|
+
"security": [
|
|
5633
|
+
{
|
|
5634
|
+
"sessionCookie": [
|
|
5635
|
+
"config_assets:write"
|
|
5636
|
+
]
|
|
5637
|
+
},
|
|
5638
|
+
{
|
|
5639
|
+
"sessionToken": [
|
|
5640
|
+
"config_assets:write"
|
|
5641
|
+
]
|
|
5642
|
+
},
|
|
5643
|
+
{
|
|
5644
|
+
"accessToken": [
|
|
5645
|
+
"config_assets:write"
|
|
5646
|
+
]
|
|
5647
|
+
}
|
|
5648
|
+
],
|
|
5649
|
+
"parameters": [
|
|
5650
|
+
{
|
|
5651
|
+
"name": "name",
|
|
5652
|
+
"in": "path",
|
|
5653
|
+
"required": true,
|
|
5654
|
+
"schema": {
|
|
5655
|
+
"type": "string"
|
|
5656
|
+
}
|
|
5657
|
+
},
|
|
5658
|
+
{
|
|
5659
|
+
"name": "subjectKind",
|
|
5660
|
+
"in": "query",
|
|
5661
|
+
"required": true,
|
|
5662
|
+
"schema": {
|
|
5663
|
+
"type": "string",
|
|
5664
|
+
"enum": [
|
|
5665
|
+
"user",
|
|
5666
|
+
"service_principal"
|
|
5667
|
+
]
|
|
5668
|
+
}
|
|
5669
|
+
},
|
|
5670
|
+
{
|
|
5671
|
+
"name": "subjectId",
|
|
5672
|
+
"in": "query",
|
|
5673
|
+
"required": true,
|
|
5674
|
+
"schema": {
|
|
5675
|
+
"type": "string",
|
|
5676
|
+
"minLength": 1,
|
|
5677
|
+
"maxLength": 256
|
|
5678
|
+
}
|
|
5679
|
+
}
|
|
5680
|
+
],
|
|
5681
|
+
"responses": {
|
|
5682
|
+
"200": {
|
|
5683
|
+
"description": "The result",
|
|
5684
|
+
"content": {
|
|
5685
|
+
"application/json": {
|
|
5686
|
+
"schema": {
|
|
5687
|
+
"type": "object",
|
|
5688
|
+
"properties": {
|
|
5689
|
+
"subjectKind": {
|
|
5690
|
+
"type": "string",
|
|
5691
|
+
"enum": [
|
|
5692
|
+
"user",
|
|
5693
|
+
"service_principal"
|
|
5694
|
+
]
|
|
5695
|
+
},
|
|
5696
|
+
"subjectId": {
|
|
5697
|
+
"type": "string",
|
|
5698
|
+
"minLength": 1,
|
|
5699
|
+
"maxLength": 256
|
|
5700
|
+
},
|
|
5701
|
+
"value": {
|
|
5702
|
+
"type": "string"
|
|
5703
|
+
},
|
|
5704
|
+
"rowVersion": {
|
|
5705
|
+
"anyOf": [
|
|
5706
|
+
{
|
|
5707
|
+
"type": "integer",
|
|
5708
|
+
"exclusiveMinimum": 0,
|
|
5709
|
+
"maximum": 9007199254740991
|
|
5710
|
+
},
|
|
5711
|
+
{
|
|
5712
|
+
"type": "null"
|
|
5713
|
+
}
|
|
5714
|
+
]
|
|
5715
|
+
}
|
|
5716
|
+
},
|
|
5717
|
+
"required": [
|
|
5718
|
+
"subjectKind",
|
|
5719
|
+
"subjectId",
|
|
5720
|
+
"rowVersion"
|
|
5721
|
+
]
|
|
5722
|
+
}
|
|
5723
|
+
}
|
|
5724
|
+
},
|
|
5725
|
+
"headers": {
|
|
5726
|
+
"Operation-Run-Id": {
|
|
5727
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
5728
|
+
}
|
|
5729
|
+
}
|
|
5730
|
+
},
|
|
5731
|
+
"400": {
|
|
5732
|
+
"$ref": "#/components/responses/BadRequest"
|
|
5733
|
+
},
|
|
5734
|
+
"401": {
|
|
5735
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
5736
|
+
},
|
|
5737
|
+
"403": {
|
|
5738
|
+
"$ref": "#/components/responses/ForbiddenOrPolicyDeniedOrGuardrailBlocked"
|
|
5739
|
+
},
|
|
5740
|
+
"404": {
|
|
5741
|
+
"$ref": "#/components/responses/NotFound"
|
|
5742
|
+
},
|
|
5743
|
+
"409": {
|
|
5744
|
+
"$ref": "#/components/responses/Conflict"
|
|
5745
|
+
},
|
|
5746
|
+
"422": {
|
|
5747
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
5748
|
+
},
|
|
5749
|
+
"429": {
|
|
5750
|
+
"$ref": "#/components/responses/RateLimited"
|
|
5751
|
+
},
|
|
5752
|
+
"500": {
|
|
5753
|
+
"$ref": "#/components/responses/Internal"
|
|
5754
|
+
}
|
|
5755
|
+
},
|
|
5756
|
+
"x-catalyst-effect": "reading",
|
|
5757
|
+
"x-catalyst-rate-class": "read"
|
|
5758
|
+
},
|
|
5759
|
+
"put": {
|
|
5760
|
+
"operationId": "connections.set_person_context",
|
|
5761
|
+
"summary": "Map a person or service principal to the outside context value, or clear their mapping",
|
|
5545
5762
|
"tags": [
|
|
5546
5763
|
"Connections"
|
|
5547
5764
|
],
|
|
@@ -6008,140 +6225,339 @@
|
|
|
6008
6225
|
"x-catalyst-rate-class": "write"
|
|
6009
6226
|
}
|
|
6010
6227
|
},
|
|
6011
|
-
"/api/v1/
|
|
6228
|
+
"/api/v1/connector-types": {
|
|
6012
6229
|
"get": {
|
|
6013
|
-
"operationId": "
|
|
6014
|
-
"summary": "
|
|
6230
|
+
"operationId": "connections.connector_types",
|
|
6231
|
+
"summary": "List the Connector types a person who may make a Connection can connect from a form",
|
|
6015
6232
|
"tags": [
|
|
6016
|
-
"
|
|
6017
|
-
],
|
|
6018
|
-
"security": [
|
|
6019
|
-
{
|
|
6020
|
-
"sessionCookie": [
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6233
|
+
"Connections"
|
|
6234
|
+
],
|
|
6235
|
+
"security": [
|
|
6236
|
+
{
|
|
6237
|
+
"sessionCookie": [
|
|
6238
|
+
"config_assets:read"
|
|
6239
|
+
]
|
|
6240
|
+
},
|
|
6241
|
+
{
|
|
6242
|
+
"sessionToken": [
|
|
6243
|
+
"config_assets:read"
|
|
6244
|
+
]
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
6247
|
+
"accessToken": [
|
|
6248
|
+
"config_assets:read"
|
|
6249
|
+
]
|
|
6250
|
+
}
|
|
6251
|
+
],
|
|
6252
|
+
"parameters": [],
|
|
6253
|
+
"responses": {
|
|
6254
|
+
"200": {
|
|
6255
|
+
"description": "The result",
|
|
6256
|
+
"content": {
|
|
6257
|
+
"application/json": {
|
|
6258
|
+
"schema": {
|
|
6259
|
+
"type": "object",
|
|
6260
|
+
"properties": {
|
|
6261
|
+
"types": {
|
|
6262
|
+
"type": "array",
|
|
6263
|
+
"items": {
|
|
6264
|
+
"type": "object",
|
|
6265
|
+
"properties": {
|
|
6266
|
+
"type": {
|
|
6267
|
+
"type": "string"
|
|
6268
|
+
},
|
|
6269
|
+
"title": {
|
|
6270
|
+
"anyOf": [
|
|
6271
|
+
{
|
|
6272
|
+
"type": "string"
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"type": "object",
|
|
6276
|
+
"properties": {
|
|
6277
|
+
"en": {
|
|
6278
|
+
"type": "string"
|
|
6279
|
+
},
|
|
6280
|
+
"de": {
|
|
6281
|
+
"type": "string"
|
|
6282
|
+
}
|
|
6283
|
+
}
|
|
6284
|
+
}
|
|
6285
|
+
]
|
|
6286
|
+
},
|
|
6287
|
+
"description": {
|
|
6288
|
+
"anyOf": [
|
|
6289
|
+
{
|
|
6290
|
+
"type": "string"
|
|
6291
|
+
},
|
|
6292
|
+
{
|
|
6293
|
+
"type": "object",
|
|
6294
|
+
"properties": {
|
|
6295
|
+
"en": {
|
|
6296
|
+
"type": "string"
|
|
6297
|
+
},
|
|
6298
|
+
"de": {
|
|
6299
|
+
"type": "string"
|
|
6300
|
+
}
|
|
6301
|
+
}
|
|
6302
|
+
}
|
|
6303
|
+
]
|
|
6304
|
+
},
|
|
6305
|
+
"service": {
|
|
6306
|
+
"type": "string"
|
|
6307
|
+
},
|
|
6308
|
+
"documentSource": {
|
|
6309
|
+
"type": "boolean"
|
|
6310
|
+
},
|
|
6311
|
+
"authScheme": {
|
|
6312
|
+
"type": "string"
|
|
6313
|
+
},
|
|
6314
|
+
"settings": {
|
|
6315
|
+
"type": "object",
|
|
6316
|
+
"propertyNames": {
|
|
6317
|
+
"type": "string"
|
|
6318
|
+
},
|
|
6319
|
+
"additionalProperties": {}
|
|
6320
|
+
},
|
|
6321
|
+
"fields": {
|
|
6322
|
+
"type": "array",
|
|
6323
|
+
"items": {
|
|
6324
|
+
"type": "object",
|
|
6325
|
+
"properties": {
|
|
6326
|
+
"label": {
|
|
6327
|
+
"anyOf": [
|
|
6328
|
+
{
|
|
6329
|
+
"type": "string"
|
|
6330
|
+
},
|
|
6331
|
+
{
|
|
6332
|
+
"type": "object",
|
|
6333
|
+
"properties": {
|
|
6334
|
+
"en": {
|
|
6335
|
+
"type": "string"
|
|
6336
|
+
},
|
|
6337
|
+
"de": {
|
|
6338
|
+
"type": "string"
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6342
|
+
]
|
|
6343
|
+
},
|
|
6344
|
+
"help": {
|
|
6345
|
+
"anyOf": [
|
|
6346
|
+
{
|
|
6347
|
+
"type": "string"
|
|
6348
|
+
},
|
|
6349
|
+
{
|
|
6350
|
+
"type": "object",
|
|
6351
|
+
"properties": {
|
|
6352
|
+
"en": {
|
|
6353
|
+
"type": "string"
|
|
6354
|
+
},
|
|
6355
|
+
"de": {
|
|
6356
|
+
"type": "string"
|
|
6357
|
+
}
|
|
6358
|
+
}
|
|
6359
|
+
}
|
|
6360
|
+
]
|
|
6361
|
+
},
|
|
6362
|
+
"optional": {
|
|
6363
|
+
"type": "boolean"
|
|
6364
|
+
},
|
|
6365
|
+
"setting": {
|
|
6366
|
+
"type": "string"
|
|
6367
|
+
},
|
|
6368
|
+
"secret": {
|
|
6369
|
+
"type": "boolean"
|
|
6370
|
+
}
|
|
6371
|
+
},
|
|
6372
|
+
"required": [
|
|
6373
|
+
"label",
|
|
6374
|
+
"optional",
|
|
6375
|
+
"secret"
|
|
6376
|
+
]
|
|
6377
|
+
}
|
|
6378
|
+
}
|
|
6379
|
+
},
|
|
6380
|
+
"required": [
|
|
6381
|
+
"type",
|
|
6382
|
+
"title",
|
|
6383
|
+
"description",
|
|
6384
|
+
"documentSource",
|
|
6385
|
+
"authScheme",
|
|
6386
|
+
"settings",
|
|
6387
|
+
"fields"
|
|
6388
|
+
]
|
|
6389
|
+
}
|
|
6390
|
+
}
|
|
6391
|
+
},
|
|
6392
|
+
"required": [
|
|
6393
|
+
"types"
|
|
6394
|
+
]
|
|
6395
|
+
}
|
|
6396
|
+
}
|
|
6397
|
+
},
|
|
6398
|
+
"headers": {
|
|
6399
|
+
"Operation-Run-Id": {
|
|
6400
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
},
|
|
6404
|
+
"400": {
|
|
6405
|
+
"$ref": "#/components/responses/BadRequest"
|
|
6406
|
+
},
|
|
6407
|
+
"401": {
|
|
6408
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
6409
|
+
},
|
|
6410
|
+
"403": {
|
|
6411
|
+
"$ref": "#/components/responses/ForbiddenOrPolicyDeniedOrGuardrailBlocked"
|
|
6412
|
+
},
|
|
6413
|
+
"422": {
|
|
6414
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
6415
|
+
},
|
|
6416
|
+
"429": {
|
|
6417
|
+
"$ref": "#/components/responses/RateLimited"
|
|
6418
|
+
},
|
|
6419
|
+
"500": {
|
|
6420
|
+
"$ref": "#/components/responses/Internal"
|
|
6421
|
+
}
|
|
6422
|
+
},
|
|
6423
|
+
"x-catalyst-effect": "reading",
|
|
6424
|
+
"x-catalyst-rate-class": "read"
|
|
6425
|
+
}
|
|
6426
|
+
},
|
|
6427
|
+
"/api/v1/context": {
|
|
6428
|
+
"get": {
|
|
6429
|
+
"operationId": "platform.context.get",
|
|
6430
|
+
"summary": "Read the instance, its release, the asset kinds and the caller's workspaces",
|
|
6431
|
+
"tags": [
|
|
6432
|
+
"Platform"
|
|
6433
|
+
],
|
|
6434
|
+
"security": [
|
|
6435
|
+
{
|
|
6436
|
+
"sessionCookie": []
|
|
6437
|
+
},
|
|
6438
|
+
{
|
|
6439
|
+
"sessionToken": []
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
"accessToken": []
|
|
6443
|
+
}
|
|
6444
|
+
],
|
|
6445
|
+
"parameters": [],
|
|
6446
|
+
"responses": {
|
|
6447
|
+
"200": {
|
|
6448
|
+
"description": "The result",
|
|
6449
|
+
"content": {
|
|
6450
|
+
"application/json": {
|
|
6451
|
+
"schema": {
|
|
6452
|
+
"$ref": "#/components/schemas/PlatformContext"
|
|
6453
|
+
}
|
|
6454
|
+
}
|
|
6455
|
+
},
|
|
6456
|
+
"headers": {
|
|
6457
|
+
"Operation-Run-Id": {
|
|
6458
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
6459
|
+
}
|
|
6460
|
+
}
|
|
6461
|
+
},
|
|
6462
|
+
"400": {
|
|
6463
|
+
"$ref": "#/components/responses/BadRequest"
|
|
6464
|
+
},
|
|
6465
|
+
"401": {
|
|
6466
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
6467
|
+
},
|
|
6468
|
+
"403": {
|
|
6469
|
+
"$ref": "#/components/responses/ForbiddenOrPolicyDeniedOrGuardrailBlocked"
|
|
6470
|
+
},
|
|
6471
|
+
"422": {
|
|
6472
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
6473
|
+
},
|
|
6474
|
+
"429": {
|
|
6475
|
+
"$ref": "#/components/responses/RateLimited"
|
|
6476
|
+
},
|
|
6477
|
+
"500": {
|
|
6478
|
+
"$ref": "#/components/responses/Internal"
|
|
6479
|
+
}
|
|
6480
|
+
},
|
|
6481
|
+
"x-catalyst-effect": "reading",
|
|
6482
|
+
"x-catalyst-rate-class": "read"
|
|
6483
|
+
}
|
|
6484
|
+
},
|
|
6485
|
+
"/api/v1/context/docs": {
|
|
6486
|
+
"get": {
|
|
6487
|
+
"operationId": "platform.docs.get",
|
|
6488
|
+
"summary": "Read this release's product docs index, or a page from that index as Markdown",
|
|
6489
|
+
"tags": [
|
|
6490
|
+
"Platform"
|
|
6491
|
+
],
|
|
6492
|
+
"security": [
|
|
6493
|
+
{
|
|
6494
|
+
"sessionCookie": []
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"sessionToken": []
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"accessToken": []
|
|
6501
|
+
}
|
|
6502
|
+
],
|
|
6503
|
+
"parameters": [
|
|
6504
|
+
{
|
|
6505
|
+
"name": "page",
|
|
6506
|
+
"in": "query",
|
|
6507
|
+
"required": false,
|
|
6508
|
+
"schema": {
|
|
6509
|
+
"type": "string"
|
|
6510
|
+
}
|
|
6511
|
+
}
|
|
6512
|
+
],
|
|
6513
|
+
"responses": {
|
|
6514
|
+
"200": {
|
|
6515
|
+
"description": "The result",
|
|
6516
|
+
"content": {
|
|
6517
|
+
"application/json": {
|
|
6518
|
+
"schema": {
|
|
6519
|
+
"$ref": "#/components/schemas/PlatformDocs"
|
|
6520
|
+
}
|
|
6521
|
+
}
|
|
6522
|
+
},
|
|
6523
|
+
"headers": {
|
|
6524
|
+
"Operation-Run-Id": {
|
|
6525
|
+
"$ref": "#/components/headers/OperationRunId"
|
|
6526
|
+
}
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
"400": {
|
|
6530
|
+
"$ref": "#/components/responses/BadRequest"
|
|
6531
|
+
},
|
|
6532
|
+
"401": {
|
|
6533
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
6534
|
+
},
|
|
6535
|
+
"403": {
|
|
6536
|
+
"$ref": "#/components/responses/ForbiddenOrPolicyDeniedOrGuardrailBlocked"
|
|
6537
|
+
},
|
|
6538
|
+
"404": {
|
|
6539
|
+
"$ref": "#/components/responses/NotFound"
|
|
6540
|
+
},
|
|
6541
|
+
"422": {
|
|
6542
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
6543
|
+
},
|
|
6544
|
+
"429": {
|
|
6545
|
+
"$ref": "#/components/responses/RateLimited"
|
|
6546
|
+
},
|
|
6547
|
+
"500": {
|
|
6548
|
+
"$ref": "#/components/responses/Internal"
|
|
6549
|
+
}
|
|
6550
|
+
},
|
|
6551
|
+
"x-catalyst-effect": "reading",
|
|
6552
|
+
"x-catalyst-rate-class": "read"
|
|
6553
|
+
}
|
|
6554
|
+
},
|
|
6555
|
+
"/api/v1/context/references": {
|
|
6556
|
+
"get": {
|
|
6557
|
+
"operationId": "platform.references.get",
|
|
6558
|
+
"summary": "Read what a definition may refer to on this instance: models, efforts and tools",
|
|
6559
|
+
"tags": [
|
|
6560
|
+
"Platform"
|
|
6145
6561
|
],
|
|
6146
6562
|
"security": [
|
|
6147
6563
|
{
|
|
@@ -7947,10 +8363,10 @@
|
|
|
7947
8363
|
"x-catalyst-rate-class": "write"
|
|
7948
8364
|
}
|
|
7949
8365
|
},
|
|
7950
|
-
"/api/v1/conversations/{conversationId}/follow-ups/{followUpId}/
|
|
8366
|
+
"/api/v1/conversations/{conversationId}/follow-ups/{followUpId}/steer": {
|
|
7951
8367
|
"post": {
|
|
7952
|
-
"operationId": "conversations.follow_ups.
|
|
7953
|
-
"summary": "
|
|
8368
|
+
"operationId": "conversations.follow_ups.steer",
|
|
8369
|
+
"summary": "Hand your pending follow-up message to your running turn after its current step",
|
|
7954
8370
|
"tags": [
|
|
7955
8371
|
"Conversations"
|
|
7956
8372
|
],
|
|
@@ -8043,22 +8459,22 @@
|
|
|
8043
8459
|
"x-catalyst-rate-class": "write"
|
|
8044
8460
|
}
|
|
8045
8461
|
},
|
|
8046
|
-
"/api/v1/conversations/{conversationId}/
|
|
8047
|
-
"
|
|
8048
|
-
"operationId": "conversations.
|
|
8049
|
-
"summary": "
|
|
8462
|
+
"/api/v1/conversations/{conversationId}/follow-ups/{followUpId}/withdraw": {
|
|
8463
|
+
"post": {
|
|
8464
|
+
"operationId": "conversations.follow_ups.withdraw",
|
|
8465
|
+
"summary": "Withdraw your pending follow-up message",
|
|
8050
8466
|
"tags": [
|
|
8051
8467
|
"Conversations"
|
|
8052
8468
|
],
|
|
8053
8469
|
"security": [
|
|
8054
8470
|
{
|
|
8055
8471
|
"sessionCookie": [
|
|
8056
|
-
"conversation:
|
|
8472
|
+
"conversation:write"
|
|
8057
8473
|
]
|
|
8058
8474
|
},
|
|
8059
8475
|
{
|
|
8060
8476
|
"sessionToken": [
|
|
8061
|
-
"conversation:
|
|
8477
|
+
"conversation:write"
|
|
8062
8478
|
]
|
|
8063
8479
|
}
|
|
8064
8480
|
],
|
|
@@ -8072,99 +8488,7 @@
|
|
|
8072
8488
|
}
|
|
8073
8489
|
},
|
|
8074
8490
|
{
|
|
8075
|
-
"name": "
|
|
8076
|
-
"in": "query",
|
|
8077
|
-
"required": false,
|
|
8078
|
-
"schema": {
|
|
8079
|
-
"default": 50,
|
|
8080
|
-
"type": "integer",
|
|
8081
|
-
"minimum": 1,
|
|
8082
|
-
"maximum": 200
|
|
8083
|
-
}
|
|
8084
|
-
},
|
|
8085
|
-
{
|
|
8086
|
-
"name": "cursor",
|
|
8087
|
-
"in": "query",
|
|
8088
|
-
"required": false,
|
|
8089
|
-
"schema": {
|
|
8090
|
-
"type": "string",
|
|
8091
|
-
"minLength": 1
|
|
8092
|
-
}
|
|
8093
|
-
}
|
|
8094
|
-
],
|
|
8095
|
-
"responses": {
|
|
8096
|
-
"200": {
|
|
8097
|
-
"description": "One page of the list",
|
|
8098
|
-
"content": {
|
|
8099
|
-
"application/json": {
|
|
8100
|
-
"schema": {
|
|
8101
|
-
"type": "object",
|
|
8102
|
-
"properties": {
|
|
8103
|
-
"items": {
|
|
8104
|
-
"type": "array",
|
|
8105
|
-
"items": {
|
|
8106
|
-
"$ref": "#/components/schemas/Message"
|
|
8107
|
-
}
|
|
8108
|
-
},
|
|
8109
|
-
"nextCursor": {
|
|
8110
|
-
"type": "string"
|
|
8111
|
-
}
|
|
8112
|
-
},
|
|
8113
|
-
"required": [
|
|
8114
|
-
"items"
|
|
8115
|
-
]
|
|
8116
|
-
}
|
|
8117
|
-
}
|
|
8118
|
-
}
|
|
8119
|
-
},
|
|
8120
|
-
"400": {
|
|
8121
|
-
"$ref": "#/components/responses/BadRequest"
|
|
8122
|
-
},
|
|
8123
|
-
"401": {
|
|
8124
|
-
"$ref": "#/components/responses/Unauthenticated"
|
|
8125
|
-
},
|
|
8126
|
-
"403": {
|
|
8127
|
-
"$ref": "#/components/responses/Forbidden"
|
|
8128
|
-
},
|
|
8129
|
-
"404": {
|
|
8130
|
-
"$ref": "#/components/responses/NotFound"
|
|
8131
|
-
},
|
|
8132
|
-
"422": {
|
|
8133
|
-
"$ref": "#/components/responses/ValidationFailed"
|
|
8134
|
-
},
|
|
8135
|
-
"429": {
|
|
8136
|
-
"$ref": "#/components/responses/RateLimited"
|
|
8137
|
-
},
|
|
8138
|
-
"500": {
|
|
8139
|
-
"$ref": "#/components/responses/Internal"
|
|
8140
|
-
}
|
|
8141
|
-
},
|
|
8142
|
-
"x-catalyst-effect": "reading",
|
|
8143
|
-
"x-catalyst-rate-class": "read"
|
|
8144
|
-
}
|
|
8145
|
-
},
|
|
8146
|
-
"/api/v1/conversations/{conversationId}/move": {
|
|
8147
|
-
"post": {
|
|
8148
|
-
"operationId": "conversations.move",
|
|
8149
|
-
"summary": "Move a conversation to another workspace or visibility",
|
|
8150
|
-
"tags": [
|
|
8151
|
-
"Conversations"
|
|
8152
|
-
],
|
|
8153
|
-
"security": [
|
|
8154
|
-
{
|
|
8155
|
-
"sessionCookie": [
|
|
8156
|
-
"conversation:write"
|
|
8157
|
-
]
|
|
8158
|
-
},
|
|
8159
|
-
{
|
|
8160
|
-
"sessionToken": [
|
|
8161
|
-
"conversation:write"
|
|
8162
|
-
]
|
|
8163
|
-
}
|
|
8164
|
-
],
|
|
8165
|
-
"parameters": [
|
|
8166
|
-
{
|
|
8167
|
-
"name": "conversationId",
|
|
8491
|
+
"name": "followUpId",
|
|
8168
8492
|
"in": "path",
|
|
8169
8493
|
"required": true,
|
|
8170
8494
|
"schema": {
|
|
@@ -8177,7 +8501,8 @@
|
|
|
8177
8501
|
"content": {
|
|
8178
8502
|
"application/json": {
|
|
8179
8503
|
"schema": {
|
|
8180
|
-
"
|
|
8504
|
+
"type": "object",
|
|
8505
|
+
"properties": {}
|
|
8181
8506
|
}
|
|
8182
8507
|
}
|
|
8183
8508
|
}
|
|
@@ -8188,7 +8513,15 @@
|
|
|
8188
8513
|
"content": {
|
|
8189
8514
|
"application/json": {
|
|
8190
8515
|
"schema": {
|
|
8191
|
-
"
|
|
8516
|
+
"type": "object",
|
|
8517
|
+
"properties": {
|
|
8518
|
+
"followUp": {
|
|
8519
|
+
"$ref": "#/components/schemas/ConversationFollowUp"
|
|
8520
|
+
}
|
|
8521
|
+
},
|
|
8522
|
+
"required": [
|
|
8523
|
+
"followUp"
|
|
8524
|
+
]
|
|
8192
8525
|
}
|
|
8193
8526
|
}
|
|
8194
8527
|
}
|
|
@@ -8222,12 +8555,12 @@
|
|
|
8222
8555
|
"x-catalyst-rate-class": "write"
|
|
8223
8556
|
}
|
|
8224
8557
|
},
|
|
8225
|
-
"/api/v1/conversations/{conversationId}/
|
|
8558
|
+
"/api/v1/conversations/{conversationId}/messages": {
|
|
8226
8559
|
"get": {
|
|
8227
|
-
"operationId": "
|
|
8228
|
-
"summary": "List the
|
|
8560
|
+
"operationId": "conversations.messages.list",
|
|
8561
|
+
"summary": "List the messages of a conversation",
|
|
8229
8562
|
"tags": [
|
|
8230
|
-
"
|
|
8563
|
+
"Conversations"
|
|
8231
8564
|
],
|
|
8232
8565
|
"security": [
|
|
8233
8566
|
{
|
|
@@ -8282,7 +8615,7 @@
|
|
|
8282
8615
|
"items": {
|
|
8283
8616
|
"type": "array",
|
|
8284
8617
|
"items": {
|
|
8285
|
-
"$ref": "#/components/schemas/
|
|
8618
|
+
"$ref": "#/components/schemas/Message"
|
|
8286
8619
|
}
|
|
8287
8620
|
},
|
|
8288
8621
|
"nextCursor": {
|
|
@@ -8322,22 +8655,22 @@
|
|
|
8322
8655
|
"x-catalyst-rate-class": "read"
|
|
8323
8656
|
}
|
|
8324
8657
|
},
|
|
8325
|
-
"/api/v1/conversations/{conversationId}/
|
|
8326
|
-
"
|
|
8327
|
-
"operationId": "
|
|
8328
|
-
"summary": "
|
|
8658
|
+
"/api/v1/conversations/{conversationId}/move": {
|
|
8659
|
+
"post": {
|
|
8660
|
+
"operationId": "conversations.move",
|
|
8661
|
+
"summary": "Move a conversation to another workspace or visibility",
|
|
8329
8662
|
"tags": [
|
|
8330
|
-
"
|
|
8663
|
+
"Conversations"
|
|
8331
8664
|
],
|
|
8332
8665
|
"security": [
|
|
8333
8666
|
{
|
|
8334
8667
|
"sessionCookie": [
|
|
8335
|
-
"conversation:
|
|
8668
|
+
"conversation:write"
|
|
8336
8669
|
]
|
|
8337
8670
|
},
|
|
8338
8671
|
{
|
|
8339
8672
|
"sessionToken": [
|
|
8340
|
-
"conversation:
|
|
8673
|
+
"conversation:write"
|
|
8341
8674
|
]
|
|
8342
8675
|
}
|
|
8343
8676
|
],
|
|
@@ -8349,23 +8682,25 @@
|
|
|
8349
8682
|
"schema": {
|
|
8350
8683
|
"type": "string"
|
|
8351
8684
|
}
|
|
8352
|
-
},
|
|
8353
|
-
{
|
|
8354
|
-
"name": "pageId",
|
|
8355
|
-
"in": "path",
|
|
8356
|
-
"required": true,
|
|
8357
|
-
"schema": {
|
|
8358
|
-
"type": "string"
|
|
8359
|
-
}
|
|
8360
8685
|
}
|
|
8361
8686
|
],
|
|
8687
|
+
"requestBody": {
|
|
8688
|
+
"required": true,
|
|
8689
|
+
"content": {
|
|
8690
|
+
"application/json": {
|
|
8691
|
+
"schema": {
|
|
8692
|
+
"$ref": "#/components/schemas/MoveConversationRequest"
|
|
8693
|
+
}
|
|
8694
|
+
}
|
|
8695
|
+
}
|
|
8696
|
+
},
|
|
8362
8697
|
"responses": {
|
|
8363
8698
|
"200": {
|
|
8364
8699
|
"description": "The result",
|
|
8365
8700
|
"content": {
|
|
8366
8701
|
"application/json": {
|
|
8367
8702
|
"schema": {
|
|
8368
|
-
"$ref": "#/components/schemas/
|
|
8703
|
+
"$ref": "#/components/schemas/Conversation"
|
|
8369
8704
|
}
|
|
8370
8705
|
}
|
|
8371
8706
|
}
|
|
@@ -8382,6 +8717,9 @@
|
|
|
8382
8717
|
"404": {
|
|
8383
8718
|
"$ref": "#/components/responses/NotFound"
|
|
8384
8719
|
},
|
|
8720
|
+
"409": {
|
|
8721
|
+
"$ref": "#/components/responses/Conflict"
|
|
8722
|
+
},
|
|
8385
8723
|
"422": {
|
|
8386
8724
|
"$ref": "#/components/responses/ValidationFailed"
|
|
8387
8725
|
},
|
|
@@ -8392,16 +8730,16 @@
|
|
|
8392
8730
|
"$ref": "#/components/responses/Internal"
|
|
8393
8731
|
}
|
|
8394
8732
|
},
|
|
8395
|
-
"x-catalyst-effect": "
|
|
8396
|
-
"x-catalyst-rate-class": "
|
|
8733
|
+
"x-catalyst-effect": "changing",
|
|
8734
|
+
"x-catalyst-rate-class": "write"
|
|
8397
8735
|
}
|
|
8398
8736
|
},
|
|
8399
|
-
"/api/v1/conversations/{conversationId}/pages
|
|
8737
|
+
"/api/v1/conversations/{conversationId}/pages": {
|
|
8400
8738
|
"get": {
|
|
8401
|
-
"operationId": "
|
|
8402
|
-
"summary": "
|
|
8739
|
+
"operationId": "pages.list",
|
|
8740
|
+
"summary": "List the Pages of a conversation",
|
|
8403
8741
|
"tags": [
|
|
8404
|
-
"
|
|
8742
|
+
"Pages"
|
|
8405
8743
|
],
|
|
8406
8744
|
"security": [
|
|
8407
8745
|
{
|
|
@@ -8425,15 +8763,18 @@
|
|
|
8425
8763
|
}
|
|
8426
8764
|
},
|
|
8427
8765
|
{
|
|
8428
|
-
"name": "
|
|
8429
|
-
"in": "
|
|
8430
|
-
"required":
|
|
8766
|
+
"name": "limit",
|
|
8767
|
+
"in": "query",
|
|
8768
|
+
"required": false,
|
|
8431
8769
|
"schema": {
|
|
8432
|
-
"
|
|
8770
|
+
"default": 50,
|
|
8771
|
+
"type": "integer",
|
|
8772
|
+
"minimum": 1,
|
|
8773
|
+
"maximum": 200
|
|
8433
8774
|
}
|
|
8434
8775
|
},
|
|
8435
8776
|
{
|
|
8436
|
-
"name": "
|
|
8777
|
+
"name": "cursor",
|
|
8437
8778
|
"in": "query",
|
|
8438
8779
|
"required": false,
|
|
8439
8780
|
"schema": {
|
|
@@ -8444,11 +8785,25 @@
|
|
|
8444
8785
|
],
|
|
8445
8786
|
"responses": {
|
|
8446
8787
|
"200": {
|
|
8447
|
-
"description": "
|
|
8788
|
+
"description": "One page of the list",
|
|
8448
8789
|
"content": {
|
|
8449
8790
|
"application/json": {
|
|
8450
8791
|
"schema": {
|
|
8451
|
-
"
|
|
8792
|
+
"type": "object",
|
|
8793
|
+
"properties": {
|
|
8794
|
+
"items": {
|
|
8795
|
+
"type": "array",
|
|
8796
|
+
"items": {
|
|
8797
|
+
"$ref": "#/components/schemas/Page"
|
|
8798
|
+
}
|
|
8799
|
+
},
|
|
8800
|
+
"nextCursor": {
|
|
8801
|
+
"type": "string"
|
|
8802
|
+
}
|
|
8803
|
+
},
|
|
8804
|
+
"required": [
|
|
8805
|
+
"items"
|
|
8806
|
+
]
|
|
8452
8807
|
}
|
|
8453
8808
|
}
|
|
8454
8809
|
}
|
|
@@ -8479,10 +8834,10 @@
|
|
|
8479
8834
|
"x-catalyst-rate-class": "read"
|
|
8480
8835
|
}
|
|
8481
8836
|
},
|
|
8482
|
-
"/api/v1/conversations/{conversationId}/pages/{pageId}
|
|
8837
|
+
"/api/v1/conversations/{conversationId}/pages/{pageId}": {
|
|
8483
8838
|
"get": {
|
|
8484
|
-
"operationId": "pages.
|
|
8485
|
-
"summary": "Read one
|
|
8839
|
+
"operationId": "pages.get",
|
|
8840
|
+
"summary": "Read one Page with its revisions, newest first",
|
|
8486
8841
|
"tags": [
|
|
8487
8842
|
"Pages"
|
|
8488
8843
|
],
|
|
@@ -8514,24 +8869,6 @@
|
|
|
8514
8869
|
"schema": {
|
|
8515
8870
|
"type": "string"
|
|
8516
8871
|
}
|
|
8517
|
-
},
|
|
8518
|
-
{
|
|
8519
|
-
"name": "fileSetId",
|
|
8520
|
-
"in": "path",
|
|
8521
|
-
"required": true,
|
|
8522
|
-
"schema": {
|
|
8523
|
-
"type": "string"
|
|
8524
|
-
}
|
|
8525
|
-
},
|
|
8526
|
-
{
|
|
8527
|
-
"name": "path",
|
|
8528
|
-
"in": "query",
|
|
8529
|
-
"required": true,
|
|
8530
|
-
"schema": {
|
|
8531
|
-
"type": "string",
|
|
8532
|
-
"minLength": 1,
|
|
8533
|
-
"maxLength": 512
|
|
8534
|
-
}
|
|
8535
8872
|
}
|
|
8536
8873
|
],
|
|
8537
8874
|
"responses": {
|
|
@@ -8540,7 +8877,7 @@
|
|
|
8540
8877
|
"content": {
|
|
8541
8878
|
"application/json": {
|
|
8542
8879
|
"schema": {
|
|
8543
|
-
"$ref": "#/components/schemas/
|
|
8880
|
+
"$ref": "#/components/schemas/PageDetail"
|
|
8544
8881
|
}
|
|
8545
8882
|
}
|
|
8546
8883
|
}
|
|
@@ -8571,12 +8908,12 @@
|
|
|
8571
8908
|
"x-catalyst-rate-class": "read"
|
|
8572
8909
|
}
|
|
8573
8910
|
},
|
|
8574
|
-
"/api/v1/conversations/{conversationId}/pages/{pageId}/
|
|
8911
|
+
"/api/v1/conversations/{conversationId}/pages/{pageId}/app": {
|
|
8575
8912
|
"get": {
|
|
8576
|
-
"operationId": "
|
|
8577
|
-
"summary": "
|
|
8913
|
+
"operationId": "apps.get_from_page",
|
|
8914
|
+
"summary": "Read the App a Page is updated into, where the caller may write it",
|
|
8578
8915
|
"tags": [
|
|
8579
|
-
"
|
|
8916
|
+
"Apps"
|
|
8580
8917
|
],
|
|
8581
8918
|
"security": [
|
|
8582
8919
|
{
|
|
@@ -8608,11 +8945,12 @@
|
|
|
8608
8945
|
}
|
|
8609
8946
|
},
|
|
8610
8947
|
{
|
|
8611
|
-
"name": "
|
|
8612
|
-
"in": "
|
|
8613
|
-
"required":
|
|
8948
|
+
"name": "app",
|
|
8949
|
+
"in": "query",
|
|
8950
|
+
"required": false,
|
|
8614
8951
|
"schema": {
|
|
8615
|
-
"type": "string"
|
|
8952
|
+
"type": "string",
|
|
8953
|
+
"minLength": 1
|
|
8616
8954
|
}
|
|
8617
8955
|
}
|
|
8618
8956
|
],
|
|
@@ -8622,7 +8960,181 @@
|
|
|
8622
8960
|
"content": {
|
|
8623
8961
|
"application/json": {
|
|
8624
8962
|
"schema": {
|
|
8625
|
-
"$ref": "#/components/schemas/
|
|
8963
|
+
"$ref": "#/components/schemas/AppFromPage"
|
|
8964
|
+
}
|
|
8965
|
+
}
|
|
8966
|
+
}
|
|
8967
|
+
},
|
|
8968
|
+
"400": {
|
|
8969
|
+
"$ref": "#/components/responses/BadRequest"
|
|
8970
|
+
},
|
|
8971
|
+
"401": {
|
|
8972
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
8973
|
+
},
|
|
8974
|
+
"403": {
|
|
8975
|
+
"$ref": "#/components/responses/Forbidden"
|
|
8976
|
+
},
|
|
8977
|
+
"404": {
|
|
8978
|
+
"$ref": "#/components/responses/NotFound"
|
|
8979
|
+
},
|
|
8980
|
+
"422": {
|
|
8981
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
8982
|
+
},
|
|
8983
|
+
"429": {
|
|
8984
|
+
"$ref": "#/components/responses/RateLimited"
|
|
8985
|
+
},
|
|
8986
|
+
"500": {
|
|
8987
|
+
"$ref": "#/components/responses/Internal"
|
|
8988
|
+
}
|
|
8989
|
+
},
|
|
8990
|
+
"x-catalyst-effect": "reading",
|
|
8991
|
+
"x-catalyst-rate-class": "read"
|
|
8992
|
+
}
|
|
8993
|
+
},
|
|
8994
|
+
"/api/v1/conversations/{conversationId}/pages/{pageId}/file-sets/{fileSetId}/source-file": {
|
|
8995
|
+
"get": {
|
|
8996
|
+
"operationId": "pages.files.get",
|
|
8997
|
+
"summary": "Read one source file of a Page revision as text",
|
|
8998
|
+
"tags": [
|
|
8999
|
+
"Pages"
|
|
9000
|
+
],
|
|
9001
|
+
"security": [
|
|
9002
|
+
{
|
|
9003
|
+
"sessionCookie": [
|
|
9004
|
+
"conversation:read"
|
|
9005
|
+
]
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
"sessionToken": [
|
|
9009
|
+
"conversation:read"
|
|
9010
|
+
]
|
|
9011
|
+
}
|
|
9012
|
+
],
|
|
9013
|
+
"parameters": [
|
|
9014
|
+
{
|
|
9015
|
+
"name": "conversationId",
|
|
9016
|
+
"in": "path",
|
|
9017
|
+
"required": true,
|
|
9018
|
+
"schema": {
|
|
9019
|
+
"type": "string"
|
|
9020
|
+
}
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
"name": "pageId",
|
|
9024
|
+
"in": "path",
|
|
9025
|
+
"required": true,
|
|
9026
|
+
"schema": {
|
|
9027
|
+
"type": "string"
|
|
9028
|
+
}
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"name": "fileSetId",
|
|
9032
|
+
"in": "path",
|
|
9033
|
+
"required": true,
|
|
9034
|
+
"schema": {
|
|
9035
|
+
"type": "string"
|
|
9036
|
+
}
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"name": "path",
|
|
9040
|
+
"in": "query",
|
|
9041
|
+
"required": true,
|
|
9042
|
+
"schema": {
|
|
9043
|
+
"type": "string",
|
|
9044
|
+
"minLength": 1,
|
|
9045
|
+
"maxLength": 512
|
|
9046
|
+
}
|
|
9047
|
+
}
|
|
9048
|
+
],
|
|
9049
|
+
"responses": {
|
|
9050
|
+
"200": {
|
|
9051
|
+
"description": "The result",
|
|
9052
|
+
"content": {
|
|
9053
|
+
"application/json": {
|
|
9054
|
+
"schema": {
|
|
9055
|
+
"$ref": "#/components/schemas/PageSourceFile"
|
|
9056
|
+
}
|
|
9057
|
+
}
|
|
9058
|
+
}
|
|
9059
|
+
},
|
|
9060
|
+
"400": {
|
|
9061
|
+
"$ref": "#/components/responses/BadRequest"
|
|
9062
|
+
},
|
|
9063
|
+
"401": {
|
|
9064
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
9065
|
+
},
|
|
9066
|
+
"403": {
|
|
9067
|
+
"$ref": "#/components/responses/Forbidden"
|
|
9068
|
+
},
|
|
9069
|
+
"404": {
|
|
9070
|
+
"$ref": "#/components/responses/NotFound"
|
|
9071
|
+
},
|
|
9072
|
+
"422": {
|
|
9073
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
9074
|
+
},
|
|
9075
|
+
"429": {
|
|
9076
|
+
"$ref": "#/components/responses/RateLimited"
|
|
9077
|
+
},
|
|
9078
|
+
"500": {
|
|
9079
|
+
"$ref": "#/components/responses/Internal"
|
|
9080
|
+
}
|
|
9081
|
+
},
|
|
9082
|
+
"x-catalyst-effect": "reading",
|
|
9083
|
+
"x-catalyst-rate-class": "read"
|
|
9084
|
+
}
|
|
9085
|
+
},
|
|
9086
|
+
"/api/v1/conversations/{conversationId}/pages/{pageId}/file-sets/{fileSetId}/source-files": {
|
|
9087
|
+
"get": {
|
|
9088
|
+
"operationId": "pages.files.list",
|
|
9089
|
+
"summary": "List the source files of a Page revision",
|
|
9090
|
+
"tags": [
|
|
9091
|
+
"Pages"
|
|
9092
|
+
],
|
|
9093
|
+
"security": [
|
|
9094
|
+
{
|
|
9095
|
+
"sessionCookie": [
|
|
9096
|
+
"conversation:read"
|
|
9097
|
+
]
|
|
9098
|
+
},
|
|
9099
|
+
{
|
|
9100
|
+
"sessionToken": [
|
|
9101
|
+
"conversation:read"
|
|
9102
|
+
]
|
|
9103
|
+
}
|
|
9104
|
+
],
|
|
9105
|
+
"parameters": [
|
|
9106
|
+
{
|
|
9107
|
+
"name": "conversationId",
|
|
9108
|
+
"in": "path",
|
|
9109
|
+
"required": true,
|
|
9110
|
+
"schema": {
|
|
9111
|
+
"type": "string"
|
|
9112
|
+
}
|
|
9113
|
+
},
|
|
9114
|
+
{
|
|
9115
|
+
"name": "pageId",
|
|
9116
|
+
"in": "path",
|
|
9117
|
+
"required": true,
|
|
9118
|
+
"schema": {
|
|
9119
|
+
"type": "string"
|
|
9120
|
+
}
|
|
9121
|
+
},
|
|
9122
|
+
{
|
|
9123
|
+
"name": "fileSetId",
|
|
9124
|
+
"in": "path",
|
|
9125
|
+
"required": true,
|
|
9126
|
+
"schema": {
|
|
9127
|
+
"type": "string"
|
|
9128
|
+
}
|
|
9129
|
+
}
|
|
9130
|
+
],
|
|
9131
|
+
"responses": {
|
|
9132
|
+
"200": {
|
|
9133
|
+
"description": "The result",
|
|
9134
|
+
"content": {
|
|
9135
|
+
"application/json": {
|
|
9136
|
+
"schema": {
|
|
9137
|
+
"$ref": "#/components/schemas/PageSourceFileList"
|
|
8626
9138
|
}
|
|
8627
9139
|
}
|
|
8628
9140
|
}
|
|
@@ -13588,6 +14100,103 @@
|
|
|
13588
14100
|
"x-catalyst-rate-class": "write"
|
|
13589
14101
|
}
|
|
13590
14102
|
},
|
|
14103
|
+
"/api/v1/instance/access/check": {
|
|
14104
|
+
"get": {
|
|
14105
|
+
"operationId": "permissions.check",
|
|
14106
|
+
"summary": "Decide what one holder may do with one asset, with the entry that decides each right",
|
|
14107
|
+
"tags": [
|
|
14108
|
+
"Access"
|
|
14109
|
+
],
|
|
14110
|
+
"security": [
|
|
14111
|
+
{
|
|
14112
|
+
"sessionCookie": [
|
|
14113
|
+
"user_admin:read"
|
|
14114
|
+
]
|
|
14115
|
+
},
|
|
14116
|
+
{
|
|
14117
|
+
"sessionToken": [
|
|
14118
|
+
"user_admin:read"
|
|
14119
|
+
]
|
|
14120
|
+
}
|
|
14121
|
+
],
|
|
14122
|
+
"parameters": [
|
|
14123
|
+
{
|
|
14124
|
+
"name": "holderKind",
|
|
14125
|
+
"in": "query",
|
|
14126
|
+
"required": true,
|
|
14127
|
+
"schema": {
|
|
14128
|
+
"type": "string",
|
|
14129
|
+
"enum": [
|
|
14130
|
+
"user",
|
|
14131
|
+
"service_principal"
|
|
14132
|
+
]
|
|
14133
|
+
}
|
|
14134
|
+
},
|
|
14135
|
+
{
|
|
14136
|
+
"name": "holderId",
|
|
14137
|
+
"in": "query",
|
|
14138
|
+
"required": true,
|
|
14139
|
+
"schema": {
|
|
14140
|
+
"type": "string",
|
|
14141
|
+
"minLength": 1
|
|
14142
|
+
}
|
|
14143
|
+
},
|
|
14144
|
+
{
|
|
14145
|
+
"name": "kind",
|
|
14146
|
+
"in": "query",
|
|
14147
|
+
"required": true,
|
|
14148
|
+
"schema": {
|
|
14149
|
+
"type": "string",
|
|
14150
|
+
"minLength": 1
|
|
14151
|
+
}
|
|
14152
|
+
},
|
|
14153
|
+
{
|
|
14154
|
+
"name": "assetId",
|
|
14155
|
+
"in": "query",
|
|
14156
|
+
"required": false,
|
|
14157
|
+
"schema": {
|
|
14158
|
+
"type": "string",
|
|
14159
|
+
"minLength": 1
|
|
14160
|
+
}
|
|
14161
|
+
}
|
|
14162
|
+
],
|
|
14163
|
+
"responses": {
|
|
14164
|
+
"200": {
|
|
14165
|
+
"description": "The result",
|
|
14166
|
+
"content": {
|
|
14167
|
+
"application/json": {
|
|
14168
|
+
"schema": {
|
|
14169
|
+
"$ref": "#/components/schemas/AssetRightsCheck"
|
|
14170
|
+
}
|
|
14171
|
+
}
|
|
14172
|
+
}
|
|
14173
|
+
},
|
|
14174
|
+
"400": {
|
|
14175
|
+
"$ref": "#/components/responses/BadRequest"
|
|
14176
|
+
},
|
|
14177
|
+
"401": {
|
|
14178
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
14179
|
+
},
|
|
14180
|
+
"403": {
|
|
14181
|
+
"$ref": "#/components/responses/Forbidden"
|
|
14182
|
+
},
|
|
14183
|
+
"404": {
|
|
14184
|
+
"$ref": "#/components/responses/NotFound"
|
|
14185
|
+
},
|
|
14186
|
+
"422": {
|
|
14187
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
14188
|
+
},
|
|
14189
|
+
"429": {
|
|
14190
|
+
"$ref": "#/components/responses/RateLimited"
|
|
14191
|
+
},
|
|
14192
|
+
"500": {
|
|
14193
|
+
"$ref": "#/components/responses/Internal"
|
|
14194
|
+
}
|
|
14195
|
+
},
|
|
14196
|
+
"x-catalyst-effect": "reading",
|
|
14197
|
+
"x-catalyst-rate-class": "read"
|
|
14198
|
+
}
|
|
14199
|
+
},
|
|
13591
14200
|
"/api/v1/instance/access/effective": {
|
|
13592
14201
|
"get": {
|
|
13593
14202
|
"operationId": "permissions.effective",
|
|
@@ -14049,6 +14658,85 @@
|
|
|
14049
14658
|
"x-catalyst-rate-class": "write"
|
|
14050
14659
|
}
|
|
14051
14660
|
},
|
|
14661
|
+
"/api/v1/instance/access/rights": {
|
|
14662
|
+
"get": {
|
|
14663
|
+
"operationId": "permissions.rights",
|
|
14664
|
+
"summary": "List what one holder holds and is refused, each right decided with where it comes from",
|
|
14665
|
+
"tags": [
|
|
14666
|
+
"Access"
|
|
14667
|
+
],
|
|
14668
|
+
"security": [
|
|
14669
|
+
{
|
|
14670
|
+
"sessionCookie": [
|
|
14671
|
+
"user_admin:read"
|
|
14672
|
+
]
|
|
14673
|
+
},
|
|
14674
|
+
{
|
|
14675
|
+
"sessionToken": [
|
|
14676
|
+
"user_admin:read"
|
|
14677
|
+
]
|
|
14678
|
+
}
|
|
14679
|
+
],
|
|
14680
|
+
"parameters": [
|
|
14681
|
+
{
|
|
14682
|
+
"name": "holderKind",
|
|
14683
|
+
"in": "query",
|
|
14684
|
+
"required": true,
|
|
14685
|
+
"schema": {
|
|
14686
|
+
"type": "string",
|
|
14687
|
+
"enum": [
|
|
14688
|
+
"user",
|
|
14689
|
+
"service_principal"
|
|
14690
|
+
]
|
|
14691
|
+
}
|
|
14692
|
+
},
|
|
14693
|
+
{
|
|
14694
|
+
"name": "holderId",
|
|
14695
|
+
"in": "query",
|
|
14696
|
+
"required": true,
|
|
14697
|
+
"schema": {
|
|
14698
|
+
"type": "string",
|
|
14699
|
+
"minLength": 1
|
|
14700
|
+
}
|
|
14701
|
+
}
|
|
14702
|
+
],
|
|
14703
|
+
"responses": {
|
|
14704
|
+
"200": {
|
|
14705
|
+
"description": "The result",
|
|
14706
|
+
"content": {
|
|
14707
|
+
"application/json": {
|
|
14708
|
+
"schema": {
|
|
14709
|
+
"$ref": "#/components/schemas/HolderRights"
|
|
14710
|
+
}
|
|
14711
|
+
}
|
|
14712
|
+
}
|
|
14713
|
+
},
|
|
14714
|
+
"400": {
|
|
14715
|
+
"$ref": "#/components/responses/BadRequest"
|
|
14716
|
+
},
|
|
14717
|
+
"401": {
|
|
14718
|
+
"$ref": "#/components/responses/Unauthenticated"
|
|
14719
|
+
},
|
|
14720
|
+
"403": {
|
|
14721
|
+
"$ref": "#/components/responses/Forbidden"
|
|
14722
|
+
},
|
|
14723
|
+
"404": {
|
|
14724
|
+
"$ref": "#/components/responses/NotFound"
|
|
14725
|
+
},
|
|
14726
|
+
"422": {
|
|
14727
|
+
"$ref": "#/components/responses/ValidationFailed"
|
|
14728
|
+
},
|
|
14729
|
+
"429": {
|
|
14730
|
+
"$ref": "#/components/responses/RateLimited"
|
|
14731
|
+
},
|
|
14732
|
+
"500": {
|
|
14733
|
+
"$ref": "#/components/responses/Internal"
|
|
14734
|
+
}
|
|
14735
|
+
},
|
|
14736
|
+
"x-catalyst-effect": "reading",
|
|
14737
|
+
"x-catalyst-rate-class": "read"
|
|
14738
|
+
}
|
|
14739
|
+
},
|
|
14052
14740
|
"/api/v1/instance/access/roles": {
|
|
14053
14741
|
"get": {
|
|
14054
14742
|
"operationId": "roles.list",
|
|
@@ -14304,7 +14992,7 @@
|
|
|
14304
14992
|
},
|
|
14305
14993
|
"patch": {
|
|
14306
14994
|
"operationId": "roles.update",
|
|
14307
|
-
"summary": "Change a role's name, description or grants.
|
|
14995
|
+
"summary": "Change a role's name, description or grants. Editing `user` and `admin` also needs `roles.edit_built_in`; `superadmin` is never edited.",
|
|
14308
14996
|
"tags": [
|
|
14309
14997
|
"Access"
|
|
14310
14998
|
],
|
|
@@ -14552,7 +15240,7 @@
|
|
|
14552
15240
|
"/api/v1/instance/access/roles/{roleId}/pending": {
|
|
14553
15241
|
"post": {
|
|
14554
15242
|
"operationId": "roles.pending.decide",
|
|
14555
|
-
"summary": "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it.
|
|
15243
|
+
"summary": "Decide one action a release changed in the default of an edited `user` or `admin`: apply it or dismiss it. Needs `users.manage` and `roles.edit_built_in`.",
|
|
14556
15244
|
"tags": [
|
|
14557
15245
|
"Access"
|
|
14558
15246
|
],
|
|
@@ -14682,7 +15370,7 @@
|
|
|
14682
15370
|
"/api/v1/instance/access/roles/{roleId}/reset": {
|
|
14683
15371
|
"post": {
|
|
14684
15372
|
"operationId": "roles.reset",
|
|
14685
|
-
"summary": "Reset `user` or `admin` to the release's default, which also settles every pending action.
|
|
15373
|
+
"summary": "Reset `user` or `admin` to the release's default, which also settles every pending action. Needs `users.manage` and `roles.edit_built_in`.",
|
|
14686
15374
|
"tags": [
|
|
14687
15375
|
"Access"
|
|
14688
15376
|
],
|
|
@@ -28123,11 +28811,18 @@
|
|
|
28123
28811
|
"type": "integer",
|
|
28124
28812
|
"exclusiveMinimum": 0,
|
|
28125
28813
|
"maximum": 9007199254740991
|
|
28814
|
+
},
|
|
28815
|
+
"warnings": {
|
|
28816
|
+
"type": "array",
|
|
28817
|
+
"items": {
|
|
28818
|
+
"$ref": "#/components/schemas/AssetWarning"
|
|
28819
|
+
}
|
|
28126
28820
|
}
|
|
28127
28821
|
},
|
|
28128
28822
|
"required": [
|
|
28129
28823
|
"draftRevision",
|
|
28130
|
-
"unpublishedRevision"
|
|
28824
|
+
"unpublishedRevision",
|
|
28825
|
+
"warnings"
|
|
28131
28826
|
]
|
|
28132
28827
|
}
|
|
28133
28828
|
}
|
|
@@ -30615,6 +31310,91 @@
|
|
|
30615
31310
|
}
|
|
30616
31311
|
},
|
|
30617
31312
|
"schemas": {
|
|
31313
|
+
"AccessOrigin": {
|
|
31314
|
+
"type": "object",
|
|
31315
|
+
"properties": {
|
|
31316
|
+
"effect": {
|
|
31317
|
+
"$ref": "#/components/schemas/GrantEffect"
|
|
31318
|
+
},
|
|
31319
|
+
"scopeKind": {
|
|
31320
|
+
"$ref": "#/components/schemas/GrantScopeKind"
|
|
31321
|
+
},
|
|
31322
|
+
"scopeId": {
|
|
31323
|
+
"type": "string"
|
|
31324
|
+
},
|
|
31325
|
+
"source": {
|
|
31326
|
+
"type": "string",
|
|
31327
|
+
"enum": [
|
|
31328
|
+
"role",
|
|
31329
|
+
"legacy_ref",
|
|
31330
|
+
"grant",
|
|
31331
|
+
"membership"
|
|
31332
|
+
]
|
|
31333
|
+
},
|
|
31334
|
+
"roleId": {
|
|
31335
|
+
"type": "string"
|
|
31336
|
+
},
|
|
31337
|
+
"scopeAsset": {
|
|
31338
|
+
"type": "object",
|
|
31339
|
+
"properties": {
|
|
31340
|
+
"kind": {
|
|
31341
|
+
"type": "string"
|
|
31342
|
+
},
|
|
31343
|
+
"name": {
|
|
31344
|
+
"type": "string"
|
|
31345
|
+
},
|
|
31346
|
+
"title": {
|
|
31347
|
+
"type": "string"
|
|
31348
|
+
},
|
|
31349
|
+
"active": {
|
|
31350
|
+
"type": "boolean"
|
|
31351
|
+
}
|
|
31352
|
+
},
|
|
31353
|
+
"required": [
|
|
31354
|
+
"kind",
|
|
31355
|
+
"active"
|
|
31356
|
+
]
|
|
31357
|
+
},
|
|
31358
|
+
"scopeWorkspace": {
|
|
31359
|
+
"type": "object",
|
|
31360
|
+
"properties": {
|
|
31361
|
+
"personal": {
|
|
31362
|
+
"type": "boolean"
|
|
31363
|
+
},
|
|
31364
|
+
"name": {
|
|
31365
|
+
"type": "string"
|
|
31366
|
+
}
|
|
31367
|
+
},
|
|
31368
|
+
"required": [
|
|
31369
|
+
"personal"
|
|
31370
|
+
]
|
|
31371
|
+
}
|
|
31372
|
+
},
|
|
31373
|
+
"required": [
|
|
31374
|
+
"effect",
|
|
31375
|
+
"scopeKind",
|
|
31376
|
+
"source"
|
|
31377
|
+
]
|
|
31378
|
+
},
|
|
31379
|
+
"AccessOriginRole": {
|
|
31380
|
+
"type": "object",
|
|
31381
|
+
"properties": {
|
|
31382
|
+
"id": {
|
|
31383
|
+
"type": "string"
|
|
31384
|
+
},
|
|
31385
|
+
"name": {
|
|
31386
|
+
"type": "string"
|
|
31387
|
+
},
|
|
31388
|
+
"builtIn": {
|
|
31389
|
+
"type": "boolean"
|
|
31390
|
+
}
|
|
31391
|
+
},
|
|
31392
|
+
"required": [
|
|
31393
|
+
"id",
|
|
31394
|
+
"name",
|
|
31395
|
+
"builtIn"
|
|
31396
|
+
]
|
|
31397
|
+
},
|
|
30618
31398
|
"ActiveRunSummary": {
|
|
30619
31399
|
"type": "object",
|
|
30620
31400
|
"properties": {
|
|
@@ -31348,6 +32128,30 @@
|
|
|
31348
32128
|
"open"
|
|
31349
32129
|
]
|
|
31350
32130
|
},
|
|
32131
|
+
{
|
|
32132
|
+
"type": "object",
|
|
32133
|
+
"properties": {
|
|
32134
|
+
"type": {
|
|
32135
|
+
"type": "string",
|
|
32136
|
+
"const": "user_message"
|
|
32137
|
+
},
|
|
32138
|
+
"messageId": {
|
|
32139
|
+
"type": "string"
|
|
32140
|
+
},
|
|
32141
|
+
"text": {
|
|
32142
|
+
"type": "string"
|
|
32143
|
+
},
|
|
32144
|
+
"createdAt": {
|
|
32145
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32146
|
+
}
|
|
32147
|
+
},
|
|
32148
|
+
"required": [
|
|
32149
|
+
"type",
|
|
32150
|
+
"messageId",
|
|
32151
|
+
"text",
|
|
32152
|
+
"createdAt"
|
|
32153
|
+
]
|
|
32154
|
+
},
|
|
31351
32155
|
{
|
|
31352
32156
|
"type": "object",
|
|
31353
32157
|
"properties": {
|
|
@@ -31598,6 +32402,66 @@
|
|
|
31598
32402
|
"message"
|
|
31599
32403
|
]
|
|
31600
32404
|
},
|
|
32405
|
+
{
|
|
32406
|
+
"type": "object",
|
|
32407
|
+
"properties": {
|
|
32408
|
+
"type": {
|
|
32409
|
+
"type": "string",
|
|
32410
|
+
"const": "user_message_steered"
|
|
32411
|
+
},
|
|
32412
|
+
"runId": {
|
|
32413
|
+
"type": "string"
|
|
32414
|
+
},
|
|
32415
|
+
"sequence": {
|
|
32416
|
+
"type": "number"
|
|
32417
|
+
},
|
|
32418
|
+
"createdAt": {
|
|
32419
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32420
|
+
},
|
|
32421
|
+
"followUpId": {
|
|
32422
|
+
"type": "string"
|
|
32423
|
+
},
|
|
32424
|
+
"message": {
|
|
32425
|
+
"type": "object",
|
|
32426
|
+
"properties": {
|
|
32427
|
+
"id": {
|
|
32428
|
+
"type": "string"
|
|
32429
|
+
},
|
|
32430
|
+
"role": {
|
|
32431
|
+
"type": "string",
|
|
32432
|
+
"const": "user"
|
|
32433
|
+
},
|
|
32434
|
+
"text": {
|
|
32435
|
+
"type": "string"
|
|
32436
|
+
},
|
|
32437
|
+
"createdAt": {
|
|
32438
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
32439
|
+
},
|
|
32440
|
+
"metadata": {
|
|
32441
|
+
"type": "object",
|
|
32442
|
+
"propertyNames": {
|
|
32443
|
+
"type": "string"
|
|
32444
|
+
},
|
|
32445
|
+
"additionalProperties": {}
|
|
32446
|
+
}
|
|
32447
|
+
},
|
|
32448
|
+
"required": [
|
|
32449
|
+
"id",
|
|
32450
|
+
"role",
|
|
32451
|
+
"text",
|
|
32452
|
+
"createdAt"
|
|
32453
|
+
]
|
|
32454
|
+
}
|
|
32455
|
+
},
|
|
32456
|
+
"required": [
|
|
32457
|
+
"type",
|
|
32458
|
+
"runId",
|
|
32459
|
+
"sequence",
|
|
32460
|
+
"createdAt",
|
|
32461
|
+
"followUpId",
|
|
32462
|
+
"message"
|
|
32463
|
+
]
|
|
32464
|
+
},
|
|
31601
32465
|
{
|
|
31602
32466
|
"type": "object",
|
|
31603
32467
|
"properties": {
|
|
@@ -32101,6 +32965,41 @@
|
|
|
32101
32965
|
"preview"
|
|
32102
32966
|
]
|
|
32103
32967
|
},
|
|
32968
|
+
"AllowDraftHostRequest": {
|
|
32969
|
+
"type": "object",
|
|
32970
|
+
"properties": {
|
|
32971
|
+
"fileSetId": {
|
|
32972
|
+
"type": "string",
|
|
32973
|
+
"minLength": 1,
|
|
32974
|
+
"maxLength": 200
|
|
32975
|
+
},
|
|
32976
|
+
"host": {
|
|
32977
|
+
"type": "string",
|
|
32978
|
+
"minLength": 1,
|
|
32979
|
+
"maxLength": 253
|
|
32980
|
+
}
|
|
32981
|
+
},
|
|
32982
|
+
"required": [
|
|
32983
|
+
"fileSetId",
|
|
32984
|
+
"host"
|
|
32985
|
+
]
|
|
32986
|
+
},
|
|
32987
|
+
"AllowDraftHostResponse": {
|
|
32988
|
+
"type": "object",
|
|
32989
|
+
"properties": {
|
|
32990
|
+
"host": {
|
|
32991
|
+
"type": "string"
|
|
32992
|
+
},
|
|
32993
|
+
"allowed": {
|
|
32994
|
+
"type": "boolean",
|
|
32995
|
+
"const": true
|
|
32996
|
+
}
|
|
32997
|
+
},
|
|
32998
|
+
"required": [
|
|
32999
|
+
"host",
|
|
33000
|
+
"allowed"
|
|
33001
|
+
]
|
|
33002
|
+
},
|
|
32104
33003
|
"AnnotateFeedbackRequest": {
|
|
32105
33004
|
"type": "object",
|
|
32106
33005
|
"properties": {
|
|
@@ -32222,6 +33121,13 @@
|
|
|
32222
33121
|
"locale": {
|
|
32223
33122
|
"$ref": "#/components/schemas/LocaleCode"
|
|
32224
33123
|
},
|
|
33124
|
+
"followUpMode": {
|
|
33125
|
+
"type": "string",
|
|
33126
|
+
"enum": [
|
|
33127
|
+
"queue",
|
|
33128
|
+
"steer"
|
|
33129
|
+
]
|
|
33130
|
+
},
|
|
32225
33131
|
"instanceAdminName": {
|
|
32226
33132
|
"type": "string"
|
|
32227
33133
|
},
|
|
@@ -32807,6 +33713,15 @@
|
|
|
32807
33713
|
"pageSessionId": {
|
|
32808
33714
|
"type": "string"
|
|
32809
33715
|
},
|
|
33716
|
+
"heldBackHosts": {
|
|
33717
|
+
"type": "array",
|
|
33718
|
+
"items": {
|
|
33719
|
+
"type": "string"
|
|
33720
|
+
}
|
|
33721
|
+
},
|
|
33722
|
+
"draftHosts": {
|
|
33723
|
+
"$ref": "#/components/schemas/DraftHosts"
|
|
33724
|
+
},
|
|
32810
33725
|
"unassignedScopes": {
|
|
32811
33726
|
"type": "array",
|
|
32812
33727
|
"items": {
|
|
@@ -32820,12 +33735,6 @@
|
|
|
32820
33735
|
},
|
|
32821
33736
|
"interfacePath": {
|
|
32822
33737
|
"type": "string"
|
|
32823
|
-
},
|
|
32824
|
-
"heldBackHosts": {
|
|
32825
|
-
"type": "array",
|
|
32826
|
-
"items": {
|
|
32827
|
-
"type": "string"
|
|
32828
|
-
}
|
|
32829
33738
|
}
|
|
32830
33739
|
},
|
|
32831
33740
|
"required": [
|
|
@@ -32834,9 +33743,9 @@
|
|
|
32834
33743
|
"fileSetId",
|
|
32835
33744
|
"number",
|
|
32836
33745
|
"pageSessionId",
|
|
33746
|
+
"heldBackHosts",
|
|
32837
33747
|
"revision",
|
|
32838
|
-
"interfacePath"
|
|
32839
|
-
"heldBackHosts"
|
|
33748
|
+
"interfacePath"
|
|
32840
33749
|
]
|
|
32841
33750
|
},
|
|
32842
33751
|
"AppPreviewRequest": {
|
|
@@ -33906,6 +34815,98 @@
|
|
|
33906
34815
|
"type": "string",
|
|
33907
34816
|
"pattern": "^(?:draft|published|[1-9]\\d{0,8})$"
|
|
33908
34817
|
},
|
|
34818
|
+
"AssetRightsCheck": {
|
|
34819
|
+
"type": "object",
|
|
34820
|
+
"properties": {
|
|
34821
|
+
"holderActive": {
|
|
34822
|
+
"type": "boolean"
|
|
34823
|
+
},
|
|
34824
|
+
"roles": {
|
|
34825
|
+
"type": "array",
|
|
34826
|
+
"items": {
|
|
34827
|
+
"$ref": "#/components/schemas/AccessOriginRole"
|
|
34828
|
+
}
|
|
34829
|
+
},
|
|
34830
|
+
"actions": {
|
|
34831
|
+
"type": "array",
|
|
34832
|
+
"items": {
|
|
34833
|
+
"type": "object",
|
|
34834
|
+
"properties": {
|
|
34835
|
+
"availability": {
|
|
34836
|
+
"type": "string",
|
|
34837
|
+
"enum": [
|
|
34838
|
+
"self",
|
|
34839
|
+
"workspace",
|
|
34840
|
+
"instance"
|
|
34841
|
+
]
|
|
34842
|
+
},
|
|
34843
|
+
"onlyInWorkspaces": {
|
|
34844
|
+
"type": "array",
|
|
34845
|
+
"items": {
|
|
34846
|
+
"type": "object",
|
|
34847
|
+
"properties": {
|
|
34848
|
+
"personal": {
|
|
34849
|
+
"type": "boolean"
|
|
34850
|
+
},
|
|
34851
|
+
"name": {
|
|
34852
|
+
"type": "string"
|
|
34853
|
+
}
|
|
34854
|
+
},
|
|
34855
|
+
"required": [
|
|
34856
|
+
"personal"
|
|
34857
|
+
]
|
|
34858
|
+
}
|
|
34859
|
+
},
|
|
34860
|
+
"verb": {
|
|
34861
|
+
"type": "string",
|
|
34862
|
+
"enum": [
|
|
34863
|
+
"read",
|
|
34864
|
+
"use",
|
|
34865
|
+
"write",
|
|
34866
|
+
"delete"
|
|
34867
|
+
]
|
|
34868
|
+
},
|
|
34869
|
+
"action": {
|
|
34870
|
+
"type": "string"
|
|
34871
|
+
},
|
|
34872
|
+
"allowed": {
|
|
34873
|
+
"type": "boolean"
|
|
34874
|
+
},
|
|
34875
|
+
"reason": {
|
|
34876
|
+
"type": "string",
|
|
34877
|
+
"enum": [
|
|
34878
|
+
"denied",
|
|
34879
|
+
"no_grant",
|
|
34880
|
+
"holder_inactive"
|
|
34881
|
+
]
|
|
34882
|
+
},
|
|
34883
|
+
"decidedBy": {
|
|
34884
|
+
"$ref": "#/components/schemas/AccessOrigin"
|
|
34885
|
+
},
|
|
34886
|
+
"deniedThrough": {
|
|
34887
|
+
"type": "string",
|
|
34888
|
+
"enum": [
|
|
34889
|
+
"read",
|
|
34890
|
+
"use",
|
|
34891
|
+
"write",
|
|
34892
|
+
"delete"
|
|
34893
|
+
]
|
|
34894
|
+
}
|
|
34895
|
+
},
|
|
34896
|
+
"required": [
|
|
34897
|
+
"verb",
|
|
34898
|
+
"action",
|
|
34899
|
+
"allowed"
|
|
34900
|
+
]
|
|
34901
|
+
}
|
|
34902
|
+
}
|
|
34903
|
+
},
|
|
34904
|
+
"required": [
|
|
34905
|
+
"holderActive",
|
|
34906
|
+
"roles",
|
|
34907
|
+
"actions"
|
|
34908
|
+
]
|
|
34909
|
+
},
|
|
33909
34910
|
"AssetScope": {
|
|
33910
34911
|
"oneOf": [
|
|
33911
34912
|
{
|
|
@@ -35799,7 +36800,8 @@
|
|
|
35799
36800
|
"mode": {
|
|
35800
36801
|
"type": "string",
|
|
35801
36802
|
"enum": [
|
|
35802
|
-
"queue"
|
|
36803
|
+
"queue",
|
|
36804
|
+
"steer"
|
|
35803
36805
|
]
|
|
35804
36806
|
},
|
|
35805
36807
|
"status": {
|
|
@@ -35807,6 +36809,7 @@
|
|
|
35807
36809
|
"enum": [
|
|
35808
36810
|
"pending",
|
|
35809
36811
|
"dispatched",
|
|
36812
|
+
"consumed",
|
|
35810
36813
|
"cancelled"
|
|
35811
36814
|
]
|
|
35812
36815
|
},
|
|
@@ -36617,9 +37620,12 @@
|
|
|
36617
37620
|
"type": "object",
|
|
36618
37621
|
"properties": {
|
|
36619
37622
|
"followUp": {
|
|
36620
|
-
"description": "
|
|
37623
|
+
"description": "What happens when this conversation has an active run. `queue` sends the message as the next turn. `steer` hands it to the running turn at its next step when the run is the caller's own under the same credential and the message has no attachments, and queues it otherwise. Without this option, an active run still returns CONFLICT.",
|
|
36621
37624
|
"type": "string",
|
|
36622
|
-
"
|
|
37625
|
+
"enum": [
|
|
37626
|
+
"queue",
|
|
37627
|
+
"steer"
|
|
37628
|
+
]
|
|
36623
37629
|
},
|
|
36624
37630
|
"idempotencyKey": {
|
|
36625
37631
|
"type": "string",
|
|
@@ -37142,6 +38148,24 @@
|
|
|
37142
38148
|
"attachments"
|
|
37143
38149
|
]
|
|
37144
38150
|
},
|
|
38151
|
+
"DraftHosts": {
|
|
38152
|
+
"type": "object",
|
|
38153
|
+
"properties": {
|
|
38154
|
+
"allowable": {
|
|
38155
|
+
"type": "array",
|
|
38156
|
+
"items": {
|
|
38157
|
+
"type": "string"
|
|
38158
|
+
}
|
|
38159
|
+
},
|
|
38160
|
+
"readsData": {
|
|
38161
|
+
"type": "boolean"
|
|
38162
|
+
}
|
|
38163
|
+
},
|
|
38164
|
+
"required": [
|
|
38165
|
+
"allowable",
|
|
38166
|
+
"readsData"
|
|
38167
|
+
]
|
|
38168
|
+
},
|
|
37145
38169
|
"EffectivePermissions": {
|
|
37146
38170
|
"type": "object",
|
|
37147
38171
|
"properties": {
|
|
@@ -37378,6 +38402,128 @@
|
|
|
37378
38402
|
"asset"
|
|
37379
38403
|
]
|
|
37380
38404
|
},
|
|
38405
|
+
"HolderRights": {
|
|
38406
|
+
"type": "object",
|
|
38407
|
+
"properties": {
|
|
38408
|
+
"holderActive": {
|
|
38409
|
+
"type": "boolean"
|
|
38410
|
+
},
|
|
38411
|
+
"roles": {
|
|
38412
|
+
"type": "array",
|
|
38413
|
+
"items": {
|
|
38414
|
+
"$ref": "#/components/schemas/AccessOriginRole"
|
|
38415
|
+
}
|
|
38416
|
+
},
|
|
38417
|
+
"rights": {
|
|
38418
|
+
"type": "array",
|
|
38419
|
+
"items": {
|
|
38420
|
+
"type": "object",
|
|
38421
|
+
"properties": {
|
|
38422
|
+
"action": {
|
|
38423
|
+
"type": "string"
|
|
38424
|
+
},
|
|
38425
|
+
"scopeKind": {
|
|
38426
|
+
"$ref": "#/components/schemas/GrantScopeKind"
|
|
38427
|
+
},
|
|
38428
|
+
"scopeId": {
|
|
38429
|
+
"type": "string"
|
|
38430
|
+
},
|
|
38431
|
+
"allowed": {
|
|
38432
|
+
"type": "boolean"
|
|
38433
|
+
},
|
|
38434
|
+
"reason": {
|
|
38435
|
+
"type": "string",
|
|
38436
|
+
"enum": [
|
|
38437
|
+
"denied",
|
|
38438
|
+
"no_grant",
|
|
38439
|
+
"holder_inactive"
|
|
38440
|
+
]
|
|
38441
|
+
},
|
|
38442
|
+
"grantedBy": {
|
|
38443
|
+
"type": "array",
|
|
38444
|
+
"items": {
|
|
38445
|
+
"$ref": "#/components/schemas/AccessOrigin"
|
|
38446
|
+
}
|
|
38447
|
+
},
|
|
38448
|
+
"deniedBy": {
|
|
38449
|
+
"$ref": "#/components/schemas/AccessOrigin"
|
|
38450
|
+
},
|
|
38451
|
+
"scopeAsset": {
|
|
38452
|
+
"type": "object",
|
|
38453
|
+
"properties": {
|
|
38454
|
+
"kind": {
|
|
38455
|
+
"type": "string"
|
|
38456
|
+
},
|
|
38457
|
+
"name": {
|
|
38458
|
+
"type": "string"
|
|
38459
|
+
},
|
|
38460
|
+
"title": {
|
|
38461
|
+
"type": "string"
|
|
38462
|
+
},
|
|
38463
|
+
"active": {
|
|
38464
|
+
"type": "boolean"
|
|
38465
|
+
}
|
|
38466
|
+
},
|
|
38467
|
+
"required": [
|
|
38468
|
+
"kind",
|
|
38469
|
+
"active"
|
|
38470
|
+
]
|
|
38471
|
+
},
|
|
38472
|
+
"scopeWorkspace": {
|
|
38473
|
+
"type": "object",
|
|
38474
|
+
"properties": {
|
|
38475
|
+
"personal": {
|
|
38476
|
+
"type": "boolean"
|
|
38477
|
+
},
|
|
38478
|
+
"name": {
|
|
38479
|
+
"type": "string"
|
|
38480
|
+
}
|
|
38481
|
+
},
|
|
38482
|
+
"required": [
|
|
38483
|
+
"personal"
|
|
38484
|
+
]
|
|
38485
|
+
},
|
|
38486
|
+
"availability": {
|
|
38487
|
+
"type": "string",
|
|
38488
|
+
"enum": [
|
|
38489
|
+
"self",
|
|
38490
|
+
"workspace",
|
|
38491
|
+
"instance"
|
|
38492
|
+
]
|
|
38493
|
+
},
|
|
38494
|
+
"onlyInWorkspaces": {
|
|
38495
|
+
"type": "array",
|
|
38496
|
+
"items": {
|
|
38497
|
+
"type": "object",
|
|
38498
|
+
"properties": {
|
|
38499
|
+
"personal": {
|
|
38500
|
+
"type": "boolean"
|
|
38501
|
+
},
|
|
38502
|
+
"name": {
|
|
38503
|
+
"type": "string"
|
|
38504
|
+
}
|
|
38505
|
+
},
|
|
38506
|
+
"required": [
|
|
38507
|
+
"personal"
|
|
38508
|
+
]
|
|
38509
|
+
}
|
|
38510
|
+
}
|
|
38511
|
+
},
|
|
38512
|
+
"required": [
|
|
38513
|
+
"action",
|
|
38514
|
+
"scopeKind",
|
|
38515
|
+
"allowed",
|
|
38516
|
+
"grantedBy"
|
|
38517
|
+
]
|
|
38518
|
+
}
|
|
38519
|
+
}
|
|
38520
|
+
},
|
|
38521
|
+
"required": [
|
|
38522
|
+
"holderActive",
|
|
38523
|
+
"roles",
|
|
38524
|
+
"rights"
|
|
38525
|
+
]
|
|
38526
|
+
},
|
|
37381
38527
|
"Infrastructure": {
|
|
37382
38528
|
"type": "object",
|
|
37383
38529
|
"properties": {
|
|
@@ -39613,6 +40759,15 @@
|
|
|
39613
40759
|
},
|
|
39614
40760
|
"pageSessionId": {
|
|
39615
40761
|
"type": "string"
|
|
40762
|
+
},
|
|
40763
|
+
"heldBackHosts": {
|
|
40764
|
+
"type": "array",
|
|
40765
|
+
"items": {
|
|
40766
|
+
"type": "string"
|
|
40767
|
+
}
|
|
40768
|
+
},
|
|
40769
|
+
"draftHosts": {
|
|
40770
|
+
"$ref": "#/components/schemas/DraftHosts"
|
|
39616
40771
|
}
|
|
39617
40772
|
},
|
|
39618
40773
|
"required": [
|
|
@@ -41606,9 +42761,12 @@
|
|
|
41606
42761
|
"type": "object",
|
|
41607
42762
|
"properties": {
|
|
41608
42763
|
"followUp": {
|
|
41609
|
-
"description": "
|
|
42764
|
+
"description": "What happens when this conversation has an active run. `queue` sends the message as the next turn. `steer` hands it to the running turn at its next step when the run is the caller's own under the same credential and the message has no attachments, and queues it otherwise. Without this option, an active run still returns CONFLICT.",
|
|
41610
42765
|
"type": "string",
|
|
41611
|
-
"
|
|
42766
|
+
"enum": [
|
|
42767
|
+
"queue",
|
|
42768
|
+
"steer"
|
|
42769
|
+
]
|
|
41612
42770
|
},
|
|
41613
42771
|
"idempotencyKey": {
|
|
41614
42772
|
"type": "string",
|
|
@@ -42272,6 +43430,13 @@
|
|
|
42272
43430
|
"type": "null"
|
|
42273
43431
|
}
|
|
42274
43432
|
]
|
|
43433
|
+
},
|
|
43434
|
+
"followUpMode": {
|
|
43435
|
+
"type": "string",
|
|
43436
|
+
"enum": [
|
|
43437
|
+
"queue",
|
|
43438
|
+
"steer"
|
|
43439
|
+
]
|
|
42275
43440
|
}
|
|
42276
43441
|
}
|
|
42277
43442
|
},
|
|
@@ -42574,7 +43739,30 @@
|
|
|
42574
43739
|
"source"
|
|
42575
43740
|
]
|
|
42576
43741
|
},
|
|
42577
|
-
"attachmentManifest": {}
|
|
43742
|
+
"attachmentManifest": {},
|
|
43743
|
+
"steered": {
|
|
43744
|
+
"type": "object",
|
|
43745
|
+
"properties": {
|
|
43746
|
+
"runId": {
|
|
43747
|
+
"type": "string"
|
|
43748
|
+
},
|
|
43749
|
+
"followUpId": {
|
|
43750
|
+
"type": "string"
|
|
43751
|
+
},
|
|
43752
|
+
"authorUserId": {
|
|
43753
|
+
"type": "string"
|
|
43754
|
+
},
|
|
43755
|
+
"typedAt": {
|
|
43756
|
+
"$ref": "#/components/schemas/Timestamp"
|
|
43757
|
+
}
|
|
43758
|
+
},
|
|
43759
|
+
"required": [
|
|
43760
|
+
"runId",
|
|
43761
|
+
"followUpId",
|
|
43762
|
+
"authorUserId",
|
|
43763
|
+
"typedAt"
|
|
43764
|
+
]
|
|
43765
|
+
}
|
|
42578
43766
|
},
|
|
42579
43767
|
"required": [
|
|
42580
43768
|
"version",
|