mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
We build too many walls and not enough bridges
This commit is contained in:
55
pkg/pmapi/testdata/routes/messages/get_response.json
vendored
Normal file
55
pkg/pmapi/testdata/routes/messages/get_response.json
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"Code": 1000,
|
||||
"Message": {
|
||||
"ID": "AeUizgtA3H44qRgcr-HdBApwLiUhlQg5kB81mg_QalWotmQJIHep9OScWIo7Wu9pnYxM4RqQxJnr3BE4kh4y_Q==",
|
||||
"Order": 851654,
|
||||
"ConversationID": "FK4MKKIVJqOC9Pg_sAxCjNWf8PM9yGzrXO3eXq8sk5RJB6HtaRBNUEcnvJBrQVPAtrDSoTNq4Du3FpqIxyMhHQ==",
|
||||
"Subject": "Welcome to ProtonMail!",
|
||||
"Unread": 0,
|
||||
"SenderAddress": "notify@protonmail.com",
|
||||
"SenderName": "ProtonMail",
|
||||
"Sender": {
|
||||
"Address": "notify@protonmail.com",
|
||||
"Name": "ProtonMail"
|
||||
},
|
||||
"ToList": [
|
||||
{
|
||||
"Address": "apple@protonmail.com",
|
||||
"Name": ""
|
||||
}
|
||||
],
|
||||
"Time": 1414098386,
|
||||
"Size": 4398,
|
||||
"NumAttachments": 1,
|
||||
"ExpirationTime": 0,
|
||||
"Flags": 1,
|
||||
"SpamScore": 0,
|
||||
"AddressID": "QMJs2dzTx7uqpH5PNgIzjULywU4gO9uMBhEMVFOAVJOoUml54gC0CCHtW9qYwzH-zYbZwMv3MFYncPjW1Usq7Q==",
|
||||
"CCList": [],
|
||||
"BCCList": [],
|
||||
"ExternalID": null,
|
||||
"Body": "<div>jeej saas<br></div><div><br></div><div class=\"protonmail_signature_block\"><div>Sent from <a href=\"https://protonmail.ch\">ProtonMail</a>, encrypted email based in Switzerland.<br></div><div><br></div></div>",
|
||||
"Header": "Content-Description: an awesome email\r\nX-Mailer: CroutonMail\r\n",
|
||||
"ReplyTo": {
|
||||
"Address": "notify@protonmail.com",
|
||||
"Name": "ProtonMail"
|
||||
},
|
||||
"Attachments": [
|
||||
{
|
||||
"ID": "y6uKIlc2HdoHPAwPSrvf7dXoZNMYvBgxshYUN67cY5DJjL2O8NYewuvGHcYvCfd8LpEoAI_GdymO0Jr0mHlsEw==",
|
||||
"Name": "croutonmail.txt",
|
||||
"Size": 77,
|
||||
"MIMEType": "text/plain",
|
||||
"KeyPackets": "wcBMA0fcZ7XLgmf2AQgAiRsOlnm1kSB4/lr7tYe6pBsRGn10GqwUhrwU5PMKOHdCgnO12jO3y3CzP0Yl/jGhAYja9wLDqH8X0sk3tY32u4Sb1Qe5IuzggAiCa4dwOJj5gEFMTHMzjIMPHR7A70XqUxMhmILye8V4KRm/j4c1sxbzA1rM3lYBumQuB5l/ck0Kgt4ZqxHVXHK5Q1l65FHhSXRj8qnunasHa30TYNzP8nmBA8BinnJxpiQ7FGc2umnUhgkFtjm5ixu9vyjr9ukwDTbwAXXfmY+o7tK7kqIXJcmTL6k2UeC6Mz1AagQtRCRtU+bv/3zGojq/trZo9lom3naIeQYa36Ketmcpj2Qwjg==",
|
||||
"Headers": {
|
||||
"content-description": "You'll never believe what's in this text file"
|
||||
},
|
||||
"MessageID": "h3CD-DT7rLoAw1vmpcajvIPAl-wwDfXR2MHtWID3wuQURDBKTiGUAwd6E2WBbS44QQKeXImW-axm6X0hAfcVCA=="
|
||||
}
|
||||
],
|
||||
"LabelIDs": [
|
||||
"10",
|
||||
"0"
|
||||
]
|
||||
}
|
||||
}
|
||||
17
pkg/pmapi/testdata/routes/messages/label/put_response.json
vendored
Normal file
17
pkg/pmapi/testdata/routes/messages/label/put_response.json
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"Code": 1001,
|
||||
"Responses": [
|
||||
{
|
||||
"ID": "LKJLalkfejl==",
|
||||
"Response": {
|
||||
"Code": 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"ID": "ASia83sJaL==",
|
||||
"Response": {
|
||||
"Code": 1000
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user