@withmarfa/client 0.0.70 → 0.0.71
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 +1203 -351
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ interface paths {
|
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* Get an item
|
|
44
|
-
* @description Returns an item with its metadata and outbound edges. Use `include` to add its inbound edges, the items at the other end of its edges, or its version history in the same call.
|
|
44
|
+
* @description Returns an item with its metadata and outbound edges. Use `include` to add its inbound edges, the items at the other end of its edges, or its version history in the same call. Use `state` to read an item in the trash.
|
|
45
45
|
*/
|
|
46
46
|
get: operations["getItem"];
|
|
47
47
|
put?: never;
|
|
@@ -641,7 +641,7 @@ interface paths {
|
|
|
641
641
|
};
|
|
642
642
|
/**
|
|
643
643
|
* List table rows
|
|
644
|
-
* @description Returns a page of a table's rows,
|
|
644
|
+
* @description Returns a page of a table's rows, in the table's `order` unless you name a sort, and by `id` for a table that names no `order`. A row without the sorted column comes last, and ties go by `id`.
|
|
645
645
|
*/
|
|
646
646
|
get: operations["listTableRows"];
|
|
647
647
|
put?: never;
|
|
@@ -1500,7 +1500,7 @@ interface paths {
|
|
|
1500
1500
|
patch?: never;
|
|
1501
1501
|
trace?: never;
|
|
1502
1502
|
};
|
|
1503
|
-
"/connectors/
|
|
1503
|
+
"/connectors/heartbeat": {
|
|
1504
1504
|
parameters: {
|
|
1505
1505
|
query?: never;
|
|
1506
1506
|
header?: never;
|
|
@@ -1511,7 +1511,7 @@ interface paths {
|
|
|
1511
1511
|
put?: never;
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Send a connector heartbeat
|
|
1514
|
-
* @description Sends a heartbeat, which sets
|
|
1514
|
+
* @description Sends a heartbeat for the connector your key registered, which sets its `last_heartbeat_at` to the current time, and returns that time. Marfa takes no action when heartbeats stop.
|
|
1515
1515
|
*/
|
|
1516
1516
|
post: operations["sendConnectorHeartbeat"];
|
|
1517
1517
|
delete?: never;
|
|
@@ -1520,6 +1520,26 @@ interface paths {
|
|
|
1520
1520
|
patch?: never;
|
|
1521
1521
|
trace?: never;
|
|
1522
1522
|
};
|
|
1523
|
+
"/connectors/runs": {
|
|
1524
|
+
parameters: {
|
|
1525
|
+
query?: never;
|
|
1526
|
+
header?: never;
|
|
1527
|
+
path?: never;
|
|
1528
|
+
cookie?: never;
|
|
1529
|
+
};
|
|
1530
|
+
get?: never;
|
|
1531
|
+
put?: never;
|
|
1532
|
+
/**
|
|
1533
|
+
* Report a connector run
|
|
1534
|
+
* @description Reports one run of the connector your key registered, with its outcome and times, and returns it. Marfa keeps the last 100 runs and drops older ones.
|
|
1535
|
+
*/
|
|
1536
|
+
post: operations["reportConnectorRun"];
|
|
1537
|
+
delete?: never;
|
|
1538
|
+
options?: never;
|
|
1539
|
+
head?: never;
|
|
1540
|
+
patch?: never;
|
|
1541
|
+
trace?: never;
|
|
1542
|
+
};
|
|
1523
1543
|
"/connectors/{id}/runs": {
|
|
1524
1544
|
parameters: {
|
|
1525
1545
|
query?: never;
|
|
@@ -1533,11 +1553,7 @@ interface paths {
|
|
|
1533
1553
|
*/
|
|
1534
1554
|
get: operations["listConnectorRuns"];
|
|
1535
1555
|
put?: never;
|
|
1536
|
-
|
|
1537
|
-
* Report a connector run
|
|
1538
|
-
* @description Reports one run of the connector, with its outcome and times, and returns it. Marfa keeps the last 100 runs and drops older ones.
|
|
1539
|
-
*/
|
|
1540
|
-
post: operations["reportConnectorRun"];
|
|
1556
|
+
post?: never;
|
|
1541
1557
|
delete?: never;
|
|
1542
1558
|
options?: never;
|
|
1543
1559
|
head?: never;
|
|
@@ -2381,13 +2397,13 @@ interface paths {
|
|
|
2381
2397
|
};
|
|
2382
2398
|
/**
|
|
2383
2399
|
* List backups
|
|
2384
|
-
* @description Returns the backups in the instance's object store, newest first, including those another instance
|
|
2400
|
+
* @description Returns the backups in the instance's backup folder or object store, newest first, including those another instance took there, so a new instance can restore the one it replaces. Requires the private local command.
|
|
2385
2401
|
*/
|
|
2386
2402
|
get: operations["listBackups"];
|
|
2387
2403
|
put?: never;
|
|
2388
2404
|
/**
|
|
2389
2405
|
* Take a backup
|
|
2390
|
-
* @description Takes a backup now and puts it in the instance's object store, whether or not anything changed since the last one, then deletes this instance's backups that thinning no longer keeps. Requires the private local command.
|
|
2406
|
+
* @description Takes a backup now and puts it in the instance's backup folder or object store, whether or not anything changed since the last one, then deletes this instance's backups that thinning no longer keeps. Requires the private local command.
|
|
2391
2407
|
*/
|
|
2392
2408
|
post: operations["runBackup"];
|
|
2393
2409
|
delete?: never;
|
|
@@ -2396,6 +2412,26 @@ interface paths {
|
|
|
2396
2412
|
patch?: never;
|
|
2397
2413
|
trace?: never;
|
|
2398
2414
|
};
|
|
2415
|
+
"/backups/folder/adopt": {
|
|
2416
|
+
parameters: {
|
|
2417
|
+
query?: never;
|
|
2418
|
+
header?: never;
|
|
2419
|
+
path?: never;
|
|
2420
|
+
cookie?: never;
|
|
2421
|
+
};
|
|
2422
|
+
get?: never;
|
|
2423
|
+
put?: never;
|
|
2424
|
+
/**
|
|
2425
|
+
* Adopt a backup folder
|
|
2426
|
+
* @description Starts afresh on a disk that replaced the backup folder's disk, when the folder holds no store marker for this instance. Marfa forgets the backups and file copies of the old disk and changes no other store. Requires the private local command.
|
|
2427
|
+
*/
|
|
2428
|
+
post: operations["adoptBackupFolder"];
|
|
2429
|
+
delete?: never;
|
|
2430
|
+
options?: never;
|
|
2431
|
+
head?: never;
|
|
2432
|
+
patch?: never;
|
|
2433
|
+
trace?: never;
|
|
2434
|
+
};
|
|
2399
2435
|
"/backups/{instance_id}/{name}/restore": {
|
|
2400
2436
|
parameters: {
|
|
2401
2437
|
query?: never;
|
|
@@ -2407,7 +2443,7 @@ interface paths {
|
|
|
2407
2443
|
put?: never;
|
|
2408
2444
|
/**
|
|
2409
2445
|
* Restore a backup
|
|
2410
|
-
* @description Restores a backup from the instance's object store, as `POST /restore` restores an archive. Other writes wait until it finishes. Requires the private local command.
|
|
2446
|
+
* @description Restores a backup from the instance's backup folder or object store, as `POST /restore` restores an archive, with a backup folder's files read from the folder. Other writes wait until it finishes. Requires the private local command.
|
|
2411
2447
|
*/
|
|
2412
2448
|
post: operations["restoreBackup"];
|
|
2413
2449
|
delete?: never;
|
|
@@ -3081,18 +3117,23 @@ interface components {
|
|
|
3081
3117
|
};
|
|
3082
3118
|
/** @description The build the instance runs, when it is known. */
|
|
3083
3119
|
version?: string;
|
|
3084
|
-
/** @description Whether Marfa backs itself up to its object store,
|
|
3120
|
+
/** @description Whether Marfa backs itself up to its backup folder or object store, how the last backup went, and whether the place it backs up to is taking copies. */
|
|
3085
3121
|
backups: {
|
|
3086
3122
|
/**
|
|
3087
|
-
* @description `ok`:
|
|
3123
|
+
* @description `ok`: backing up on schedule, and the last run succeeded. `failing`: the last run failed or lost files, or a store isn't taking copies, which makes the overall `status` at least `degraded`. `off`: no scheduled backups.
|
|
3088
3124
|
* @enum {string}
|
|
3089
3125
|
*/
|
|
3090
3126
|
status: "ok" | "failing" | "off";
|
|
3091
3127
|
/**
|
|
3092
|
-
* @description Why backups are `off`: `
|
|
3128
|
+
* @description Why backups are `off`: `no_backup_destination` when the instance has nowhere to put them, with neither `MARFA_BACKUP_PATH` nor `S3_BUCKET` set, `turned_off` when `backup_interval_seconds` is 0.
|
|
3129
|
+
* @enum {string}
|
|
3130
|
+
*/
|
|
3131
|
+
reason?: "no_backup_destination" | "turned_off";
|
|
3132
|
+
/**
|
|
3133
|
+
* @description Where Marfa puts backups: `folder` for the backup folder `MARFA_BACKUP_PATH` names, `bucket` for the object store `S3_BUCKET` names. Present only for a caller that holds `instance.read`, and only when one is set.
|
|
3093
3134
|
* @enum {string}
|
|
3094
3135
|
*/
|
|
3095
|
-
|
|
3136
|
+
destination?: "folder" | "bucket";
|
|
3096
3137
|
/** @description The name of the last backup Marfa put. Present only for a caller that holds `instance.read`. */
|
|
3097
3138
|
last_backup?: string | null;
|
|
3098
3139
|
/**
|
|
@@ -3100,15 +3141,19 @@ interface components {
|
|
|
3100
3141
|
* @description When Marfa took the last backup it put. Present only for a caller that holds `instance.read`.
|
|
3101
3142
|
*/
|
|
3102
3143
|
last_backup_at?: string | null;
|
|
3103
|
-
/** @description How many backup runs in a row have failed. Present only for a caller that holds `instance.read`. */
|
|
3144
|
+
/** @description How many backup runs in a row have failed or lost files. Present only for a caller that holds `instance.read`. */
|
|
3104
3145
|
failures?: number;
|
|
3105
|
-
/** @description What went wrong in the last failed run. Present only for a caller that holds `instance.read`. */
|
|
3146
|
+
/** @description What went wrong in the last failed run, or which files the last backup was put without. Present only for a caller that holds `instance.read`. */
|
|
3106
3147
|
last_error?: string | null;
|
|
3107
3148
|
/**
|
|
3108
3149
|
* Format: date-time
|
|
3109
3150
|
* @description When the last failed run ended. Present only for a caller that holds `instance.read`.
|
|
3110
3151
|
*/
|
|
3111
3152
|
last_failed_at?: string | null;
|
|
3153
|
+
/** @description How many files waited for their copy in the object store or backup folder when `blob-replicate` last ran. Present only for a caller that holds `instance.read`, and only when a destination is set. */
|
|
3154
|
+
copies_waiting?: number;
|
|
3155
|
+
/** @description Why the object store or backup folder isn't taking copies, or `null` while it does. It covers a backup folder whose disk isn't there. Present only for a caller that holds `instance.read`, and only when a destination is set. */
|
|
3156
|
+
store_error?: string | null;
|
|
3112
3157
|
};
|
|
3113
3158
|
/** @description What needs attention in the background work. Present only for a caller that holds `instance.read`. */
|
|
3114
3159
|
housekeeping?: {
|
|
@@ -4992,10 +5037,10 @@ interface components {
|
|
|
4992
5037
|
/** @description Unique identifier for the store. */
|
|
4993
5038
|
id: string;
|
|
4994
5039
|
/**
|
|
4995
|
-
* @description The kind of store: `disk` for the disk beside the server, `s3` for an S3-compatible bucket.
|
|
5040
|
+
* @description The kind of store: `disk` for the disk beside the server, `folder` for the files area of the backup folder, `s3` for an S3-compatible bucket.
|
|
4996
5041
|
* @enum {string}
|
|
4997
5042
|
*/
|
|
4998
|
-
kind: "disk" | "s3";
|
|
5043
|
+
kind: "disk" | "folder" | "s3";
|
|
4999
5044
|
/** @description Where the store is: its directory for a `disk` store, `s3://<bucket>/<prefix>` for an `s3` store. */
|
|
5000
5045
|
locator: string;
|
|
5001
5046
|
/** @description When the instance first attached the store, in UTC. */
|
|
@@ -5049,10 +5094,10 @@ interface components {
|
|
|
5049
5094
|
/** @description The ID of the store that holds the copy. */
|
|
5050
5095
|
store_id: string;
|
|
5051
5096
|
/**
|
|
5052
|
-
* @description The kind of store: `disk` for the disk beside the server, `s3` for an S3-compatible bucket.
|
|
5097
|
+
* @description The kind of store: `disk` for the disk beside the server, `folder` for the files area of the backup folder, `s3` for an S3-compatible bucket.
|
|
5053
5098
|
* @enum {string}
|
|
5054
5099
|
*/
|
|
5055
|
-
kind: "disk" | "s3";
|
|
5100
|
+
kind: "disk" | "folder" | "s3";
|
|
5056
5101
|
/** @description `true` if the instance's configuration no longer names the store. A copy in a detached store doesn't count toward `min_copies`. */
|
|
5057
5102
|
detached: boolean;
|
|
5058
5103
|
/** @description When Marfa recorded the copy, in UTC. */
|
|
@@ -5455,11 +5500,11 @@ interface components {
|
|
|
5455
5500
|
/** @description One known concern or unavailable check. */
|
|
5456
5501
|
AttentionConcern: {
|
|
5457
5502
|
/**
|
|
5458
|
-
* @description health:
|
|
5503
|
+
* @description health: component degraded or down; job: last run failed; connector: failed, has problems, or quiet over a day; folder: sync problems; key: expires soon; backup: none kept, off, store failing, or run failed; unavailable: check could not answer.
|
|
5459
5504
|
* @enum {string}
|
|
5460
5505
|
*/
|
|
5461
|
-
kind: "health" | "job" | "connector" | "folder" | "key" | "unavailable";
|
|
5462
|
-
/** @description The component, job, connector, folder, or key ID,
|
|
5506
|
+
kind: "health" | "job" | "connector" | "folder" | "key" | "backup" | "unavailable";
|
|
5507
|
+
/** @description The component, job, connector, folder, or key ID, the name of the check that could not answer, or for a backup concern `no_backup_destination`, `turned_off`, `store` or `run`. */
|
|
5463
5508
|
reference: string;
|
|
5464
5509
|
/** @description A short name for the concern. */
|
|
5465
5510
|
title: string;
|
|
@@ -5515,12 +5560,14 @@ interface components {
|
|
|
5515
5560
|
[key: string]: string[];
|
|
5516
5561
|
};
|
|
5517
5562
|
};
|
|
5518
|
-
/** @description A removal waits to be confirmed when it takes more than `files` files and more than `fraction` of the folder's files. */
|
|
5563
|
+
/** @description A removal waits to be confirmed when it takes more than `files` files and more than `fraction` of the folder's files, or more than `ceiling` files. Each scan or pull is judged on the files it removes. */
|
|
5519
5564
|
FolderRemovalThreshold: {
|
|
5520
|
-
/** @description A removal
|
|
5565
|
+
/** @description A removal exceeding both this count and `fraction` waits for confirmation. The independent `ceiling` also applies. Absent means 10. */
|
|
5521
5566
|
files?: number;
|
|
5522
|
-
/** @description A removal
|
|
5567
|
+
/** @description A removal exceeding both this fraction of bound files and `files` waits for confirmation. The independent `ceiling` also applies. Absent means 0.25. */
|
|
5523
5568
|
fraction?: number;
|
|
5569
|
+
/** @description A removal that takes more than this many files waits to be confirmed, whatever share of the folder's files they are. Absent means 100. */
|
|
5570
|
+
ceiling?: number;
|
|
5524
5571
|
};
|
|
5525
5572
|
/** @description New files wait to be confirmed when a scan would add more than `files` files and more than `fraction` of the folder's files. */
|
|
5526
5573
|
FolderAdditionThreshold: {
|
|
@@ -5604,7 +5651,7 @@ interface components {
|
|
|
5604
5651
|
sign_ins: components["schemas"]["FolderStatusGroup"][];
|
|
5605
5652
|
/** @description Totals from current sign-ins alone; copies may contain overlapping files. */
|
|
5606
5653
|
totals: {
|
|
5607
|
-
/** @description `true` if any total exceeded
|
|
5654
|
+
/** @description `true` if any total exceeded 9007199254740991; capped totals then mean at least that number. */
|
|
5608
5655
|
saturated: boolean;
|
|
5609
5656
|
/** @description The sum of pending upload files across current sign-ins' copies. */
|
|
5610
5657
|
pending_uploads: number;
|
|
@@ -6294,7 +6341,7 @@ interface components {
|
|
|
6294
6341
|
OAuthClientRegistration: {
|
|
6295
6342
|
/** @description The addresses Marfa may send a person back to after authorization. Required for `authorization_code`. At most 10. A `web` client's URIs must use `https` off the loopback; a `native` client may use `http` on `localhost`, `127.0.0.1` or `[::1]`. */
|
|
6296
6343
|
redirect_uris?: string[];
|
|
6297
|
-
/** @description Space-separated scopes to register the client for. `offline_access` needs `refresh_token` or `authorization_code` in `grant_types`. Leave it out
|
|
6344
|
+
/** @description Space-separated scopes to register the client for. `offline_access` needs `refresh_token` or `authorization_code` in `grant_types`. Leave it out for your content and links: `content:read content:write edge.*:read edge.*:write offline_access`. */
|
|
6298
6345
|
scope?: string;
|
|
6299
6346
|
/** @description The app's name, which Marfa shows a person asked to approve it. */
|
|
6300
6347
|
client_name?: string;
|
|
@@ -6741,14 +6788,14 @@ interface components {
|
|
|
6741
6788
|
};
|
|
6742
6789
|
};
|
|
6743
6790
|
/** @description An error response. */
|
|
6744
|
-
|
|
6791
|
+
NoBackupDestinationRefusal: {
|
|
6745
6792
|
/** @description What went wrong. */
|
|
6746
6793
|
error: {
|
|
6747
6794
|
/**
|
|
6748
6795
|
* @description A machine-readable code for the error. Use it in your logic.
|
|
6749
6796
|
* @enum {string}
|
|
6750
6797
|
*/
|
|
6751
|
-
code: "
|
|
6798
|
+
code: "no_backup_destination";
|
|
6752
6799
|
/** @description A description of the error for a person to read. It can change, so don't match on it. */
|
|
6753
6800
|
message: string;
|
|
6754
6801
|
/** @description More about the error, such as the field it concerns. Each code defines its own details. */
|
|
@@ -6757,7 +6804,25 @@ interface components {
|
|
|
6757
6804
|
};
|
|
6758
6805
|
};
|
|
6759
6806
|
};
|
|
6760
|
-
/** @description
|
|
6807
|
+
/** @description An error response. */
|
|
6808
|
+
BackupFilesMissingRefusal: {
|
|
6809
|
+
/** @description What went wrong. */
|
|
6810
|
+
error: {
|
|
6811
|
+
/**
|
|
6812
|
+
* @description A machine-readable code for the error. Use it in your logic.
|
|
6813
|
+
* @enum {string}
|
|
6814
|
+
*/
|
|
6815
|
+
code: "backup_files_missing";
|
|
6816
|
+
/** @description A description of the error for a person to read. It can change, so don't match on it. */
|
|
6817
|
+
message: string;
|
|
6818
|
+
/** @description Names the files the restore could not find. */
|
|
6819
|
+
details?: {
|
|
6820
|
+
/** @description The hash of each file the backup names that neither the backup folder nor this instance holds whole. */
|
|
6821
|
+
missing_blobs: string[];
|
|
6822
|
+
};
|
|
6823
|
+
};
|
|
6824
|
+
};
|
|
6825
|
+
/** @description A backup in the instance's backup folder or object store. */
|
|
6761
6826
|
Backup: {
|
|
6762
6827
|
/**
|
|
6763
6828
|
* @description The backup's name: the instant Marfa took it, followed by `.tar`.
|
|
@@ -7256,7 +7321,7 @@ interface operations {
|
|
|
7256
7321
|
source?: string;
|
|
7257
7322
|
/** @description Only return items in this tier. Omit it or send `all` for both tiers. */
|
|
7258
7323
|
tier?: "library" | "feed" | "all";
|
|
7259
|
-
/** @description Comma-separated tags. Only return items that carry all of them. */
|
|
7324
|
+
/** @description Comma-separated tags. Only return items that carry all of them. At most 100 distinct tags, each at most 128 characters. */
|
|
7260
7325
|
tags?: string;
|
|
7261
7326
|
/** @description A filter expression. A term naming an edge type, `edge[<type>]` or `backref[<type>]`, needs read on it; `edge[<type>]=<id>` also works as a query parameter. `status_group` matches by status group; `properties.<field>.<member>`, by a list entry. */
|
|
7262
7327
|
filter?: string;
|
|
@@ -7317,7 +7382,7 @@ interface operations {
|
|
|
7317
7382
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
7318
7383
|
};
|
|
7319
7384
|
};
|
|
7320
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
7385
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
7321
7386
|
401: {
|
|
7322
7387
|
headers: {
|
|
7323
7388
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -7510,7 +7575,7 @@ interface operations {
|
|
|
7510
7575
|
"application/json": components["schemas"]["EdgeConstraintViolationOrEdgeCycleOrInvalidIdOrInvalidPropertiesOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
7511
7576
|
};
|
|
7512
7577
|
};
|
|
7513
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
7578
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
7514
7579
|
401: {
|
|
7515
7580
|
headers: {
|
|
7516
7581
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -7555,6 +7620,18 @@ interface operations {
|
|
|
7555
7620
|
"application/json": components["schemas"]["BlobNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal"];
|
|
7556
7621
|
};
|
|
7557
7622
|
};
|
|
7623
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
7624
|
+
408: {
|
|
7625
|
+
headers: {
|
|
7626
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
7627
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
7628
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
7629
|
+
[name: string]: unknown;
|
|
7630
|
+
};
|
|
7631
|
+
content: {
|
|
7632
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
7633
|
+
};
|
|
7634
|
+
};
|
|
7558
7635
|
/**
|
|
7559
7636
|
* @description - `item_exists`: `create_only` found an item holding the `source_id` or `id`.
|
|
7560
7637
|
* - `id_reused`: `id` names an item of another type.
|
|
@@ -7664,6 +7741,8 @@ interface operations {
|
|
|
7664
7741
|
query?: {
|
|
7665
7742
|
/** @description Comma-separated extras: `backrefs` adds inbound edges, `neighbors` adds the items at the other end of the edges returned, and `versions` adds the first page of version snapshots you can read, oldest first. */
|
|
7666
7743
|
include?: string;
|
|
7744
|
+
/** @description Read the item only if it is in one of these lifecycle states: one state or a comma-separated list, such as `active,trashed`. Send `any` on its own for every state, the trash included. Without it, you get an item in any state but `trashed`. */
|
|
7745
|
+
state?: string;
|
|
7667
7746
|
};
|
|
7668
7747
|
header?: {
|
|
7669
7748
|
/** @description The reach from a copy stream, for a working copy. Marfa reads the current data and checks the reach in one snapshot, and returns `409 reach_changed` if it has changed. Leave it out for an ordinary read. */
|
|
@@ -7691,7 +7770,7 @@ interface operations {
|
|
|
7691
7770
|
};
|
|
7692
7771
|
/**
|
|
7693
7772
|
* @description - `invalid_id`: the ID is not a valid item ID.
|
|
7694
|
-
* - `validation_error`: the query has a parameter this endpoint doesn't take.
|
|
7773
|
+
* - `validation_error`: the query has a parameter this endpoint doesn't take, or `state` is empty, names a state that doesn't exist, or puts `any` beside another state.
|
|
7695
7774
|
*/
|
|
7696
7775
|
400: {
|
|
7697
7776
|
headers: {
|
|
@@ -7704,7 +7783,7 @@ interface operations {
|
|
|
7704
7783
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
7705
7784
|
};
|
|
7706
7785
|
};
|
|
7707
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
7786
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
7708
7787
|
401: {
|
|
7709
7788
|
headers: {
|
|
7710
7789
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -7729,7 +7808,7 @@ interface operations {
|
|
|
7729
7808
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
7730
7809
|
};
|
|
7731
7810
|
};
|
|
7732
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
7811
|
+
/** @description - `item_not_found`: no item has this ID, the item is in a state `state` leaves out (`details.trashed` is `true` for an item in the trash whose type you can read), or its type is one you can't read. */
|
|
7733
7812
|
404: {
|
|
7734
7813
|
headers: {
|
|
7735
7814
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -7854,7 +7933,7 @@ interface operations {
|
|
|
7854
7933
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrValidationErrorRefusal"];
|
|
7855
7934
|
};
|
|
7856
7935
|
};
|
|
7857
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
7936
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
7858
7937
|
401: {
|
|
7859
7938
|
headers: {
|
|
7860
7939
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -8091,7 +8170,7 @@ interface operations {
|
|
|
8091
8170
|
"application/json": components["schemas"]["EdgeConstraintViolationOrEdgeCycleOrInvalidIdOrInvalidPropertiesOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
8092
8171
|
};
|
|
8093
8172
|
};
|
|
8094
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
8173
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
8095
8174
|
401: {
|
|
8096
8175
|
headers: {
|
|
8097
8176
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -8137,6 +8216,18 @@ interface operations {
|
|
|
8137
8216
|
"application/json": components["schemas"]["BlobNotFoundOrEdgeNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal"];
|
|
8138
8217
|
};
|
|
8139
8218
|
};
|
|
8219
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
8220
|
+
408: {
|
|
8221
|
+
headers: {
|
|
8222
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
8223
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
8224
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
8225
|
+
[name: string]: unknown;
|
|
8226
|
+
};
|
|
8227
|
+
content: {
|
|
8228
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
8229
|
+
};
|
|
8230
|
+
};
|
|
8140
8231
|
/**
|
|
8141
8232
|
* @description - `version_conflict`: a stale or colliding write. `current` is the item now.
|
|
8142
8233
|
* - `ancestor_unavailable`: no readable snapshot of `version`.
|
|
@@ -8293,7 +8384,7 @@ interface operations {
|
|
|
8293
8384
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
8294
8385
|
};
|
|
8295
8386
|
};
|
|
8296
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
8387
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
8297
8388
|
401: {
|
|
8298
8389
|
headers: {
|
|
8299
8390
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -8329,6 +8420,18 @@ interface operations {
|
|
|
8329
8420
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
8330
8421
|
};
|
|
8331
8422
|
};
|
|
8423
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
8424
|
+
408: {
|
|
8425
|
+
headers: {
|
|
8426
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
8427
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
8428
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
8429
|
+
[name: string]: unknown;
|
|
8430
|
+
};
|
|
8431
|
+
content: {
|
|
8432
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
8433
|
+
};
|
|
8434
|
+
};
|
|
8332
8435
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
8333
8436
|
409: {
|
|
8334
8437
|
headers: {
|
|
@@ -8465,7 +8568,7 @@ interface operations {
|
|
|
8465
8568
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
8466
8569
|
};
|
|
8467
8570
|
};
|
|
8468
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
8571
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
8469
8572
|
401: {
|
|
8470
8573
|
headers: {
|
|
8471
8574
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -8502,6 +8605,18 @@ interface operations {
|
|
|
8502
8605
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
8503
8606
|
};
|
|
8504
8607
|
};
|
|
8608
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
8609
|
+
408: {
|
|
8610
|
+
headers: {
|
|
8611
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
8612
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
8613
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
8614
|
+
[name: string]: unknown;
|
|
8615
|
+
};
|
|
8616
|
+
content: {
|
|
8617
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
8618
|
+
};
|
|
8619
|
+
};
|
|
8505
8620
|
/** @description - `trash_plan_changed`: what the trash would take no longer matches `digest`. `details.digest` is the digest now, and nothing is trashed. */
|
|
8506
8621
|
409: {
|
|
8507
8622
|
headers: {
|
|
@@ -8645,7 +8760,7 @@ interface operations {
|
|
|
8645
8760
|
"application/json": components["schemas"]["InvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
8646
8761
|
};
|
|
8647
8762
|
};
|
|
8648
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
8763
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
8649
8764
|
401: {
|
|
8650
8765
|
headers: {
|
|
8651
8766
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -8828,7 +8943,7 @@ interface operations {
|
|
|
8828
8943
|
"application/json": components["schemas"]["InvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
8829
8944
|
};
|
|
8830
8945
|
};
|
|
8831
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
8946
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
8832
8947
|
401: {
|
|
8833
8948
|
headers: {
|
|
8834
8949
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9029,7 +9144,7 @@ interface operations {
|
|
|
9029
9144
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrInvalidTransitionOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
9030
9145
|
};
|
|
9031
9146
|
};
|
|
9032
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
9147
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9033
9148
|
401: {
|
|
9034
9149
|
headers: {
|
|
9035
9150
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9069,6 +9184,18 @@ interface operations {
|
|
|
9069
9184
|
"application/json": components["schemas"]["EdgeNotFoundOrItemNotFoundRefusal"];
|
|
9070
9185
|
};
|
|
9071
9186
|
};
|
|
9187
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
9188
|
+
408: {
|
|
9189
|
+
headers: {
|
|
9190
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
9191
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
9192
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
9193
|
+
[name: string]: unknown;
|
|
9194
|
+
};
|
|
9195
|
+
content: {
|
|
9196
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
9197
|
+
};
|
|
9198
|
+
};
|
|
9072
9199
|
/** @description `version_conflict`: `version` differs from the item. `current` is the item now; nothing moved. */
|
|
9073
9200
|
409: {
|
|
9074
9201
|
headers: {
|
|
@@ -9209,7 +9336,7 @@ interface operations {
|
|
|
9209
9336
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
9210
9337
|
};
|
|
9211
9338
|
};
|
|
9212
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
9339
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9213
9340
|
401: {
|
|
9214
9341
|
headers: {
|
|
9215
9342
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9233,7 +9360,7 @@ interface operations {
|
|
|
9233
9360
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
9234
9361
|
};
|
|
9235
9362
|
};
|
|
9236
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
9363
|
+
/** @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read. */
|
|
9237
9364
|
404: {
|
|
9238
9365
|
headers: {
|
|
9239
9366
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9358,7 +9485,7 @@ interface operations {
|
|
|
9358
9485
|
"application/json": components["schemas"]["InvalidIdOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
9359
9486
|
};
|
|
9360
9487
|
};
|
|
9361
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
9488
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9362
9489
|
401: {
|
|
9363
9490
|
headers: {
|
|
9364
9491
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9382,6 +9509,18 @@ interface operations {
|
|
|
9382
9509
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
9383
9510
|
};
|
|
9384
9511
|
};
|
|
9512
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
9513
|
+
408: {
|
|
9514
|
+
headers: {
|
|
9515
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
9516
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
9517
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
9518
|
+
[name: string]: unknown;
|
|
9519
|
+
};
|
|
9520
|
+
content: {
|
|
9521
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
9522
|
+
};
|
|
9523
|
+
};
|
|
9385
9524
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
9386
9525
|
409: {
|
|
9387
9526
|
headers: {
|
|
@@ -9512,7 +9651,7 @@ interface operations {
|
|
|
9512
9651
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
9513
9652
|
};
|
|
9514
9653
|
};
|
|
9515
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
9654
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9516
9655
|
401: {
|
|
9517
9656
|
headers: {
|
|
9518
9657
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9536,6 +9675,18 @@ interface operations {
|
|
|
9536
9675
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
9537
9676
|
};
|
|
9538
9677
|
};
|
|
9678
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
9679
|
+
408: {
|
|
9680
|
+
headers: {
|
|
9681
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
9682
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
9683
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
9684
|
+
[name: string]: unknown;
|
|
9685
|
+
};
|
|
9686
|
+
content: {
|
|
9687
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
9688
|
+
};
|
|
9689
|
+
};
|
|
9539
9690
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
9540
9691
|
409: {
|
|
9541
9692
|
headers: {
|
|
@@ -9669,7 +9820,7 @@ interface operations {
|
|
|
9669
9820
|
"application/json": components["schemas"]["InvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
9670
9821
|
};
|
|
9671
9822
|
};
|
|
9672
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
9823
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9673
9824
|
401: {
|
|
9674
9825
|
headers: {
|
|
9675
9826
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9694,6 +9845,18 @@ interface operations {
|
|
|
9694
9845
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
9695
9846
|
};
|
|
9696
9847
|
};
|
|
9848
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
9849
|
+
408: {
|
|
9850
|
+
headers: {
|
|
9851
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
9852
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
9853
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
9854
|
+
[name: string]: unknown;
|
|
9855
|
+
};
|
|
9856
|
+
content: {
|
|
9857
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
9858
|
+
};
|
|
9859
|
+
};
|
|
9697
9860
|
/** @description `reach_changed`: the reach in `X-Marfa-Reach` has changed. Rebuild the working copy. */
|
|
9698
9861
|
409: {
|
|
9699
9862
|
headers: {
|
|
@@ -9856,7 +10019,7 @@ interface operations {
|
|
|
9856
10019
|
"application/json": components["schemas"]["BulkAtomicRollbackOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
9857
10020
|
};
|
|
9858
10021
|
};
|
|
9859
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10022
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
9860
10023
|
401: {
|
|
9861
10024
|
headers: {
|
|
9862
10025
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -9896,6 +10059,18 @@ interface operations {
|
|
|
9896
10059
|
"application/json": components["schemas"]["BulkAtomicRollbackRefusal"];
|
|
9897
10060
|
};
|
|
9898
10061
|
};
|
|
10062
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
10063
|
+
408: {
|
|
10064
|
+
headers: {
|
|
10065
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
10066
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
10067
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
10068
|
+
[name: string]: unknown;
|
|
10069
|
+
};
|
|
10070
|
+
content: {
|
|
10071
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
10072
|
+
};
|
|
10073
|
+
};
|
|
9899
10074
|
/** @description - `bulk_atomic_rollback`: with `atomic` true, an entry's item has moved or is taken. `details.code` names the cause, such as `version_conflict`, `link_taken`, `type_mismatch` (the natural key matched an item of another type) or `id_reused` (the entry's `id` belongs to an item it doesn't describe). */
|
|
9900
10075
|
409: {
|
|
9901
10076
|
headers: {
|
|
@@ -9984,7 +10159,7 @@ interface operations {
|
|
|
9984
10159
|
source?: string;
|
|
9985
10160
|
/** @description Only return items in this tier. Omit it or send `all` for both tiers. */
|
|
9986
10161
|
tier?: "library" | "feed" | "all";
|
|
9987
|
-
/** @description Comma-separated tags. Only return items that carry all of them. */
|
|
10162
|
+
/** @description Comma-separated tags. Only return items that carry all of them. At most 100 distinct tags, each at most 128 characters. */
|
|
9988
10163
|
tags?: string;
|
|
9989
10164
|
/** @description A filter expression. A term naming an edge type, `edge[<type>]` or `backref[<type>]`, needs read on it; `edge[<type>]=<id>` also works as a query parameter. `status_group` matches by status group; `properties.<field>.<member>`, by a list entry. */
|
|
9990
10165
|
filter?: string;
|
|
@@ -10035,7 +10210,7 @@ interface operations {
|
|
|
10035
10210
|
"application/json": components["schemas"]["UnknownTypeOrValidationErrorRefusal"];
|
|
10036
10211
|
};
|
|
10037
10212
|
};
|
|
10038
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10213
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10039
10214
|
401: {
|
|
10040
10215
|
headers: {
|
|
10041
10216
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10169,7 +10344,7 @@ interface operations {
|
|
|
10169
10344
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
10170
10345
|
};
|
|
10171
10346
|
};
|
|
10172
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10347
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10173
10348
|
401: {
|
|
10174
10349
|
headers: {
|
|
10175
10350
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10181,7 +10356,7 @@ interface operations {
|
|
|
10181
10356
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
10182
10357
|
};
|
|
10183
10358
|
};
|
|
10184
|
-
/** @description `forbidden`: the request does not come from the private local command. */
|
|
10359
|
+
/** @description `forbidden`: the request does not come from the private local command. `details.needs` is `local`. */
|
|
10185
10360
|
403: {
|
|
10186
10361
|
headers: {
|
|
10187
10362
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10287,7 +10462,7 @@ interface operations {
|
|
|
10287
10462
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
10288
10463
|
};
|
|
10289
10464
|
};
|
|
10290
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10465
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10291
10466
|
401: {
|
|
10292
10467
|
headers: {
|
|
10293
10468
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10419,7 +10594,7 @@ interface operations {
|
|
|
10419
10594
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
10420
10595
|
};
|
|
10421
10596
|
};
|
|
10422
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10597
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10423
10598
|
401: {
|
|
10424
10599
|
headers: {
|
|
10425
10600
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10446,6 +10621,18 @@ interface operations {
|
|
|
10446
10621
|
"application/json": components["schemas"]["ForbiddenOrTypeNotPermittedRefusal"];
|
|
10447
10622
|
};
|
|
10448
10623
|
};
|
|
10624
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
10625
|
+
408: {
|
|
10626
|
+
headers: {
|
|
10627
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
10628
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
10629
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
10630
|
+
[name: string]: unknown;
|
|
10631
|
+
};
|
|
10632
|
+
content: {
|
|
10633
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
10634
|
+
};
|
|
10635
|
+
};
|
|
10449
10636
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
10450
10637
|
409: {
|
|
10451
10638
|
headers: {
|
|
@@ -10562,7 +10749,7 @@ interface operations {
|
|
|
10562
10749
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
10563
10750
|
};
|
|
10564
10751
|
};
|
|
10565
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10752
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10566
10753
|
401: {
|
|
10567
10754
|
headers: {
|
|
10568
10755
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10574,7 +10761,7 @@ interface operations {
|
|
|
10574
10761
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
10575
10762
|
};
|
|
10576
10763
|
};
|
|
10577
|
-
/** @description `forbidden`: requires the private local command. */
|
|
10764
|
+
/** @description `forbidden`: requires the private local command. `details.needs` is `local`. */
|
|
10578
10765
|
403: {
|
|
10579
10766
|
headers: {
|
|
10580
10767
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10683,7 +10870,7 @@ interface operations {
|
|
|
10683
10870
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
10684
10871
|
};
|
|
10685
10872
|
};
|
|
10686
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
10873
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10687
10874
|
401: {
|
|
10688
10875
|
headers: {
|
|
10689
10876
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10695,7 +10882,7 @@ interface operations {
|
|
|
10695
10882
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
10696
10883
|
};
|
|
10697
10884
|
};
|
|
10698
|
-
/** @description `forbidden`: requires the private local command for changes. */
|
|
10885
|
+
/** @description `forbidden`: requires the private local command for changes. `details.needs` is `local`. */
|
|
10699
10886
|
403: {
|
|
10700
10887
|
headers: {
|
|
10701
10888
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10840,7 +11027,7 @@ interface operations {
|
|
|
10840
11027
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
10841
11028
|
};
|
|
10842
11029
|
};
|
|
10843
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11030
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
10844
11031
|
401: {
|
|
10845
11032
|
headers: {
|
|
10846
11033
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10852,7 +11039,7 @@ interface operations {
|
|
|
10852
11039
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
10853
11040
|
};
|
|
10854
11041
|
};
|
|
10855
|
-
/** @description `forbidden`: requires the private local command for changes. */
|
|
11042
|
+
/** @description `forbidden`: requires the private local command for changes. `details.needs` is `local`. */
|
|
10856
11043
|
403: {
|
|
10857
11044
|
headers: {
|
|
10858
11045
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -10997,7 +11184,7 @@ interface operations {
|
|
|
10997
11184
|
"application/json": components["schemas"]["EdgeConstraintViolationOrInvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
10998
11185
|
};
|
|
10999
11186
|
};
|
|
11000
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11187
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11001
11188
|
401: {
|
|
11002
11189
|
headers: {
|
|
11003
11190
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11009,7 +11196,7 @@ interface operations {
|
|
|
11009
11196
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
11010
11197
|
};
|
|
11011
11198
|
};
|
|
11012
|
-
/** @description `forbidden`: requires the private local command for changes. */
|
|
11199
|
+
/** @description `forbidden`: requires the private local command for changes. `details.needs` is `local`. */
|
|
11013
11200
|
403: {
|
|
11014
11201
|
headers: {
|
|
11015
11202
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11168,7 +11355,7 @@ interface operations {
|
|
|
11168
11355
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
11169
11356
|
};
|
|
11170
11357
|
};
|
|
11171
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11358
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11172
11359
|
401: {
|
|
11173
11360
|
headers: {
|
|
11174
11361
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11180,7 +11367,7 @@ interface operations {
|
|
|
11180
11367
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
11181
11368
|
};
|
|
11182
11369
|
};
|
|
11183
|
-
/** @description `forbidden`: requires the private local command for changes. */
|
|
11370
|
+
/** @description `forbidden`: requires the private local command for changes. `details.needs` is `local`. */
|
|
11184
11371
|
403: {
|
|
11185
11372
|
headers: {
|
|
11186
11373
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11390,7 +11577,7 @@ interface operations {
|
|
|
11390
11577
|
"application/json": components["schemas"]["BulkCapExceededOrBulkConfirmationRequiredOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
11391
11578
|
};
|
|
11392
11579
|
};
|
|
11393
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11580
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11394
11581
|
401: {
|
|
11395
11582
|
headers: {
|
|
11396
11583
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11418,6 +11605,18 @@ interface operations {
|
|
|
11418
11605
|
"application/json": components["schemas"]["EdgePermissionDeniedOrForbiddenOrTypeNotPermittedRefusal"];
|
|
11419
11606
|
};
|
|
11420
11607
|
};
|
|
11608
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
11609
|
+
408: {
|
|
11610
|
+
headers: {
|
|
11611
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
11612
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
11613
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
11614
|
+
[name: string]: unknown;
|
|
11615
|
+
};
|
|
11616
|
+
content: {
|
|
11617
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
11618
|
+
};
|
|
11619
|
+
};
|
|
11421
11620
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
11422
11621
|
409: {
|
|
11423
11622
|
headers: {
|
|
@@ -11550,7 +11749,7 @@ interface operations {
|
|
|
11550
11749
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
11551
11750
|
};
|
|
11552
11751
|
};
|
|
11553
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11752
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11554
11753
|
401: {
|
|
11555
11754
|
headers: {
|
|
11556
11755
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11675,7 +11874,7 @@ interface operations {
|
|
|
11675
11874
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
11676
11875
|
};
|
|
11677
11876
|
};
|
|
11678
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
11877
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11679
11878
|
401: {
|
|
11680
11879
|
headers: {
|
|
11681
11880
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11824,7 +12023,7 @@ interface operations {
|
|
|
11824
12023
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
11825
12024
|
};
|
|
11826
12025
|
};
|
|
11827
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12026
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11828
12027
|
401: {
|
|
11829
12028
|
headers: {
|
|
11830
12029
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11848,7 +12047,7 @@ interface operations {
|
|
|
11848
12047
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
11849
12048
|
};
|
|
11850
12049
|
};
|
|
11851
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
12050
|
+
/** @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read. */
|
|
11852
12051
|
404: {
|
|
11853
12052
|
headers: {
|
|
11854
12053
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -11966,7 +12165,7 @@ interface operations {
|
|
|
11966
12165
|
"application/json": components["schemas"]["InvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
11967
12166
|
};
|
|
11968
12167
|
};
|
|
11969
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12168
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
11970
12169
|
401: {
|
|
11971
12170
|
headers: {
|
|
11972
12171
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12003,6 +12202,18 @@ interface operations {
|
|
|
12003
12202
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
12004
12203
|
};
|
|
12005
12204
|
};
|
|
12205
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
12206
|
+
408: {
|
|
12207
|
+
headers: {
|
|
12208
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
12209
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
12210
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
12211
|
+
[name: string]: unknown;
|
|
12212
|
+
};
|
|
12213
|
+
content: {
|
|
12214
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
12215
|
+
};
|
|
12216
|
+
};
|
|
12006
12217
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
12007
12218
|
409: {
|
|
12008
12219
|
headers: {
|
|
@@ -12156,7 +12367,7 @@ interface operations {
|
|
|
12156
12367
|
"application/json": components["schemas"]["InvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
12157
12368
|
};
|
|
12158
12369
|
};
|
|
12159
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12370
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12160
12371
|
401: {
|
|
12161
12372
|
headers: {
|
|
12162
12373
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12193,6 +12404,18 @@ interface operations {
|
|
|
12193
12404
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
12194
12405
|
};
|
|
12195
12406
|
};
|
|
12407
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
12408
|
+
408: {
|
|
12409
|
+
headers: {
|
|
12410
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
12411
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
12412
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
12413
|
+
[name: string]: unknown;
|
|
12414
|
+
};
|
|
12415
|
+
content: {
|
|
12416
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
12417
|
+
};
|
|
12418
|
+
};
|
|
12196
12419
|
/** @description `version_conflict`: `version` differs from the item. `current` is the item now; no tag changed. */
|
|
12197
12420
|
409: {
|
|
12198
12421
|
headers: {
|
|
@@ -12340,7 +12563,7 @@ interface operations {
|
|
|
12340
12563
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
12341
12564
|
};
|
|
12342
12565
|
};
|
|
12343
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12566
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12344
12567
|
401: {
|
|
12345
12568
|
headers: {
|
|
12346
12569
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12506,7 +12729,7 @@ interface operations {
|
|
|
12506
12729
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
12507
12730
|
};
|
|
12508
12731
|
};
|
|
12509
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12732
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12510
12733
|
401: {
|
|
12511
12734
|
headers: {
|
|
12512
12735
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12626,7 +12849,7 @@ interface operations {
|
|
|
12626
12849
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
12627
12850
|
};
|
|
12628
12851
|
};
|
|
12629
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12852
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12630
12853
|
401: {
|
|
12631
12854
|
headers: {
|
|
12632
12855
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12653,7 +12876,7 @@ interface operations {
|
|
|
12653
12876
|
"application/json": components["schemas"]["ForbiddenOrTypeNotPermittedRefusal"];
|
|
12654
12877
|
};
|
|
12655
12878
|
};
|
|
12656
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
12879
|
+
/** @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read. */
|
|
12657
12880
|
404: {
|
|
12658
12881
|
headers: {
|
|
12659
12882
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12770,7 +12993,7 @@ interface operations {
|
|
|
12770
12993
|
"application/json": components["schemas"]["InvalidIdOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
12771
12994
|
};
|
|
12772
12995
|
};
|
|
12773
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
12996
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12774
12997
|
401: {
|
|
12775
12998
|
headers: {
|
|
12776
12999
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -12810,6 +13033,18 @@ interface operations {
|
|
|
12810
13033
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
12811
13034
|
};
|
|
12812
13035
|
};
|
|
13036
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
13037
|
+
408: {
|
|
13038
|
+
headers: {
|
|
13039
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
13040
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
13041
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
13042
|
+
[name: string]: unknown;
|
|
13043
|
+
};
|
|
13044
|
+
content: {
|
|
13045
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
13046
|
+
};
|
|
13047
|
+
};
|
|
12813
13048
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
12814
13049
|
409: {
|
|
12815
13050
|
headers: {
|
|
@@ -12954,7 +13189,7 @@ interface operations {
|
|
|
12954
13189
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
12955
13190
|
};
|
|
12956
13191
|
};
|
|
12957
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
13192
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
12958
13193
|
401: {
|
|
12959
13194
|
headers: {
|
|
12960
13195
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13129,7 +13364,7 @@ interface operations {
|
|
|
13129
13364
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13130
13365
|
};
|
|
13131
13366
|
};
|
|
13132
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
13367
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13133
13368
|
401: {
|
|
13134
13369
|
headers: {
|
|
13135
13370
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13153,7 +13388,7 @@ interface operations {
|
|
|
13153
13388
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
13154
13389
|
};
|
|
13155
13390
|
};
|
|
13156
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
13391
|
+
/** @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read. */
|
|
13157
13392
|
404: {
|
|
13158
13393
|
headers: {
|
|
13159
13394
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13225,7 +13460,7 @@ interface operations {
|
|
|
13225
13460
|
cursor?: string;
|
|
13226
13461
|
/** @description Only return rows that match this expression, in the item filter grammar, where `values.<column>` names a column and `id` and `updated_at` are the row's own. */
|
|
13227
13462
|
filter?: string;
|
|
13228
|
-
/** @description What to sort by: `id`, `updated_at` or `values.<column>`. Defaults to `id
|
|
13463
|
+
/** @description What to sort by: `id`, `updated_at` or `values.<column>`. Defaults to the table's `order` column, or `id` when it names none. Sorting by the `order` column reads only the rows a page answers; another column reads every row. */
|
|
13229
13464
|
sort?: string;
|
|
13230
13465
|
/** @description The order of the sort: `asc` or `desc`. */
|
|
13231
13466
|
direction?: "asc" | "desc";
|
|
@@ -13286,7 +13521,7 @@ interface operations {
|
|
|
13286
13521
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13287
13522
|
};
|
|
13288
13523
|
};
|
|
13289
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
13524
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13290
13525
|
401: {
|
|
13291
13526
|
headers: {
|
|
13292
13527
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13312,7 +13547,7 @@ interface operations {
|
|
|
13312
13547
|
};
|
|
13313
13548
|
};
|
|
13314
13549
|
/**
|
|
13315
|
-
* @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read.
|
|
13550
|
+
* @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read.
|
|
13316
13551
|
* - `table_not_found`: the item's type declares no table of this name.
|
|
13317
13552
|
*/
|
|
13318
13553
|
404: {
|
|
@@ -13486,7 +13721,7 @@ interface operations {
|
|
|
13486
13721
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13487
13722
|
};
|
|
13488
13723
|
};
|
|
13489
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
13724
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13490
13725
|
401: {
|
|
13491
13726
|
headers: {
|
|
13492
13727
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13530,6 +13765,18 @@ interface operations {
|
|
|
13530
13765
|
"application/json": components["schemas"]["ItemNotFoundOrRowNotFoundOrTableNotFoundRefusal"];
|
|
13531
13766
|
};
|
|
13532
13767
|
};
|
|
13768
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
13769
|
+
408: {
|
|
13770
|
+
headers: {
|
|
13771
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
13772
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
13773
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
13774
|
+
[name: string]: unknown;
|
|
13775
|
+
};
|
|
13776
|
+
content: {
|
|
13777
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
13778
|
+
};
|
|
13779
|
+
};
|
|
13533
13780
|
/** @description `idempotency_key_in_flight`: a request carrying the same `Idempotency-Key` is still being processed. Retry. */
|
|
13534
13781
|
409: {
|
|
13535
13782
|
headers: {
|
|
@@ -13679,7 +13926,7 @@ interface operations {
|
|
|
13679
13926
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13680
13927
|
};
|
|
13681
13928
|
};
|
|
13682
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
13929
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13683
13930
|
401: {
|
|
13684
13931
|
headers: {
|
|
13685
13932
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13704,7 +13951,7 @@ interface operations {
|
|
|
13704
13951
|
};
|
|
13705
13952
|
};
|
|
13706
13953
|
/**
|
|
13707
|
-
* @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read.
|
|
13954
|
+
* @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read.
|
|
13708
13955
|
* - `table_not_found`: the item's type declares no table of this name.
|
|
13709
13956
|
* - `row_not_found`: the table holds no row with this ID.
|
|
13710
13957
|
*/
|
|
@@ -13827,7 +14074,7 @@ interface operations {
|
|
|
13827
14074
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13828
14075
|
};
|
|
13829
14076
|
};
|
|
13830
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14077
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13831
14078
|
401: {
|
|
13832
14079
|
headers: {
|
|
13833
14080
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13852,7 +14099,7 @@ interface operations {
|
|
|
13852
14099
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
13853
14100
|
};
|
|
13854
14101
|
};
|
|
13855
|
-
/** @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read. */
|
|
14102
|
+
/** @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read. */
|
|
13856
14103
|
404: {
|
|
13857
14104
|
headers: {
|
|
13858
14105
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -13984,7 +14231,7 @@ interface operations {
|
|
|
13984
14231
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
13985
14232
|
};
|
|
13986
14233
|
};
|
|
13987
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14234
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
13988
14235
|
401: {
|
|
13989
14236
|
headers: {
|
|
13990
14237
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14009,7 +14256,7 @@ interface operations {
|
|
|
14009
14256
|
};
|
|
14010
14257
|
};
|
|
14011
14258
|
/**
|
|
14012
|
-
* @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read.
|
|
14259
|
+
* @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read.
|
|
14013
14260
|
* - `table_not_found`: the item's type declares no table of this name.
|
|
14014
14261
|
*/
|
|
14015
14262
|
404: {
|
|
@@ -14138,7 +14385,7 @@ interface operations {
|
|
|
14138
14385
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
14139
14386
|
};
|
|
14140
14387
|
};
|
|
14141
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14388
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14142
14389
|
401: {
|
|
14143
14390
|
headers: {
|
|
14144
14391
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14163,7 +14410,7 @@ interface operations {
|
|
|
14163
14410
|
};
|
|
14164
14411
|
};
|
|
14165
14412
|
/**
|
|
14166
|
-
* @description - `item_not_found`: no item has this ID, the item is in the trash, or its type is one you can't read.
|
|
14413
|
+
* @description - `item_not_found`: no item has this ID, the item is in the trash (`details.trashed` is `true` if you can read its type), or its type is one you can't read.
|
|
14167
14414
|
* - `table_not_found`: the item's type declares no table of this name.
|
|
14168
14415
|
*/
|
|
14169
14416
|
404: {
|
|
@@ -14292,7 +14539,7 @@ interface operations {
|
|
|
14292
14539
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
14293
14540
|
};
|
|
14294
14541
|
};
|
|
14295
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14542
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14296
14543
|
401: {
|
|
14297
14544
|
headers: {
|
|
14298
14545
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14471,7 +14718,7 @@ interface operations {
|
|
|
14471
14718
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
14472
14719
|
};
|
|
14473
14720
|
};
|
|
14474
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14721
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14475
14722
|
401: {
|
|
14476
14723
|
headers: {
|
|
14477
14724
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14639,7 +14886,7 @@ interface operations {
|
|
|
14639
14886
|
"application/json": components["schemas"]["EdgeConstraintViolationOrEdgeCycleOrInvalidIdOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
14640
14887
|
};
|
|
14641
14888
|
};
|
|
14642
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
14889
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14643
14890
|
401: {
|
|
14644
14891
|
headers: {
|
|
14645
14892
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14682,6 +14929,18 @@ interface operations {
|
|
|
14682
14929
|
"application/json": components["schemas"]["EdgeTypeNotFoundOrItemNotFoundRefusal"];
|
|
14683
14930
|
};
|
|
14684
14931
|
};
|
|
14932
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
14933
|
+
408: {
|
|
14934
|
+
headers: {
|
|
14935
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
14936
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
14937
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
14938
|
+
[name: string]: unknown;
|
|
14939
|
+
};
|
|
14940
|
+
content: {
|
|
14941
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
14942
|
+
};
|
|
14943
|
+
};
|
|
14685
14944
|
/**
|
|
14686
14945
|
* @description - `version_conflict`: `source_version` differs; `current` is the source now.
|
|
14687
14946
|
* - `id_reused`: `id` belongs to a different edge. `details.differs` lists the differing ends or type; an unreadable edge supplies only `details.existing_id`.
|
|
@@ -14821,7 +15080,7 @@ interface operations {
|
|
|
14821
15080
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
14822
15081
|
};
|
|
14823
15082
|
};
|
|
14824
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15083
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14825
15084
|
401: {
|
|
14826
15085
|
headers: {
|
|
14827
15086
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -14967,7 +15226,7 @@ interface operations {
|
|
|
14967
15226
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
14968
15227
|
};
|
|
14969
15228
|
};
|
|
14970
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15229
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
14971
15230
|
401: {
|
|
14972
15231
|
headers: {
|
|
14973
15232
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15166,7 +15425,7 @@ interface operations {
|
|
|
15166
15425
|
"application/json": components["schemas"]["EdgeConstraintViolationOrEdgeCycleOrInvalidIdOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
15167
15426
|
};
|
|
15168
15427
|
};
|
|
15169
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15428
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15170
15429
|
401: {
|
|
15171
15430
|
headers: {
|
|
15172
15431
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15210,6 +15469,18 @@ interface operations {
|
|
|
15210
15469
|
"application/json": components["schemas"]["EdgeNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal"];
|
|
15211
15470
|
};
|
|
15212
15471
|
};
|
|
15472
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
15473
|
+
408: {
|
|
15474
|
+
headers: {
|
|
15475
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
15476
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
15477
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
15478
|
+
[name: string]: unknown;
|
|
15479
|
+
};
|
|
15480
|
+
content: {
|
|
15481
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
15482
|
+
};
|
|
15483
|
+
};
|
|
15213
15484
|
/** @description `version_conflict`: `version` is stale. `current` holds the edge as it stands. */
|
|
15214
15485
|
409: {
|
|
15215
15486
|
headers: {
|
|
@@ -15378,7 +15649,7 @@ interface operations {
|
|
|
15378
15649
|
"application/json": components["schemas"]["BulkAtomicRollbackOrInvalidPropertiesOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
15379
15650
|
};
|
|
15380
15651
|
};
|
|
15381
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15652
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15382
15653
|
401: {
|
|
15383
15654
|
headers: {
|
|
15384
15655
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15417,8 +15688,8 @@ interface operations {
|
|
|
15417
15688
|
"application/json": components["schemas"]["BulkAtomicRollbackRefusal"];
|
|
15418
15689
|
};
|
|
15419
15690
|
};
|
|
15420
|
-
/** @description `
|
|
15421
|
-
|
|
15691
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
15692
|
+
408: {
|
|
15422
15693
|
headers: {
|
|
15423
15694
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
15424
15695
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -15426,12 +15697,24 @@ interface operations {
|
|
|
15426
15697
|
[name: string]: unknown;
|
|
15427
15698
|
};
|
|
15428
15699
|
content: {
|
|
15429
|
-
"application/json": components["schemas"]["
|
|
15700
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
15430
15701
|
};
|
|
15431
15702
|
};
|
|
15432
|
-
/** @description `
|
|
15433
|
-
|
|
15434
|
-
headers: {
|
|
15703
|
+
/** @description `bulk_atomic_rollback`: with `atomic` true, an entry's edge has moved or its ID is taken. `details.code` is `version_conflict` or `id_reused`. */
|
|
15704
|
+
409: {
|
|
15705
|
+
headers: {
|
|
15706
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
15707
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
15708
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
15709
|
+
[name: string]: unknown;
|
|
15710
|
+
};
|
|
15711
|
+
content: {
|
|
15712
|
+
"application/json": components["schemas"]["BulkAtomicRollbackRefusal"] | components["schemas"]["InstanceChangedRefusal"];
|
|
15713
|
+
};
|
|
15714
|
+
};
|
|
15715
|
+
/** @description `request_too_large`: the request body is larger than this instance accepts. */
|
|
15716
|
+
413: {
|
|
15717
|
+
headers: {
|
|
15435
15718
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
15436
15719
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
15437
15720
|
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
@@ -15541,7 +15824,7 @@ interface operations {
|
|
|
15541
15824
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
15542
15825
|
};
|
|
15543
15826
|
};
|
|
15544
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15827
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15545
15828
|
401: {
|
|
15546
15829
|
headers: {
|
|
15547
15830
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15687,7 +15970,7 @@ interface operations {
|
|
|
15687
15970
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
15688
15971
|
};
|
|
15689
15972
|
};
|
|
15690
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
15973
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15691
15974
|
401: {
|
|
15692
15975
|
headers: {
|
|
15693
15976
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15777,7 +16060,7 @@ interface operations {
|
|
|
15777
16060
|
searchItems: {
|
|
15778
16061
|
parameters: {
|
|
15779
16062
|
query: {
|
|
15780
|
-
/** @description The text to search for. Marfa matches every word by its stem, in any order, and the last word as the start of a word. Wrap the query in double quotes to match a phrase. */
|
|
16063
|
+
/** @description The text to search for. Marfa matches every word by its stem, in any order, and the last word as the start of a word. Wrap the query in double quotes to match a phrase. At most 500 characters, and 16 distinct words outside quotes. */
|
|
15781
16064
|
q: string;
|
|
15782
16065
|
/** @description Only return items of these types and their subtypes: a comma-separated list of up to 10, such as `core.note,app.*`. A wildcard such as `core.*` matches every type under that prefix. */
|
|
15783
16066
|
type?: string;
|
|
@@ -15789,7 +16072,7 @@ interface operations {
|
|
|
15789
16072
|
tier?: "library" | "feed" | "all";
|
|
15790
16073
|
/** @description Comma-separated extras. `system` also returns `system.*` items, which are left out by default. A `system.` type filter does the same. */
|
|
15791
16074
|
include?: string;
|
|
15792
|
-
/** @description Comma-separated tags. Only return items that carry all of them. */
|
|
16075
|
+
/** @description Comma-separated tags. Only return items that carry all of them. At most 100 distinct tags, each at most 128 characters. */
|
|
15793
16076
|
tags?: string;
|
|
15794
16077
|
/** @description The maximum number of results to return. */
|
|
15795
16078
|
limit?: number;
|
|
@@ -15843,7 +16126,7 @@ interface operations {
|
|
|
15843
16126
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
15844
16127
|
};
|
|
15845
16128
|
};
|
|
15846
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16129
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15847
16130
|
401: {
|
|
15848
16131
|
headers: {
|
|
15849
16132
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -15957,7 +16240,7 @@ interface operations {
|
|
|
15957
16240
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
15958
16241
|
};
|
|
15959
16242
|
};
|
|
15960
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16243
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
15961
16244
|
401: {
|
|
15962
16245
|
headers: {
|
|
15963
16246
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16077,7 +16360,7 @@ interface operations {
|
|
|
16077
16360
|
"application/json": components["schemas"]["InheritanceViolationOrInvalidSchemaOrMissingRequiredFieldOrPropertyShadowsFieldOrValidationErrorRefusal"];
|
|
16078
16361
|
};
|
|
16079
16362
|
};
|
|
16080
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16363
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16081
16364
|
401: {
|
|
16082
16365
|
headers: {
|
|
16083
16366
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16104,6 +16387,18 @@ interface operations {
|
|
|
16104
16387
|
"application/json": components["schemas"]["ForbiddenOrTypeNotPermittedRefusal"];
|
|
16105
16388
|
};
|
|
16106
16389
|
};
|
|
16390
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
16391
|
+
408: {
|
|
16392
|
+
headers: {
|
|
16393
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
16394
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
16395
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
16396
|
+
[name: string]: unknown;
|
|
16397
|
+
};
|
|
16398
|
+
content: {
|
|
16399
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
16400
|
+
};
|
|
16401
|
+
};
|
|
16107
16402
|
/**
|
|
16108
16403
|
* @description - `type_already_exists`: a type has this identifier.
|
|
16109
16404
|
* - `link_taken`: two items that a forced delete left under this identifier hold the same value in the `link_field`.
|
|
@@ -16229,7 +16524,7 @@ interface operations {
|
|
|
16229
16524
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
16230
16525
|
};
|
|
16231
16526
|
};
|
|
16232
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16527
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16233
16528
|
401: {
|
|
16234
16529
|
headers: {
|
|
16235
16530
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16367,7 +16662,7 @@ interface operations {
|
|
|
16367
16662
|
"application/json": components["schemas"]["InheritanceViolationOrInvalidSchemaOrMissingRequiredFieldOrPropertyShadowsFieldOrValidationErrorRefusal"];
|
|
16368
16663
|
};
|
|
16369
16664
|
};
|
|
16370
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16665
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16371
16666
|
401: {
|
|
16372
16667
|
headers: {
|
|
16373
16668
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16407,6 +16702,18 @@ interface operations {
|
|
|
16407
16702
|
"application/json": components["schemas"]["TypeNotFoundRefusal"];
|
|
16408
16703
|
};
|
|
16409
16704
|
};
|
|
16705
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
16706
|
+
408: {
|
|
16707
|
+
headers: {
|
|
16708
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
16709
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
16710
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
16711
|
+
[name: string]: unknown;
|
|
16712
|
+
};
|
|
16713
|
+
content: {
|
|
16714
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
16715
|
+
};
|
|
16716
|
+
};
|
|
16410
16717
|
/**
|
|
16411
16718
|
* @description - `link_taken`: the replacement names a `link_field` in which two items of the type, in any state, hold the same value.
|
|
16412
16719
|
* - `type_in_use`: rows hold a table or column the replacement removes, or a column whose `type` it changes, and `force` isn't `true`. `details.tables` names each.
|
|
@@ -16538,7 +16845,7 @@ interface operations {
|
|
|
16538
16845
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
16539
16846
|
};
|
|
16540
16847
|
};
|
|
16541
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
16848
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16542
16849
|
401: {
|
|
16543
16850
|
headers: {
|
|
16544
16851
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16734,7 +17041,7 @@ interface operations {
|
|
|
16734
17041
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
16735
17042
|
};
|
|
16736
17043
|
};
|
|
16737
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17044
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16738
17045
|
401: {
|
|
16739
17046
|
headers: {
|
|
16740
17047
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16773,6 +17080,18 @@ interface operations {
|
|
|
16773
17080
|
"application/json": components["schemas"]["TypeNotFoundRefusal"];
|
|
16774
17081
|
};
|
|
16775
17082
|
};
|
|
17083
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
17084
|
+
408: {
|
|
17085
|
+
headers: {
|
|
17086
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
17087
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
17088
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
17089
|
+
[name: string]: unknown;
|
|
17090
|
+
};
|
|
17091
|
+
content: {
|
|
17092
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
17093
|
+
};
|
|
17094
|
+
};
|
|
16776
17095
|
/**
|
|
16777
17096
|
* @description - `type_move_blocked`: a folder, view or webhook names the type in a way the move can't rewrite. `details.settings` lists each, with its `reason`. Change them, then move.
|
|
16778
17097
|
* - `type_move_blocked`: an item holds rows in a table the target type doesn't declare. `details.tables` lists them.
|
|
@@ -16896,7 +17215,7 @@ interface operations {
|
|
|
16896
17215
|
"application/json": components["schemas"]["InheritanceViolationOrInvalidSchemaOrMissingRequiredFieldOrPropertyShadowsFieldOrValidationErrorRefusal"];
|
|
16897
17216
|
};
|
|
16898
17217
|
};
|
|
16899
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17218
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
16900
17219
|
401: {
|
|
16901
17220
|
headers: {
|
|
16902
17221
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -16908,6 +17227,18 @@ interface operations {
|
|
|
16908
17227
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
16909
17228
|
};
|
|
16910
17229
|
};
|
|
17230
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
17231
|
+
408: {
|
|
17232
|
+
headers: {
|
|
17233
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
17234
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
17235
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
17236
|
+
[name: string]: unknown;
|
|
17237
|
+
};
|
|
17238
|
+
content: {
|
|
17239
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
17240
|
+
};
|
|
17241
|
+
};
|
|
16911
17242
|
/** @description `type_chain_unresolvable`: the type's stored definition does not read. `PUT /types/{id}` can correct it. */
|
|
16912
17243
|
409: {
|
|
16913
17244
|
headers: {
|
|
@@ -17040,7 +17371,7 @@ interface operations {
|
|
|
17040
17371
|
"application/json": components["schemas"]["InvalidSchemaOrValidationErrorRefusal"];
|
|
17041
17372
|
};
|
|
17042
17373
|
};
|
|
17043
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17374
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17044
17375
|
401: {
|
|
17045
17376
|
headers: {
|
|
17046
17377
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17079,6 +17410,18 @@ interface operations {
|
|
|
17079
17410
|
"application/json": components["schemas"]["TypeNotFoundRefusal"];
|
|
17080
17411
|
};
|
|
17081
17412
|
};
|
|
17413
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
17414
|
+
408: {
|
|
17415
|
+
headers: {
|
|
17416
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
17417
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
17418
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
17419
|
+
[name: string]: unknown;
|
|
17420
|
+
};
|
|
17421
|
+
content: {
|
|
17422
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
17423
|
+
};
|
|
17424
|
+
};
|
|
17082
17425
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
17083
17426
|
409: {
|
|
17084
17427
|
headers: {
|
|
@@ -17192,7 +17535,7 @@ interface operations {
|
|
|
17192
17535
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
17193
17536
|
};
|
|
17194
17537
|
};
|
|
17195
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17538
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17196
17539
|
401: {
|
|
17197
17540
|
headers: {
|
|
17198
17541
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17342,7 +17685,7 @@ interface operations {
|
|
|
17342
17685
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
17343
17686
|
};
|
|
17344
17687
|
};
|
|
17345
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17688
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17346
17689
|
401: {
|
|
17347
17690
|
headers: {
|
|
17348
17691
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17471,7 +17814,7 @@ interface operations {
|
|
|
17471
17814
|
"application/json": components["schemas"]["InvalidSchemaOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
17472
17815
|
};
|
|
17473
17816
|
};
|
|
17474
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17817
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17475
17818
|
401: {
|
|
17476
17819
|
headers: {
|
|
17477
17820
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17510,6 +17853,18 @@ interface operations {
|
|
|
17510
17853
|
"application/json": components["schemas"]["EdgeTypeNotFoundRefusal"];
|
|
17511
17854
|
};
|
|
17512
17855
|
};
|
|
17856
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
17857
|
+
408: {
|
|
17858
|
+
headers: {
|
|
17859
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
17860
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
17861
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
17862
|
+
[name: string]: unknown;
|
|
17863
|
+
};
|
|
17864
|
+
content: {
|
|
17865
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
17866
|
+
};
|
|
17867
|
+
};
|
|
17513
17868
|
/** @description `conflict`: `id` is the name of an edge type Marfa ships, `id` or `reverse_name` is already the ID or reverse name of an edge type, or `reverse_name` equals `id`, or constraint evolution would remove a constraint token without allowing every type or change a definition member other than the labels. */
|
|
17514
17869
|
409: {
|
|
17515
17870
|
headers: {
|
|
@@ -17626,7 +17981,7 @@ interface operations {
|
|
|
17626
17981
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
17627
17982
|
};
|
|
17628
17983
|
};
|
|
17629
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
17984
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17630
17985
|
401: {
|
|
17631
17986
|
headers: {
|
|
17632
17987
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17787,7 +18142,7 @@ interface operations {
|
|
|
17787
18142
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
17788
18143
|
};
|
|
17789
18144
|
};
|
|
17790
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18145
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17791
18146
|
401: {
|
|
17792
18147
|
headers: {
|
|
17793
18148
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -17953,7 +18308,7 @@ interface operations {
|
|
|
17953
18308
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
17954
18309
|
};
|
|
17955
18310
|
};
|
|
17956
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18311
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
17957
18312
|
401: {
|
|
17958
18313
|
headers: {
|
|
17959
18314
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18100,7 +18455,7 @@ interface operations {
|
|
|
18100
18455
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18101
18456
|
};
|
|
18102
18457
|
};
|
|
18103
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18458
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18104
18459
|
401: {
|
|
18105
18460
|
headers: {
|
|
18106
18461
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18222,7 +18577,7 @@ interface operations {
|
|
|
18222
18577
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18223
18578
|
};
|
|
18224
18579
|
};
|
|
18225
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18580
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18226
18581
|
401: {
|
|
18227
18582
|
headers: {
|
|
18228
18583
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18349,7 +18704,7 @@ interface operations {
|
|
|
18349
18704
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18350
18705
|
};
|
|
18351
18706
|
};
|
|
18352
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18707
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18353
18708
|
401: {
|
|
18354
18709
|
headers: {
|
|
18355
18710
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18390,7 +18745,7 @@ interface operations {
|
|
|
18390
18745
|
};
|
|
18391
18746
|
/**
|
|
18392
18747
|
* @description - `copies_below_minimum`: deleting the copy would leave fewer live copies than `min_copies`, or fewer that their stores confirm they hold within 15 seconds. Nothing changes.
|
|
18393
|
-
* - `copy_held_by_backup`: a backup kept
|
|
18748
|
+
* - `copy_held_by_backup`: a backup kept where that store holds the files of backups names the blob, so its copy there stays until thinning deletes every such backup. Nothing changes.
|
|
18394
18749
|
*/
|
|
18395
18750
|
409: {
|
|
18396
18751
|
headers: {
|
|
@@ -18489,7 +18844,7 @@ interface operations {
|
|
|
18489
18844
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18490
18845
|
};
|
|
18491
18846
|
};
|
|
18492
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18847
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18493
18848
|
401: {
|
|
18494
18849
|
headers: {
|
|
18495
18850
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18596,7 +18951,7 @@ interface operations {
|
|
|
18596
18951
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18597
18952
|
};
|
|
18598
18953
|
};
|
|
18599
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
18954
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18600
18955
|
401: {
|
|
18601
18956
|
headers: {
|
|
18602
18957
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18737,7 +19092,7 @@ interface operations {
|
|
|
18737
19092
|
"application/json": components["schemas"]["UnknownTypeOrValidationErrorRefusal"];
|
|
18738
19093
|
};
|
|
18739
19094
|
};
|
|
18740
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19095
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18741
19096
|
401: {
|
|
18742
19097
|
headers: {
|
|
18743
19098
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18859,7 +19214,7 @@ interface operations {
|
|
|
18859
19214
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
18860
19215
|
};
|
|
18861
19216
|
};
|
|
18862
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19217
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18863
19218
|
401: {
|
|
18864
19219
|
headers: {
|
|
18865
19220
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -18985,7 +19340,7 @@ interface operations {
|
|
|
18985
19340
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
18986
19341
|
};
|
|
18987
19342
|
};
|
|
18988
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19343
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
18989
19344
|
401: {
|
|
18990
19345
|
headers: {
|
|
18991
19346
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19009,6 +19364,18 @@ interface operations {
|
|
|
19009
19364
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
19010
19365
|
};
|
|
19011
19366
|
};
|
|
19367
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
19368
|
+
408: {
|
|
19369
|
+
headers: {
|
|
19370
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
19371
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
19372
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
19373
|
+
[name: string]: unknown;
|
|
19374
|
+
};
|
|
19375
|
+
content: {
|
|
19376
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
19377
|
+
};
|
|
19378
|
+
};
|
|
19012
19379
|
/**
|
|
19013
19380
|
* @description - `conflict`: You already hold 100 webhooks. Delete one, then register this one. `details.reason` is `webhook_cap` and `details.cap` is `100`.
|
|
19014
19381
|
* - `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address.
|
|
@@ -19122,7 +19489,7 @@ interface operations {
|
|
|
19122
19489
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19123
19490
|
};
|
|
19124
19491
|
};
|
|
19125
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19492
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19126
19493
|
401: {
|
|
19127
19494
|
headers: {
|
|
19128
19495
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19247,7 +19614,7 @@ interface operations {
|
|
|
19247
19614
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19248
19615
|
};
|
|
19249
19616
|
};
|
|
19250
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19617
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19251
19618
|
401: {
|
|
19252
19619
|
headers: {
|
|
19253
19620
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19409,7 +19776,7 @@ interface operations {
|
|
|
19409
19776
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19410
19777
|
};
|
|
19411
19778
|
};
|
|
19412
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19779
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19413
19780
|
401: {
|
|
19414
19781
|
headers: {
|
|
19415
19782
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19445,6 +19812,18 @@ interface operations {
|
|
|
19445
19812
|
"application/json": components["schemas"]["WebhookNotFoundRefusal"];
|
|
19446
19813
|
};
|
|
19447
19814
|
};
|
|
19815
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
19816
|
+
408: {
|
|
19817
|
+
headers: {
|
|
19818
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
19819
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
19820
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
19821
|
+
[name: string]: unknown;
|
|
19822
|
+
};
|
|
19823
|
+
content: {
|
|
19824
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
19825
|
+
};
|
|
19826
|
+
};
|
|
19448
19827
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
19449
19828
|
409: {
|
|
19450
19829
|
headers: {
|
|
@@ -19560,7 +19939,7 @@ interface operations {
|
|
|
19560
19939
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19561
19940
|
};
|
|
19562
19941
|
};
|
|
19563
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
19942
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19564
19943
|
401: {
|
|
19565
19944
|
headers: {
|
|
19566
19945
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19687,7 +20066,7 @@ interface operations {
|
|
|
19687
20066
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19688
20067
|
};
|
|
19689
20068
|
};
|
|
19690
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20069
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19691
20070
|
401: {
|
|
19692
20071
|
headers: {
|
|
19693
20072
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19835,7 +20214,7 @@ interface operations {
|
|
|
19835
20214
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
19836
20215
|
};
|
|
19837
20216
|
};
|
|
19838
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20217
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19839
20218
|
401: {
|
|
19840
20219
|
headers: {
|
|
19841
20220
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19847,7 +20226,7 @@ interface operations {
|
|
|
19847
20226
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
19848
20227
|
};
|
|
19849
20228
|
};
|
|
19850
|
-
/** @description - `forbidden`: only the private local command can list folders. */
|
|
20229
|
+
/** @description - `forbidden`: only the private local command can list folders. `details.needs` is `local`. */
|
|
19851
20230
|
403: {
|
|
19852
20231
|
headers: {
|
|
19853
20232
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -19980,7 +20359,7 @@ interface operations {
|
|
|
19980
20359
|
"application/json": components["schemas"]["InvalidPropertiesOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
19981
20360
|
};
|
|
19982
20361
|
};
|
|
19983
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20362
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
19984
20363
|
401: {
|
|
19985
20364
|
headers: {
|
|
19986
20365
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20004,6 +20383,18 @@ interface operations {
|
|
|
20004
20383
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
20005
20384
|
};
|
|
20006
20385
|
};
|
|
20386
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
20387
|
+
408: {
|
|
20388
|
+
headers: {
|
|
20389
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
20390
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
20391
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
20392
|
+
[name: string]: unknown;
|
|
20393
|
+
};
|
|
20394
|
+
content: {
|
|
20395
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
20396
|
+
};
|
|
20397
|
+
};
|
|
20007
20398
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
20008
20399
|
409: {
|
|
20009
20400
|
headers: {
|
|
@@ -20178,7 +20569,7 @@ interface operations {
|
|
|
20178
20569
|
"application/json": components["schemas"]["InvalidIdOrInvalidPropertiesOrInvalidTransitionOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
20179
20570
|
};
|
|
20180
20571
|
};
|
|
20181
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20572
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
20182
20573
|
401: {
|
|
20183
20574
|
headers: {
|
|
20184
20575
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20215,6 +20606,18 @@ interface operations {
|
|
|
20215
20606
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
20216
20607
|
};
|
|
20217
20608
|
};
|
|
20609
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
20610
|
+
408: {
|
|
20611
|
+
headers: {
|
|
20612
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
20613
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
20614
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
20615
|
+
[name: string]: unknown;
|
|
20616
|
+
};
|
|
20617
|
+
content: {
|
|
20618
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
20619
|
+
};
|
|
20620
|
+
};
|
|
20218
20621
|
/**
|
|
20219
20622
|
* @description - `version_conflict`: a setting you sent has changed since `version`. `conflicting_fields` names it.
|
|
20220
20623
|
* - `ancestor_unavailable`: Marfa holds no snapshot of `version` to merge from.
|
|
@@ -20361,7 +20764,7 @@ interface operations {
|
|
|
20361
20764
|
"application/json": components["schemas"]["InvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
20362
20765
|
};
|
|
20363
20766
|
};
|
|
20364
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20767
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
20365
20768
|
401: {
|
|
20366
20769
|
headers: {
|
|
20367
20770
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20570,7 +20973,7 @@ interface operations {
|
|
|
20570
20973
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
20571
20974
|
};
|
|
20572
20975
|
};
|
|
20573
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
20976
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
20574
20977
|
401: {
|
|
20575
20978
|
headers: {
|
|
20576
20979
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20710,7 +21113,7 @@ interface operations {
|
|
|
20710
21113
|
"application/json": components["schemas"]["InvalidIdOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
20711
21114
|
};
|
|
20712
21115
|
};
|
|
20713
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21116
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
20714
21117
|
401: {
|
|
20715
21118
|
headers: {
|
|
20716
21119
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20749,6 +21152,18 @@ interface operations {
|
|
|
20749
21152
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
20750
21153
|
};
|
|
20751
21154
|
};
|
|
21155
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
21156
|
+
408: {
|
|
21157
|
+
headers: {
|
|
21158
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
21159
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
21160
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
21161
|
+
[name: string]: unknown;
|
|
21162
|
+
};
|
|
21163
|
+
content: {
|
|
21164
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
21165
|
+
};
|
|
21166
|
+
};
|
|
20752
21167
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
20753
21168
|
409: {
|
|
20754
21169
|
headers: {
|
|
@@ -20878,7 +21293,7 @@ interface operations {
|
|
|
20878
21293
|
"application/json": components["schemas"]["MissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
20879
21294
|
};
|
|
20880
21295
|
};
|
|
20881
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21296
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
20882
21297
|
401: {
|
|
20883
21298
|
headers: {
|
|
20884
21299
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -20902,6 +21317,18 @@ interface operations {
|
|
|
20902
21317
|
"application/json": components["schemas"]["TypeNotPermittedRefusal"];
|
|
20903
21318
|
};
|
|
20904
21319
|
};
|
|
21320
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
21321
|
+
408: {
|
|
21322
|
+
headers: {
|
|
21323
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
21324
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
21325
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
21326
|
+
[name: string]: unknown;
|
|
21327
|
+
};
|
|
21328
|
+
content: {
|
|
21329
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
21330
|
+
};
|
|
21331
|
+
};
|
|
20905
21332
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
20906
21333
|
409: {
|
|
20907
21334
|
headers: {
|
|
@@ -21043,7 +21470,7 @@ interface operations {
|
|
|
21043
21470
|
"application/json": components["schemas"]["InvalidIdOrInvalidTransitionOrValidationErrorRefusal"];
|
|
21044
21471
|
};
|
|
21045
21472
|
};
|
|
21046
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21473
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21047
21474
|
401: {
|
|
21048
21475
|
headers: {
|
|
21049
21476
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21178,7 +21605,7 @@ interface operations {
|
|
|
21178
21605
|
"application/json": components["schemas"]["InvalidIdOrValidationErrorRefusal"];
|
|
21179
21606
|
};
|
|
21180
21607
|
};
|
|
21181
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21608
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21182
21609
|
401: {
|
|
21183
21610
|
headers: {
|
|
21184
21611
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21374,7 +21801,7 @@ interface operations {
|
|
|
21374
21801
|
"application/json": components["schemas"]["InvalidIdOrInvalidTransitionOrMissingRequiredFieldOrUnknownTypeOrValidationErrorRefusal"];
|
|
21375
21802
|
};
|
|
21376
21803
|
};
|
|
21377
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21804
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21378
21805
|
401: {
|
|
21379
21806
|
headers: {
|
|
21380
21807
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21411,6 +21838,18 @@ interface operations {
|
|
|
21411
21838
|
"application/json": components["schemas"]["ItemNotFoundRefusal"];
|
|
21412
21839
|
};
|
|
21413
21840
|
};
|
|
21841
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
21842
|
+
408: {
|
|
21843
|
+
headers: {
|
|
21844
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
21845
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
21846
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
21847
|
+
[name: string]: unknown;
|
|
21848
|
+
};
|
|
21849
|
+
content: {
|
|
21850
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
21851
|
+
};
|
|
21852
|
+
};
|
|
21414
21853
|
/**
|
|
21415
21854
|
* @description - `version_conflict`: a setting you sent has changed since `version`. `conflicting_fields` names it.
|
|
21416
21855
|
* - `ancestor_unavailable`: Marfa holds no snapshot of `version` to merge from.
|
|
@@ -21543,7 +21982,7 @@ interface operations {
|
|
|
21543
21982
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
21544
21983
|
};
|
|
21545
21984
|
};
|
|
21546
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
21985
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21547
21986
|
401: {
|
|
21548
21987
|
headers: {
|
|
21549
21988
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21666,7 +22105,7 @@ interface operations {
|
|
|
21666
22105
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
21667
22106
|
};
|
|
21668
22107
|
};
|
|
21669
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22108
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21670
22109
|
401: {
|
|
21671
22110
|
headers: {
|
|
21672
22111
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21690,6 +22129,18 @@ interface operations {
|
|
|
21690
22129
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
21691
22130
|
};
|
|
21692
22131
|
};
|
|
22132
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
22133
|
+
408: {
|
|
22134
|
+
headers: {
|
|
22135
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22136
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22137
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
22138
|
+
[name: string]: unknown;
|
|
22139
|
+
};
|
|
22140
|
+
content: {
|
|
22141
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
22142
|
+
};
|
|
22143
|
+
};
|
|
21693
22144
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
21694
22145
|
409: {
|
|
21695
22146
|
headers: {
|
|
@@ -21800,7 +22251,7 @@ interface operations {
|
|
|
21800
22251
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
21801
22252
|
};
|
|
21802
22253
|
};
|
|
21803
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22254
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21804
22255
|
401: {
|
|
21805
22256
|
headers: {
|
|
21806
22257
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -21913,7 +22364,7 @@ interface operations {
|
|
|
21913
22364
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
21914
22365
|
};
|
|
21915
22366
|
};
|
|
21916
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22367
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
21917
22368
|
401: {
|
|
21918
22369
|
headers: {
|
|
21919
22370
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22031,10 +22482,7 @@ interface operations {
|
|
|
22031
22482
|
/** @description The ID of the instance you expect, as `GET /` returns it. If another instance answers at this address, Marfa returns `409 instance_changed` and doesn't write. Leave it out to send the request to whichever instance answers. */
|
|
22032
22483
|
"X-Marfa-Instance-Id"?: string;
|
|
22033
22484
|
};
|
|
22034
|
-
path
|
|
22035
|
-
/** @description The ID of the connector. */
|
|
22036
|
-
id: string;
|
|
22037
|
-
};
|
|
22485
|
+
path?: never;
|
|
22038
22486
|
cookie?: never;
|
|
22039
22487
|
};
|
|
22040
22488
|
requestBody?: never;
|
|
@@ -22065,7 +22513,7 @@ interface operations {
|
|
|
22065
22513
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
22066
22514
|
};
|
|
22067
22515
|
};
|
|
22068
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22516
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22069
22517
|
401: {
|
|
22070
22518
|
headers: {
|
|
22071
22519
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22077,7 +22525,7 @@ interface operations {
|
|
|
22077
22525
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
22078
22526
|
};
|
|
22079
22527
|
};
|
|
22080
|
-
/** @description - `forbidden`: your credential isn't
|
|
22528
|
+
/** @description - `forbidden`: your credential isn't a key. Only a key reports as a connector, and management permission does not authorize it. */
|
|
22081
22529
|
403: {
|
|
22082
22530
|
headers: {
|
|
22083
22531
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22089,7 +22537,7 @@ interface operations {
|
|
|
22089
22537
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
22090
22538
|
};
|
|
22091
22539
|
};
|
|
22092
|
-
/** @description - `connector_not_found`:
|
|
22540
|
+
/** @description - `connector_not_found`: your key has not registered a connector. */
|
|
22093
22541
|
404: {
|
|
22094
22542
|
headers: {
|
|
22095
22543
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22176,35 +22624,51 @@ interface operations {
|
|
|
22176
22624
|
};
|
|
22177
22625
|
};
|
|
22178
22626
|
};
|
|
22179
|
-
|
|
22627
|
+
reportConnectorRun: {
|
|
22180
22628
|
parameters: {
|
|
22181
|
-
query?:
|
|
22182
|
-
|
|
22183
|
-
|
|
22184
|
-
|
|
22185
|
-
cursor?: string;
|
|
22186
|
-
};
|
|
22187
|
-
header?: never;
|
|
22188
|
-
path: {
|
|
22189
|
-
/** @description The ID of the connector. */
|
|
22190
|
-
id: string;
|
|
22629
|
+
query?: never;
|
|
22630
|
+
header?: {
|
|
22631
|
+
/** @description The ID of the instance you expect, as `GET /` returns it. If another instance answers at this address, Marfa returns `409 instance_changed` and doesn't write. Leave it out to send the request to whichever instance answers. */
|
|
22632
|
+
"X-Marfa-Instance-Id"?: string;
|
|
22191
22633
|
};
|
|
22634
|
+
path?: never;
|
|
22192
22635
|
cookie?: never;
|
|
22193
22636
|
};
|
|
22194
|
-
requestBody
|
|
22637
|
+
requestBody: {
|
|
22638
|
+
content: {
|
|
22639
|
+
"application/json": {
|
|
22640
|
+
/**
|
|
22641
|
+
* @description How the run ended: `succeeded` or `failed`.
|
|
22642
|
+
* @enum {string}
|
|
22643
|
+
*/
|
|
22644
|
+
outcome: "succeeded" | "failed";
|
|
22645
|
+
/** @description When the run started, as an ISO 8601 time. Marfa converts it to UTC. A time with no offset is read as UTC. */
|
|
22646
|
+
started_at: string;
|
|
22647
|
+
/** @description When the run finished, as an ISO 8601 time. Marfa converts it to UTC. It can't be before `started_at`. */
|
|
22648
|
+
finished_at: string;
|
|
22649
|
+
/** @description A short summary of the run. Leave it out for none. */
|
|
22650
|
+
summary?: string;
|
|
22651
|
+
/** @description The error the run hit. Leave it out for none. */
|
|
22652
|
+
error?: string;
|
|
22653
|
+
};
|
|
22654
|
+
};
|
|
22655
|
+
};
|
|
22195
22656
|
responses: {
|
|
22196
|
-
/** @description Returns
|
|
22197
|
-
|
|
22657
|
+
/** @description Returns the run. */
|
|
22658
|
+
201: {
|
|
22198
22659
|
headers: {
|
|
22199
22660
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22200
22661
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22201
22662
|
[name: string]: unknown;
|
|
22202
22663
|
};
|
|
22203
22664
|
content: {
|
|
22204
|
-
"application/json": components["schemas"]["
|
|
22665
|
+
"application/json": components["schemas"]["ConnectorRun"];
|
|
22205
22666
|
};
|
|
22206
22667
|
};
|
|
22207
|
-
/**
|
|
22668
|
+
/**
|
|
22669
|
+
* @description - `missing_required_field`: `outcome`, `started_at` or `finished_at` is missing.
|
|
22670
|
+
* - `validation_error`: `outcome` isn't `succeeded` or `failed`, a time isn't a timestamp, `finished_at` is before `started_at`, `summary` or `error` is over 2,000 characters, or the body has a top-level field this endpoint doesn't take.
|
|
22671
|
+
*/
|
|
22208
22672
|
400: {
|
|
22209
22673
|
headers: {
|
|
22210
22674
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22213,10 +22677,10 @@ interface operations {
|
|
|
22213
22677
|
[name: string]: unknown;
|
|
22214
22678
|
};
|
|
22215
22679
|
content: {
|
|
22216
|
-
"application/json": components["schemas"]["
|
|
22680
|
+
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
22217
22681
|
};
|
|
22218
22682
|
};
|
|
22219
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22683
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22220
22684
|
401: {
|
|
22221
22685
|
headers: {
|
|
22222
22686
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22228,8 +22692,8 @@ interface operations {
|
|
|
22228
22692
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
22229
22693
|
};
|
|
22230
22694
|
};
|
|
22231
|
-
/** @description - `
|
|
22232
|
-
|
|
22695
|
+
/** @description - `forbidden`: your credential isn't a key. Only a key reports as a connector, and management permission does not authorize it. */
|
|
22696
|
+
403: {
|
|
22233
22697
|
headers: {
|
|
22234
22698
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22235
22699
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22237,24 +22701,23 @@ interface operations {
|
|
|
22237
22701
|
[name: string]: unknown;
|
|
22238
22702
|
};
|
|
22239
22703
|
content: {
|
|
22240
|
-
"application/json": components["schemas"]["
|
|
22704
|
+
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
22241
22705
|
};
|
|
22242
22706
|
};
|
|
22243
|
-
/** @description `
|
|
22244
|
-
|
|
22707
|
+
/** @description - `connector_not_found`: your key has not registered a connector. */
|
|
22708
|
+
404: {
|
|
22245
22709
|
headers: {
|
|
22246
22710
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22247
22711
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22248
22712
|
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
22249
|
-
"Retry-After": components["headers"]["Retry-After"];
|
|
22250
22713
|
[name: string]: unknown;
|
|
22251
22714
|
};
|
|
22252
22715
|
content: {
|
|
22253
|
-
"application/json": components["schemas"]["
|
|
22716
|
+
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
22254
22717
|
};
|
|
22255
22718
|
};
|
|
22256
|
-
/** @description `
|
|
22257
|
-
|
|
22719
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
22720
|
+
408: {
|
|
22258
22721
|
headers: {
|
|
22259
22722
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22260
22723
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22262,11 +22725,11 @@ interface operations {
|
|
|
22262
22725
|
[name: string]: unknown;
|
|
22263
22726
|
};
|
|
22264
22727
|
content: {
|
|
22265
|
-
"application/json": components["schemas"]["
|
|
22728
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
22266
22729
|
};
|
|
22267
22730
|
};
|
|
22268
|
-
/** @description `
|
|
22269
|
-
|
|
22731
|
+
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
22732
|
+
409: {
|
|
22270
22733
|
headers: {
|
|
22271
22734
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22272
22735
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22274,11 +22737,11 @@ interface operations {
|
|
|
22274
22737
|
[name: string]: unknown;
|
|
22275
22738
|
};
|
|
22276
22739
|
content: {
|
|
22277
|
-
"application/json": components["schemas"]["
|
|
22740
|
+
"application/json": components["schemas"]["InstanceChangedRefusal"];
|
|
22278
22741
|
};
|
|
22279
22742
|
};
|
|
22280
|
-
/** @description `
|
|
22281
|
-
|
|
22743
|
+
/** @description `request_too_large`: the request body is larger than this instance accepts. */
|
|
22744
|
+
413: {
|
|
22282
22745
|
headers: {
|
|
22283
22746
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22284
22747
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22286,60 +22749,36 @@ interface operations {
|
|
|
22286
22749
|
[name: string]: unknown;
|
|
22287
22750
|
};
|
|
22288
22751
|
content: {
|
|
22289
|
-
"application/json": components["schemas"]["
|
|
22752
|
+
"application/json": components["schemas"]["RequestTooLargeRefusal"];
|
|
22290
22753
|
};
|
|
22291
22754
|
};
|
|
22292
|
-
|
|
22293
|
-
|
|
22294
|
-
|
|
22295
|
-
|
|
22296
|
-
|
|
22297
|
-
|
|
22298
|
-
|
|
22299
|
-
|
|
22300
|
-
|
|
22301
|
-
|
|
22302
|
-
|
|
22303
|
-
id: string;
|
|
22304
|
-
};
|
|
22305
|
-
cookie?: never;
|
|
22306
|
-
};
|
|
22307
|
-
requestBody: {
|
|
22308
|
-
content: {
|
|
22309
|
-
"application/json": {
|
|
22310
|
-
/**
|
|
22311
|
-
* @description How the run ended: `succeeded` or `failed`.
|
|
22312
|
-
* @enum {string}
|
|
22313
|
-
*/
|
|
22314
|
-
outcome: "succeeded" | "failed";
|
|
22315
|
-
/** @description When the run started, as an ISO 8601 time. Marfa converts it to UTC. A time with no offset is read as UTC. */
|
|
22316
|
-
started_at: string;
|
|
22317
|
-
/** @description When the run finished, as an ISO 8601 time. Marfa converts it to UTC. It can't be before `started_at`. */
|
|
22318
|
-
finished_at: string;
|
|
22319
|
-
/** @description A short summary of the run. Leave it out for none. */
|
|
22320
|
-
summary?: string;
|
|
22321
|
-
/** @description The error the run hit. Leave it out for none. */
|
|
22322
|
-
error?: string;
|
|
22755
|
+
/** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
|
|
22756
|
+
429: {
|
|
22757
|
+
headers: {
|
|
22758
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22759
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22760
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
22761
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
22762
|
+
[name: string]: unknown;
|
|
22763
|
+
};
|
|
22764
|
+
content: {
|
|
22765
|
+
"application/json": components["schemas"]["RateLimitedRefusal"];
|
|
22323
22766
|
};
|
|
22324
22767
|
};
|
|
22325
|
-
|
|
22326
|
-
|
|
22327
|
-
/** @description Returns the run. */
|
|
22328
|
-
201: {
|
|
22768
|
+
/** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
|
|
22769
|
+
500: {
|
|
22329
22770
|
headers: {
|
|
22330
22771
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22331
22772
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22773
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
22332
22774
|
[name: string]: unknown;
|
|
22333
22775
|
};
|
|
22334
22776
|
content: {
|
|
22335
|
-
"application/json": components["schemas"]["
|
|
22777
|
+
"application/json": components["schemas"]["InternalErrorRefusal"];
|
|
22336
22778
|
};
|
|
22337
22779
|
};
|
|
22338
|
-
/**
|
|
22339
|
-
|
|
22340
|
-
* - `validation_error`: `outcome` isn't `succeeded` or `failed`, a time isn't a timestamp, `finished_at` is before `started_at`, `summary` or `error` is over 2,000 characters, or the body has a top-level field this endpoint doesn't take.
|
|
22341
|
-
*/
|
|
22342
|
-
400: {
|
|
22780
|
+
/** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
|
|
22781
|
+
503: {
|
|
22343
22782
|
headers: {
|
|
22344
22783
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22345
22784
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22347,11 +22786,11 @@ interface operations {
|
|
|
22347
22786
|
[name: string]: unknown;
|
|
22348
22787
|
};
|
|
22349
22788
|
content: {
|
|
22350
|
-
"application/json": components["schemas"]["
|
|
22789
|
+
"application/json": components["schemas"]["WriteContentionRefusal"];
|
|
22351
22790
|
};
|
|
22352
22791
|
};
|
|
22353
|
-
/** @description `
|
|
22354
|
-
|
|
22792
|
+
/** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
|
|
22793
|
+
507: {
|
|
22355
22794
|
headers: {
|
|
22356
22795
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22357
22796
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22359,23 +22798,41 @@ interface operations {
|
|
|
22359
22798
|
[name: string]: unknown;
|
|
22360
22799
|
};
|
|
22361
22800
|
content: {
|
|
22362
|
-
"application/json": components["schemas"]["
|
|
22801
|
+
"application/json": components["schemas"]["InsufficientStorageRefusal"];
|
|
22363
22802
|
};
|
|
22364
22803
|
};
|
|
22365
|
-
|
|
22366
|
-
|
|
22804
|
+
};
|
|
22805
|
+
};
|
|
22806
|
+
listConnectorRuns: {
|
|
22807
|
+
parameters: {
|
|
22808
|
+
query?: {
|
|
22809
|
+
/** @description The maximum number of results to return. */
|
|
22810
|
+
limit?: number;
|
|
22811
|
+
/** @description The `next_cursor` from the previous page. Leave it out to get the first page. */
|
|
22812
|
+
cursor?: string;
|
|
22813
|
+
};
|
|
22814
|
+
header?: never;
|
|
22815
|
+
path: {
|
|
22816
|
+
/** @description The ID of the connector. */
|
|
22817
|
+
id: string;
|
|
22818
|
+
};
|
|
22819
|
+
cookie?: never;
|
|
22820
|
+
};
|
|
22821
|
+
requestBody?: never;
|
|
22822
|
+
responses: {
|
|
22823
|
+
/** @description Returns a page of runs. */
|
|
22824
|
+
200: {
|
|
22367
22825
|
headers: {
|
|
22368
22826
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22369
22827
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
22370
|
-
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
22371
22828
|
[name: string]: unknown;
|
|
22372
22829
|
};
|
|
22373
22830
|
content: {
|
|
22374
|
-
"application/json": components["schemas"]["
|
|
22831
|
+
"application/json": components["schemas"]["ConnectorRunPage"];
|
|
22375
22832
|
};
|
|
22376
22833
|
};
|
|
22377
|
-
/** @description - `
|
|
22378
|
-
|
|
22834
|
+
/** @description - `validation_error`: a query parameter is unknown or invalid, or `cursor` is malformed or came from another listing. */
|
|
22835
|
+
400: {
|
|
22379
22836
|
headers: {
|
|
22380
22837
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22381
22838
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22383,11 +22840,11 @@ interface operations {
|
|
|
22383
22840
|
[name: string]: unknown;
|
|
22384
22841
|
};
|
|
22385
22842
|
content: {
|
|
22386
|
-
"application/json": components["schemas"]["
|
|
22843
|
+
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
22387
22844
|
};
|
|
22388
22845
|
};
|
|
22389
|
-
/** @description `
|
|
22390
|
-
|
|
22846
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22847
|
+
401: {
|
|
22391
22848
|
headers: {
|
|
22392
22849
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22393
22850
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22395,11 +22852,11 @@ interface operations {
|
|
|
22395
22852
|
[name: string]: unknown;
|
|
22396
22853
|
};
|
|
22397
22854
|
content: {
|
|
22398
|
-
"application/json": components["schemas"]["
|
|
22855
|
+
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
22399
22856
|
};
|
|
22400
22857
|
};
|
|
22401
|
-
/** @description `
|
|
22402
|
-
|
|
22858
|
+
/** @description - `connector_not_found`: no connector has this ID, or it is registered under another key and yours lacks `connectors.manage`. */
|
|
22859
|
+
404: {
|
|
22403
22860
|
headers: {
|
|
22404
22861
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
22405
22862
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
@@ -22407,7 +22864,7 @@ interface operations {
|
|
|
22407
22864
|
[name: string]: unknown;
|
|
22408
22865
|
};
|
|
22409
22866
|
content: {
|
|
22410
|
-
"application/json": components["schemas"]["
|
|
22867
|
+
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
22411
22868
|
};
|
|
22412
22869
|
};
|
|
22413
22870
|
/** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
|
|
@@ -22516,7 +22973,7 @@ interface operations {
|
|
|
22516
22973
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
22517
22974
|
};
|
|
22518
22975
|
};
|
|
22519
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
22976
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22520
22977
|
401: {
|
|
22521
22978
|
headers: {
|
|
22522
22979
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22552,6 +23009,18 @@ interface operations {
|
|
|
22552
23009
|
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
22553
23010
|
};
|
|
22554
23011
|
};
|
|
23012
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
23013
|
+
408: {
|
|
23014
|
+
headers: {
|
|
23015
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
23016
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
23017
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
23018
|
+
[name: string]: unknown;
|
|
23019
|
+
};
|
|
23020
|
+
content: {
|
|
23021
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
23022
|
+
};
|
|
23023
|
+
};
|
|
22555
23024
|
/** @description - `connector_held`: another process holds the connector until `details.expires_at`. The hold doesn't move. */
|
|
22556
23025
|
409: {
|
|
22557
23026
|
headers: {
|
|
@@ -22671,7 +23140,7 @@ interface operations {
|
|
|
22671
23140
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
22672
23141
|
};
|
|
22673
23142
|
};
|
|
22674
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23143
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22675
23144
|
401: {
|
|
22676
23145
|
headers: {
|
|
22677
23146
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22817,7 +23286,7 @@ interface operations {
|
|
|
22817
23286
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
22818
23287
|
};
|
|
22819
23288
|
};
|
|
22820
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23289
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22821
23290
|
401: {
|
|
22822
23291
|
headers: {
|
|
22823
23292
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -22965,7 +23434,7 @@ interface operations {
|
|
|
22965
23434
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
22966
23435
|
};
|
|
22967
23436
|
};
|
|
22968
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23437
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
22969
23438
|
401: {
|
|
22970
23439
|
headers: {
|
|
22971
23440
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23001,6 +23470,18 @@ interface operations {
|
|
|
23001
23470
|
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
23002
23471
|
};
|
|
23003
23472
|
};
|
|
23473
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
23474
|
+
408: {
|
|
23475
|
+
headers: {
|
|
23476
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
23477
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
23478
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
23479
|
+
[name: string]: unknown;
|
|
23480
|
+
};
|
|
23481
|
+
content: {
|
|
23482
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
23483
|
+
};
|
|
23484
|
+
};
|
|
23004
23485
|
/** @description - `connector_held`: `process` doesn't hold the connector. `details.expires_at` is when another process's hold ends, and is absent when no process holds a live hold. Nothing is written. */
|
|
23005
23486
|
409: {
|
|
23006
23487
|
headers: {
|
|
@@ -23114,7 +23595,7 @@ interface operations {
|
|
|
23114
23595
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
23115
23596
|
};
|
|
23116
23597
|
};
|
|
23117
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23598
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23118
23599
|
401: {
|
|
23119
23600
|
headers: {
|
|
23120
23601
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23267,7 +23748,7 @@ interface operations {
|
|
|
23267
23748
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
23268
23749
|
};
|
|
23269
23750
|
};
|
|
23270
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23751
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23271
23752
|
401: {
|
|
23272
23753
|
headers: {
|
|
23273
23754
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23422,7 +23903,7 @@ interface operations {
|
|
|
23422
23903
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
23423
23904
|
};
|
|
23424
23905
|
};
|
|
23425
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
23906
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23426
23907
|
401: {
|
|
23427
23908
|
headers: {
|
|
23428
23909
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23458,6 +23939,18 @@ interface operations {
|
|
|
23458
23939
|
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
23459
23940
|
};
|
|
23460
23941
|
};
|
|
23942
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
23943
|
+
408: {
|
|
23944
|
+
headers: {
|
|
23945
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
23946
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
23947
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
23948
|
+
[name: string]: unknown;
|
|
23949
|
+
};
|
|
23950
|
+
content: {
|
|
23951
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
23952
|
+
};
|
|
23953
|
+
};
|
|
23461
23954
|
/** @description - `connector_held`: `process` doesn't hold the connector. `details.expires_at` is when another process's hold ends, and is absent when no process holds a live hold. Nothing is written. */
|
|
23462
23955
|
409: {
|
|
23463
23956
|
headers: {
|
|
@@ -23584,7 +24077,7 @@ interface operations {
|
|
|
23584
24077
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
23585
24078
|
};
|
|
23586
24079
|
};
|
|
23587
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24080
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23588
24081
|
401: {
|
|
23589
24082
|
headers: {
|
|
23590
24083
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23620,6 +24113,18 @@ interface operations {
|
|
|
23620
24113
|
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
23621
24114
|
};
|
|
23622
24115
|
};
|
|
24116
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
24117
|
+
408: {
|
|
24118
|
+
headers: {
|
|
24119
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
24120
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
24121
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
24122
|
+
[name: string]: unknown;
|
|
24123
|
+
};
|
|
24124
|
+
content: {
|
|
24125
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
24126
|
+
};
|
|
24127
|
+
};
|
|
23623
24128
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
23624
24129
|
409: {
|
|
23625
24130
|
headers: {
|
|
@@ -23730,7 +24235,7 @@ interface operations {
|
|
|
23730
24235
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
23731
24236
|
};
|
|
23732
24237
|
};
|
|
23733
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24238
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23734
24239
|
401: {
|
|
23735
24240
|
headers: {
|
|
23736
24241
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23864,7 +24369,7 @@ interface operations {
|
|
|
23864
24369
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
23865
24370
|
};
|
|
23866
24371
|
};
|
|
23867
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24372
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
23868
24373
|
401: {
|
|
23869
24374
|
headers: {
|
|
23870
24375
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -23900,6 +24405,18 @@ interface operations {
|
|
|
23900
24405
|
"application/json": components["schemas"]["ConnectorNotFoundRefusal"];
|
|
23901
24406
|
};
|
|
23902
24407
|
};
|
|
24408
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
24409
|
+
408: {
|
|
24410
|
+
headers: {
|
|
24411
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
24412
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
24413
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
24414
|
+
[name: string]: unknown;
|
|
24415
|
+
};
|
|
24416
|
+
content: {
|
|
24417
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
24418
|
+
};
|
|
24419
|
+
};
|
|
23903
24420
|
/** @description - `conflict`: the connector already has 10 live endpoints (retire one first), or its key is revoked or past its `expires_at`, so an address would never answer. */
|
|
23904
24421
|
409: {
|
|
23905
24422
|
headers: {
|
|
@@ -24015,7 +24532,7 @@ interface operations {
|
|
|
24015
24532
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
24016
24533
|
};
|
|
24017
24534
|
};
|
|
24018
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24535
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24019
24536
|
401: {
|
|
24020
24537
|
headers: {
|
|
24021
24538
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24173,7 +24690,7 @@ interface operations {
|
|
|
24173
24690
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
24174
24691
|
};
|
|
24175
24692
|
};
|
|
24176
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24693
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24177
24694
|
401: {
|
|
24178
24695
|
headers: {
|
|
24179
24696
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24297,7 +24814,7 @@ interface operations {
|
|
|
24297
24814
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
24298
24815
|
};
|
|
24299
24816
|
};
|
|
24300
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24817
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24301
24818
|
401: {
|
|
24302
24819
|
headers: {
|
|
24303
24820
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24443,7 +24960,7 @@ interface operations {
|
|
|
24443
24960
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
24444
24961
|
};
|
|
24445
24962
|
};
|
|
24446
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
24963
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24447
24964
|
401: {
|
|
24448
24965
|
headers: {
|
|
24449
24966
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24482,6 +24999,18 @@ interface operations {
|
|
|
24482
24999
|
"application/json": components["schemas"]["ConnectorNotFoundOrDeliveryNotFoundRefusal"];
|
|
24483
25000
|
};
|
|
24484
25001
|
};
|
|
25002
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
25003
|
+
408: {
|
|
25004
|
+
headers: {
|
|
25005
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
25006
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
25007
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
25008
|
+
[name: string]: unknown;
|
|
25009
|
+
};
|
|
25010
|
+
content: {
|
|
25011
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
25012
|
+
};
|
|
25013
|
+
};
|
|
24485
25014
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
24486
25015
|
409: {
|
|
24487
25016
|
headers: {
|
|
@@ -24589,7 +25118,7 @@ interface operations {
|
|
|
24589
25118
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
24590
25119
|
};
|
|
24591
25120
|
};
|
|
24592
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25121
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24593
25122
|
401: {
|
|
24594
25123
|
headers: {
|
|
24595
25124
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24690,7 +25219,7 @@ interface operations {
|
|
|
24690
25219
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
24691
25220
|
};
|
|
24692
25221
|
};
|
|
24693
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25222
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24694
25223
|
401: {
|
|
24695
25224
|
headers: {
|
|
24696
25225
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24822,7 +25351,7 @@ interface operations {
|
|
|
24822
25351
|
"application/json": components["schemas"]["InvalidSchemaOrMissingRequiredFieldOrValidationErrorRefusal"];
|
|
24823
25352
|
};
|
|
24824
25353
|
};
|
|
24825
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25354
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24826
25355
|
401: {
|
|
24827
25356
|
headers: {
|
|
24828
25357
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -24846,6 +25375,18 @@ interface operations {
|
|
|
24846
25375
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
24847
25376
|
};
|
|
24848
25377
|
};
|
|
25378
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
25379
|
+
408: {
|
|
25380
|
+
headers: {
|
|
25381
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
25382
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
25383
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
25384
|
+
[name: string]: unknown;
|
|
25385
|
+
};
|
|
25386
|
+
content: {
|
|
25387
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
25388
|
+
};
|
|
25389
|
+
};
|
|
24849
25390
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
24850
25391
|
409: {
|
|
24851
25392
|
headers: {
|
|
@@ -24953,7 +25494,7 @@ interface operations {
|
|
|
24953
25494
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
24954
25495
|
};
|
|
24955
25496
|
};
|
|
24956
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25497
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
24957
25498
|
401: {
|
|
24958
25499
|
headers: {
|
|
24959
25500
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25100,7 +25641,7 @@ interface operations {
|
|
|
25100
25641
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
25101
25642
|
};
|
|
25102
25643
|
};
|
|
25103
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25644
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25104
25645
|
401: {
|
|
25105
25646
|
headers: {
|
|
25106
25647
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25124,6 +25665,18 @@ interface operations {
|
|
|
25124
25665
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
25125
25666
|
};
|
|
25126
25667
|
};
|
|
25668
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
25669
|
+
408: {
|
|
25670
|
+
headers: {
|
|
25671
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
25672
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
25673
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
25674
|
+
[name: string]: unknown;
|
|
25675
|
+
};
|
|
25676
|
+
content: {
|
|
25677
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
25678
|
+
};
|
|
25679
|
+
};
|
|
25127
25680
|
/** @description - `conflict`: another key that hasn't been revoked or expired already has this `source` as its own. `details.source` names it. To let two keys write under one source, claim it in `sources` instead. */
|
|
25128
25681
|
409: {
|
|
25129
25682
|
headers: {
|
|
@@ -25235,7 +25788,7 @@ interface operations {
|
|
|
25235
25788
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
25236
25789
|
};
|
|
25237
25790
|
};
|
|
25238
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25791
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25239
25792
|
401: {
|
|
25240
25793
|
headers: {
|
|
25241
25794
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25361,7 +25914,7 @@ interface operations {
|
|
|
25361
25914
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
25362
25915
|
};
|
|
25363
25916
|
};
|
|
25364
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
25917
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25365
25918
|
401: {
|
|
25366
25919
|
headers: {
|
|
25367
25920
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25550,7 +26103,7 @@ interface operations {
|
|
|
25550
26103
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
25551
26104
|
};
|
|
25552
26105
|
};
|
|
25553
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
26106
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25554
26107
|
401: {
|
|
25555
26108
|
headers: {
|
|
25556
26109
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25586,6 +26139,18 @@ interface operations {
|
|
|
25586
26139
|
"application/json": components["schemas"]["ApiKeyNotFoundRefusal"];
|
|
25587
26140
|
};
|
|
25588
26141
|
};
|
|
26142
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
26143
|
+
408: {
|
|
26144
|
+
headers: {
|
|
26145
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
26146
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
26147
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
26148
|
+
[name: string]: unknown;
|
|
26149
|
+
};
|
|
26150
|
+
content: {
|
|
26151
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
26152
|
+
};
|
|
26153
|
+
};
|
|
25589
26154
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
25590
26155
|
409: {
|
|
25591
26156
|
headers: {
|
|
@@ -25685,7 +26250,7 @@ interface operations {
|
|
|
25685
26250
|
"application/json": {
|
|
25686
26251
|
/** @description The redirect URIs, as registered. */
|
|
25687
26252
|
redirect_uris?: string[];
|
|
25688
|
-
/** @description Space-separated scopes the client is registered for: the ones you named, or
|
|
26253
|
+
/** @description Space-separated scopes the client is registered for: the ones you named, or `content:read content:write edge.*:read edge.*:write offline_access` when you named none, without `offline_access` for a client that can't use a refresh token. */
|
|
25689
26254
|
scope?: string;
|
|
25690
26255
|
/** @description The app's name, as registered. */
|
|
25691
26256
|
client_name?: string;
|
|
@@ -25729,8 +26294,8 @@ interface operations {
|
|
|
25729
26294
|
};
|
|
25730
26295
|
};
|
|
25731
26296
|
/**
|
|
25732
|
-
* @description - `invalid_client_metadata`: client metadata is invalid
|
|
25733
|
-
* - `invalid_redirect_uri`: a redirect URI is invalid, or there are more than 10.
|
|
26297
|
+
* @description - `invalid_client_metadata`: client metadata is invalid, or a value is past its `maxLength` or `maxItems`.
|
|
26298
|
+
* - `invalid_redirect_uri`: a redirect URI is invalid or too long, or there are more than 10.
|
|
25734
26299
|
* - `invalid_scope`: a scope is not allowed.
|
|
25735
26300
|
* - `invalid_target`: a resource is invalid.
|
|
25736
26301
|
*
|
|
@@ -25777,6 +26342,18 @@ interface operations {
|
|
|
25777
26342
|
};
|
|
25778
26343
|
};
|
|
25779
26344
|
};
|
|
26345
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
26346
|
+
408: {
|
|
26347
|
+
headers: {
|
|
26348
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
26349
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
26350
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
26351
|
+
[name: string]: unknown;
|
|
26352
|
+
};
|
|
26353
|
+
content: {
|
|
26354
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
26355
|
+
};
|
|
26356
|
+
};
|
|
25780
26357
|
/** @description `request_too_large`: the request body is larger than this instance accepts. */
|
|
25781
26358
|
413: {
|
|
25782
26359
|
headers: {
|
|
@@ -25870,7 +26447,7 @@ interface operations {
|
|
|
25870
26447
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
25871
26448
|
};
|
|
25872
26449
|
};
|
|
25873
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
26450
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25874
26451
|
401: {
|
|
25875
26452
|
headers: {
|
|
25876
26453
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25948,8 +26525,8 @@ interface operations {
|
|
|
25948
26525
|
revokeAppGrant: {
|
|
25949
26526
|
parameters: {
|
|
25950
26527
|
query?: {
|
|
25951
|
-
/** @description
|
|
25952
|
-
revoke_keys?:
|
|
26528
|
+
/** @description Also revoke every key the app minted, and every key those keys minted. Omitting it, or `false`, leaves them working. */
|
|
26529
|
+
revoke_keys?: "true" | "false";
|
|
25953
26530
|
};
|
|
25954
26531
|
header?: never;
|
|
25955
26532
|
path: {
|
|
@@ -25960,16 +26537,18 @@ interface operations {
|
|
|
25960
26537
|
};
|
|
25961
26538
|
requestBody?: never;
|
|
25962
26539
|
responses: {
|
|
25963
|
-
/** @description The app's grant is revoked. */
|
|
25964
|
-
|
|
26540
|
+
/** @description Returns `ok: true`. The app's grant is revoked. */
|
|
26541
|
+
200: {
|
|
25965
26542
|
headers: {
|
|
25966
26543
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
25967
26544
|
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
25968
26545
|
[name: string]: unknown;
|
|
25969
26546
|
};
|
|
25970
|
-
content
|
|
26547
|
+
content: {
|
|
26548
|
+
"application/json": components["schemas"]["Ok"];
|
|
26549
|
+
};
|
|
25971
26550
|
};
|
|
25972
|
-
/** @description - `validation_error`: the query has a parameter this endpoint doesn't take. */
|
|
26551
|
+
/** @description - `validation_error`: the query has a parameter this endpoint doesn't take, or `revoke_keys` is neither `true` nor `false`, or is named more than once. Nothing is revoked. */
|
|
25973
26552
|
400: {
|
|
25974
26553
|
headers: {
|
|
25975
26554
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -25981,7 +26560,7 @@ interface operations {
|
|
|
25981
26560
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
25982
26561
|
};
|
|
25983
26562
|
};
|
|
25984
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
26563
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
25985
26564
|
401: {
|
|
25986
26565
|
headers: {
|
|
25987
26566
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26127,7 +26706,7 @@ interface operations {
|
|
|
26127
26706
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
26128
26707
|
};
|
|
26129
26708
|
};
|
|
26130
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
26709
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26131
26710
|
401: {
|
|
26132
26711
|
headers: {
|
|
26133
26712
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26139,7 +26718,7 @@ interface operations {
|
|
|
26139
26718
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
26140
26719
|
};
|
|
26141
26720
|
};
|
|
26142
|
-
/** @description - `forbidden`: the private local command is required, or the requested scopes widen access. */
|
|
26721
|
+
/** @description - `forbidden`: the private local command is required, or the requested scopes widen access. `details.needs` is `local`. */
|
|
26143
26722
|
403: {
|
|
26144
26723
|
headers: {
|
|
26145
26724
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26163,6 +26742,18 @@ interface operations {
|
|
|
26163
26742
|
"application/json": components["schemas"]["OauthGrantNotFoundRefusal"];
|
|
26164
26743
|
};
|
|
26165
26744
|
};
|
|
26745
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
26746
|
+
408: {
|
|
26747
|
+
headers: {
|
|
26748
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
26749
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
26750
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
26751
|
+
[name: string]: unknown;
|
|
26752
|
+
};
|
|
26753
|
+
content: {
|
|
26754
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
26755
|
+
};
|
|
26756
|
+
};
|
|
26166
26757
|
/** @description - `conflict`: the grant's scopes changed; read them again before submitting. */
|
|
26167
26758
|
409: {
|
|
26168
26759
|
headers: {
|
|
@@ -26270,7 +26861,7 @@ interface operations {
|
|
|
26270
26861
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
26271
26862
|
};
|
|
26272
26863
|
};
|
|
26273
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
26864
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26274
26865
|
401: {
|
|
26275
26866
|
headers: {
|
|
26276
26867
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26282,7 +26873,7 @@ interface operations {
|
|
|
26282
26873
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
26283
26874
|
};
|
|
26284
26875
|
};
|
|
26285
|
-
/** @description This operation requires the private local command. */
|
|
26876
|
+
/** @description This operation requires the private local command. `details.needs` is `local`. */
|
|
26286
26877
|
403: {
|
|
26287
26878
|
headers: {
|
|
26288
26879
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26432,6 +27023,18 @@ interface operations {
|
|
|
26432
27023
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
26433
27024
|
};
|
|
26434
27025
|
};
|
|
27026
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
27027
|
+
408: {
|
|
27028
|
+
headers: {
|
|
27029
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
27030
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
27031
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
27032
|
+
[name: string]: unknown;
|
|
27033
|
+
};
|
|
27034
|
+
content: {
|
|
27035
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
27036
|
+
};
|
|
27037
|
+
};
|
|
26435
27038
|
/** @description The instance has already been claimed. */
|
|
26436
27039
|
409: {
|
|
26437
27040
|
headers: {
|
|
@@ -26532,7 +27135,7 @@ interface operations {
|
|
|
26532
27135
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
26533
27136
|
};
|
|
26534
27137
|
};
|
|
26535
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27138
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26536
27139
|
401: {
|
|
26537
27140
|
headers: {
|
|
26538
27141
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26544,7 +27147,7 @@ interface operations {
|
|
|
26544
27147
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
26545
27148
|
};
|
|
26546
27149
|
};
|
|
26547
|
-
/** @description The request needs the private local command. */
|
|
27150
|
+
/** @description The request needs the private local command. `details.needs` is `local`. */
|
|
26548
27151
|
403: {
|
|
26549
27152
|
headers: {
|
|
26550
27153
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26568,6 +27171,18 @@ interface operations {
|
|
|
26568
27171
|
"application/json": components["schemas"]["OwnerNotFoundRefusal"];
|
|
26569
27172
|
};
|
|
26570
27173
|
};
|
|
27174
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
27175
|
+
408: {
|
|
27176
|
+
headers: {
|
|
27177
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
27178
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
27179
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
27180
|
+
[name: string]: unknown;
|
|
27181
|
+
};
|
|
27182
|
+
content: {
|
|
27183
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
27184
|
+
};
|
|
27185
|
+
};
|
|
26571
27186
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
26572
27187
|
409: {
|
|
26573
27188
|
headers: {
|
|
@@ -26688,7 +27303,7 @@ interface operations {
|
|
|
26688
27303
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
26689
27304
|
};
|
|
26690
27305
|
};
|
|
26691
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27306
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26692
27307
|
401: {
|
|
26693
27308
|
headers: {
|
|
26694
27309
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26807,7 +27422,7 @@ interface operations {
|
|
|
26807
27422
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
26808
27423
|
};
|
|
26809
27424
|
};
|
|
26810
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27425
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26811
27426
|
401: {
|
|
26812
27427
|
headers: {
|
|
26813
27428
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -26843,6 +27458,18 @@ interface operations {
|
|
|
26843
27458
|
"application/json": components["schemas"]["OwnerNotFoundRefusal"];
|
|
26844
27459
|
};
|
|
26845
27460
|
};
|
|
27461
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
27462
|
+
408: {
|
|
27463
|
+
headers: {
|
|
27464
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
27465
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
27466
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
27467
|
+
[name: string]: unknown;
|
|
27468
|
+
};
|
|
27469
|
+
content: {
|
|
27470
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
27471
|
+
};
|
|
27472
|
+
};
|
|
26846
27473
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
26847
27474
|
409: {
|
|
26848
27475
|
headers: {
|
|
@@ -26965,7 +27592,7 @@ interface operations {
|
|
|
26965
27592
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
26966
27593
|
};
|
|
26967
27594
|
};
|
|
26968
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27595
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
26969
27596
|
401: {
|
|
26970
27597
|
headers: {
|
|
26971
27598
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27092,7 +27719,7 @@ interface operations {
|
|
|
27092
27719
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27093
27720
|
};
|
|
27094
27721
|
};
|
|
27095
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27722
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27096
27723
|
401: {
|
|
27097
27724
|
headers: {
|
|
27098
27725
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27104,7 +27731,7 @@ interface operations {
|
|
|
27104
27731
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27105
27732
|
};
|
|
27106
27733
|
};
|
|
27107
|
-
/** @description The request needs the private local command. */
|
|
27734
|
+
/** @description The request needs the private local command. `details.needs` is `local`. */
|
|
27108
27735
|
403: {
|
|
27109
27736
|
headers: {
|
|
27110
27737
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27128,6 +27755,18 @@ interface operations {
|
|
|
27128
27755
|
"application/json": components["schemas"]["OwnerNotFoundRefusal"];
|
|
27129
27756
|
};
|
|
27130
27757
|
};
|
|
27758
|
+
/** @description `request_timeout`: no bytes arrived for 60 seconds. Nothing changed. An upload has no other time limit while bytes keep arriving. */
|
|
27759
|
+
408: {
|
|
27760
|
+
headers: {
|
|
27761
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
27762
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
27763
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
27764
|
+
[name: string]: unknown;
|
|
27765
|
+
};
|
|
27766
|
+
content: {
|
|
27767
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
27768
|
+
};
|
|
27769
|
+
};
|
|
27131
27770
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
27132
27771
|
409: {
|
|
27133
27772
|
headers: {
|
|
@@ -27243,7 +27882,7 @@ interface operations {
|
|
|
27243
27882
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27244
27883
|
};
|
|
27245
27884
|
};
|
|
27246
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
27885
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27247
27886
|
401: {
|
|
27248
27887
|
headers: {
|
|
27249
27888
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27279,6 +27918,18 @@ interface operations {
|
|
|
27279
27918
|
"application/json": components["schemas"]["OwnerNotFoundRefusal"];
|
|
27280
27919
|
};
|
|
27281
27920
|
};
|
|
27921
|
+
/** @description `request_timeout`: no bytes arrived for 60 seconds. Nothing changed. An upload has no other time limit while bytes keep arriving. */
|
|
27922
|
+
408: {
|
|
27923
|
+
headers: {
|
|
27924
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
27925
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
27926
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
27927
|
+
[name: string]: unknown;
|
|
27928
|
+
};
|
|
27929
|
+
content: {
|
|
27930
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
27931
|
+
};
|
|
27932
|
+
};
|
|
27282
27933
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
27283
27934
|
409: {
|
|
27284
27935
|
headers: {
|
|
@@ -27386,7 +28037,7 @@ interface operations {
|
|
|
27386
28037
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27387
28038
|
};
|
|
27388
28039
|
};
|
|
27389
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28040
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27390
28041
|
401: {
|
|
27391
28042
|
headers: {
|
|
27392
28043
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27398,7 +28049,7 @@ interface operations {
|
|
|
27398
28049
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27399
28050
|
};
|
|
27400
28051
|
};
|
|
27401
|
-
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. */
|
|
28052
|
+
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. `details.needs` is `local`. */
|
|
27402
28053
|
403: {
|
|
27403
28054
|
headers: {
|
|
27404
28055
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27490,7 +28141,7 @@ interface operations {
|
|
|
27490
28141
|
"application/json": components["schemas"]["Ok"];
|
|
27491
28142
|
};
|
|
27492
28143
|
};
|
|
27493
|
-
/** @description - `validation_error`: `revoke_keys` is `true` and the ID names a browser or a key. */
|
|
28144
|
+
/** @description - `validation_error`: `revoke_keys` is neither `true` nor `false`, or is named more than once, or it is `true` and the ID names a browser or a key. Nothing ends. */
|
|
27494
28145
|
400: {
|
|
27495
28146
|
headers: {
|
|
27496
28147
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27502,7 +28153,7 @@ interface operations {
|
|
|
27502
28153
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27503
28154
|
};
|
|
27504
28155
|
};
|
|
27505
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28156
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27506
28157
|
401: {
|
|
27507
28158
|
headers: {
|
|
27508
28159
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27514,7 +28165,7 @@ interface operations {
|
|
|
27514
28165
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27515
28166
|
};
|
|
27516
28167
|
};
|
|
27517
|
-
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. */
|
|
28168
|
+
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. `details.needs` is `local`. */
|
|
27518
28169
|
403: {
|
|
27519
28170
|
headers: {
|
|
27520
28171
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27664,7 +28315,7 @@ interface operations {
|
|
|
27664
28315
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
27665
28316
|
};
|
|
27666
28317
|
};
|
|
27667
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28318
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27668
28319
|
401: {
|
|
27669
28320
|
headers: {
|
|
27670
28321
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27676,7 +28327,7 @@ interface operations {
|
|
|
27676
28327
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27677
28328
|
};
|
|
27678
28329
|
};
|
|
27679
|
-
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. */
|
|
28330
|
+
/** @description - `forbidden`: the request carries a key or an app's token rather than the private local command. `details.needs` is `local`. */
|
|
27680
28331
|
403: {
|
|
27681
28332
|
headers: {
|
|
27682
28333
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27700,6 +28351,18 @@ interface operations {
|
|
|
27700
28351
|
"application/json": components["schemas"]["SignInNotFoundRefusal"];
|
|
27701
28352
|
};
|
|
27702
28353
|
};
|
|
28354
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
28355
|
+
408: {
|
|
28356
|
+
headers: {
|
|
28357
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
28358
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
28359
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
28360
|
+
[name: string]: unknown;
|
|
28361
|
+
};
|
|
28362
|
+
content: {
|
|
28363
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
28364
|
+
};
|
|
28365
|
+
};
|
|
27703
28366
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
27704
28367
|
409: {
|
|
27705
28368
|
headers: {
|
|
@@ -27807,7 +28470,7 @@ interface operations {
|
|
|
27807
28470
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27808
28471
|
};
|
|
27809
28472
|
};
|
|
27810
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28473
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27811
28474
|
401: {
|
|
27812
28475
|
headers: {
|
|
27813
28476
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27819,7 +28482,7 @@ interface operations {
|
|
|
27819
28482
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27820
28483
|
};
|
|
27821
28484
|
};
|
|
27822
|
-
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes. */
|
|
28485
|
+
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes; without one, `details.needs` is `recent_sign_in`. */
|
|
27823
28486
|
403: {
|
|
27824
28487
|
headers: {
|
|
27825
28488
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27920,7 +28583,7 @@ interface operations {
|
|
|
27920
28583
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
27921
28584
|
};
|
|
27922
28585
|
};
|
|
27923
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28586
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
27924
28587
|
401: {
|
|
27925
28588
|
headers: {
|
|
27926
28589
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -27932,7 +28595,7 @@ interface operations {
|
|
|
27932
28595
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
27933
28596
|
};
|
|
27934
28597
|
};
|
|
27935
|
-
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes. */
|
|
28598
|
+
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes; without one, `details.needs` is `recent_sign_in`. */
|
|
27936
28599
|
403: {
|
|
27937
28600
|
headers: {
|
|
27938
28601
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28076,7 +28739,7 @@ interface operations {
|
|
|
28076
28739
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
28077
28740
|
};
|
|
28078
28741
|
};
|
|
28079
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28742
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28080
28743
|
401: {
|
|
28081
28744
|
headers: {
|
|
28082
28745
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28088,7 +28751,7 @@ interface operations {
|
|
|
28088
28751
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
28089
28752
|
};
|
|
28090
28753
|
};
|
|
28091
|
-
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes. */
|
|
28754
|
+
/** @description Requires the owner's browser session or local authority. Mutations require an owner sign-in within five minutes; without one, `details.needs` is `recent_sign_in`. */
|
|
28092
28755
|
403: {
|
|
28093
28756
|
headers: {
|
|
28094
28757
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28112,6 +28775,18 @@ interface operations {
|
|
|
28112
28775
|
"application/json": components["schemas"]["PasskeyNotFoundRefusal"];
|
|
28113
28776
|
};
|
|
28114
28777
|
};
|
|
28778
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
28779
|
+
408: {
|
|
28780
|
+
headers: {
|
|
28781
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
28782
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
28783
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
28784
|
+
[name: string]: unknown;
|
|
28785
|
+
};
|
|
28786
|
+
content: {
|
|
28787
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
28788
|
+
};
|
|
28789
|
+
};
|
|
28115
28790
|
/** @description `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address. */
|
|
28116
28791
|
409: {
|
|
28117
28792
|
headers: {
|
|
@@ -28265,7 +28940,7 @@ interface operations {
|
|
|
28265
28940
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
28266
28941
|
};
|
|
28267
28942
|
};
|
|
28268
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
28943
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28269
28944
|
401: {
|
|
28270
28945
|
headers: {
|
|
28271
28946
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28360,7 +29035,7 @@ interface operations {
|
|
|
28360
29035
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
28361
29036
|
};
|
|
28362
29037
|
};
|
|
28363
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29038
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28364
29039
|
401: {
|
|
28365
29040
|
headers: {
|
|
28366
29041
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28524,7 +29199,7 @@ interface operations {
|
|
|
28524
29199
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
28525
29200
|
};
|
|
28526
29201
|
};
|
|
28527
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29202
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28528
29203
|
401: {
|
|
28529
29204
|
headers: {
|
|
28530
29205
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28536,7 +29211,10 @@ interface operations {
|
|
|
28536
29211
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
28537
29212
|
};
|
|
28538
29213
|
};
|
|
28539
|
-
/**
|
|
29214
|
+
/**
|
|
29215
|
+
* @description - `forbidden`: you don't hold `config.manage`. `details.required_scope` names it.
|
|
29216
|
+
* - `forbidden` with `details.needs` set to `local`: the change moves the sign-in address or the origins, which only the private local command can do.
|
|
29217
|
+
*/
|
|
28540
29218
|
403: {
|
|
28541
29219
|
headers: {
|
|
28542
29220
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28548,6 +29226,18 @@ interface operations {
|
|
|
28548
29226
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
28549
29227
|
};
|
|
28550
29228
|
};
|
|
29229
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
29230
|
+
408: {
|
|
29231
|
+
headers: {
|
|
29232
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
29233
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
29234
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
29235
|
+
[name: string]: unknown;
|
|
29236
|
+
};
|
|
29237
|
+
content: {
|
|
29238
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
29239
|
+
};
|
|
29240
|
+
};
|
|
28551
29241
|
/**
|
|
28552
29242
|
* @description - `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address.
|
|
28553
29243
|
* - `sign_in_address_change_unconfirmed`: the change moves the sign-in address of a claimed instance and the body lacks `confirm_sign_in_address_change: true`. `details.consequences` lists what the change does. Nothing is written.
|
|
@@ -28715,7 +29405,7 @@ interface operations {
|
|
|
28715
29405
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
28716
29406
|
};
|
|
28717
29407
|
};
|
|
28718
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29408
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28719
29409
|
401: {
|
|
28720
29410
|
headers: {
|
|
28721
29411
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28727,7 +29417,10 @@ interface operations {
|
|
|
28727
29417
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
28728
29418
|
};
|
|
28729
29419
|
};
|
|
28730
|
-
/**
|
|
29420
|
+
/**
|
|
29421
|
+
* @description - `forbidden`: you don't hold `config.manage`. `details.required_scope` names it.
|
|
29422
|
+
* - `forbidden` with `details.needs` set to `local`: the change moves the sign-in address or the origins, which only the private local command can do.
|
|
29423
|
+
*/
|
|
28731
29424
|
403: {
|
|
28732
29425
|
headers: {
|
|
28733
29426
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28739,6 +29432,18 @@ interface operations {
|
|
|
28739
29432
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
28740
29433
|
};
|
|
28741
29434
|
};
|
|
29435
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
29436
|
+
408: {
|
|
29437
|
+
headers: {
|
|
29438
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
29439
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
29440
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
29441
|
+
[name: string]: unknown;
|
|
29442
|
+
};
|
|
29443
|
+
content: {
|
|
29444
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
29445
|
+
};
|
|
29446
|
+
};
|
|
28742
29447
|
/**
|
|
28743
29448
|
* @description - `instance_changed`: `X-Marfa-Instance-Id` names another instance. Nothing is written. Rebuild the working copy from the instance at this address.
|
|
28744
29449
|
* - `sign_in_address_change_unconfirmed`: the change moves the sign-in address of a claimed instance and the body lacks `confirm_sign_in_address_change: true`. `details.consequences` lists what the change does. Nothing is written.
|
|
@@ -28849,7 +29554,7 @@ interface operations {
|
|
|
28849
29554
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
28850
29555
|
};
|
|
28851
29556
|
};
|
|
28852
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29557
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28853
29558
|
401: {
|
|
28854
29559
|
headers: {
|
|
28855
29560
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28960,7 +29665,7 @@ interface operations {
|
|
|
28960
29665
|
"application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
|
|
28961
29666
|
};
|
|
28962
29667
|
};
|
|
28963
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29668
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
28964
29669
|
401: {
|
|
28965
29670
|
headers: {
|
|
28966
29671
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -28984,6 +29689,18 @@ interface operations {
|
|
|
28984
29689
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
28985
29690
|
};
|
|
28986
29691
|
};
|
|
29692
|
+
/** @description `request_timeout`: the request body didn't arrive whole within 180 seconds. Nothing changed, and Marfa closed the connection. Send the request again. A body larger than about 21 MiB can't arrive in that time over a 1 Mbit/s link, so send it in smaller requests. */
|
|
29693
|
+
408: {
|
|
29694
|
+
headers: {
|
|
29695
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
29696
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
29697
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
29698
|
+
[name: string]: unknown;
|
|
29699
|
+
};
|
|
29700
|
+
content: {
|
|
29701
|
+
"application/json": components["schemas"]["RequestTimeoutRefusal"];
|
|
29702
|
+
};
|
|
29703
|
+
};
|
|
28987
29704
|
/** @description `request_too_large`: the request body is larger than this instance accepts. */
|
|
28988
29705
|
413: {
|
|
28989
29706
|
headers: {
|
|
@@ -29137,7 +29854,7 @@ interface operations {
|
|
|
29137
29854
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
29138
29855
|
};
|
|
29139
29856
|
};
|
|
29140
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
29857
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29141
29858
|
401: {
|
|
29142
29859
|
headers: {
|
|
29143
29860
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29149,7 +29866,7 @@ interface operations {
|
|
|
29149
29866
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
29150
29867
|
};
|
|
29151
29868
|
};
|
|
29152
|
-
/** @description - `forbidden`: only the private local command can read what needs attention. */
|
|
29869
|
+
/** @description - `forbidden`: only the private local command can read what needs attention. `details.needs` is `local`. */
|
|
29153
29870
|
403: {
|
|
29154
29871
|
headers: {
|
|
29155
29872
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29303,7 +30020,7 @@ interface operations {
|
|
|
29303
30020
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
29304
30021
|
};
|
|
29305
30022
|
};
|
|
29306
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30023
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29307
30024
|
401: {
|
|
29308
30025
|
headers: {
|
|
29309
30026
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29429,7 +30146,7 @@ interface operations {
|
|
|
29429
30146
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
29430
30147
|
};
|
|
29431
30148
|
};
|
|
29432
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30149
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29433
30150
|
401: {
|
|
29434
30151
|
headers: {
|
|
29435
30152
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29536,7 +30253,7 @@ interface operations {
|
|
|
29536
30253
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
29537
30254
|
};
|
|
29538
30255
|
};
|
|
29539
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30256
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29540
30257
|
401: {
|
|
29541
30258
|
headers: {
|
|
29542
30259
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29649,7 +30366,7 @@ interface operations {
|
|
|
29649
30366
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
29650
30367
|
};
|
|
29651
30368
|
};
|
|
29652
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30369
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29653
30370
|
401: {
|
|
29654
30371
|
headers: {
|
|
29655
30372
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -29811,7 +30528,7 @@ interface operations {
|
|
|
29811
30528
|
"application/json": components["schemas"]["UnknownTypeOrValidationErrorRefusal"];
|
|
29812
30529
|
};
|
|
29813
30530
|
};
|
|
29814
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30531
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
29815
30532
|
401: {
|
|
29816
30533
|
headers: {
|
|
29817
30534
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30006,7 +30723,7 @@ interface operations {
|
|
|
30006
30723
|
"application/json": components["schemas"]["InheritanceViolationOrInvalidPropertiesOrInvalidSchemaOrPropertyShadowsFieldOrValidationErrorRefusal"];
|
|
30007
30724
|
};
|
|
30008
30725
|
};
|
|
30009
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30726
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
30010
30727
|
401: {
|
|
30011
30728
|
headers: {
|
|
30012
30729
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30018,7 +30735,7 @@ interface operations {
|
|
|
30018
30735
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
30019
30736
|
};
|
|
30020
30737
|
};
|
|
30021
|
-
/** @description Requires the private local command. */
|
|
30738
|
+
/** @description Requires the private local command. `details.needs` is `local`. */
|
|
30022
30739
|
403: {
|
|
30023
30740
|
headers: {
|
|
30024
30741
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30144,7 +30861,7 @@ interface operations {
|
|
|
30144
30861
|
};
|
|
30145
30862
|
requestBody?: never;
|
|
30146
30863
|
responses: {
|
|
30147
|
-
/** @description Returns every backup, in one page. A backup is an archive of every item, edge and instance line, the trash included, without file bytes, which the object store already holds. */
|
|
30864
|
+
/** @description Returns every backup, in one page. A backup is an archive of every item, edge and instance line, the trash included, without file bytes, which the backup folder or object store already holds. */
|
|
30148
30865
|
200: {
|
|
30149
30866
|
headers: {
|
|
30150
30867
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30172,7 +30889,7 @@ interface operations {
|
|
|
30172
30889
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
30173
30890
|
};
|
|
30174
30891
|
};
|
|
30175
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
30892
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
30176
30893
|
401: {
|
|
30177
30894
|
headers: {
|
|
30178
30895
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30184,7 +30901,7 @@ interface operations {
|
|
|
30184
30901
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
30185
30902
|
};
|
|
30186
30903
|
};
|
|
30187
|
-
/** @description Requires the private local command. */
|
|
30904
|
+
/** @description Requires the private local command. `details.needs` is `local`. */
|
|
30188
30905
|
403: {
|
|
30189
30906
|
headers: {
|
|
30190
30907
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30196,7 +30913,7 @@ interface operations {
|
|
|
30196
30913
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
30197
30914
|
};
|
|
30198
30915
|
};
|
|
30199
|
-
/** @description `
|
|
30916
|
+
/** @description `no_backup_destination`: the instance has nowhere to put backups, so it keeps none. Set `MARFA_BACKUP_PATH` to a folder, or `S3_BUCKET` to an object store, to keep them. */
|
|
30200
30917
|
409: {
|
|
30201
30918
|
headers: {
|
|
30202
30919
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30205,7 +30922,7 @@ interface operations {
|
|
|
30205
30922
|
[name: string]: unknown;
|
|
30206
30923
|
};
|
|
30207
30924
|
content: {
|
|
30208
|
-
"application/json": components["schemas"]["
|
|
30925
|
+
"application/json": components["schemas"]["NoBackupDestinationRefusal"];
|
|
30209
30926
|
};
|
|
30210
30927
|
};
|
|
30211
30928
|
/** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
|
|
@@ -30233,7 +30950,7 @@ interface operations {
|
|
|
30233
30950
|
"application/json": components["schemas"]["InternalErrorRefusal"];
|
|
30234
30951
|
};
|
|
30235
30952
|
};
|
|
30236
|
-
/** @description `blob_store_unavailable`: the object store failed, or didn't answer in time. Try again later. */
|
|
30953
|
+
/** @description `blob_store_unavailable`: the backup folder or object store failed, or didn't answer in time. Try again later. */
|
|
30237
30954
|
503: {
|
|
30238
30955
|
headers: {
|
|
30239
30956
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30268,7 +30985,7 @@ interface operations {
|
|
|
30268
30985
|
};
|
|
30269
30986
|
requestBody?: never;
|
|
30270
30987
|
responses: {
|
|
30271
|
-
/** @description Returns the backup Marfa put,
|
|
30988
|
+
/** @description Returns the backup Marfa put, how many old backups it deleted, and the files it lost. */
|
|
30272
30989
|
200: {
|
|
30273
30990
|
headers: {
|
|
30274
30991
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30287,6 +31004,140 @@ interface operations {
|
|
|
30287
31004
|
removed: number;
|
|
30288
31005
|
/** @description How many old backups Marfa tried to delete and couldn't. It tries again after the next backup. */
|
|
30289
31006
|
unremoved: number;
|
|
31007
|
+
/** @description The hashes of the files the backup names that no store could give when Marfa took it. A restore of the backup goes ahead without them, and `GET /health` answers `backups.status` `failing` until a backup is put without losing any. */
|
|
31008
|
+
blobs_lost: string[];
|
|
31009
|
+
};
|
|
31010
|
+
};
|
|
31011
|
+
};
|
|
31012
|
+
/** @description - `validation_error`: the query has a parameter this endpoint doesn't take. */
|
|
31013
|
+
400: {
|
|
31014
|
+
headers: {
|
|
31015
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31016
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31017
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31018
|
+
[name: string]: unknown;
|
|
31019
|
+
};
|
|
31020
|
+
content: {
|
|
31021
|
+
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
31022
|
+
};
|
|
31023
|
+
};
|
|
31024
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
31025
|
+
401: {
|
|
31026
|
+
headers: {
|
|
31027
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31028
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31029
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31030
|
+
[name: string]: unknown;
|
|
31031
|
+
};
|
|
31032
|
+
content: {
|
|
31033
|
+
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
31034
|
+
};
|
|
31035
|
+
};
|
|
31036
|
+
/** @description Requires the private local command. `details.needs` is `local`. */
|
|
31037
|
+
403: {
|
|
31038
|
+
headers: {
|
|
31039
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31040
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31041
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31042
|
+
[name: string]: unknown;
|
|
31043
|
+
};
|
|
31044
|
+
content: {
|
|
31045
|
+
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
31046
|
+
};
|
|
31047
|
+
};
|
|
31048
|
+
/**
|
|
31049
|
+
* @description - `conflict`: a file the backup names was purged, or its copy where backups go was dropped, while the backup was read, or a backup by this name is already recorded. The next run takes the backup again.
|
|
31050
|
+
* - `housekeeping_job_running`: a backup is running. Try again once it ends.
|
|
31051
|
+
* - `no_backup_destination`: the instance has nowhere to put backups, so it keeps none.
|
|
31052
|
+
*/
|
|
31053
|
+
409: {
|
|
31054
|
+
headers: {
|
|
31055
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31056
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31057
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31058
|
+
[name: string]: unknown;
|
|
31059
|
+
};
|
|
31060
|
+
content: {
|
|
31061
|
+
"application/json": components["schemas"]["ConflictRefusal"] | components["schemas"]["HousekeepingJobRunningRefusal"] | components["schemas"]["NoBackupDestinationRefusal"];
|
|
31062
|
+
};
|
|
31063
|
+
};
|
|
31064
|
+
/** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
|
|
31065
|
+
429: {
|
|
31066
|
+
headers: {
|
|
31067
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31068
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31069
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31070
|
+
"Retry-After": components["headers"]["Retry-After"];
|
|
31071
|
+
[name: string]: unknown;
|
|
31072
|
+
};
|
|
31073
|
+
content: {
|
|
31074
|
+
"application/json": components["schemas"]["RateLimitedRefusal"];
|
|
31075
|
+
};
|
|
31076
|
+
};
|
|
31077
|
+
/** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
|
|
31078
|
+
500: {
|
|
31079
|
+
headers: {
|
|
31080
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31081
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31082
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31083
|
+
[name: string]: unknown;
|
|
31084
|
+
};
|
|
31085
|
+
content: {
|
|
31086
|
+
"application/json": components["schemas"]["InternalErrorRefusal"];
|
|
31087
|
+
};
|
|
31088
|
+
};
|
|
31089
|
+
/** @description `blob_store_unavailable`: the backup folder or object store failed, or didn't answer in time. Try again later. */
|
|
31090
|
+
503: {
|
|
31091
|
+
headers: {
|
|
31092
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31093
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31094
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31095
|
+
[name: string]: unknown;
|
|
31096
|
+
};
|
|
31097
|
+
content: {
|
|
31098
|
+
"application/json": components["schemas"]["BlobStoreUnavailableOrWriteContentionRefusal"];
|
|
31099
|
+
};
|
|
31100
|
+
};
|
|
31101
|
+
/** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
|
|
31102
|
+
507: {
|
|
31103
|
+
headers: {
|
|
31104
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31105
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31106
|
+
"X-Error-Code": components["headers"]["X-Error-Code"];
|
|
31107
|
+
[name: string]: unknown;
|
|
31108
|
+
};
|
|
31109
|
+
content: {
|
|
31110
|
+
"application/json": components["schemas"]["InsufficientStorageRefusal"];
|
|
31111
|
+
};
|
|
31112
|
+
};
|
|
31113
|
+
};
|
|
31114
|
+
};
|
|
31115
|
+
adoptBackupFolder: {
|
|
31116
|
+
parameters: {
|
|
31117
|
+
query?: never;
|
|
31118
|
+
header?: never;
|
|
31119
|
+
path?: never;
|
|
31120
|
+
cookie?: never;
|
|
31121
|
+
};
|
|
31122
|
+
requestBody?: never;
|
|
31123
|
+
responses: {
|
|
31124
|
+
/** @description Returns the new store and what Marfa forgot of the old one. */
|
|
31125
|
+
200: {
|
|
31126
|
+
headers: {
|
|
31127
|
+
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
31128
|
+
"X-Request-ID": components["headers"]["X-Request-ID"];
|
|
31129
|
+
[name: string]: unknown;
|
|
31130
|
+
};
|
|
31131
|
+
content: {
|
|
31132
|
+
"application/json": {
|
|
31133
|
+
/** @description The ID of the store the backup folder's files folder is now. */
|
|
31134
|
+
store_id: string;
|
|
31135
|
+
/** @description The ID of the store Marfa forgot. `GET /blobs/stores` lists it as detached. */
|
|
31136
|
+
replaced_store_id: string;
|
|
31137
|
+
/** @description How many backups in the old store Marfa forgot. */
|
|
31138
|
+
backups_forgotten: number;
|
|
31139
|
+
/** @description How many copies of files in the old store Marfa forgot. */
|
|
31140
|
+
copies_forgotten: number;
|
|
30290
31141
|
};
|
|
30291
31142
|
};
|
|
30292
31143
|
};
|
|
@@ -30302,7 +31153,7 @@ interface operations {
|
|
|
30302
31153
|
"application/json": components["schemas"]["ValidationErrorRefusal"];
|
|
30303
31154
|
};
|
|
30304
31155
|
};
|
|
30305
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
31156
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
30306
31157
|
401: {
|
|
30307
31158
|
headers: {
|
|
30308
31159
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30314,7 +31165,7 @@ interface operations {
|
|
|
30314
31165
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
30315
31166
|
};
|
|
30316
31167
|
};
|
|
30317
|
-
/** @description Requires the private local command. */
|
|
31168
|
+
/** @description Requires the private local command. `details.needs` is `local`. */
|
|
30318
31169
|
403: {
|
|
30319
31170
|
headers: {
|
|
30320
31171
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30327,9 +31178,9 @@ interface operations {
|
|
|
30327
31178
|
};
|
|
30328
31179
|
};
|
|
30329
31180
|
/**
|
|
30330
|
-
* @description - `conflict`:
|
|
31181
|
+
* @description - `conflict`: the backup folder holds this instance's files, so there is nothing to adopt, its files folder holds another store's marker, or the instance backs up to an object store.
|
|
30331
31182
|
* - `housekeeping_job_running`: a backup is running. Try again once it ends.
|
|
30332
|
-
* - `
|
|
31183
|
+
* - `no_backup_destination`: the instance has nowhere to put backups, so it keeps none.
|
|
30333
31184
|
*/
|
|
30334
31185
|
409: {
|
|
30335
31186
|
headers: {
|
|
@@ -30339,7 +31190,7 @@ interface operations {
|
|
|
30339
31190
|
[name: string]: unknown;
|
|
30340
31191
|
};
|
|
30341
31192
|
content: {
|
|
30342
|
-
"application/json": components["schemas"]["ConflictRefusal"] | components["schemas"]["HousekeepingJobRunningRefusal"] | components["schemas"]["
|
|
31193
|
+
"application/json": components["schemas"]["ConflictRefusal"] | components["schemas"]["HousekeepingJobRunningRefusal"] | components["schemas"]["NoBackupDestinationRefusal"];
|
|
30343
31194
|
};
|
|
30344
31195
|
};
|
|
30345
31196
|
/** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
|
|
@@ -30367,7 +31218,7 @@ interface operations {
|
|
|
30367
31218
|
"application/json": components["schemas"]["InternalErrorRefusal"];
|
|
30368
31219
|
};
|
|
30369
31220
|
};
|
|
30370
|
-
/** @description `blob_store_unavailable`: the
|
|
31221
|
+
/** @description `blob_store_unavailable`: the backup folder is not there, or Marfa could not write the new store marker after it forgot the old disk's backups and file copies. Mount the disk it is on, or make the folder writable, then try again. */
|
|
30371
31222
|
503: {
|
|
30372
31223
|
headers: {
|
|
30373
31224
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30505,7 +31356,7 @@ interface operations {
|
|
|
30505
31356
|
"application/json": components["schemas"]["InheritanceViolationOrInvalidPropertiesOrInvalidSchemaOrPropertyShadowsFieldOrValidationErrorRefusal"];
|
|
30506
31357
|
};
|
|
30507
31358
|
};
|
|
30508
|
-
/** @description `unauthorized`: the request has no credential, or its credential is not valid. */
|
|
31359
|
+
/** @description `unauthorized`: the request has no credential, or its credential is not valid. For a key that has expired, `details.expired_at` says when it expired. */
|
|
30509
31360
|
401: {
|
|
30510
31361
|
headers: {
|
|
30511
31362
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30517,7 +31368,7 @@ interface operations {
|
|
|
30517
31368
|
"application/json": components["schemas"]["UnauthorizedRefusal"];
|
|
30518
31369
|
};
|
|
30519
31370
|
};
|
|
30520
|
-
/** @description Requires the private local command. */
|
|
31371
|
+
/** @description Requires the private local command. `details.needs` is `local`. */
|
|
30521
31372
|
403: {
|
|
30522
31373
|
headers: {
|
|
30523
31374
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30529,7 +31380,7 @@ interface operations {
|
|
|
30529
31380
|
"application/json": components["schemas"]["ForbiddenRefusal"];
|
|
30530
31381
|
};
|
|
30531
31382
|
};
|
|
30532
|
-
/** @description `backup_not_found`: the object store holds no backup by that name from that instance. */
|
|
31383
|
+
/** @description `backup_not_found`: the backup folder or object store holds no backup by that name from that instance. */
|
|
30533
31384
|
404: {
|
|
30534
31385
|
headers: {
|
|
30535
31386
|
"X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
|
|
@@ -30542,9 +31393,10 @@ interface operations {
|
|
|
30542
31393
|
};
|
|
30543
31394
|
};
|
|
30544
31395
|
/**
|
|
30545
|
-
* @description - `
|
|
30546
|
-
* - `
|
|
30547
|
-
* - `
|
|
31396
|
+
* @description - `backup_files_missing`: neither the folder nor this instance holds files it needs, named in `details.missing_blobs`. Nothing was restored.
|
|
31397
|
+
* - `conflict`: the archive redefines a type registered here differently, carries a core edge type, or reuses a snapshot ID.
|
|
31398
|
+
* - `link_taken`: the archive's type names a `link_field` two items share.
|
|
31399
|
+
* - `no_backup_destination`: there is nowhere to put backups.
|
|
30548
31400
|
*/
|
|
30549
31401
|
409: {
|
|
30550
31402
|
headers: {
|
|
@@ -30554,7 +31406,7 @@ interface operations {
|
|
|
30554
31406
|
[name: string]: unknown;
|
|
30555
31407
|
};
|
|
30556
31408
|
content: {
|
|
30557
|
-
"application/json": components["schemas"]["ConflictOrLinkTakenRefusal"] | components["schemas"]["InstanceChangedRefusal"] | components["schemas"]["
|
|
31409
|
+
"application/json": components["schemas"]["BackupFilesMissingRefusal"] | components["schemas"]["ConflictOrLinkTakenRefusal"] | components["schemas"]["InstanceChangedRefusal"] | components["schemas"]["NoBackupDestinationRefusal"];
|
|
30558
31410
|
};
|
|
30559
31411
|
};
|
|
30560
31412
|
/** @description - `request_too_large`: an item's properties, the properties of one of its earlier versions, or an edge's properties are larger than the bulk write endpoints accept. `details` names the line and the field. */
|
|
@@ -30607,7 +31459,7 @@ interface operations {
|
|
|
30607
31459
|
};
|
|
30608
31460
|
};
|
|
30609
31461
|
/**
|
|
30610
|
-
* @description - `blob_store_unavailable`: the object store failed
|
|
31462
|
+
* @description - `blob_store_unavailable`: the backup folder or object store failed or was too slow while Marfa read the backup or checked a blob's copy, or a store is still writing or deleting a blob the archive names. Nothing was written. Try again later.
|
|
30611
31463
|
* - `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again.
|
|
30612
31464
|
*/
|
|
30613
31465
|
503: {
|