@remit/api-openapi-spec 0.0.34 → 0.0.35
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/openapi.json +47 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -1440,6 +1440,33 @@
|
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
1442
|
},
|
|
1443
|
+
"/config/export": {
|
|
1444
|
+
"get": {
|
|
1445
|
+
"operationId": "ConfigOperations_exportConfig",
|
|
1446
|
+
"description": "Export every configured setting for the caller as one versioned JSON document. Contains no credentials: no IMAP/SMTP password and no OAuth token, encrypted or otherwise, and the credential fields are structurally absent rather than blank. The document's own shape is not defined here - it is defined by the published JSON Schema for its `schemaVersion` (build/config-schema/reader-config.v<N>.schema.json), so a file keeps validating independent of this API's models.",
|
|
1447
|
+
"parameters": [],
|
|
1448
|
+
"responses": {
|
|
1449
|
+
"200": {
|
|
1450
|
+
"description": "The request has succeeded.",
|
|
1451
|
+
"content": {
|
|
1452
|
+
"application/json": {
|
|
1453
|
+
"schema": {
|
|
1454
|
+
"$ref": "#/components/schemas/RemitImap.ConfigExportResponse"
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"x-amazon-apigateway-integration": {
|
|
1461
|
+
"type": "aws_proxy",
|
|
1462
|
+
"httpMethod": "POST",
|
|
1463
|
+
"passthroughBehavior": "when_no_match",
|
|
1464
|
+
"uri": {
|
|
1465
|
+
"Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:{{HandlerFunctionName}}/invocations"
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1443
1470
|
"/mailboxes/{mailboxId}/threads": {
|
|
1444
1471
|
"get": {
|
|
1445
1472
|
"operationId": "ThreadOperations_listThreads",
|
|
@@ -3988,6 +4015,26 @@
|
|
|
3988
4015
|
},
|
|
3989
4016
|
"description": "Full configuration description including accounts"
|
|
3990
4017
|
},
|
|
4018
|
+
"RemitImap.ConfigExportResponse": {
|
|
4019
|
+
"type": "object",
|
|
4020
|
+
"required": [
|
|
4021
|
+
"schemaVersion",
|
|
4022
|
+
"document"
|
|
4023
|
+
],
|
|
4024
|
+
"properties": {
|
|
4025
|
+
"schemaVersion": {
|
|
4026
|
+
"type": "integer",
|
|
4027
|
+
"format": "int32",
|
|
4028
|
+
"description": "Schema version of the document below"
|
|
4029
|
+
},
|
|
4030
|
+
"document": {
|
|
4031
|
+
"type": "object",
|
|
4032
|
+
"additionalProperties": {},
|
|
4033
|
+
"description": "The config document. Opaque here; the JSON Schema for `schemaVersion` is its contract."
|
|
4034
|
+
}
|
|
4035
|
+
},
|
|
4036
|
+
"description": "A configuration export: one versioned document carrying every user decision this instance holds, and no credential."
|
|
4037
|
+
},
|
|
3991
4038
|
"RemitImap.ConnectionState": {
|
|
3992
4039
|
"type": "string",
|
|
3993
4040
|
"enum": [
|