@talonic/docs 0.21.90 → 0.21.94
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/content.js +1057 -370
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/seo.js +1027 -359
- package/openapi.json +844 -180
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -159,6 +159,10 @@ var generated_nav_default = {
|
|
|
159
159
|
id: "ref-suggestions",
|
|
160
160
|
label: "Suggestions"
|
|
161
161
|
},
|
|
162
|
+
{
|
|
163
|
+
id: "ref-team",
|
|
164
|
+
label: "Team"
|
|
165
|
+
},
|
|
162
166
|
{
|
|
163
167
|
id: "ref-access-and-sharing",
|
|
164
168
|
label: "Access & sharing"
|
|
@@ -54324,31 +54328,38 @@ var openapi_default = {
|
|
|
54324
54328
|
}
|
|
54325
54329
|
}
|
|
54326
54330
|
},
|
|
54327
|
-
"/v1/sources/
|
|
54331
|
+
"/v1/sources/egress": {
|
|
54328
54332
|
get: {
|
|
54329
|
-
operationId: "
|
|
54333
|
+
operationId: "getSourceEgress",
|
|
54330
54334
|
"x-audience": "public",
|
|
54331
54335
|
"x-required-scopes": [
|
|
54332
54336
|
"read"
|
|
54333
54337
|
],
|
|
54334
|
-
summary: "
|
|
54335
|
-
description: "Whether this workspace
|
|
54338
|
+
summary: "Get the workspace's dedicated egress IPs",
|
|
54339
|
+
description: "Whether Talonic has given this workspace dedicated sync egress: every source then connects from fixed IP addresses that a customer firewall can allow. `ips` lists them when `enabled` is true and is empty otherwise.\n\n**Scope:** `read` or `sources:read`.\n",
|
|
54336
54340
|
tags: [
|
|
54337
54341
|
"Sources"
|
|
54338
54342
|
],
|
|
54339
54343
|
responses: {
|
|
54340
54344
|
"200": {
|
|
54341
|
-
description: "
|
|
54345
|
+
description: "Egress state of the workspace.",
|
|
54342
54346
|
content: {
|
|
54343
54347
|
"application/json": {
|
|
54344
54348
|
schema: {
|
|
54345
54349
|
type: "object",
|
|
54346
54350
|
required: [
|
|
54347
|
-
"
|
|
54351
|
+
"enabled",
|
|
54352
|
+
"ips"
|
|
54348
54353
|
],
|
|
54349
54354
|
properties: {
|
|
54350
|
-
|
|
54355
|
+
enabled: {
|
|
54351
54356
|
type: "boolean"
|
|
54357
|
+
},
|
|
54358
|
+
ips: {
|
|
54359
|
+
type: "array",
|
|
54360
|
+
items: {
|
|
54361
|
+
type: "string"
|
|
54362
|
+
}
|
|
54352
54363
|
}
|
|
54353
54364
|
}
|
|
54354
54365
|
}
|
|
@@ -54367,15 +54378,15 @@ var openapi_default = {
|
|
|
54367
54378
|
}
|
|
54368
54379
|
}
|
|
54369
54380
|
},
|
|
54370
|
-
"/v1/sources/
|
|
54381
|
+
"/v1/sources/slack/sign-in": {
|
|
54371
54382
|
get: {
|
|
54372
|
-
operationId: "
|
|
54383
|
+
operationId: "getSlackSignInAvailability",
|
|
54373
54384
|
"x-audience": "public",
|
|
54374
54385
|
"x-required-scopes": [
|
|
54375
54386
|
"read"
|
|
54376
54387
|
],
|
|
54377
|
-
summary: "Check
|
|
54378
|
-
description: "Whether this
|
|
54388
|
+
summary: "Check Slack sign-in availability",
|
|
54389
|
+
description: "Whether this deployment offers connecting Slack through a browser sign-in (`POST /v1/integrations/slack/authorize`). When it does not, connect Slack with a token (`POST /v1/sources/connections/slack`).\n\n**Scope:** `read` or `sources:read`.\n",
|
|
54379
54390
|
tags: [
|
|
54380
54391
|
"Sources"
|
|
54381
54392
|
],
|
|
@@ -54410,37 +54421,80 @@ var openapi_default = {
|
|
|
54410
54421
|
}
|
|
54411
54422
|
}
|
|
54412
54423
|
},
|
|
54413
|
-
"/v1/sources/
|
|
54414
|
-
|
|
54415
|
-
operationId: "
|
|
54424
|
+
"/v1/sources/connections/s3": {
|
|
54425
|
+
post: {
|
|
54426
|
+
operationId: "connectS3Source",
|
|
54416
54427
|
"x-audience": "public",
|
|
54417
54428
|
"x-required-scopes": [
|
|
54418
|
-
"
|
|
54429
|
+
"sources:write"
|
|
54419
54430
|
],
|
|
54420
|
-
summary: "
|
|
54421
|
-
description: "
|
|
54431
|
+
summary: "Connect Amazon S3",
|
|
54432
|
+
description: "Connects an Amazon S3 bucket (or an S3-compatible store through `endpoint_url`) with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54422
54433
|
tags: [
|
|
54423
54434
|
"Sources"
|
|
54424
54435
|
],
|
|
54436
|
+
requestBody: {
|
|
54437
|
+
required: true,
|
|
54438
|
+
content: {
|
|
54439
|
+
"application/json": {
|
|
54440
|
+
schema: {
|
|
54441
|
+
type: "object",
|
|
54442
|
+
required: [
|
|
54443
|
+
"name",
|
|
54444
|
+
"access_key_id",
|
|
54445
|
+
"secret_access_key"
|
|
54446
|
+
],
|
|
54447
|
+
properties: {
|
|
54448
|
+
name: {
|
|
54449
|
+
type: "string",
|
|
54450
|
+
maxLength: 200,
|
|
54451
|
+
description: "Display name."
|
|
54452
|
+
},
|
|
54453
|
+
access_key_id: {
|
|
54454
|
+
type: "string",
|
|
54455
|
+
maxLength: 200,
|
|
54456
|
+
description: "Access key id."
|
|
54457
|
+
},
|
|
54458
|
+
secret_access_key: {
|
|
54459
|
+
type: "string",
|
|
54460
|
+
maxLength: 500,
|
|
54461
|
+
writeOnly: true,
|
|
54462
|
+
description: "Secret access key. Write-only."
|
|
54463
|
+
},
|
|
54464
|
+
region: {
|
|
54465
|
+
type: "string",
|
|
54466
|
+
maxLength: 50,
|
|
54467
|
+
description: "Bucket region."
|
|
54468
|
+
},
|
|
54469
|
+
endpoint_url: {
|
|
54470
|
+
type: "string",
|
|
54471
|
+
maxLength: 500,
|
|
54472
|
+
description: "Endpoint of an S3-compatible store."
|
|
54473
|
+
},
|
|
54474
|
+
bucket: {
|
|
54475
|
+
type: "string",
|
|
54476
|
+
maxLength: 255,
|
|
54477
|
+
description: "Bucket name."
|
|
54478
|
+
}
|
|
54479
|
+
}
|
|
54480
|
+
}
|
|
54481
|
+
}
|
|
54482
|
+
}
|
|
54483
|
+
},
|
|
54425
54484
|
responses: {
|
|
54426
|
-
"
|
|
54427
|
-
description: "
|
|
54485
|
+
"201": {
|
|
54486
|
+
description: "The new connection (without its credentials).",
|
|
54428
54487
|
content: {
|
|
54429
54488
|
"application/json": {
|
|
54430
54489
|
schema: {
|
|
54431
|
-
|
|
54432
|
-
required: [
|
|
54433
|
-
"available"
|
|
54434
|
-
],
|
|
54435
|
-
properties: {
|
|
54436
|
-
available: {
|
|
54437
|
-
type: "boolean"
|
|
54438
|
-
}
|
|
54439
|
-
}
|
|
54490
|
+
$ref: "#/components/schemas/SourceConnection"
|
|
54440
54491
|
}
|
|
54441
54492
|
}
|
|
54442
54493
|
}
|
|
54443
54494
|
},
|
|
54495
|
+
"400": {
|
|
54496
|
+
$ref: "#/components/responses/BadRequest"
|
|
54497
|
+
},
|
|
54444
54498
|
"401": {
|
|
54445
54499
|
$ref: "#/components/responses/Unauthorized"
|
|
54446
54500
|
},
|
|
@@ -54453,37 +54507,74 @@ var openapi_default = {
|
|
|
54453
54507
|
}
|
|
54454
54508
|
}
|
|
54455
54509
|
},
|
|
54456
|
-
"/v1/sources/
|
|
54457
|
-
|
|
54458
|
-
operationId: "
|
|
54510
|
+
"/v1/sources/connections/azure-blob": {
|
|
54511
|
+
post: {
|
|
54512
|
+
operationId: "connectAzureBlobSource",
|
|
54459
54513
|
"x-audience": "public",
|
|
54460
54514
|
"x-required-scopes": [
|
|
54461
|
-
"
|
|
54515
|
+
"sources:write"
|
|
54462
54516
|
],
|
|
54463
|
-
summary: "
|
|
54464
|
-
description: "
|
|
54517
|
+
summary: "Connect Azure Blob Storage",
|
|
54518
|
+
description: "Connects Azure Blob Storage with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. Send either `connection_string`, or `account_name` + `sas_token` + `sas_container`; both forms or neither answers 400. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54465
54519
|
tags: [
|
|
54466
54520
|
"Sources"
|
|
54467
54521
|
],
|
|
54522
|
+
requestBody: {
|
|
54523
|
+
required: true,
|
|
54524
|
+
content: {
|
|
54525
|
+
"application/json": {
|
|
54526
|
+
schema: {
|
|
54527
|
+
type: "object",
|
|
54528
|
+
required: [
|
|
54529
|
+
"name"
|
|
54530
|
+
],
|
|
54531
|
+
properties: {
|
|
54532
|
+
name: {
|
|
54533
|
+
type: "string",
|
|
54534
|
+
maxLength: 200,
|
|
54535
|
+
description: "Display name."
|
|
54536
|
+
},
|
|
54537
|
+
connection_string: {
|
|
54538
|
+
type: "string",
|
|
54539
|
+
maxLength: 4e3,
|
|
54540
|
+
writeOnly: true,
|
|
54541
|
+
description: "Storage account connection string. Write-only."
|
|
54542
|
+
},
|
|
54543
|
+
account_name: {
|
|
54544
|
+
type: "string",
|
|
54545
|
+
maxLength: 200,
|
|
54546
|
+
description: "Storage account name."
|
|
54547
|
+
},
|
|
54548
|
+
sas_token: {
|
|
54549
|
+
type: "string",
|
|
54550
|
+
maxLength: 4e3,
|
|
54551
|
+
writeOnly: true,
|
|
54552
|
+
description: "Shared access signature token. Write-only."
|
|
54553
|
+
},
|
|
54554
|
+
sas_container: {
|
|
54555
|
+
type: "string",
|
|
54556
|
+
maxLength: 200,
|
|
54557
|
+
description: "Container the SAS token grants."
|
|
54558
|
+
}
|
|
54559
|
+
}
|
|
54560
|
+
}
|
|
54561
|
+
}
|
|
54562
|
+
}
|
|
54563
|
+
},
|
|
54468
54564
|
responses: {
|
|
54469
|
-
"
|
|
54470
|
-
description: "
|
|
54565
|
+
"201": {
|
|
54566
|
+
description: "The new connection (without its credentials).",
|
|
54471
54567
|
content: {
|
|
54472
54568
|
"application/json": {
|
|
54473
54569
|
schema: {
|
|
54474
|
-
|
|
54475
|
-
required: [
|
|
54476
|
-
"available"
|
|
54477
|
-
],
|
|
54478
|
-
properties: {
|
|
54479
|
-
available: {
|
|
54480
|
-
type: "boolean"
|
|
54481
|
-
}
|
|
54482
|
-
}
|
|
54570
|
+
$ref: "#/components/schemas/SourceConnection"
|
|
54483
54571
|
}
|
|
54484
54572
|
}
|
|
54485
54573
|
}
|
|
54486
54574
|
},
|
|
54575
|
+
"400": {
|
|
54576
|
+
$ref: "#/components/responses/BadRequest"
|
|
54577
|
+
},
|
|
54487
54578
|
"401": {
|
|
54488
54579
|
$ref: "#/components/responses/Unauthorized"
|
|
54489
54580
|
},
|
|
@@ -54496,15 +54587,15 @@ var openapi_default = {
|
|
|
54496
54587
|
}
|
|
54497
54588
|
}
|
|
54498
54589
|
},
|
|
54499
|
-
"/v1/sources/connections/
|
|
54590
|
+
"/v1/sources/connections/granola": {
|
|
54500
54591
|
post: {
|
|
54501
|
-
operationId: "
|
|
54592
|
+
operationId: "connectGranolaSource",
|
|
54502
54593
|
"x-audience": "public",
|
|
54503
54594
|
"x-required-scopes": [
|
|
54504
54595
|
"sources:write"
|
|
54505
54596
|
],
|
|
54506
|
-
summary: "Connect
|
|
54507
|
-
description: "Connects
|
|
54597
|
+
summary: "Connect Granola",
|
|
54598
|
+
description: "Connects Granola meeting notes with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. This is a personal connection: only the person who connected it manages it and reads from it. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54508
54599
|
tags: [
|
|
54509
54600
|
"Sources"
|
|
54510
54601
|
],
|
|
@@ -54516,8 +54607,7 @@ var openapi_default = {
|
|
|
54516
54607
|
type: "object",
|
|
54517
54608
|
required: [
|
|
54518
54609
|
"name",
|
|
54519
|
-
"
|
|
54520
|
-
"secret_access_key"
|
|
54610
|
+
"api_key"
|
|
54521
54611
|
],
|
|
54522
54612
|
properties: {
|
|
54523
54613
|
name: {
|
|
@@ -54525,260 +54615,91 @@ var openapi_default = {
|
|
|
54525
54615
|
maxLength: 200,
|
|
54526
54616
|
description: "Display name."
|
|
54527
54617
|
},
|
|
54528
|
-
|
|
54529
|
-
type: "string",
|
|
54530
|
-
maxLength: 200,
|
|
54531
|
-
description: "Access key id."
|
|
54532
|
-
},
|
|
54533
|
-
secret_access_key: {
|
|
54618
|
+
api_key: {
|
|
54534
54619
|
type: "string",
|
|
54535
54620
|
maxLength: 500,
|
|
54536
54621
|
writeOnly: true,
|
|
54537
|
-
description: "
|
|
54622
|
+
description: "Granola API key. Write-only."
|
|
54538
54623
|
},
|
|
54539
|
-
|
|
54624
|
+
owner_email: {
|
|
54540
54625
|
type: "string",
|
|
54541
|
-
|
|
54542
|
-
description: "
|
|
54626
|
+
format: "email",
|
|
54627
|
+
description: "Keep only notes this person owns or was shared."
|
|
54543
54628
|
},
|
|
54544
|
-
|
|
54629
|
+
intake: {
|
|
54630
|
+
type: "object",
|
|
54631
|
+
additionalProperties: true,
|
|
54632
|
+
description: "First-read choices applied the moment the connection exists, in the shape `PATCH /v1/sources/connections/{id}/intake` takes."
|
|
54633
|
+
}
|
|
54634
|
+
}
|
|
54635
|
+
}
|
|
54636
|
+
}
|
|
54637
|
+
}
|
|
54638
|
+
},
|
|
54639
|
+
responses: {
|
|
54640
|
+
"201": {
|
|
54641
|
+
description: "The new connection (without its credentials).",
|
|
54642
|
+
content: {
|
|
54643
|
+
"application/json": {
|
|
54644
|
+
schema: {
|
|
54645
|
+
$ref: "#/components/schemas/SourceConnection"
|
|
54646
|
+
}
|
|
54647
|
+
}
|
|
54648
|
+
}
|
|
54649
|
+
},
|
|
54650
|
+
"400": {
|
|
54651
|
+
$ref: "#/components/responses/BadRequest"
|
|
54652
|
+
},
|
|
54653
|
+
"401": {
|
|
54654
|
+
$ref: "#/components/responses/Unauthorized"
|
|
54655
|
+
},
|
|
54656
|
+
"403": {
|
|
54657
|
+
$ref: "#/components/responses/Forbidden"
|
|
54658
|
+
},
|
|
54659
|
+
"429": {
|
|
54660
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
54661
|
+
}
|
|
54662
|
+
}
|
|
54663
|
+
}
|
|
54664
|
+
},
|
|
54665
|
+
"/v1/sources/connections/slack": {
|
|
54666
|
+
post: {
|
|
54667
|
+
operationId: "connectSlackSource",
|
|
54668
|
+
"x-audience": "public",
|
|
54669
|
+
"x-required-scopes": [
|
|
54670
|
+
"sources:write"
|
|
54671
|
+
],
|
|
54672
|
+
summary: "Connect Slack with a token",
|
|
54673
|
+
description: "Connects Slack with a token with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. This is a personal connection: only the person who connected it manages it and reads from it. Where the deployment offers it, `POST /v1/integrations/slack/authorize` connects Slack through a browser sign-in instead. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54674
|
+
tags: [
|
|
54675
|
+
"Sources"
|
|
54676
|
+
],
|
|
54677
|
+
requestBody: {
|
|
54678
|
+
required: true,
|
|
54679
|
+
content: {
|
|
54680
|
+
"application/json": {
|
|
54681
|
+
schema: {
|
|
54682
|
+
type: "object",
|
|
54683
|
+
required: [
|
|
54684
|
+
"name",
|
|
54685
|
+
"token"
|
|
54686
|
+
],
|
|
54687
|
+
properties: {
|
|
54688
|
+
name: {
|
|
54545
54689
|
type: "string",
|
|
54546
|
-
maxLength:
|
|
54547
|
-
description: "
|
|
54690
|
+
maxLength: 200,
|
|
54691
|
+
description: "Display name."
|
|
54548
54692
|
},
|
|
54549
|
-
|
|
54693
|
+
token: {
|
|
54550
54694
|
type: "string",
|
|
54551
|
-
maxLength:
|
|
54552
|
-
|
|
54695
|
+
maxLength: 500,
|
|
54696
|
+
writeOnly: true,
|
|
54697
|
+
description: "Slack token. Write-only."
|
|
54553
54698
|
},
|
|
54554
|
-
|
|
54555
|
-
type: "
|
|
54556
|
-
|
|
54557
|
-
|
|
54558
|
-
}
|
|
54559
|
-
}
|
|
54560
|
-
}
|
|
54561
|
-
}
|
|
54562
|
-
},
|
|
54563
|
-
responses: {
|
|
54564
|
-
"201": {
|
|
54565
|
-
description: "The new connection (without its credentials).",
|
|
54566
|
-
content: {
|
|
54567
|
-
"application/json": {
|
|
54568
|
-
schema: {
|
|
54569
|
-
$ref: "#/components/schemas/SourceConnection"
|
|
54570
|
-
}
|
|
54571
|
-
}
|
|
54572
|
-
}
|
|
54573
|
-
},
|
|
54574
|
-
"400": {
|
|
54575
|
-
$ref: "#/components/responses/BadRequest"
|
|
54576
|
-
},
|
|
54577
|
-
"401": {
|
|
54578
|
-
$ref: "#/components/responses/Unauthorized"
|
|
54579
|
-
},
|
|
54580
|
-
"403": {
|
|
54581
|
-
$ref: "#/components/responses/Forbidden"
|
|
54582
|
-
},
|
|
54583
|
-
"429": {
|
|
54584
|
-
$ref: "#/components/responses/RateLimitExceeded"
|
|
54585
|
-
}
|
|
54586
|
-
}
|
|
54587
|
-
}
|
|
54588
|
-
},
|
|
54589
|
-
"/v1/sources/connections/azure-blob": {
|
|
54590
|
-
post: {
|
|
54591
|
-
operationId: "connectAzureBlobSource",
|
|
54592
|
-
"x-audience": "public",
|
|
54593
|
-
"x-required-scopes": [
|
|
54594
|
-
"sources:write"
|
|
54595
|
-
],
|
|
54596
|
-
summary: "Connect Azure Blob Storage",
|
|
54597
|
-
description: "Connects Azure Blob Storage with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. Send either `connection_string`, or `account_name` + `sas_token` + `sas_container`; both forms or neither answers 400. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54598
|
-
tags: [
|
|
54599
|
-
"Sources"
|
|
54600
|
-
],
|
|
54601
|
-
requestBody: {
|
|
54602
|
-
required: true,
|
|
54603
|
-
content: {
|
|
54604
|
-
"application/json": {
|
|
54605
|
-
schema: {
|
|
54606
|
-
type: "object",
|
|
54607
|
-
required: [
|
|
54608
|
-
"name"
|
|
54609
|
-
],
|
|
54610
|
-
properties: {
|
|
54611
|
-
name: {
|
|
54612
|
-
type: "string",
|
|
54613
|
-
maxLength: 200,
|
|
54614
|
-
description: "Display name."
|
|
54615
|
-
},
|
|
54616
|
-
connection_string: {
|
|
54617
|
-
type: "string",
|
|
54618
|
-
maxLength: 4e3,
|
|
54619
|
-
writeOnly: true,
|
|
54620
|
-
description: "Storage account connection string. Write-only."
|
|
54621
|
-
},
|
|
54622
|
-
account_name: {
|
|
54623
|
-
type: "string",
|
|
54624
|
-
maxLength: 200,
|
|
54625
|
-
description: "Storage account name."
|
|
54626
|
-
},
|
|
54627
|
-
sas_token: {
|
|
54628
|
-
type: "string",
|
|
54629
|
-
maxLength: 4e3,
|
|
54630
|
-
writeOnly: true,
|
|
54631
|
-
description: "Shared access signature token. Write-only."
|
|
54632
|
-
},
|
|
54633
|
-
sas_container: {
|
|
54634
|
-
type: "string",
|
|
54635
|
-
maxLength: 200,
|
|
54636
|
-
description: "Container the SAS token grants."
|
|
54637
|
-
}
|
|
54638
|
-
}
|
|
54639
|
-
}
|
|
54640
|
-
}
|
|
54641
|
-
}
|
|
54642
|
-
},
|
|
54643
|
-
responses: {
|
|
54644
|
-
"201": {
|
|
54645
|
-
description: "The new connection (without its credentials).",
|
|
54646
|
-
content: {
|
|
54647
|
-
"application/json": {
|
|
54648
|
-
schema: {
|
|
54649
|
-
$ref: "#/components/schemas/SourceConnection"
|
|
54650
|
-
}
|
|
54651
|
-
}
|
|
54652
|
-
}
|
|
54653
|
-
},
|
|
54654
|
-
"400": {
|
|
54655
|
-
$ref: "#/components/responses/BadRequest"
|
|
54656
|
-
},
|
|
54657
|
-
"401": {
|
|
54658
|
-
$ref: "#/components/responses/Unauthorized"
|
|
54659
|
-
},
|
|
54660
|
-
"403": {
|
|
54661
|
-
$ref: "#/components/responses/Forbidden"
|
|
54662
|
-
},
|
|
54663
|
-
"429": {
|
|
54664
|
-
$ref: "#/components/responses/RateLimitExceeded"
|
|
54665
|
-
}
|
|
54666
|
-
}
|
|
54667
|
-
}
|
|
54668
|
-
},
|
|
54669
|
-
"/v1/sources/connections/granola": {
|
|
54670
|
-
post: {
|
|
54671
|
-
operationId: "connectGranolaSource",
|
|
54672
|
-
"x-audience": "public",
|
|
54673
|
-
"x-required-scopes": [
|
|
54674
|
-
"sources:write"
|
|
54675
|
-
],
|
|
54676
|
-
summary: "Connect Granola",
|
|
54677
|
-
description: "Connects Granola meeting notes with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. This is a personal connection: only the person who connected it manages it and reads from it. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54678
|
-
tags: [
|
|
54679
|
-
"Sources"
|
|
54680
|
-
],
|
|
54681
|
-
requestBody: {
|
|
54682
|
-
required: true,
|
|
54683
|
-
content: {
|
|
54684
|
-
"application/json": {
|
|
54685
|
-
schema: {
|
|
54686
|
-
type: "object",
|
|
54687
|
-
required: [
|
|
54688
|
-
"name",
|
|
54689
|
-
"api_key"
|
|
54690
|
-
],
|
|
54691
|
-
properties: {
|
|
54692
|
-
name: {
|
|
54693
|
-
type: "string",
|
|
54694
|
-
maxLength: 200,
|
|
54695
|
-
description: "Display name."
|
|
54696
|
-
},
|
|
54697
|
-
api_key: {
|
|
54698
|
-
type: "string",
|
|
54699
|
-
maxLength: 500,
|
|
54700
|
-
writeOnly: true,
|
|
54701
|
-
description: "Granola API key. Write-only."
|
|
54702
|
-
},
|
|
54703
|
-
owner_email: {
|
|
54704
|
-
type: "string",
|
|
54705
|
-
format: "email",
|
|
54706
|
-
description: "Keep only notes this person owns or was shared."
|
|
54707
|
-
},
|
|
54708
|
-
intake: {
|
|
54709
|
-
type: "object",
|
|
54710
|
-
additionalProperties: true,
|
|
54711
|
-
description: "First-read choices applied the moment the connection exists, in the shape `PATCH /v1/sources/connections/{id}/intake` takes."
|
|
54712
|
-
}
|
|
54713
|
-
}
|
|
54714
|
-
}
|
|
54715
|
-
}
|
|
54716
|
-
}
|
|
54717
|
-
},
|
|
54718
|
-
responses: {
|
|
54719
|
-
"201": {
|
|
54720
|
-
description: "The new connection (without its credentials).",
|
|
54721
|
-
content: {
|
|
54722
|
-
"application/json": {
|
|
54723
|
-
schema: {
|
|
54724
|
-
$ref: "#/components/schemas/SourceConnection"
|
|
54725
|
-
}
|
|
54726
|
-
}
|
|
54727
|
-
}
|
|
54728
|
-
},
|
|
54729
|
-
"400": {
|
|
54730
|
-
$ref: "#/components/responses/BadRequest"
|
|
54731
|
-
},
|
|
54732
|
-
"401": {
|
|
54733
|
-
$ref: "#/components/responses/Unauthorized"
|
|
54734
|
-
},
|
|
54735
|
-
"403": {
|
|
54736
|
-
$ref: "#/components/responses/Forbidden"
|
|
54737
|
-
},
|
|
54738
|
-
"429": {
|
|
54739
|
-
$ref: "#/components/responses/RateLimitExceeded"
|
|
54740
|
-
}
|
|
54741
|
-
}
|
|
54742
|
-
}
|
|
54743
|
-
},
|
|
54744
|
-
"/v1/sources/connections/slack": {
|
|
54745
|
-
post: {
|
|
54746
|
-
operationId: "connectSlackSource",
|
|
54747
|
-
"x-audience": "public",
|
|
54748
|
-
"x-required-scopes": [
|
|
54749
|
-
"sources:write"
|
|
54750
|
-
],
|
|
54751
|
-
summary: "Connect Slack with a token",
|
|
54752
|
-
description: "Connects Slack with a token with credentials sent once. The credentials are checked against the system before the connection is saved; secrets in the body are write-only, stored encrypted and never returned. This is a personal connection: only the person who connected it manages it and reads from it. Where the deployment offers it, `POST /v1/integrations/slack/authorize` connects Slack through a browser sign-in instead. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `sources:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
54753
|
-
tags: [
|
|
54754
|
-
"Sources"
|
|
54755
|
-
],
|
|
54756
|
-
requestBody: {
|
|
54757
|
-
required: true,
|
|
54758
|
-
content: {
|
|
54759
|
-
"application/json": {
|
|
54760
|
-
schema: {
|
|
54761
|
-
type: "object",
|
|
54762
|
-
required: [
|
|
54763
|
-
"name",
|
|
54764
|
-
"token"
|
|
54765
|
-
],
|
|
54766
|
-
properties: {
|
|
54767
|
-
name: {
|
|
54768
|
-
type: "string",
|
|
54769
|
-
maxLength: 200,
|
|
54770
|
-
description: "Display name."
|
|
54771
|
-
},
|
|
54772
|
-
token: {
|
|
54773
|
-
type: "string",
|
|
54774
|
-
maxLength: 500,
|
|
54775
|
-
writeOnly: true,
|
|
54776
|
-
description: "Slack token. Write-only."
|
|
54777
|
-
},
|
|
54778
|
-
intake: {
|
|
54779
|
-
type: "object",
|
|
54780
|
-
additionalProperties: true,
|
|
54781
|
-
description: "First-read choices applied the moment the connection exists, in the shape `PATCH /v1/sources/connections/{id}/intake` takes."
|
|
54699
|
+
intake: {
|
|
54700
|
+
type: "object",
|
|
54701
|
+
additionalProperties: true,
|
|
54702
|
+
description: "First-read choices applied the moment the connection exists, in the shape `PATCH /v1/sources/connections/{id}/intake` takes."
|
|
54782
54703
|
}
|
|
54783
54704
|
}
|
|
54784
54705
|
}
|
|
@@ -54875,10 +54796,6 @@ var openapi_default = {
|
|
|
54875
54796
|
maxLength: 1e3,
|
|
54876
54797
|
writeOnly: true,
|
|
54877
54798
|
description: "Password, for `auth_mode: password`. Write-only."
|
|
54878
|
-
},
|
|
54879
|
-
dedicated_egress: {
|
|
54880
|
-
type: "boolean",
|
|
54881
|
-
description: "Route every call through the workspace's fixed outbound address."
|
|
54882
54799
|
}
|
|
54883
54800
|
}
|
|
54884
54801
|
}
|
|
@@ -54954,10 +54871,6 @@ var openapi_default = {
|
|
|
54954
54871
|
maxLength: 2048,
|
|
54955
54872
|
writeOnly: true,
|
|
54956
54873
|
description: "Connection string including credentials. Write-only."
|
|
54957
|
-
},
|
|
54958
|
-
dedicated_egress: {
|
|
54959
|
-
type: "boolean",
|
|
54960
|
-
description: "Connect through the workspace's fixed outbound address."
|
|
54961
54874
|
}
|
|
54962
54875
|
}
|
|
54963
54876
|
}
|
|
@@ -56206,10 +56119,6 @@ var openapi_default = {
|
|
|
56206
56119
|
quick_extraction: {
|
|
56207
56120
|
type: "boolean",
|
|
56208
56121
|
description: "Use quick extraction for files brought in from this connection."
|
|
56209
|
-
},
|
|
56210
|
-
dedicated_egress: {
|
|
56211
|
-
type: "boolean",
|
|
56212
|
-
description: "Route every call through the workspace's fixed outbound address; turning it on checks the bucket is reachable that way first."
|
|
56213
56122
|
}
|
|
56214
56123
|
}
|
|
56215
56124
|
}
|
|
@@ -56280,10 +56189,6 @@ var openapi_default = {
|
|
|
56280
56189
|
type: "string",
|
|
56281
56190
|
pattern: "^[a-z]{2}(-[A-Za-z]{2})?$",
|
|
56282
56191
|
description: "Language for localized Kendox names, e.g. `de`, `en`, `de-CH`."
|
|
56283
|
-
},
|
|
56284
|
-
dedicated_egress: {
|
|
56285
|
-
type: "boolean",
|
|
56286
|
-
description: "Route every call through the workspace's fixed outbound address."
|
|
56287
56192
|
}
|
|
56288
56193
|
}
|
|
56289
56194
|
}
|
|
@@ -56355,10 +56260,6 @@ var openapi_default = {
|
|
|
56355
56260
|
minLength: 1,
|
|
56356
56261
|
maxLength: 255,
|
|
56357
56262
|
description: "New display name."
|
|
56358
|
-
},
|
|
56359
|
-
dedicated_egress: {
|
|
56360
|
-
type: "boolean",
|
|
56361
|
-
description: "Connect through the workspace's fixed outbound address; turning it on checks the database is reachable that way first."
|
|
56362
56263
|
}
|
|
56363
56264
|
}
|
|
56364
56265
|
}
|
|
@@ -57286,7 +57187,7 @@ var openapi_default = {
|
|
|
57286
57187
|
"documents:write"
|
|
57287
57188
|
],
|
|
57288
57189
|
summary: "Import files from a connection",
|
|
57289
|
-
description: "Brings the named files (ids from `GET /v1/sources/{id}/browse`) in as documents of the workspace, attributed to the caller's person, and processes them. Files already imported are skipped. A personal connection can be imported from only by the person who connected it. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Scope:** `documents:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
57190
|
+
description: "Brings the named files (ids from `GET /v1/sources/{id}/browse`) in as documents of the workspace, attributed to the caller's person, and processes them. Files already imported are skipped. A personal connection can be imported from only by the person who connected it. A key that belongs to no person (one created before keys named their creator) is refused with 403.\n\n**Two ways.** Without `async` the call imports before it answers (`201` with what was imported, skipped or failed): fit for a few files, since every file is fetched and read inside the request. With `async: true` the import is recorded and answered at once (`202` with the import run), then carried out in the background as the same person; read its progress and outcome from `GET /v1/sources/{id}/import-runs/{runId}`. Files that fail do not stop the others, and importing the same selection again brings in only what is not in yet. `folder_ids` (a mail, a thread, a directory: the files directly inside each are imported) exist only with `async: true`.\n\n**Scope:** `documents:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
57290
57191
|
tags: [
|
|
57291
57192
|
"Sources"
|
|
57292
57193
|
],
|
|
@@ -57301,9 +57202,6 @@ var openapi_default = {
|
|
|
57301
57202
|
"application/json": {
|
|
57302
57203
|
schema: {
|
|
57303
57204
|
type: "object",
|
|
57304
|
-
required: [
|
|
57305
|
-
"file_ids"
|
|
57306
|
-
],
|
|
57307
57205
|
properties: {
|
|
57308
57206
|
file_ids: {
|
|
57309
57207
|
type: "array",
|
|
@@ -57312,7 +57210,20 @@ var openapi_default = {
|
|
|
57312
57210
|
items: {
|
|
57313
57211
|
type: "string"
|
|
57314
57212
|
},
|
|
57315
|
-
description: "File ids to import."
|
|
57213
|
+
description: "File ids to import. Required unless `async` is true and `folder_ids` names something."
|
|
57214
|
+
},
|
|
57215
|
+
folder_ids: {
|
|
57216
|
+
type: "array",
|
|
57217
|
+
maxItems: 500,
|
|
57218
|
+
items: {
|
|
57219
|
+
type: "string"
|
|
57220
|
+
},
|
|
57221
|
+
description: "Folder ids from browse (a mail, a thread, a directory). The files directly inside each are imported; each folder counts as one item of the run. Only with `async: true`.\n"
|
|
57222
|
+
},
|
|
57223
|
+
async: {
|
|
57224
|
+
type: "boolean",
|
|
57225
|
+
default: false,
|
|
57226
|
+
description: "True records the import and answers `202` with the run; the files are imported in the background."
|
|
57316
57227
|
},
|
|
57317
57228
|
tags: {
|
|
57318
57229
|
type: "array",
|
|
@@ -57329,7 +57240,7 @@ var openapi_default = {
|
|
|
57329
57240
|
},
|
|
57330
57241
|
responses: {
|
|
57331
57242
|
"201": {
|
|
57332
|
-
description: "What was imported, skipped or failed.",
|
|
57243
|
+
description: "Without `async`. What was imported, skipped or failed.",
|
|
57333
57244
|
content: {
|
|
57334
57245
|
"application/json": {
|
|
57335
57246
|
schema: {
|
|
@@ -57338,6 +57249,16 @@ var openapi_default = {
|
|
|
57338
57249
|
}
|
|
57339
57250
|
}
|
|
57340
57251
|
},
|
|
57252
|
+
"202": {
|
|
57253
|
+
description: "With `async: true`. The import run, still queued.",
|
|
57254
|
+
content: {
|
|
57255
|
+
"application/json": {
|
|
57256
|
+
schema: {
|
|
57257
|
+
$ref: "#/components/schemas/SourceImportRun"
|
|
57258
|
+
}
|
|
57259
|
+
}
|
|
57260
|
+
}
|
|
57261
|
+
},
|
|
57341
57262
|
"400": {
|
|
57342
57263
|
$ref: "#/components/responses/BadRequest"
|
|
57343
57264
|
},
|
|
@@ -57356,61 +57277,75 @@ var openapi_default = {
|
|
|
57356
57277
|
}
|
|
57357
57278
|
}
|
|
57358
57279
|
},
|
|
57359
|
-
"/v1/sources/{id}/
|
|
57280
|
+
"/v1/sources/{id}/import-runs": {
|
|
57360
57281
|
get: {
|
|
57361
|
-
operationId: "
|
|
57282
|
+
operationId: "listSourceImportRuns",
|
|
57362
57283
|
"x-audience": "public",
|
|
57363
57284
|
"x-required-scopes": [
|
|
57364
57285
|
"read"
|
|
57365
57286
|
],
|
|
57366
|
-
summary: "List
|
|
57367
|
-
description: "
|
|
57287
|
+
summary: "List import runs of a connection",
|
|
57288
|
+
description: "The connection's latest import runs (imports started with `async: true`, or from the Sources page), newest first, without their failure lists. Reads of a personal connection (a mailbox, notes, Slack) answer only to the person who connected it.\n\n**Scope:** `read` or `sources:read`.\n",
|
|
57368
57289
|
tags: [
|
|
57369
57290
|
"Sources"
|
|
57370
57291
|
],
|
|
57371
57292
|
parameters: [
|
|
57372
57293
|
{
|
|
57373
57294
|
$ref: "#/components/parameters/ResourceId"
|
|
57295
|
+
},
|
|
57296
|
+
{
|
|
57297
|
+
name: "open",
|
|
57298
|
+
in: "query",
|
|
57299
|
+
required: false,
|
|
57300
|
+
schema: {
|
|
57301
|
+
type: "boolean"
|
|
57302
|
+
},
|
|
57303
|
+
description: "True keeps only runs that are still queued or running."
|
|
57374
57304
|
}
|
|
57375
57305
|
],
|
|
57376
57306
|
responses: {
|
|
57377
57307
|
"200": {
|
|
57378
|
-
description: "The
|
|
57308
|
+
description: "The runs.",
|
|
57379
57309
|
content: {
|
|
57380
57310
|
"application/json": {
|
|
57381
57311
|
schema: {
|
|
57382
|
-
type: "
|
|
57383
|
-
|
|
57384
|
-
|
|
57312
|
+
type: "object",
|
|
57313
|
+
properties: {
|
|
57314
|
+
data: {
|
|
57315
|
+
type: "array",
|
|
57316
|
+
items: {
|
|
57317
|
+
$ref: "#/components/schemas/SourceImportRun"
|
|
57318
|
+
}
|
|
57319
|
+
}
|
|
57385
57320
|
}
|
|
57386
57321
|
}
|
|
57387
57322
|
}
|
|
57388
57323
|
}
|
|
57389
57324
|
},
|
|
57325
|
+
"400": {
|
|
57326
|
+
$ref: "#/components/responses/BadRequest"
|
|
57327
|
+
},
|
|
57390
57328
|
"401": {
|
|
57391
57329
|
$ref: "#/components/responses/Unauthorized"
|
|
57392
57330
|
},
|
|
57393
57331
|
"403": {
|
|
57394
57332
|
$ref: "#/components/responses/Forbidden"
|
|
57395
57333
|
},
|
|
57396
|
-
"404": {
|
|
57397
|
-
$ref: "#/components/responses/NotFound"
|
|
57398
|
-
},
|
|
57399
57334
|
"429": {
|
|
57400
57335
|
$ref: "#/components/responses/RateLimitExceeded"
|
|
57401
57336
|
}
|
|
57402
57337
|
}
|
|
57403
57338
|
}
|
|
57404
57339
|
},
|
|
57405
|
-
"/v1/sources/{id}/
|
|
57406
|
-
|
|
57407
|
-
operationId: "
|
|
57340
|
+
"/v1/sources/{id}/import-runs/{runId}": {
|
|
57341
|
+
get: {
|
|
57342
|
+
operationId: "getSourceImportRun",
|
|
57408
57343
|
"x-audience": "public",
|
|
57409
57344
|
"x-required-scopes": [
|
|
57410
|
-
"
|
|
57345
|
+
"read"
|
|
57411
57346
|
],
|
|
57412
|
-
summary: "Read
|
|
57413
|
-
description: "
|
|
57347
|
+
summary: "Read one import run",
|
|
57348
|
+
description: "Progress and outcome of one import run: how many items were asked for, how many are in, how many failed, and for each failure which item and why. `running` is true until the run has finished. Items already in stay in when others fail. Reads of a personal connection answer only to the person who connected it.\n\n**Scope:** `read` or `sources:read`.\n",
|
|
57414
57349
|
tags: [
|
|
57415
57350
|
"Sources"
|
|
57416
57351
|
],
|
|
@@ -57419,38 +57354,140 @@ var openapi_default = {
|
|
|
57419
57354
|
$ref: "#/components/parameters/ResourceId"
|
|
57420
57355
|
},
|
|
57421
57356
|
{
|
|
57422
|
-
name: "
|
|
57357
|
+
name: "runId",
|
|
57423
57358
|
in: "path",
|
|
57424
57359
|
required: true,
|
|
57425
57360
|
schema: {
|
|
57426
57361
|
type: "string",
|
|
57427
57362
|
format: "uuid"
|
|
57428
57363
|
},
|
|
57429
|
-
description: "Import UUID from `GET /v1/sources/{id}/
|
|
57364
|
+
description: "Import run UUID from `POST /v1/sources/{id}/import` (`async: true`) or `GET /v1/sources/{id}/import-runs`."
|
|
57430
57365
|
}
|
|
57431
57366
|
],
|
|
57432
57367
|
responses: {
|
|
57433
|
-
"
|
|
57434
|
-
description: "
|
|
57368
|
+
"200": {
|
|
57369
|
+
description: "The run, with its failures named.",
|
|
57435
57370
|
content: {
|
|
57436
57371
|
"application/json": {
|
|
57437
57372
|
schema: {
|
|
57438
|
-
|
|
57439
|
-
|
|
57440
|
-
|
|
57441
|
-
|
|
57442
|
-
|
|
57443
|
-
|
|
57444
|
-
|
|
57445
|
-
|
|
57446
|
-
|
|
57447
|
-
|
|
57448
|
-
|
|
57449
|
-
|
|
57450
|
-
|
|
57451
|
-
|
|
57452
|
-
|
|
57453
|
-
|
|
57373
|
+
$ref: "#/components/schemas/SourceImportRun"
|
|
57374
|
+
}
|
|
57375
|
+
}
|
|
57376
|
+
}
|
|
57377
|
+
},
|
|
57378
|
+
"400": {
|
|
57379
|
+
$ref: "#/components/responses/BadRequest"
|
|
57380
|
+
},
|
|
57381
|
+
"401": {
|
|
57382
|
+
$ref: "#/components/responses/Unauthorized"
|
|
57383
|
+
},
|
|
57384
|
+
"403": {
|
|
57385
|
+
$ref: "#/components/responses/Forbidden"
|
|
57386
|
+
},
|
|
57387
|
+
"404": {
|
|
57388
|
+
$ref: "#/components/responses/NotFound"
|
|
57389
|
+
},
|
|
57390
|
+
"429": {
|
|
57391
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
57392
|
+
}
|
|
57393
|
+
}
|
|
57394
|
+
}
|
|
57395
|
+
},
|
|
57396
|
+
"/v1/sources/{id}/imports": {
|
|
57397
|
+
get: {
|
|
57398
|
+
operationId: "listSourceImports",
|
|
57399
|
+
"x-audience": "public",
|
|
57400
|
+
"x-required-scopes": [
|
|
57401
|
+
"read"
|
|
57402
|
+
],
|
|
57403
|
+
summary: "List imports from a connection",
|
|
57404
|
+
description: "What was brought in from the connection, one entry per imported file. Reads of a personal connection (a mailbox, notes, Slack) answer only to the person who connected it.\n\n**Scope:** `read` or `sources:read`.\n",
|
|
57405
|
+
tags: [
|
|
57406
|
+
"Sources"
|
|
57407
|
+
],
|
|
57408
|
+
parameters: [
|
|
57409
|
+
{
|
|
57410
|
+
$ref: "#/components/parameters/ResourceId"
|
|
57411
|
+
}
|
|
57412
|
+
],
|
|
57413
|
+
responses: {
|
|
57414
|
+
"200": {
|
|
57415
|
+
description: "The imports.",
|
|
57416
|
+
content: {
|
|
57417
|
+
"application/json": {
|
|
57418
|
+
schema: {
|
|
57419
|
+
type: "array",
|
|
57420
|
+
items: {
|
|
57421
|
+
$ref: "#/components/schemas/SourceImport"
|
|
57422
|
+
}
|
|
57423
|
+
}
|
|
57424
|
+
}
|
|
57425
|
+
}
|
|
57426
|
+
},
|
|
57427
|
+
"401": {
|
|
57428
|
+
$ref: "#/components/responses/Unauthorized"
|
|
57429
|
+
},
|
|
57430
|
+
"403": {
|
|
57431
|
+
$ref: "#/components/responses/Forbidden"
|
|
57432
|
+
},
|
|
57433
|
+
"404": {
|
|
57434
|
+
$ref: "#/components/responses/NotFound"
|
|
57435
|
+
},
|
|
57436
|
+
"429": {
|
|
57437
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
57438
|
+
}
|
|
57439
|
+
}
|
|
57440
|
+
}
|
|
57441
|
+
},
|
|
57442
|
+
"/v1/sources/{id}/imports/{importId}/resync": {
|
|
57443
|
+
post: {
|
|
57444
|
+
operationId: "resyncSourceImport",
|
|
57445
|
+
"x-audience": "public",
|
|
57446
|
+
"x-required-scopes": [
|
|
57447
|
+
"documents:write"
|
|
57448
|
+
],
|
|
57449
|
+
summary: "Read a Microsoft Teams import again",
|
|
57450
|
+
description: "Reads one imported Microsoft Teams conversation period again and brings in what is new; unchanged content is not processed again. A personal connection can be read again only by the person who connected it.\n\n**Scope:** `documents:write`. A key holding only the legacy `write` scope does not satisfy it.\n",
|
|
57451
|
+
tags: [
|
|
57452
|
+
"Sources"
|
|
57453
|
+
],
|
|
57454
|
+
parameters: [
|
|
57455
|
+
{
|
|
57456
|
+
$ref: "#/components/parameters/ResourceId"
|
|
57457
|
+
},
|
|
57458
|
+
{
|
|
57459
|
+
name: "importId",
|
|
57460
|
+
in: "path",
|
|
57461
|
+
required: true,
|
|
57462
|
+
schema: {
|
|
57463
|
+
type: "string",
|
|
57464
|
+
format: "uuid"
|
|
57465
|
+
},
|
|
57466
|
+
description: "Import UUID from `GET /v1/sources/{id}/imports`."
|
|
57467
|
+
}
|
|
57468
|
+
],
|
|
57469
|
+
responses: {
|
|
57470
|
+
"201": {
|
|
57471
|
+
description: "Whether anything changed.",
|
|
57472
|
+
content: {
|
|
57473
|
+
"application/json": {
|
|
57474
|
+
schema: {
|
|
57475
|
+
type: "object",
|
|
57476
|
+
properties: {
|
|
57477
|
+
status: {
|
|
57478
|
+
type: "string",
|
|
57479
|
+
enum: [
|
|
57480
|
+
"up_to_date",
|
|
57481
|
+
"refreshed"
|
|
57482
|
+
]
|
|
57483
|
+
},
|
|
57484
|
+
new_attachments: {
|
|
57485
|
+
type: "array",
|
|
57486
|
+
items: {
|
|
57487
|
+
type: "string"
|
|
57488
|
+
}
|
|
57489
|
+
}
|
|
57490
|
+
}
|
|
57454
57491
|
}
|
|
57455
57492
|
}
|
|
57456
57493
|
}
|
|
@@ -77738,6 +77775,97 @@ var openapi_default = {
|
|
|
77738
77775
|
}
|
|
77739
77776
|
}
|
|
77740
77777
|
},
|
|
77778
|
+
"/v1/team/members/{userId}/access-until": {
|
|
77779
|
+
put: {
|
|
77780
|
+
operationId: "setMemberAccessUntil",
|
|
77781
|
+
"x-required-scopes": [
|
|
77782
|
+
"team:write"
|
|
77783
|
+
],
|
|
77784
|
+
"x-audience": "public",
|
|
77785
|
+
summary: "Make a membership temporary",
|
|
77786
|
+
description: "Sets when a member's membership ends, or `null` for no end. The hourly expiry then removes\nthe member with their shares and personal API keys, as a removal does. The moment must be\nin the future; nobody sets their own, and the workspace always keeps a member who holds `team`.\n\nScope: `team:write`. The person behind the credential needs the `team` permission\n(Admins by default).\n",
|
|
77787
|
+
tags: [
|
|
77788
|
+
"Team"
|
|
77789
|
+
],
|
|
77790
|
+
parameters: [
|
|
77791
|
+
{
|
|
77792
|
+
name: "userId",
|
|
77793
|
+
in: "path",
|
|
77794
|
+
required: true,
|
|
77795
|
+
schema: {
|
|
77796
|
+
type: "string",
|
|
77797
|
+
format: "uuid"
|
|
77798
|
+
}
|
|
77799
|
+
}
|
|
77800
|
+
],
|
|
77801
|
+
requestBody: {
|
|
77802
|
+
required: true,
|
|
77803
|
+
content: {
|
|
77804
|
+
"application/json": {
|
|
77805
|
+
schema: {
|
|
77806
|
+
type: "object",
|
|
77807
|
+
properties: {
|
|
77808
|
+
access_until: {
|
|
77809
|
+
oneOf: [
|
|
77810
|
+
{
|
|
77811
|
+
type: "string",
|
|
77812
|
+
format: "date-time"
|
|
77813
|
+
},
|
|
77814
|
+
{
|
|
77815
|
+
type: "null"
|
|
77816
|
+
}
|
|
77817
|
+
]
|
|
77818
|
+
}
|
|
77819
|
+
},
|
|
77820
|
+
required: [
|
|
77821
|
+
"access_until"
|
|
77822
|
+
]
|
|
77823
|
+
}
|
|
77824
|
+
}
|
|
77825
|
+
}
|
|
77826
|
+
},
|
|
77827
|
+
responses: {
|
|
77828
|
+
"200": {
|
|
77829
|
+
description: "Make a membership temporary: done.",
|
|
77830
|
+
content: {
|
|
77831
|
+
"application/json": {
|
|
77832
|
+
schema: {
|
|
77833
|
+
type: "object",
|
|
77834
|
+
properties: {
|
|
77835
|
+
user_id: {
|
|
77836
|
+
type: "string",
|
|
77837
|
+
format: "uuid"
|
|
77838
|
+
},
|
|
77839
|
+
access_until: {
|
|
77840
|
+
type: [
|
|
77841
|
+
"string",
|
|
77842
|
+
"null"
|
|
77843
|
+
],
|
|
77844
|
+
format: "date-time"
|
|
77845
|
+
}
|
|
77846
|
+
}
|
|
77847
|
+
}
|
|
77848
|
+
}
|
|
77849
|
+
}
|
|
77850
|
+
},
|
|
77851
|
+
"400": {
|
|
77852
|
+
$ref: "#/components/responses/BadRequest"
|
|
77853
|
+
},
|
|
77854
|
+
"401": {
|
|
77855
|
+
$ref: "#/components/responses/Unauthorized"
|
|
77856
|
+
},
|
|
77857
|
+
"403": {
|
|
77858
|
+
$ref: "#/components/responses/Forbidden"
|
|
77859
|
+
},
|
|
77860
|
+
"404": {
|
|
77861
|
+
$ref: "#/components/responses/NotFound"
|
|
77862
|
+
},
|
|
77863
|
+
"429": {
|
|
77864
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
77865
|
+
}
|
|
77866
|
+
}
|
|
77867
|
+
}
|
|
77868
|
+
},
|
|
77741
77869
|
"/v1/team/role-permissions": {
|
|
77742
77870
|
get: {
|
|
77743
77871
|
operationId: "getRolePermissions",
|
|
@@ -79713,7 +79841,7 @@ var openapi_default = {
|
|
|
79713
79841
|
"thread:read"
|
|
79714
79842
|
],
|
|
79715
79843
|
summary: "Read the thread",
|
|
79716
|
-
description: "The
|
|
79844
|
+
description: "The newest page of your conversation and anything waiting for your decision. `enabled: false` when the thread is not available to you; `cursor` is where to start reading events, and `has_older` says earlier messages can be read with the history route.\n",
|
|
79717
79845
|
tags: [
|
|
79718
79846
|
"Thread"
|
|
79719
79847
|
],
|
|
@@ -79813,6 +79941,76 @@ var openapi_default = {
|
|
|
79813
79941
|
}
|
|
79814
79942
|
}
|
|
79815
79943
|
},
|
|
79944
|
+
"/v1/thread/history": {
|
|
79945
|
+
get: {
|
|
79946
|
+
operationId: "listThreadHistory",
|
|
79947
|
+
"x-audience": "public",
|
|
79948
|
+
"x-required-scopes": [
|
|
79949
|
+
"thread:read"
|
|
79950
|
+
],
|
|
79951
|
+
summary: "Read earlier thread messages",
|
|
79952
|
+
description: "One page of your conversation further back: messages, reactions and decision cards before a given row, oldest first. Start from the `seq` of the oldest event you hold and repeat while `has_older` is true.\n",
|
|
79953
|
+
tags: [
|
|
79954
|
+
"Thread"
|
|
79955
|
+
],
|
|
79956
|
+
parameters: [
|
|
79957
|
+
{
|
|
79958
|
+
name: "before",
|
|
79959
|
+
in: "query",
|
|
79960
|
+
schema: {
|
|
79961
|
+
type: "integer",
|
|
79962
|
+
minimum: 1
|
|
79963
|
+
},
|
|
79964
|
+
description: "The `seq` of the oldest event you already hold. Omitted, the newest page is returned."
|
|
79965
|
+
},
|
|
79966
|
+
{
|
|
79967
|
+
name: "limit",
|
|
79968
|
+
in: "query",
|
|
79969
|
+
schema: {
|
|
79970
|
+
type: "integer",
|
|
79971
|
+
minimum: 1,
|
|
79972
|
+
maximum: 100,
|
|
79973
|
+
default: 50
|
|
79974
|
+
}
|
|
79975
|
+
}
|
|
79976
|
+
],
|
|
79977
|
+
responses: {
|
|
79978
|
+
"200": {
|
|
79979
|
+
description: "OK",
|
|
79980
|
+
content: {
|
|
79981
|
+
"application/json": {
|
|
79982
|
+
schema: {
|
|
79983
|
+
type: "object",
|
|
79984
|
+
properties: {
|
|
79985
|
+
events: {
|
|
79986
|
+
type: "array",
|
|
79987
|
+
items: {
|
|
79988
|
+
$ref: "#/components/schemas/ThreadEvent"
|
|
79989
|
+
}
|
|
79990
|
+
},
|
|
79991
|
+
has_older: {
|
|
79992
|
+
type: "boolean"
|
|
79993
|
+
}
|
|
79994
|
+
}
|
|
79995
|
+
}
|
|
79996
|
+
}
|
|
79997
|
+
}
|
|
79998
|
+
},
|
|
79999
|
+
"401": {
|
|
80000
|
+
$ref: "#/components/responses/Unauthorized"
|
|
80001
|
+
},
|
|
80002
|
+
"403": {
|
|
80003
|
+
$ref: "#/components/responses/Forbidden"
|
|
80004
|
+
},
|
|
80005
|
+
"404": {
|
|
80006
|
+
$ref: "#/components/responses/NotFound"
|
|
80007
|
+
},
|
|
80008
|
+
"429": {
|
|
80009
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
80010
|
+
}
|
|
80011
|
+
}
|
|
80012
|
+
}
|
|
80013
|
+
},
|
|
79816
80014
|
"/v1/thread/messages": {
|
|
79817
80015
|
post: {
|
|
79818
80016
|
operationId: "sendThreadMessage",
|
|
@@ -79988,6 +80186,56 @@ var openapi_default = {
|
|
|
79988
80186
|
}
|
|
79989
80187
|
}
|
|
79990
80188
|
},
|
|
80189
|
+
"/v1/thread/files/{documentId}": {
|
|
80190
|
+
get: {
|
|
80191
|
+
operationId: "getThreadFile",
|
|
80192
|
+
"x-audience": "public",
|
|
80193
|
+
"x-required-scopes": [
|
|
80194
|
+
"thread:read"
|
|
80195
|
+
],
|
|
80196
|
+
summary: "Get a picture you handed in",
|
|
80197
|
+
description: "A picture you handed your thread, as an image for showing it: upright and at most 1,600 pixels on its longer side. The id is `document_id` of an entry with `kind: image` in `meta.attachments` of your own message event. Anything else answers 404: a file that is not a picture, a document of the workspace, another person's file.\n",
|
|
80198
|
+
tags: [
|
|
80199
|
+
"Thread"
|
|
80200
|
+
],
|
|
80201
|
+
parameters: [
|
|
80202
|
+
{
|
|
80203
|
+
name: "documentId",
|
|
80204
|
+
in: "path",
|
|
80205
|
+
required: true,
|
|
80206
|
+
schema: {
|
|
80207
|
+
type: "string",
|
|
80208
|
+
format: "uuid"
|
|
80209
|
+
}
|
|
80210
|
+
}
|
|
80211
|
+
],
|
|
80212
|
+
responses: {
|
|
80213
|
+
"200": {
|
|
80214
|
+
description: "The picture.",
|
|
80215
|
+
content: {
|
|
80216
|
+
"image/webp": {
|
|
80217
|
+
schema: {
|
|
80218
|
+
type: "string",
|
|
80219
|
+
format: "binary"
|
|
80220
|
+
}
|
|
80221
|
+
}
|
|
80222
|
+
}
|
|
80223
|
+
},
|
|
80224
|
+
"401": {
|
|
80225
|
+
$ref: "#/components/responses/Unauthorized"
|
|
80226
|
+
},
|
|
80227
|
+
"403": {
|
|
80228
|
+
$ref: "#/components/responses/Forbidden"
|
|
80229
|
+
},
|
|
80230
|
+
"404": {
|
|
80231
|
+
$ref: "#/components/responses/NotFound"
|
|
80232
|
+
},
|
|
80233
|
+
"429": {
|
|
80234
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
80235
|
+
}
|
|
80236
|
+
}
|
|
80237
|
+
}
|
|
80238
|
+
},
|
|
79991
80239
|
"/v1/thread/approvals/{id}": {
|
|
79992
80240
|
post: {
|
|
79993
80241
|
operationId: "decideThreadApproval",
|
|
@@ -83329,6 +83577,313 @@ var openapi_default = {
|
|
|
83329
83577
|
}
|
|
83330
83578
|
}
|
|
83331
83579
|
},
|
|
83580
|
+
"/v1/governance/level": {
|
|
83581
|
+
get: {
|
|
83582
|
+
operationId: "getGovernanceLevel",
|
|
83583
|
+
"x-audience": "public",
|
|
83584
|
+
"x-required-scopes": [
|
|
83585
|
+
"access:read"
|
|
83586
|
+
],
|
|
83587
|
+
summary: "The workspace's data governance",
|
|
83588
|
+
description: "Whether data governance is on, its default (`open`: what the access rules open to the workspace stays open, holders close their sources; `private`: holders, licences and shares only), and a turn-on in progress (`enabling`). Workspace owners only.\n",
|
|
83589
|
+
tags: [
|
|
83590
|
+
"Access & sharing"
|
|
83591
|
+
],
|
|
83592
|
+
responses: {
|
|
83593
|
+
"200": {
|
|
83594
|
+
description: "The governance status.",
|
|
83595
|
+
content: {
|
|
83596
|
+
"application/json": {
|
|
83597
|
+
schema: {
|
|
83598
|
+
type: "object",
|
|
83599
|
+
properties: {
|
|
83600
|
+
on: {
|
|
83601
|
+
type: "boolean"
|
|
83602
|
+
},
|
|
83603
|
+
default: {
|
|
83604
|
+
type: "string",
|
|
83605
|
+
enum: [
|
|
83606
|
+
"open",
|
|
83607
|
+
"private"
|
|
83608
|
+
]
|
|
83609
|
+
},
|
|
83610
|
+
stored_default: {
|
|
83611
|
+
type: "string",
|
|
83612
|
+
enum: [
|
|
83613
|
+
"open",
|
|
83614
|
+
"private"
|
|
83615
|
+
],
|
|
83616
|
+
nullable: true
|
|
83617
|
+
},
|
|
83618
|
+
since: {
|
|
83619
|
+
type: "string",
|
|
83620
|
+
nullable: true
|
|
83621
|
+
},
|
|
83622
|
+
enabled: {
|
|
83623
|
+
type: "boolean",
|
|
83624
|
+
description: "governance.enabled: this deployment runs the scope model."
|
|
83625
|
+
},
|
|
83626
|
+
decision_point_on: {
|
|
83627
|
+
type: "boolean"
|
|
83628
|
+
},
|
|
83629
|
+
field_tiers: {
|
|
83630
|
+
type: "boolean"
|
|
83631
|
+
},
|
|
83632
|
+
enabling: {
|
|
83633
|
+
type: "object",
|
|
83634
|
+
nullable: true,
|
|
83635
|
+
description: "A turn-on in progress: the workspace keeps its current access rules until the job has given every document its access scope; then governance switches on.",
|
|
83636
|
+
properties: {
|
|
83637
|
+
state: {
|
|
83638
|
+
type: "string",
|
|
83639
|
+
enum: [
|
|
83640
|
+
"preparing",
|
|
83641
|
+
"failed"
|
|
83642
|
+
]
|
|
83643
|
+
},
|
|
83644
|
+
default: {
|
|
83645
|
+
type: "string",
|
|
83646
|
+
enum: [
|
|
83647
|
+
"open",
|
|
83648
|
+
"private"
|
|
83649
|
+
]
|
|
83650
|
+
},
|
|
83651
|
+
requested_at: {
|
|
83652
|
+
type: "string",
|
|
83653
|
+
nullable: true
|
|
83654
|
+
},
|
|
83655
|
+
requested_by: {
|
|
83656
|
+
type: "string",
|
|
83657
|
+
nullable: true
|
|
83658
|
+
},
|
|
83659
|
+
done: {
|
|
83660
|
+
type: "integer",
|
|
83661
|
+
nullable: true,
|
|
83662
|
+
description: "Documents given their access scope so far."
|
|
83663
|
+
},
|
|
83664
|
+
total: {
|
|
83665
|
+
type: "integer",
|
|
83666
|
+
nullable: true
|
|
83667
|
+
},
|
|
83668
|
+
error: {
|
|
83669
|
+
type: "string",
|
|
83670
|
+
nullable: true
|
|
83671
|
+
}
|
|
83672
|
+
}
|
|
83673
|
+
}
|
|
83674
|
+
}
|
|
83675
|
+
}
|
|
83676
|
+
}
|
|
83677
|
+
}
|
|
83678
|
+
},
|
|
83679
|
+
"400": {
|
|
83680
|
+
$ref: "#/components/responses/BadRequest"
|
|
83681
|
+
},
|
|
83682
|
+
"401": {
|
|
83683
|
+
$ref: "#/components/responses/Unauthorized"
|
|
83684
|
+
},
|
|
83685
|
+
"403": {
|
|
83686
|
+
$ref: "#/components/responses/Forbidden"
|
|
83687
|
+
},
|
|
83688
|
+
"429": {
|
|
83689
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
83690
|
+
}
|
|
83691
|
+
}
|
|
83692
|
+
},
|
|
83693
|
+
put: {
|
|
83694
|
+
operationId: "setGovernanceLevel",
|
|
83695
|
+
"x-audience": "public",
|
|
83696
|
+
"x-required-scopes": [
|
|
83697
|
+
"access:write"
|
|
83698
|
+
],
|
|
83699
|
+
summary: "Turn data governance on or off",
|
|
83700
|
+
description: "Turn data governance on or off and choose its default. When documents still need their access scope, turning on answers at once with `enabling.state = preparing`; a background job gives every document its access scope and then switches governance on (poll `GET /v1/governance/level`). The workspace keeps its current access rules until then. A failed preparation is reported in `enabling.error`; turning on again continues where it stopped. Turning off is immediate and ends a preparation. Workspace owners only.\n",
|
|
83701
|
+
tags: [
|
|
83702
|
+
"Access & sharing"
|
|
83703
|
+
],
|
|
83704
|
+
requestBody: {
|
|
83705
|
+
required: true,
|
|
83706
|
+
content: {
|
|
83707
|
+
"application/json": {
|
|
83708
|
+
schema: {
|
|
83709
|
+
type: "object",
|
|
83710
|
+
required: [
|
|
83711
|
+
"on"
|
|
83712
|
+
],
|
|
83713
|
+
properties: {
|
|
83714
|
+
on: {
|
|
83715
|
+
type: "boolean"
|
|
83716
|
+
},
|
|
83717
|
+
default: {
|
|
83718
|
+
type: "string",
|
|
83719
|
+
enum: [
|
|
83720
|
+
"open",
|
|
83721
|
+
"private"
|
|
83722
|
+
]
|
|
83723
|
+
}
|
|
83724
|
+
}
|
|
83725
|
+
}
|
|
83726
|
+
}
|
|
83727
|
+
}
|
|
83728
|
+
},
|
|
83729
|
+
responses: {
|
|
83730
|
+
"200": {
|
|
83731
|
+
description: "The governance status after the change (or with `enabling` while it prepares).",
|
|
83732
|
+
content: {
|
|
83733
|
+
"application/json": {
|
|
83734
|
+
schema: {
|
|
83735
|
+
type: "object",
|
|
83736
|
+
properties: {
|
|
83737
|
+
on: {
|
|
83738
|
+
type: "boolean"
|
|
83739
|
+
},
|
|
83740
|
+
default: {
|
|
83741
|
+
type: "string",
|
|
83742
|
+
enum: [
|
|
83743
|
+
"open",
|
|
83744
|
+
"private"
|
|
83745
|
+
]
|
|
83746
|
+
},
|
|
83747
|
+
stored_default: {
|
|
83748
|
+
type: "string",
|
|
83749
|
+
enum: [
|
|
83750
|
+
"open",
|
|
83751
|
+
"private"
|
|
83752
|
+
],
|
|
83753
|
+
nullable: true
|
|
83754
|
+
},
|
|
83755
|
+
since: {
|
|
83756
|
+
type: "string",
|
|
83757
|
+
nullable: true
|
|
83758
|
+
},
|
|
83759
|
+
enabled: {
|
|
83760
|
+
type: "boolean",
|
|
83761
|
+
description: "governance.enabled: this deployment runs the scope model."
|
|
83762
|
+
},
|
|
83763
|
+
decision_point_on: {
|
|
83764
|
+
type: "boolean"
|
|
83765
|
+
},
|
|
83766
|
+
field_tiers: {
|
|
83767
|
+
type: "boolean"
|
|
83768
|
+
},
|
|
83769
|
+
enabling: {
|
|
83770
|
+
type: "object",
|
|
83771
|
+
nullable: true,
|
|
83772
|
+
description: "A turn-on in progress: the workspace keeps its current access rules until the job has given every document its access scope; then governance switches on.",
|
|
83773
|
+
properties: {
|
|
83774
|
+
state: {
|
|
83775
|
+
type: "string",
|
|
83776
|
+
enum: [
|
|
83777
|
+
"preparing",
|
|
83778
|
+
"failed"
|
|
83779
|
+
]
|
|
83780
|
+
},
|
|
83781
|
+
default: {
|
|
83782
|
+
type: "string",
|
|
83783
|
+
enum: [
|
|
83784
|
+
"open",
|
|
83785
|
+
"private"
|
|
83786
|
+
]
|
|
83787
|
+
},
|
|
83788
|
+
requested_at: {
|
|
83789
|
+
type: "string",
|
|
83790
|
+
nullable: true
|
|
83791
|
+
},
|
|
83792
|
+
requested_by: {
|
|
83793
|
+
type: "string",
|
|
83794
|
+
nullable: true
|
|
83795
|
+
},
|
|
83796
|
+
done: {
|
|
83797
|
+
type: "integer",
|
|
83798
|
+
nullable: true,
|
|
83799
|
+
description: "Documents given their access scope so far."
|
|
83800
|
+
},
|
|
83801
|
+
total: {
|
|
83802
|
+
type: "integer",
|
|
83803
|
+
nullable: true
|
|
83804
|
+
},
|
|
83805
|
+
error: {
|
|
83806
|
+
type: "string",
|
|
83807
|
+
nullable: true
|
|
83808
|
+
}
|
|
83809
|
+
}
|
|
83810
|
+
}
|
|
83811
|
+
}
|
|
83812
|
+
}
|
|
83813
|
+
}
|
|
83814
|
+
}
|
|
83815
|
+
},
|
|
83816
|
+
"400": {
|
|
83817
|
+
$ref: "#/components/responses/BadRequest"
|
|
83818
|
+
},
|
|
83819
|
+
"401": {
|
|
83820
|
+
$ref: "#/components/responses/Unauthorized"
|
|
83821
|
+
},
|
|
83822
|
+
"403": {
|
|
83823
|
+
$ref: "#/components/responses/Forbidden"
|
|
83824
|
+
},
|
|
83825
|
+
"409": {
|
|
83826
|
+
$ref: "#/components/responses/Conflict"
|
|
83827
|
+
},
|
|
83828
|
+
"429": {
|
|
83829
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
83830
|
+
}
|
|
83831
|
+
}
|
|
83832
|
+
}
|
|
83833
|
+
},
|
|
83834
|
+
"/v1/governance/level/dry-run": {
|
|
83835
|
+
get: {
|
|
83836
|
+
operationId: "dryRunGovernanceLevel",
|
|
83837
|
+
"x-audience": "public",
|
|
83838
|
+
"x-required-scopes": [
|
|
83839
|
+
"access:read"
|
|
83840
|
+
],
|
|
83841
|
+
summary: "Who reads what under data governance",
|
|
83842
|
+
description: "Per active member: live documents read today and under governance with the given default (`default=open|private`, `open` when omitted), with how many they would gain or lose, and the stamp report (documents still needing their access scope). Reads only. Workspace owners only.\n",
|
|
83843
|
+
tags: [
|
|
83844
|
+
"Access & sharing"
|
|
83845
|
+
],
|
|
83846
|
+
parameters: [
|
|
83847
|
+
{
|
|
83848
|
+
name: "default",
|
|
83849
|
+
in: "query",
|
|
83850
|
+
required: false,
|
|
83851
|
+
schema: {
|
|
83852
|
+
type: "string",
|
|
83853
|
+
enum: [
|
|
83854
|
+
"open",
|
|
83855
|
+
"private"
|
|
83856
|
+
]
|
|
83857
|
+
}
|
|
83858
|
+
}
|
|
83859
|
+
],
|
|
83860
|
+
responses: {
|
|
83861
|
+
"200": {
|
|
83862
|
+
description: "The dry run.",
|
|
83863
|
+
content: {
|
|
83864
|
+
"application/json": {
|
|
83865
|
+
schema: {
|
|
83866
|
+
type: "object",
|
|
83867
|
+
additionalProperties: true
|
|
83868
|
+
}
|
|
83869
|
+
}
|
|
83870
|
+
}
|
|
83871
|
+
},
|
|
83872
|
+
"400": {
|
|
83873
|
+
$ref: "#/components/responses/BadRequest"
|
|
83874
|
+
},
|
|
83875
|
+
"401": {
|
|
83876
|
+
$ref: "#/components/responses/Unauthorized"
|
|
83877
|
+
},
|
|
83878
|
+
"403": {
|
|
83879
|
+
$ref: "#/components/responses/Forbidden"
|
|
83880
|
+
},
|
|
83881
|
+
"429": {
|
|
83882
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
83883
|
+
}
|
|
83884
|
+
}
|
|
83885
|
+
}
|
|
83886
|
+
},
|
|
83332
83887
|
"/v1/governance/shares/workspace": {
|
|
83333
83888
|
post: {
|
|
83334
83889
|
operationId: "setWorkspaceOpen",
|
|
@@ -116814,10 +117369,119 @@ var openapi_default = {
|
|
|
116814
117369
|
type: "string"
|
|
116815
117370
|
},
|
|
116816
117371
|
error: {
|
|
117372
|
+
type: "string",
|
|
117373
|
+
description: "The raw failure message."
|
|
117374
|
+
},
|
|
117375
|
+
reason: {
|
|
117376
|
+
type: "string",
|
|
117377
|
+
description: "Why the file could not be imported, in words for a person."
|
|
117378
|
+
}
|
|
117379
|
+
}
|
|
117380
|
+
}
|
|
117381
|
+
}
|
|
117382
|
+
}
|
|
117383
|
+
},
|
|
117384
|
+
SourceImportRun: {
|
|
117385
|
+
type: "object",
|
|
117386
|
+
description: "One import carried out in the background. Counts are in requested items (a folder is one item however many files it holds): `requested = imported + skipped + empty + failed + pending`.\n",
|
|
117387
|
+
properties: {
|
|
117388
|
+
id: {
|
|
117389
|
+
type: "string",
|
|
117390
|
+
format: "uuid"
|
|
117391
|
+
},
|
|
117392
|
+
source_connection_id: {
|
|
117393
|
+
type: "string",
|
|
117394
|
+
format: "uuid"
|
|
117395
|
+
},
|
|
117396
|
+
status: {
|
|
117397
|
+
type: "string",
|
|
117398
|
+
enum: [
|
|
117399
|
+
"queued",
|
|
117400
|
+
"running",
|
|
117401
|
+
"completed",
|
|
117402
|
+
"failed"
|
|
117403
|
+
],
|
|
117404
|
+
description: "`completed` also when some items failed (see `failed` and `failures`); `failed` when the run itself stopped (see `error`).\n"
|
|
117405
|
+
},
|
|
117406
|
+
running: {
|
|
117407
|
+
type: "boolean",
|
|
117408
|
+
description: "True while the run is queued or being worked on."
|
|
117409
|
+
},
|
|
117410
|
+
requested: {
|
|
117411
|
+
type: "integer",
|
|
117412
|
+
description: "Items asked for."
|
|
117413
|
+
},
|
|
117414
|
+
imported: {
|
|
117415
|
+
type: "integer",
|
|
117416
|
+
description: "Items brought into the workspace by this run."
|
|
117417
|
+
},
|
|
117418
|
+
skipped: {
|
|
117419
|
+
type: "integer",
|
|
117420
|
+
description: "Items that were in the workspace already; nothing was imported twice."
|
|
117421
|
+
},
|
|
117422
|
+
empty: {
|
|
117423
|
+
type: "integer",
|
|
117424
|
+
description: "Folders that held nothing to import."
|
|
117425
|
+
},
|
|
117426
|
+
failed: {
|
|
117427
|
+
type: "integer"
|
|
117428
|
+
},
|
|
117429
|
+
pending: {
|
|
117430
|
+
type: "integer",
|
|
117431
|
+
description: "Items not worked on yet (or never, when the run itself failed)."
|
|
117432
|
+
},
|
|
117433
|
+
error: {
|
|
117434
|
+
type: [
|
|
117435
|
+
"string",
|
|
117436
|
+
"null"
|
|
117437
|
+
],
|
|
117438
|
+
description: "Why the run as a whole stopped, when it did."
|
|
117439
|
+
},
|
|
117440
|
+
created_at: {
|
|
117441
|
+
type: "string",
|
|
117442
|
+
format: "date-time"
|
|
117443
|
+
},
|
|
117444
|
+
started_at: {
|
|
117445
|
+
type: [
|
|
117446
|
+
"string",
|
|
117447
|
+
"null"
|
|
117448
|
+
],
|
|
117449
|
+
format: "date-time"
|
|
117450
|
+
},
|
|
117451
|
+
finished_at: {
|
|
117452
|
+
type: [
|
|
117453
|
+
"string",
|
|
117454
|
+
"null"
|
|
117455
|
+
],
|
|
117456
|
+
format: "date-time"
|
|
117457
|
+
},
|
|
117458
|
+
failures: {
|
|
117459
|
+
type: "array",
|
|
117460
|
+
description: "On the single-run read. What could not be imported.",
|
|
117461
|
+
items: {
|
|
117462
|
+
type: "object",
|
|
117463
|
+
properties: {
|
|
117464
|
+
item_id: {
|
|
117465
|
+
type: "string",
|
|
117466
|
+
description: "The requested item (a file or folder id)."
|
|
117467
|
+
},
|
|
117468
|
+
file_id: {
|
|
117469
|
+
type: "string",
|
|
117470
|
+
description: "The file inside a requested folder, when the failure is that file's."
|
|
117471
|
+
},
|
|
117472
|
+
name: {
|
|
116817
117473
|
type: "string"
|
|
117474
|
+
},
|
|
117475
|
+
reason: {
|
|
117476
|
+
type: "string",
|
|
117477
|
+
description: "Why, in words for a person."
|
|
116818
117478
|
}
|
|
116819
117479
|
}
|
|
116820
117480
|
}
|
|
117481
|
+
},
|
|
117482
|
+
failures_truncated: {
|
|
117483
|
+
type: "boolean",
|
|
117484
|
+
description: "True when more failures exist than `failures` names; `failed` is always exact."
|
|
116821
117485
|
}
|
|
116822
117486
|
}
|
|
116823
117487
|
},
|
|
@@ -117721,6 +118385,10 @@ var openapi_default = {
|
|
|
117721
118385
|
},
|
|
117722
118386
|
cursor: {
|
|
117723
118387
|
type: "integer"
|
|
118388
|
+
},
|
|
118389
|
+
has_older: {
|
|
118390
|
+
type: "boolean",
|
|
118391
|
+
description: "True when the conversation goes further back than this page."
|
|
117724
118392
|
}
|
|
117725
118393
|
}
|
|
117726
118394
|
},
|
|
@@ -124443,24 +125111,23 @@ curl https://api.talonic.com/v1/integrations/authorizations/3b1f0c2e-8d4a-4f6b-9
|
|
|
124443
125111
|
content: [
|
|
124444
125112
|
{ type: "paragraph", text: "Systems that use an access key, a token or a connection string are connected in one call. Talonic checks the credentials reach the system before it saves anything, stores the secrets encrypted, and never returns them: no answer, listing or log carries a secret you sent. To change credentials, connect again with the new ones and disconnect the old connection." },
|
|
124445
125113
|
{ type: "paragraph", text: "Each call needs the `sources:write` scope, and the person behind the credential needs the Integrations permission. The new connection is attributed to that person and is private to them until they share it. Granola and Slack connect a person's own notes and conversations: only that person can configure, read from or import from them afterwards." },
|
|
124446
|
-
{ type: "paragraph", text: "
|
|
125114
|
+
{ type: "paragraph", text: "If your systems only accept known addresses, Talonic can give your workspace dedicated egress: every source then connects from fixed IP addresses you allow in your firewall. `GET /v1/sources/egress` answers whether it is on and which addresses to allow." },
|
|
124447
125115
|
ep("POST", "/v1/sources/connections/s3", "Connect an Amazon S3 bucket (or an S3-compatible store).", "Answers `201` with the connection. Scope: `sources:write`.", [
|
|
124448
125116
|
{ name: "name", type: "string", required: true, description: "Connection name." },
|
|
124449
125117
|
{ name: "access_key_id", type: "string", required: true, description: "Access key id (write-only)." },
|
|
124450
125118
|
{ name: "secret_access_key", type: "string", required: true, description: "Secret access key (write-only)." },
|
|
124451
125119
|
{ name: "region", type: "string", description: "Region.", default: "us-east-1" },
|
|
124452
125120
|
{ name: "endpoint_url", type: "string", description: "For S3-compatible stores." },
|
|
124453
|
-
{ name: "bucket", type: "string", description: "Limit the connection to one bucket." }
|
|
124454
|
-
{ name: "dedicated_egress", type: "boolean", description: "Reach the bucket from the fixed address." }
|
|
125121
|
+
{ name: "bucket", type: "string", description: "Limit the connection to one bucket." }
|
|
124455
125122
|
], "Body"),
|
|
124456
125123
|
ep("POST", "/v1/sources/connections/azure-blob", "Connect Azure Blob Storage.", "Send either `connection_string`, or `account_name` + `sas_token` + `sas_container`. Scope: `sources:write`."),
|
|
124457
|
-
ep("POST", "/v1/sources/connections/sql", "Connect a SQL database (Postgres, MySQL, SQL Server).", "Body: `name`, `engine` (`postgres`, `mysql`, `mssql`), `connection_string` (write-only)
|
|
124458
|
-
ep("POST", "/v1/sources/connections/kendox", "Connect Kendox InfoShare.", "Body: `name`, `base_url` (https), optional `tenant_name`, `auth_mode` (`api_token` with `api_token`, or `password` with `username` + `password`)
|
|
125124
|
+
ep("POST", "/v1/sources/connections/sql", "Connect a SQL database (Postgres, MySQL, SQL Server).", "Body: `name`, `engine` (`postgres`, `mysql`, `mssql`), `connection_string` (write-only). Queries run read-only. Scope: `sources:write`."),
|
|
125125
|
+
ep("POST", "/v1/sources/connections/kendox", "Connect Kendox InfoShare.", "Body: `name`, `base_url` (https), optional `tenant_name`, `auth_mode` (`api_token` with `api_token`, or `password` with `username` + `password`). Scope: `sources:write`."),
|
|
124459
125126
|
ep("POST", "/v1/sources/connections/granola", "Connect your Granola notes.", "Body: `name`, `api_key` (write-only), optional `owner_email`, optional `intake`. Every note is brought in and kept up to date. Scope: `sources:write`."),
|
|
124460
125127
|
ep("POST", "/v1/sources/connections/slack", "Connect Slack with a token.", "Body: `name`, `token` (write-only), optional `intake`. Everything the token sees is brought in: one document per conversation per day, and every shared file. To sign in at Slack instead, use `POST /v1/integrations/slack/authorize`. Scope: `sources:write`."),
|
|
124461
125128
|
ep("POST", "/v1/sources/connections/external-upload", "Create an upload link for people outside your workspace.", "Body: `name`. Answers the link token and the password you hand on; files uploaded through the link land in this source. Scope: `sources:write`."),
|
|
124462
125129
|
ep("GET", "/v1/sources/connections/:id/external-upload", "Read an upload link's token and password again.", "They are credentials you hand to outsiders, so this read needs `sources:write`."),
|
|
124463
|
-
ep("GET", "/v1/sources/
|
|
125130
|
+
ep("GET", "/v1/sources/egress", "Whether this workspace connects from dedicated egress IPs, and which.", 'Answers `{ "enabled": true | false, "ips": ["\u2026"] }`; `ips` is empty unless `enabled`. Scope: `read` or `sources:read`.'),
|
|
124464
125131
|
ep("GET", "/v1/sources/slack/sign-in", "Whether this deployment offers sign-in at Slack.", 'Answers `{ "available": true | false }`. Scope: `read` or `sources:read`.'),
|
|
124465
125132
|
{
|
|
124466
125133
|
type: "code",
|
|
@@ -124476,7 +125143,7 @@ curl https://api.talonic.com/v1/integrations/authorizations/3b1f0c2e-8d4a-4f6b-9
|
|
|
124476
125143
|
title: "Errors",
|
|
124477
125144
|
params: [
|
|
124478
125145
|
{ name: "400", type: "VALIDATION_ERROR", description: "The credentials do not reach the system (the message says why), a field is missing, or the master view." },
|
|
124479
|
-
{ name: "403", type: "forbidden", description: "Missing scope or permission (`reason`)
|
|
125146
|
+
{ name: "403", type: "forbidden", description: "Missing scope or permission (`reason`)." }
|
|
124480
125147
|
]
|
|
124481
125148
|
}
|
|
124482
125149
|
],
|
|
@@ -124510,13 +125177,17 @@ curl https://api.talonic.com/v1/integrations/authorizations/3b1f0c2e-8d4a-4f6b-9
|
|
|
124510
125177
|
ep("GET", "/v1/sources/connections/:id/intake", "Read what reads bring in.", "Scope: `read` or `sources:read`."),
|
|
124511
125178
|
ep("PATCH", "/v1/sources/connections/:id/intake", "Change what reads bring in.", "Body: `auto_sync`, `window`, and for the connection's kind `file_kinds`, `max_file_mb`, `skip_system_files`, `skip_noise` or `skip_empty_meetings`. Scope: `sources:write`."),
|
|
124512
125179
|
ep("GET", "/v1/sources/connections/:id/gmail-labels", "List a mailbox's labels.", "For choosing what a Gmail connection keeps in sync. Its author only. Scope: `read` or `sources:read`."),
|
|
124513
|
-
ep("PATCH", "/v1/sources/gmail/:connectionId/config", "Change connector settings.", 'One route per connector: `gmail`, `outlook` (bodies, threads, date range), `hubspot`, `notion`, `teams`, `granola`, `s3` (processing
|
|
125180
|
+
ep("PATCH", "/v1/sources/gmail/:connectionId/config", "Change connector settings.", 'One route per connector: `gmail`, `outlook` (bodies, threads, date range), `hubspot`, `notion`, `teams`, `granola`, `s3` (processing), `kendox` (culture), `sql` (name). Answers `{ "config": \u2026 }`. Scope: `sources:write`.'),
|
|
124514
125181
|
ep("GET", "/v1/sources/:id/browse", "Browse the files behind a connection.", "Query: `folder_id`, `page_token`, `q`. Scope: `read` or `sources:read`."),
|
|
124515
125182
|
ep("GET", "/v1/sources/:id/browse-all", "List every file under a folder at once.", "At most 5,000 entries. Amazon S3 only. Query: `folder_id`. Scope: `read` or `sources:read`."),
|
|
124516
|
-
ep("POST", "/v1/sources/:id/import", "Import chosen files as documents.", "Scope: `documents:write`.", [
|
|
124517
|
-
{ name: "file_ids", type: "string[]",
|
|
125183
|
+
ep("POST", "/v1/sources/:id/import", "Import chosen files as documents.", "Without `async` the call imports before it answers (`201` with what was imported, skipped or failed): fit for a few files. With `async: true` it answers `202` with an import run at once and imports in the background; files that fail do not stop the others, and importing the same selection again brings in only what is not in yet. Scope: `documents:write`.", [
|
|
125184
|
+
{ name: "file_ids", type: "string[]", description: "Ids from a browse answer, at most 500. Required unless `async` is true and `folder_ids` names something." },
|
|
125185
|
+
{ name: "async", type: "boolean", description: "True: answer `202` with the import run and import in the background." },
|
|
125186
|
+
{ name: "folder_ids", type: "string[]", description: "Folder ids from a browse answer (a mail, a thread, a directory), at most 500: the files directly inside each are imported. Only with `async: true`." },
|
|
124518
125187
|
{ name: "tags", type: "string[]", description: "Tags put on every imported document." }
|
|
124519
125188
|
], "Body"),
|
|
125189
|
+
ep("GET", "/v1/sources/:id/import-runs", "List a connection's import runs.", "Newest first, without their failure lists; `open=true` keeps only runs still queued or running. A personal connection's runs are its author's only. Scope: `read` or `sources:read`."),
|
|
125190
|
+
ep("GET", "/v1/sources/:id/import-runs/:runId", "Read one import run.", "How many items were asked for (`requested`), are in (`imported`, `skipped` when already there), held nothing (`empty`), failed or are still `pending`; `failures` names each failed item with the reason, and `running` says whether the run is still going. Scope: `read` or `sources:read`."),
|
|
124520
125191
|
ep("GET", "/v1/sources/:id/imports", "List what was brought in.", "A personal connection's history is its author's only. Scope: `read` or `sources:read`."),
|
|
124521
125192
|
ep("POST", "/v1/sources/:id/imports/:importId/resync", "Read one Teams transcript period again.", "Unchanged content is not processed again. Scope: `documents:write`."),
|
|
124522
125193
|
ep("POST", "/v1/sources/:id/make-private", "Make a connection private.", "Only its author (and the people they name) see what it holds. Its author or an owner may do it. Idempotent: `created: false` when a rule already restricts it. Scope: `sources:write`."),
|
|
@@ -132578,7 +133249,7 @@ var sections24 = [
|
|
|
132578
133249
|
type: "endpoint",
|
|
132579
133250
|
method: "GET",
|
|
132580
133251
|
path: "/v1/thread/state",
|
|
132581
|
-
summary: "The
|
|
133252
|
+
summary: "The newest page of your conversation, anything waiting for your decision, and the cursor to read from.",
|
|
132582
133253
|
description: "Requires thread:read.",
|
|
132583
133254
|
blocks: []
|
|
132584
133255
|
},
|
|
@@ -132630,6 +133301,14 @@ var sections24 = [
|
|
|
132630
133301
|
"has_more": false
|
|
132631
133302
|
}`
|
|
132632
133303
|
},
|
|
133304
|
+
{
|
|
133305
|
+
type: "endpoint",
|
|
133306
|
+
method: "GET",
|
|
133307
|
+
path: "/v1/thread/history",
|
|
133308
|
+
summary: "Earlier messages of your thread, one page at a time.",
|
|
133309
|
+
description: "Requires thread:read. Pass the `seq` of the oldest event you hold as `before` and repeat while `has_older` is true. Each page holds messages, reactions and decision cards, oldest first. `limit` is 1 to 100 (default 50).",
|
|
133310
|
+
blocks: []
|
|
133311
|
+
},
|
|
132633
133312
|
{
|
|
132634
133313
|
type: "endpoint",
|
|
132635
133314
|
method: "POST",
|
|
@@ -132638,6 +133317,14 @@ var sections24 = [
|
|
|
132638
133317
|
description: "Requires thread:write. Multipart field `file`, at most 25 MB each, plus optional `text` and `tz`. Each file is kept as your own document, visible to nobody else, and the files are answered together like one message. Idempotency-Key works as on messages.",
|
|
132639
133318
|
blocks: []
|
|
132640
133319
|
},
|
|
133320
|
+
{
|
|
133321
|
+
type: "endpoint",
|
|
133322
|
+
method: "GET",
|
|
133323
|
+
path: "/v1/thread/files/:documentId",
|
|
133324
|
+
summary: "A picture you handed in, as an image to show.",
|
|
133325
|
+
description: "Requires thread:read. The id is `document_id` of an entry with `kind: image` in `meta.attachments` of your own message event. Answers the picture upright, at most 1,600 pixels on its longer side, as `image/webp`. Anything that is not a picture you handed in yourself answers 404.",
|
|
133326
|
+
blocks: []
|
|
133327
|
+
},
|
|
132641
133328
|
{
|
|
132642
133329
|
type: "endpoint",
|
|
132643
133330
|
method: "POST",
|