From 17d5d2c4bb19c6bdbcd161a335348e8f89fa6237 Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Thu, 19 Mar 2020 21:32:01 +0530 Subject: [PATCH] Adds new test to check downloading files from a source --- .../cassettes/test_download_file.yaml | 1742 +++++++++++++++++ tests/functional/test_download_file.py | 52 + 2 files changed, 1794 insertions(+) create mode 100644 tests/functional/cassettes/test_download_file.yaml create mode 100644 tests/functional/test_download_file.py diff --git a/tests/functional/cassettes/test_download_file.yaml b/tests/functional/cassettes/test_download_file.yaml new file mode 100644 index 0000000000..c074cf5017 --- /dev/null +++ b/tests/functional/cassettes/test_download_file.yaml @@ -0,0 +1,1742 @@ +interactions: +- request: + body: '{"username": "journalist", "passphrase": "correct horse battery staple + profanity oil chewy", "one_time_code": "353061"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '119' + User-Agent: + - python-requests/2.20.0 + method: POST + uri: http://localhost:8081/api/v1/token + response: + body: + string: "{\n \"expiration\": \"2020-03-19T18:48:55.588498Z\", \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"token\": \"eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE\"\ + \n}\n" + headers: + Content-Length: + - '317' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:48:55 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources + response: + body: + string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"carbonated\ + \ object\", \n \"key\": {\n \"fingerprint\": \"B8AE9A1BFFAF6BC09FD6F5E2D4A5856DB829E270\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEACgvETGDNddvNLXJ7sXeVQhtBNh0ZSDlTDchR4OTpXfBcGHfSZc\\\ + n/A6UPQtUvxTX4+CFZzAMjBovGMiAOZuRGaX89oRkaIcEvvB5G+IJ1ERh9jd9y8T0\\nBSk1kQkwt0IBvFp7K/SDPLNwgOkJ6g/pEOGVEUpnW0RcqLc5Ed5HTy+d2/dh2flZ\\\ + niCTCJx3/rNL4ixfcMiZ0kdp5d/or8XwqzS15y0T5Pzk+gUuh+2cWdfVlS4p9gT2N\\n3a1TB58Z3NIPbgQbuQYlJe336chB3tYg88rA2SfcCnM6NeryXmCtjdizROHR3id0\\\ + np/0R8iMvkDdNhYpO9LOiDAVJh9OStQYwuz7Lc8xCm9pJQbig/CP3DztMrbd6mTdC\\nfkuFBnNwPHOV0xGQQyGoV0GE7UI0TIMWuqOMwLogEol2YfifcXADILpNVKNBpFCR\\\ + n730HE2HQ221YNNylfywg5qRmdHKq07I0slGVlemXI7PsvxoX/5lkTkhhmf5rgwob\\nFID/L9EuJqN/jtygbBi9VVwq8g+U9PkrkfZ3NsK+8NQYhUyDX+tpxuvvTPGIPdY0\\\ + nuwoRTbfsC4vU5PskKRQxD5v7JiKm1G3+8lU2O34qEZ4UjL1PYfTDCic5PSQXoINE\\n0nZ40ulj94rY1U2wTkAIEWXnw1fpS3P9pnI2B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GP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:36.132213Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions\"\ + , \n \"url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"aff8e8be-dc85-4061-84d4-cb4d7d936193\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"godly procession\"\ + , \n \"key\": {\n \"fingerprint\": \"E07CA6BE7FDEE97654C9F20946498FA0EE291046\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC0Emkwa6IWSzTNQbB3UOkDDx97gCZ/vUByIdMxzkjthUVIBsZS\\\ + nhd+LpTqOAYub003IMPHLQc0sy1mC4RRnd2G2AEiQrBSAnM5dDOYTEJDYd45W1WPN\\nRnaXhhUiEyHlTjCHNT4I8MCXdb0BCTghW/axzsVgPbqDxyujJS7zftr4SytKbrz6\\\ + nqAacrG8J8EP9OthpodqujgS0bYIA/LtVWS1ANV6va6e+dWSWStKZ1H29XmTwt3tT\\nAUg9xifNyMAutyYF2hFbrPaSDjhMPzIn1O7HdcrcVs3MEkD4Jai7Q78nuPIuSYmy\\\ + nNxHDvksgJxFbE5YtXwIropIO++RuFTzS2zyqcYXLwhAZpySVthW+5j5OcZldF9va\\ncaapb1/4o+KFHrZVvfxAvg8bNGs/FzvcT5gzkx7L8FB7fksRK2WBgM4glfoWuwoW\\\ + nW2ne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2VKUzd6J4TbnzY7xsZllU+W\\\ + nSeR0suM7Y0oJvqZwSrQ9RvnzoKuHYA2PGpiU4geV18YVkn2Z1vLTxhokI2SXVIwZ\\nLGi43XmN4G69hOqvmBqChfUbOCNixYUsnXKE+fLmQwqe0EzELNuXAtwhqQmalqlA\\\ + nTWU1OaVz5anSjplaRTY+WxAbfejiS4uP\\n=JzVe\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:40.683821Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions\"\ + , \n \"url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"eaca9e46-2675-481f-9376-341b071c6f5e\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/add_star\"\ + , \n \"interaction_count\": 2, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"holier-than-thou\ + \ amine\", \n \"key\": {\n \"fingerprint\": \"4A748E7A86A5C8B0DA0EB91CFC30F95532FFF518\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC2fmZFKvw8ZVr5uXYxn15ReU9bATjGAMPouLHA/XhLuVsQBzkH\\\ + njrGDn/yeWHGhX/GOx+ojiF7G4JYMHvRk0EoumAzWmFgxkx9WUXBTrvwTapx+2801\\n/kgvw0nrpkvhbgdC+6DEQp0/DVOGmZW8ldKYup35NyZZ3iS1e1MIx49XOmwJ8pGp\\\ + naHXPmRc42ks+9oY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zd1237WGvbXgXwHGTPXMC6JjEb8pmDjDIJdzZJ9RUPhXa1ns0JktgGf+6dJ4yxU\\nkJhsJ7bLtx9vE8TjXZXV2XkSst1ugoItIRMr0VsSPotckxK2WMTJ0WzxAzml+gTa\\\ + nj9nIpyt8TXuleM3FbrZyO3Pjp1/Qp3xSa31+WXnB38xPbG1q/w9Dp46momlYaby9\\nXmI4G7vjvk4pENPfdB2iTjE4SU9N9n5dzU7DSFGhpfPc7hC8GwTgxNsTaMkDV4zc\\\ + nJAehKMwTOhaVVGcuv1b2UYcuuB00yRh0nGeiRK3LVXjyY+4uxEBvde6RUhB1/fZA\\nUBNBRZxmyz0jVj5bDz0ta5N11VvkyzLBgpszZF79uGN45wCLxSueNqwb/AdHjjvL\\\ + npbvZseUAAwzt7+c2hH+Hjh9YG6FpL3yk\\n=rD40\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:45:29.018866Z\"\ + , \n \"number_of_documents\": 1, \n \"number_of_messages\": 1, \n\ + \ \"remove_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions\"\ + , \n \"url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"uuid\": \"f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '8017' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:48:55 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/submissions + response: + body: + string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download\"\ + , \n \"filename\": \"1-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441\"\ + , \n \"uuid\": \"51758cc8-8b4d-4336-b668-a0e91f139441\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download\"\ + , \n \"filename\": \"2-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 693, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9\"\ + , \n \"uuid\": \"b1700241-add4-4fbc-804a-c9f9385357e9\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download\"\ + , \n \"filename\": \"1-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\ + , \n \"uuid\": \"88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download\"\ + , \n \"filename\": \"2-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 692, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\ + , \n \"uuid\": \"fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download\"\ + , \n \"filename\": \"1-holier-than-thou_amine-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 605, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\ + , \n \"uuid\": \"8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download\"\ + , \n \"filename\": \"2-holier-than-thou_amine-doc.gz.gpg\", \n \"\ + is_read\": false, \n \"size\": 625, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\ + , \n \"uuid\": \"1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '3067' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:48:55 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/replies + response: + body: + string: "{\n \"replies\": [\n {\n \"filename\": \"3-carbonated_object-reply.gpg\"\ + , \n \"is_deleted_by_source\": false, \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_username\"\ + : \"journalist\", \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"4b6596cc-04ce-477e-94c5-16705cd01499\"\n }, \n \ + \ {\n \"filename\": \"4-carbonated_object-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"a814c3f9-637e-4753-bd82-279d2b010f58\"\n }, \n \ + \ {\n \"filename\": \"3-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\n }, \n \ + \ {\n \"filename\": \"4-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '2263' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:48:55 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqARAAz++eQqglItkikesZY90c6aCMAI82OLR2DPrObG6AGgESxYuGMxRUtg4J + TnAbnoMp+OFdvqqgpm/siKBazSwIb2UyJ0BzB/usqSciK1j5CFblzPTM8WGdJ1HGHCHj1YLowsVQ + F/SofTt75RU2bx9zCt4h+G0u8/Gnr7DLg7w6cRmoVBLNUsgJVYj4u7vuAUA/uWhCXPzcg34Kq7rQ + z6vZVAsWIigNVg7lKgquC6M38Ciu8XJr9MOyYSKXfUUfr7I8rVH+MfpcxWiLQpsxtbwfzHmoXM9j + nNeLcsYvUNtmrqX941mRXBX1XOjo9mGAwZCnz+09M4HbDgkvP3J0++I4Vo9gbJDKPbQsjlmdh2ee + xIoMJj8fK1P8djgTPfogTFyX6viq+N2qBzbT+JOpIP7O7ZTf+OOYGesmIp4KzILIIqlMHJOEfWuz + l/6OrYFG77wt7f5Etn4y65B7tJZKR8BBB6QftZ23Ge01mdgpp4Qeb3nGarkAlLm5Fx3vKJC0qc2k + 3I3b8Dkb3Jd27A3HvkR4pphtw/7XD5JbX5n1b+iRew5mfL03TKjBR0cM6I6nebHybT4+/99qxa7C + e08D4udG8zFXa3qdgKJmldMgl6J0ZFsbDea5IeY6RoWdi/jsvEF5QzqxuYuqzlrdIBtISz30eHa8 + Smv88+Xn9q5MEPw1pJ7SYgGgg8THCzFTuWhC2nvYy1BeGXeRvL7GP2ZWOj3f5GAI+zTxv2z5kM0l + HeZIFQZcxreTGr6fFTgH0uIuymWUyjK/sn4c5yukW9pX/+QhQ3NWW9/NkgdZLIoVL+Au4JRQG6Eb + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=1-carbonated_object-msg.gpg + Content-Length: + - '627' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:56 GMT + Etag: + - sha256:af1d91e0c9f8ef2c50a8b4fe13393ced68273f42d6ac0ac69c6f205bbd32d36c + Expires: + - Thu, 19 Mar 2020 22:48:56 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:36 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqAQ//S0KjxyEk3Uqsvk12sbK0alfd3d6BI5a4Rqg1T5Ls6UPdymcWVjgZCXyb + jURVvzXCZYQhsD94TfL+m07XpYxDgFVv5u8R2ub0arqlQDGh6YhYsOXaLAvzXvPlSA0A7no3bzHG + mrouxets2cFa0jOvdujVkEb8wfVmFRtQt0Ie25vosYKY93q43wW8qR5judMnSM87f7H4p1tw/OOX + oXiGnrVzFOM56S1GWRcw0rn/ZFKJF/p5P4mnb0sRiTbOw5gK3g2lLTDF3fjKztEB6txH+L/fl7Sb + HtQsiFKawe4317rGFB4oTzxL6CrnQuUrriKkeAd19YDsA6W1WVPJKdKno4GWqMEyZsCAzMgMSS0b + PkSV0TK+JL6l5GpvPPNYGX3eiQ6jeztKozpDNE3DMA4c3E/p4d3QgOVJCl5xDNP0lqHQr2kNGQqQ + 4A0Duo3YuOskg9hlK0+fKOACp6DWkBPPpLUlX5SmU9FM8i06zLahlyDdv2SgHkTLn7nBgqkAR2q2 + OTeqzOi/zc0dW1+BzgZJu0YjhnNy7PknqMNImQYVwKpdLF3izgk+iHoj4ttx8i72IUzrqA/sRKCA + Yt+wZSzUHEA4OoCEOfQszagF/GcBIKYwyr/8F1CWVMp80fWoLbQ4eg1xlgp7BkQTplniqEXv3NHG + sAWBFy763Md4bnurr+/SpAEVP1CPEaK5VXbqwIhMlBz0sVNxnz0smAgusyXJlbikmTOaD/wjM9wX + hCSR0uf+STIQRKpWwwe3CJDwtLOq0BZveFiDZtgnZY0ygiq6f3BQ3jO52pU7bhGDaSSc1VHrOnE8 + mRt9eWuOfanzVksiyIHBedAOetYONlo9VTK6837DHVPH7hbKMmEIMROykcVk65C6Iuj9rIPkSaT5 + 59mMgYEMUSHq + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=2-carbonated_object-msg.gpg + Content-Length: + - '693' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:56 GMT + Etag: + - sha256:9c4f785f062df3250976681c1406a1520a47af77a324e20286149a8c537a82f7 + Expires: + - Thu, 19 Mar 2020 22:48:56 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:36 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqAQ/+I6Vmuos7B1U67c5orDKScpgj4CxDkC9UG7KgGzVR/PMR/v4hCCNIihWa + gNUXIxsw6BLBKaaItQw0sSzKLAiCvWoADvkuMoow0cGO8wprIPRt2+2EDcxxIbEslKTbp8LF1PXt + M7siHw0WylwM0uMwsz8QcMWkWGVUWMmbm2QuyE+DJaYY8qOmuLfTql5vGC7J0m9JPrq9NMOtxMyK + zgM5KmoHcLHfZzNJB/d4/4URJE5lrdQ16SED+HF5lCsVukgQvWl9W299vqmpYWgG9FhdkwMs9Ln2 + bQaMOTowyIaRu829VLl+c+EuCuH432kt6yrJdc30+KLkasZZTdUhr/wN/4JCXkokxkp1caTaUwC4 + 5rOdDdjq0E1uAeCxvuvaeI1E6C+372et97NLO6CUgEEkDqfN1WDPhDj9UDc9LU681cK2TM4Fy+wx + P1qNFzExdRGXR6Z5V1ACWoqcPfZwbjAATOI6UpMBpXNS44rux+xCNaPfY6Dzx+NzvNLOJdNqlc1Q + OTmB5mVL88IX/ub+A/TgKWrBgxJudWRgfnI7ppezxQLisAe+zGZnPQl95qpTEvTjtdWNaN7KQMgp + Sm6nz3k4cTuyCZ8e0ivl8WMqeJ1BW1kY/IkMTBb3ap3XZKjKs4zoR9oB4tjIejxzin2e8LcEEP0/ + ZRfKt3HmquVPGN+xwP3SYgFDG+JKuR0c9/yFVHb3/QYN0V5XOBHdHyA13Xt5cUPCsEXgZqidvOj6 + J5Q2i+ONIk7+jHxTGXwAAB0P6JiDZNnHRCIguc2DlH3qHFtuWOutuz2xocfgirZeNE9s0RnRJCWO + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=1-godly_procession-msg.gpg + Content-Length: + - '627' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:56 GMT + Etag: + - sha256:807527ad6a72e80312123122ada170fa36d6808749918e0aed50307e542803ef + Expires: + - Thu, 19 Mar 2020 22:48:56 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:40 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqAQ/+IMFo/sqEFS1hNJFHOOYyBh2r64sEgc61OPFZeDHxjZeT07cUT9IMA2gI + USoi5Sw+HfYzEeEeCFyxeXxb/APdDbskDLn5DIPGy8hLffDDaSYeWzInBHnlSUR5z2DWNk6aGhJL + 8BIf+CZOFSC6xXIn+fDQiXAUrTVem4Pt4bBtRWrPLnrQgsYC9Z/EGTtM2a5EGE4x1F8rHQK4JhF2 + ra3I8GWVVJKTgBJ+5d3d0+T9nJsD/mLAstjNuO316UByVMASxV2onEi9oFfoASW5lWUXbeVsv8aE + R5eJLYBfW8LiP7rSfEaeFLOJHdSu2zR/GWJkvA8QTQqJ5P7tIaAi4qjwbiwhzwabjHmpNleJbGY+ + qkid596VzrXDZCm3Fti+P5DwHSUX3hu4La6bFHPvSiruBVZHEvSLR6AODHuWxo9qvufLuraP9NxV + 80jF5fXlhVvRFFMh1tx+TdhpC6kUMvF+bkNgOrryVFhoglUzSGwr7Y1Dynib7VMNeTfXLuIRQNXD + zh17yH5aypWwgFxaV8TiVPfYFSvuvUy0/nqb8SXrFY4PuSGYwphJWJm43lqWHUQ65AG6saX/i6wj + 99HdYAfXngVL8rCuTqgRVgskz07MkIMqTSwoQqwDSIj+T9n2oUt5X5/eu7qeyIlGZwow+uxGcg6c + lmnCRpcYFQSllK+qygHSowHvRI4pdisY03bvMSwKCeRAa/uDcxVrnqjwCgffY3F/OV33K7jxQLUs + WyNknOzAqQny90VQQQZkXXyH/LbQC7DS4qDaS7ReetWFAJxr5GYdIV9k9XcqdfoTUNdCB/2oJa5J + ShVUGZvdNgP+/c1Uc2Me/DXoe3xl1hCzqnU3aOx8Vkbnag0yTOgVDaNzeZKBzEF7TIIdOp0y5Y3m + 9gXfGcowp1w= + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=2-godly_procession-msg.gpg + Content-Length: + - '692' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:57 GMT + Etag: + - sha256:a79e9d44f15f5fe15958780f341835c7ce4fc22a87f5a01304360645ee3d4c3c + Expires: + - Thu, 19 Mar 2020 22:48:57 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:40 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqARAAkc3iVAKNm6EhUXhmenwRgfJpga8jejcvTKBaoX3komkVcmFyJ7IrdIo+ + dlSE6KkTK/KDdTNeXeUKMAvzpzqtZ2ZKvzbXlYTRxoc7Y1GdtXh6fvA855/xOxCSwuLvR+F4qHQl + Bf+Vnc3thBSnf4Ok60VKMwfrDOqheuPE2qHxv5w1u9tI6WA3RcNFo3lDRIQO4yQjv9Nsb3wB1H+q + 5DNF6iq0OXbu6e4zF+dGi6WSf8C6CnM6t448XKvZJPWubVVZ/3d2Iac/nB3P2n8ZNmq+kFKJ73/l + J3TxvXoemjsLzlSVpJOP5T9hgwei8U1JMkuA+K1gQSINnXkOX/QPlku8dkfEEl4EVsZ1UCxawiuB + 2G7lwHKR1dmBxl7l8WBz2qhnBPFxks9b6ymBcNOOs+/ehUVRB8yWCQVg2+t7xGDVyyaQhczt7ESY + KpchtCd6dQWVRpxyPGYab+ev7+nv22kMBeeqxEDTr+3bc1tRcHBnPL9VYnKgfnpfYr9r6mJ9BFQO + ncoHIFuKd5Le3Imv4rMQ5A3wQk+JEeN5zyXLJ+XhQtHKcQSU7E5aXij7YQviFhsouB9Gm49Jhtm3 + jNA5F7hWFpSDw/qCpEbXgAIVxbsEh7+2dT8AQbYlQTuBwOmVfsRFJVPx0++hrb+lHjyBO/ykqf4N + jvzW/hu4WIOaj59I8tnSTAGAo81ZbnARgiT1o1UTMWUDGWLeUdwJPyZTEjSXrOLBg4vpXfFBvKYp + 74JCC6+9dS+mMONRO+1ZuXYJOBj8Rv+bYoJTViMsUMvG/7M= + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=1-holier-than-thou_amine-msg.gpg + Content-Length: + - '605' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:57 GMT + Etag: + - sha256:669520fc7650cc8c9c5460b3d63e386362fda59e57595690e702dc6cb5a929b8 + Expires: + - Thu, 19 Mar 2020 22:48:57 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:45:29 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499/download + response: + body: + string: !!binary | + hQIMA9SlhW24KeJwARAAgy4oF7zgGRf4AKAFQrp2MaqDuxUklN7xK7IUH6JzeXSN76RySLgURKn5 + dUfUtCkFEzvmW31cD4oYSxbXyOoe2KRfPK/34yn4qzugYiA+GsYuXtuXkeEwX/78aUH1l21AedHD + DSfwRFuwxJywYzYecdLEBvMpBfILQJtFMYaVewoGES//C8nQ3ESY4L8duvSImFpU45YexJhPoAmV + 9t1GQ9cKwd/zEbRqPCF00j2dTS+ZYlA2cJtDFmB/fS24MXWrrssY1VkLF5U2GJ931jnXharIDnO4 + QUAjaPh3WQ76bS1Y3iaLShTgWCd9waGLLcLJuXvI/vHN4b3r8Ysr65SO2HsHH5MwXFTprxztBvoU + lHNyJsJBZjdl2Gv10cznAoJez9zddwJDIIVmX1dYeq4zT223RS8x/nA2o3xiu+f4R93GFlH7uQ5M + hj5hmZ+573/4BHE6Rw293jOfuFb1h5CWiE+mDsfCYB2UfAA4E5UphqpURTlNT6G8oe/H9UcVqhff + S8qPlaCOEX5deLbqhaVF2QPkYMxp1m5HqsI1nZaiSrxEYV+bkSlT4+1Dh3DtwGchBgIJmOQd2AXF + 9KTONI/m+LAnm9bcHnnNJZRSVTPW5z9L7vJOHP87Bz/E0sz3QpIiQgBWR/aa326T9rnSbvlLIMT9 + 3ezWeLQ6Kdxt/eHVg2+FAgwDw+fEwKIgGyoBD/0WV1qZ0keCbUujMDHVc0zpE9KznCid4a0cx0hE + VSgBD0Msiu2IJz9rzL9jM/mD3anHhuiDZr3r/BNBvgoI//3ro0Ww15vlA+qzCwTEUzDWGzFp4pHi + 8plrcknPEAXXdHEu99Zx4VoyIO6Psbix+lJ08NbkVNdkJefYsHcTEAH3Zfv319SLc1KOXDjGTjY7 + 9X5lL4i1APlRLXOGRQsxDPC6X+8bRL0NQxbgM1Zu3yda+F2sqj6TI0GjeywSpihYEwGJvcOZFdFI + a6gxbXvDfkNUzfvHnAy1sB33N496Ef6WdGfHzOiqiAw4KG6M2gxrowfo7dyM+Bx9T2TfmM/c3CwW + u3XCBNZVmMN68sHjW2VA3ekcSkjj5Vws0oaItzKC2ri9UktZYpj0riFYcCcsCn4t1N5aTKls+VlL + Q/fclo+HDwf806JUvRu/GzrqxoQDNyA7KA/4UJGgWfwNeFGufjUsy52nMj+38eVzjYjWbdVaSvsW + x6CTE6RLpwiUe36tIgRU/HPUZzxA257NmxOE+9isaSuonYXMFjSpuKFPSqZjJ/x/5HwggMYzgJ0y + NjWXw1sbR5Yv9f3RZwf1d2qjm70nNTC1YuQZd0XCxsV9aCvQRpiQLHL/w6Lbey7v/mSCVojAN1rK + VJxomHvjNKtghw7F2QVg25C9Vse+Y1qyMqlUjtJdAa4rT5a18xwufEkenupg7CpT5rnHmlEs3RDD + OBnm6IiDFtoIaNsglj0524+tZqz+jc8gsQpG4VKQNq4H422pZz7JAORB8Q6fMYJmX52tixwP2M0O + RimkHhrI810n + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=3-carbonated_object-reply.gpg + Content-Length: + - '1149' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:57 GMT + Etag: + - sha256:00b593e854daa2a2567ccf8ca5f7b3df46388119d1df4a5c146301b717952bd7 + Expires: + - Thu, 19 Mar 2020 22:48:57 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:36 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58/download + response: + body: + string: !!binary | + hQIMA9SlhW24KeJwARAAkfthTKlKXSvwkVIRJ9D56ActMFKbVla4mfjmosJ7AI/iNYquWLfZIJam + p2NWfgSUfIa+qROVWfgjdjhNpXDn4z6vSWpkx0oXcwxfkRA6M3Bot6Deji14DpbSTGGOHcnNu0LJ + SWjw3XBnTGL4q2OHF1U93bLx+R8Lf1QsZCYFn3kyd0RXEFQslunKjklp+crk1Tf1N8zD6lb+V38i + MWVIZpT+GpnIBbDOUschxhIgHFYNAjLnFrAxhQIbzcowO0bm9FGWP3NW8qgMkSQQ5lZhJL5IA0AJ + xxgoXqFBLoROL1YhMCVY+bRTJlIyu8KCEVZLyhGWjtS2qwAGF/DDTyu94L743VV4LpB9ULH1lQHm + /xaExRIour+1IyOXhKnXz9xy7vvMPsiQnnJa1yUtJpinzK+srzr1PReWDCghtJ5edUrfSOVHd3aT + ktm3XRFzLjysRYn/Z90qJRmbSBGeL5rlObIOCKdlGF+UXtg5sDF9jRosGEX0mxD6WMDVS3or4Yuj + 6wv8yJR9SaNUwZMEYAgORLipI/jeySlF+NqZ9Oxfg525XLunZelzV1r6UImir9lcw8YV2LA68SKM + 9dGcjLf3DrWBmxUryTnVIgyJWcZXReYlrmoBoa2AWH7pfu76JmTxN57g1ddypPhl74yjQQUN3G/7 + YCqMoOHXheyqwyJ0dfSFAgwDw+fEwKIgGyoBEADav9mJnkXmBmDcu0tJ/5ZoACnBxd53aCsd1xx5 + KBdXSTejtHpzStFqXvPjX8HPPBoTMa4cF+nWL+rMHCgurtHpwpL6V4V49cupELvzvLB0VfugoFy9 + j48Q64nQIr65tIEL2FRVYnkmm4gDiJYmcesO/Ixx3rrUZWb+s34aUaLa1h2A0XFzlNfPqNxBqsQZ + 4HFAfF+S4Rnbj/Ank7rdiYCOPUHJ7dHnLFrPtjWHy9BVM1u4pBbX0D/GwdbavUo9nPMIItWfbUDK + ZbPwhbV/SWL1O7IK8DrEIPGTjXqIJKKI96ReUk0u1Q3rkR/XCc4SZ+EpZ+bdM18rYw/t+DCbXFjk + 7csJsdaxjihyqi8E1H5UtKdWgqVt9xPVVXWtg0VMLaa9uwh9ubTt4UBOe2e5w0xA3wrno4GClsfK + YB5mR7nMmcXKI+JriEfAYWCI8JIi0+wuKHnnt3PEBDUgKJHl1X9QrPBhknFeHgOoFW6X5Gji5bkD + uvjLcRSz7ZSWGBiOYn5Y2lMDuaGNY2c3g5Q06fb59m04rjfg5cBGVtk0bVLNnwQfGMDABAew/0ww + wrO4hpDDbS3qS3RFM0Kytmcaxz+sB0+sK7J/uN0pf0HIApbHqDxPTGtOR6gtiP2al635GeC1es8b + 1dnzWrOAxjmjBliAUCw09L1NdCJt028t6vFpktKhAR4C9frzGxBKznLaqISEhG9mEPf5C2H4oVZh + nmzwBnQWtgYu9MpV6uJ2NOw6fCysDNlcndwILKLzRIJMfPnWS12bNDMc0hejmlYbFqu+kVQ540Le + DFtDhqJbkAJEjv2iajQAQGJpoF1aVcOXVi4SoOqJcSylAtu/Jr81qBgUabM2YXLHcHLhxb06GHdk + L6WnPHcKy3w9mGbgMXx2osjUnPk= + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=4-carbonated_object-reply.gpg + Content-Length: + - '1217' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:57 GMT + Etag: + - sha256:c1b4ef9a6c075b98fc43fe663d62194439aea9830aa42502e83e558f17fa4eb0 + Expires: + - Thu, 19 Mar 2020 22:48:57 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:36 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5/download + response: + body: + string: !!binary | + hQIMA0ZJj6DuKRBGAQ/9EEY6DO8J4UqeSH2++pDE8XlRu6+fwG+yH+mQGYM68dGr9XYvBxs1olFO + 2fpBpSnIhVqbIyHppMcsNIAkt3SlDRUu5Fmz/7UEd374D+seOaKPm5O+RQSd1NLAgi7otHysx4mG + E79q0Gb5s4iXNzpc5oz8cyaLY55+XoWOOvfHlRiQH+bhurErybGkpxHVdRCpSiJreGsrtJ/XZDij + SbNgbCcl5sJl/dcymJuRmyLMNopNrmEJ7Onw4mhBDab6o/A2SeuNKdLFE7KKnpyRXUWE1NhC7Mwx + sJhWKT4ymhyPXaEG6WCDepNn7Rj3JBRxGaxRc968oqAb2KtslxLlrVmgIYG7/qhz9Na81NWxH3qc + j2NiU52yHunEiaeY9MWZgb5I35J9L4AiDQiPu+RZbt9m6WDIGhkqBERjB2hLM2j+DqD6TCDuoa/F + uCXMyQ+Tl0k++m+m9xlfTOckjAtxdrwsDDtK9esE3PUZa2C1y40if2QdfGtBKITR0vz6FuLxAQbG + 0zrJitqczcvbXq1h2uzzXsaA8e/OwUGVGYSs3AaLu/+vPiTa3c47Bz4zoSxQV/dF12piJRE9KtOq + UJ0bHB58hL0XNc635RNiNDK0GknFsuwC88V4OH5a7tpB+PHVUll0fE+ZtV8jAQJ06PV1/Gzx3qEl + lxUCBTfZCStrutykv6yFAgwDw+fEwKIgGyoBD/4hvXi7l17/GrtIorqcqSheh3LpHPZ7NuEZLl+J + rJ2ITsLAaRUF06hj5Lq+jYJv/18JH0aNoJRc0kWZGmSxNC3oPv434qjU1TRSWh4zFvId277QCtbh + j4j8pnuvgA1RW8Nf6xo6OrJtbWuY5TqlqcCZsdD61X9GmUSYkhNMPGiDse7ZOC86j1MpsoiTtq3I + 27+9v0kEVECOdVzxLOCYCWGRrZRBoSddaoA0uaLUj5YcdUAPglYwxgiMcHo2X7YgjDiYASwChh4m + NM/sOxC41tS4H/sDpTxxPqSSIuELkBNo4YSI6dp2rXs/EAUxlGwuA81SS8a+9ukMXjujLKe+Tr+O + 0rBWUCY5SggnI5O4C1iKj6qLGuyLaQhCpb6+ddiaZpw3t4PH0w2b8ymyDZaTwy0RE0vzOPkwagN/ + QcRt4nEonKDbO1xGcVk79/RRaCmCUZ18pYjSdWNKMaBt1BS8yw94+c1Vm33GyP9tDLC5pcjonXeT + 2nUq37sD+uK+b/vrjmHIJPmMnLVdUOjSRz3fvbh/fLti4SfbeeG5vWDSWvtwWIDMie7mHTpN5QvM + Zq5azqFPkFxkO78Y84DEvieRJ0vS+uQO7IRMlAkj6Gl+1FCng3PhOFjSo+EDcLaWC34LMXbbxRhm + 6BxvmxGDoLY9oCdxlQNeQQC2tTXnnEL9nKJhr9JdAcuyv+1aZ4WQkYNRo3Vat7AoYfo+eUVDRek1 + nV0UYbLqMKxPXXOkUp2Ezy445Q3Fq656d7Loxp+8FQUrqwpsklVhHLwEj/wNVzmnFvq8ZIXNZ4yy + E+9SdKzlzy0l + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=3-godly_procession-reply.gpg + Content-Length: + - '1149' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:58 GMT + Etag: + - sha256:81c0bba163ef2183661aa125779e30c37308543c2cdb489490ca6f2e96119a99 + Expires: + - Thu, 19 Mar 2020 22:48:58 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:40 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c/download + response: + body: + string: !!binary | + hQIMA0ZJj6DuKRBGAQ/+JTR/TiW7irBd6ZLmz4QsUPX2YNTr6pKqRbv+vro3e14gb7ykqytwOaPP + o0JVOUqlN5UP25zlCY6yOJKMf9uKuncRZnEz1Z22et/xlIfDmvlc6jNj0FoDFbQw8xpWiBeWIh4J + acQ6WVE6V3jpK718Epb0IW9PtXbgR2KIWumaetPSd0Dleez8d8iro2XVSQZgbcD7mFV2oUGJM81U + 5rSvprpc83iDX94HgbJWND4Xn3NVZVftKa+eMwsDhDVJMLmdruIAQplrMitm/rCHjAlJsaf1ezxJ + LoTD9885jav+S5Lk1tqr9ZOR4zv7IogWMh2t2j/Bc54GbKQ7yfzRblo9mzVBJqVlDOp1QA3y+xdn + MURvVHccHKMRv90F2Zq9IDRRgJ/CckxuxDMb+l7n+U9p5NqA+5tc3HbJzip3F3qumFjWJlMcLCy/ + TMaJjecWfpH863uK77rp5vwpfeWG2TVT25kwv/tTjKCBJ7YDELbsKobNMCifO55G+kA8tR7A6bhu + no6+R8ZJ4mFX5ur8W852fYFeCnJkf+xfxBX2U/P5rlHq6/OTyERzlrvqXz18x1pnaMD4cIAp8jqW + /U535b+qO2UMmcrcXJ9Yahx+CT+H99bCC99WlI6bI1V8sqwUbCIqEKndP0zztQy3KuvPK/Q8SSI+ + FUeGUWvPqAtWCYVRM7iFAgwDw+fEwKIgGyoBD/92YWNktfLzQyTBvIL8k/jItspvpVAuiXjMSYOH + k+speZ0hxxP1k/QNnZoRAp7MHKy9/3HCKKsBt+8UZL86qRWNpr3sNwXK7Pk6273/2SwfNHyl7Kjz + bnCW4vu3lsSzd3V5bLm7iQDSqzJL59Ivaa9l7BZvF/MiE0/wSaK//vj2Tl3NBBgJMueSOIT9zxo/ + Jw6E5Mf+0UV+S6L8GqiI4r/gtqK6xUkdp0QWGlquP16iilWL/geXENbbfRdlyICXh5EeQ89TSyvC + Ogd/bT3QWyQyJ1zekupiwe74iD8TwDLXruLYdUx+fV0PqyTr5yVFSiHgCEzqy4jpN8ImkDHQGFlP + QfysFwYGew1+He/jGKTzjYo8/z97iSiZH7y8rcbtEjbRSB/f+CIM1drHr8gRmaE62sn/5dJ4XfFx + nA6lN2E+UitPTjhQAb0JfLMLqRei5i0CDtFWV83F2/1qCO9Uxjse9Ve7bzucdcDHVRmhhtDOiVGJ + OpVqXO5wukYaWXCOo+2+fiMyIeCo33kuuPkY+fwQTG6wyMvqylgpceYXNrjzsbDgUZlQMp5/5DnV + mz24/NVco/xwFYFFrY/KySc00X5MOsn+dMqgzeiYfByy5vEF7LJIm+wx1owGGh+g+jrBwxDZqY7X + fbHMWI7QOiNBamwvwolK4i2RMdhxOyr9nF3FrNKhAWZZ2LmInO2BxAl2UkHIF8LeJyLMQlWOjFlv + S35cEfQKezcaFAtEgF8xagOEdT+jhhBqxymvYLbynSHtx7H14DOtALbZ8LztkCh7SKvHmDpDzxzA + Qf7xzv6oUcxrqngL9nedqQ66aMDEN4IGQOd6N+2xrOOP8h+CA9//4P777yczVvyr6grjCb0p8LZn + fJWjY0RCQIaeoaawWHSUsodMlng= + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=4-godly_procession-reply.gpg + Content-Length: + - '1217' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:48:58 GMT + Etag: + - sha256:c802c063b973479df529758c289f077ee25ca1ecd509577d550aaec8909edeb1 + Expires: + - Thu, 19 Mar 2020 22:48:58 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:44:40 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download + response: + body: + string: !!binary | + hQIMA8PnxMCiIBsqAQ//aL4emN3ZthBC5a8gWyKrZYpqT3RKwEDcpqx0sJa5/CkAR8FNYsPZlWog + 34T41tWgPwS4CKOhOI+v1K1BUhv4aN30jRy85kHixkIhBcRTvwN6r0cO02dq1g+O3Lp+8jOcmVox + z8nufXNldP3uK0Gldj3KMHhqGEYx9ZoyuILRtGrfYp6b4rvojlmM3tvxGJulo7x+CGapRC6VmYcO + V7TIYapoJyMT4qOdrV6+cBm1YzYxMircB2y3IPiE6EmVeFNyNASKrr1BBsg8rdm0Gtxm9t1pU9SP + ZifEUosjozX+oQZOpFl17gTAXRtiHlgwKqDb7FYY+Zn21+qMjjuxffsQmzTjAgWEuNDD4Sr32+dE + +iRBGE3CzvNNSSrfEUNl48JZrjkNwj1yg/zXGXJG9NqzGRQ8jQzQJrwKtVNZYh9uEOw9UlPal+FN + p7fel6SdAthf+6L/1zi4ZbVy10xfCHs9g75q04TjYexiyJ821jvMRMWKT79AUityc/g1j8oDf8gq + 0ZSzRNbScQKDnuC1gNj44ZpxiPKcb9JTAvHcjfZDlXlKlCmMOOfNTivvbsKiNQn+bn5a1zKfBzPT + zY8yTk7tzSzPtlNvRQUCqwVOvat0YlO0tqmvE8x7AMeppe0WP8AdZvTcDEtHZlZRyUlqWCTXgfX+ + SxUOaWY2L+snyGOGUQ3SYAEoKbZ3Rv1KjS7bh8Rl6SZdiy/gS591eTrcgxOWeAv8RPwI/yNbrZWi + aovpiwA9cYRKMN/iLg5awOLizSSbUB2EpU2nLVr4tmf5NPqB8OM/2Zdq+hOuJCvu//XJ6YZy6A== + headers: + Cache-Control: + - max-age=43200, public + Content-Disposition: + - attachment; filename=2-holier-than-thou_amine-doc.gz.gpg + Content-Length: + - '625' + Content-Type: + - application/pgp-encrypted + Date: + - Thu, 19 Mar 2020 10:49:02 GMT + Etag: + - sha256:e29665b25329bdcb8348caf8729d3230828ec150012acb1cf2d2d226210d2e76 + Expires: + - Thu, 19 Mar 2020 22:49:02 GMT + Last-Modified: + - Thu, 19 Mar 2020 10:45:29 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources + response: + body: + string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"carbonated\ + \ object\", \n \"key\": {\n \"fingerprint\": \"B8AE9A1BFFAF6BC09FD6F5E2D4A5856DB829E270\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFG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tQxX127UJ3\\nXEUnaN6v6kgKVZAqeTYxCr2cLdtMi9m/HcEKKFcYndHwLJDYvuLseHDPwlfE/v0X\\\ + nPJzg/41iZvwvHQZIKpYn6e+Oxt5JIDntV3XthJQmqiquora8I0nF5X/y0Cah3usT\\nYTuhvXuARaqnD+5Qv1dvdOZ+cQ+ClAm1vLZURPa+boqIOzPGvkEcO9kXoORf1lF7\\\ + nPECF2YNObSJgb7GpFrUrT8ceQQ2ykiP7TDTxpplDcRzU5UJ+MedIjK4si8dKEPP8\\nkIwSOFDD3/XpaA0ekygV6xkCt1kgUil0P1BGwvNqY1cthi9BxQeksocQJUpWS5r7\\\ + nQdgpSycel4sPNnk2YcYJ6oH4LrEEax/7eOh+rVa7tEhneF9GVsFrNU+a1jWAlfvf\\nhxyuggQ/1NiINAGx3RxdXndri6KKuzWzXcfwnMQPf3EtezZJS9hkP8wuMokDh3Oo\\\ + naIbrv4TB4JZ2OUZbI4vYTr9MCzl6ddLWIBhnn22A4Y317cH5txsqOCoD0xzLlfs/\\niHqU0vGc5Khw7/HnSp2PHmODLnIvbyLptS5TT84hdh8CuyxyqC7YrCGmu3Ca8dj9\\\ + nN4A87ni2oeeTaMZzUKVRlVDyFxSUMnMV\\n=Vm14\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:36.132213Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions\"\ + , \n \"url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"aff8e8be-dc85-4061-84d4-cb4d7d936193\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"godly procession\"\ + , \n \"key\": {\n \"fingerprint\": \"E07CA6BE7FDEE97654C9F20946498FA0EE291046\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC0Emkwa6IWSzTNQbB3UOkDDx97gCZ/vUByIdMxzkjthUVIBsZS\\\ + nhd+LpTqOAYub003IMPHLQc0sy1mC4RRnd2G2AEiQrBSAnM5dDOYTEJDYd45W1WPN\\nRnaXhhUiEyHlTjCHNT4I8MCXdb0BCTghW/axzsVgPbqDxyujJS7zftr4SytKbrz6\\\ + nqAacrG8J8EP9OthpodqujgS0bYIA/LtVWS1ANV6va6e+dWSWStKZ1H29XmTwt3tT\\nAUg9xifNyMAutyYF2hFbrPaSDjhMPzIn1O7HdcrcVs3MEkD4Jai7Q78nuPIuSYmy\\\ + nNxHDvksgJxFbE5YtXwIropIO++RuFTzS2zyqcYXLwhAZpySVthW+5j5OcZldF9va\\ncaapb1/4o+KFHrZVvfxAvg8bNGs/FzvcT5gzkx7L8FB7fksRK2WBgM4glfoWuwoW\\\ + nW2neeYPaBVE4X9V6hobRLb2nzPBOP4JHqPNQbEPFQRWZibJlKXbbUqU7KAyMVD0V\\nmFrnB9hNEXZZP662CEGD6NUtm+fFQBZCtuxSA53hAX6NrW1fK3YKAdsSCCEURK7H\\\ + nyNz36FAZAJqdr1oq1BixOJ1ftX6cDK6PRdUA9NplhUBHg9ah6niSKwTNZ9nbeMdb\\noNi+ZBv97pcpz0erRHoBfQThpIzIa1nb816TbsoC5T/FOaMFfCKiACC4LQARAQAB\\\ + ntHxBdXRvZ2VuZXJhdGVkIEtleSA8SkdMMkVJRDNFNU9LS0VFNTQ1UDJVQlpJWklS\\nM05URFdSUkdYSEZHNk5NNlFPUERCTlJUSzJONUIzN1RXVE1YQk9ZSjJSTlpIQlpW\\\ + nVTMySlg3WUtYVlJCU1RTUFlHVjNZQlNQUk01ST0+iQI3BBMBCgAhBQJRkX6AAhsv\\nBQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJEEZJj6DuKRBGnyUQAJmxFCbEt47i\\\ + n97f1MYVTJsj3MFBzq9PaQPUlhpy+wJoPYQ4rBB30eoX61noWcBZhK7ho4Py0/XBV\\nHPGiaIz6Z2iAkhLyUkYBDxHU0WHgN+7DjIv5MnpJx1j5gMQyFobKGiTeIg3MiVs2\\\ + n9Ra/WAiEQmDrA+tUeFm+NQ8N6TKFQf+eBY4hx/fRvqx/YBvOhOJuMyvKwbi9zmUB\\nU4G13t2eWpkA1Eg0nU4c/5Yc2bEW22EqWhS5chPvinTaWFlcg8gbL2BZGGdjw7+c\\\ + nqb/rlN2gd5PoFe4J5vhv4ThiHAE4urVXazTwwmtF4N0ywxA5J1XmNzjdWmBoVb67\\nqbBXEjpKcdz2m8cEnZZuNREZN8ifcmBwjZpFBfiSxVegNBU9whpstT1al7UJ7Y1Z\\\ + nm5Z22JpoktNGmrOwd8B3tYxr8A7qL5MPs/ecSlobBdZuR16Q8RI5traN/cABBGWS\\nXDvtmWbphhdKhpR2WEGBED6wWwLYVic+UsHoVUrrC2VKUzd6J4TbnzY7xsZllU+W\\\ + nSeR0suM7Y0oJvqZwSrQ9RvnzoKuHYA2PGpiU4geV18YVkn2Z1vLTxhokI2SXVIwZ\\nLGi43XmN4G69hOqvmBqChfUbOCNixYUsnXKE+fLmQwqe0EzELNuXAtwhqQmalqlA\\\ + nTWU1OaVz5anSjplaRTY+WxAbfejiS4uP\\n=JzVe\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:40.683821Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions\"\ + , \n \"url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"eaca9e46-2675-481f-9376-341b071c6f5e\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/add_star\"\ + , \n \"interaction_count\": 2, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"holier-than-thou\ + \ amine\", \n \"key\": {\n \"fingerprint\": \"4A748E7A86A5C8B0DA0EB91CFC30F95532FFF518\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC2fmZFKvw8ZVr5uXYxn15ReU9bATjGAMPouLHA/XhLuVsQBzkH\\\ + njrGDn/yeWHGhX/GOx+ojiF7G4JYMHvRk0EoumAzWmFgxkx9WUXBTrvwTapx+2801\\n/kgvw0nrpkvhbgdC+6DEQp0/DVOGmZW8ldKYup35NyZZ3iS1e1MIx49XOmwJ8pGp\\\ + naHXPmRc42ks+9oY3l08Jx4H+sHGK/1tqcaO5AnyQE0IFJGZwk1aIIggP3W899RiI\\nmJYi2fSShO9ZHTe7qUolyKDQJypB9AYf4TNZFIf5/zSeU6snYD04AhV1kfWf+Ea3\\\ + nVeafnyauBz1bNUHeoye06yESJ2QIa4Cp9nNEW6cJc9bFqzKmG23BJLKLHsu4avLn\\nqoM39Odha7k2y0MA+sdNcwPnQNGnw2YNErVTSqzv/q2pbjBfXDQ3AYIuNJN46q5p\\\ + njNfHoLm6fCxhnWkZXpQJ47TO4xApcEkhhpzPD8F85UP9fgVIgehQB7tyUkmC8mxv\\ncwB6T+WgFd80o0JCfXP80CSXWk1sfbEmxuZm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5bDz0ta5N11VvkyzLBgpszZF79uGN45wCLxSueNqwb/AdHjjvL\\\ + npbvZseUAAwzt7+c2hH+Hjh9YG6FpL3yk\\n=rD40\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:45:29.018866Z\"\ + , \n \"number_of_documents\": 1, \n \"number_of_messages\": 1, \n\ + \ \"remove_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions\"\ + , \n \"url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"uuid\": \"f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '8017' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:11 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/submissions + response: + body: + string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download\"\ + , \n \"filename\": \"1-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441\"\ + , \n \"uuid\": \"51758cc8-8b4d-4336-b668-a0e91f139441\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download\"\ + , \n \"filename\": \"2-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 693, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9\"\ + , \n \"uuid\": \"b1700241-add4-4fbc-804a-c9f9385357e9\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download\"\ + , \n \"filename\": \"1-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\ + , \n \"uuid\": \"88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download\"\ + , \n \"filename\": \"2-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 692, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\ + , \n \"uuid\": \"fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download\"\ + , \n \"filename\": \"1-holier-than-thou_amine-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 605, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\ + , \n \"uuid\": \"8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download\"\ + , \n \"filename\": \"2-holier-than-thou_amine-doc.gz.gpg\", \n \"\ + is_read\": true, \n \"size\": 625, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\ + , \n \"uuid\": \"1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '3066' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:11 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/replies + response: + body: + string: "{\n \"replies\": [\n {\n \"filename\": \"3-carbonated_object-reply.gpg\"\ + , \n \"is_deleted_by_source\": false, \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_username\"\ + : \"journalist\", \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"4b6596cc-04ce-477e-94c5-16705cd01499\"\n }, \n \ + \ {\n \"filename\": \"4-carbonated_object-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"a814c3f9-637e-4753-bd82-279d2b010f58\"\n }, \n \ + \ {\n \"filename\": \"3-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\n }, \n \ + \ {\n \"filename\": \"4-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '2263' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:11 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources + response: + body: + string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"carbonated\ + \ object\", \n \"key\": {\n \"fingerprint\": \"B8AE9A1BFFAF6BC09FD6F5E2D4A5856DB829E270\"\ + , \n \"public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BxGcI5PyYXHAh4VDznPQBEI63+3+faC0xKrh1OkgxjiOZtQxX127UJ3\\nXEUnaN6v6kgKVZAqeTYxCr2cLdtMi9m/HcEKKFcYndHwLJDYvuLseHDPwlfE/v0X\\\ + nPJzg/41iZvwvHQZIKpYn6e+Oxt5JIDntV3XthJQmqiquora8I0nF5X/y0Cah3usT\\nYTuhvXuARaqnD+5Qv1dvdOZ+cQ+ClAm1vLZURPa+boqIOzPGvkEcO9kXoORf1lF7\\\ + nPECF2YNObSJgb7GpFrUrT8ceQQ2ykiP7TDTxpplDcRzU5UJ+MedIjK4si8dKEPP8\\nkIwSOFDD3/XpaA0ekygV6xkCt1kgUil0P1BGwvNqY1cthi9BxQeksocQJUpWS5r7\\\ + nQdgpSycel4sPNnk2YcYJ6oH4LrEEax/7eOh+rVa7tEhneF9GVsFrNU+a1jWAlfvf\\nhxyuggQ/1NiINAGx3RxdXndri6KKuzWzXcfwnMQPf3EtezZJS9hkP8wuMokDh3Oo\\\ + naIbrv4TB4JZ2OUZbI4vYTr9MCzl6ddLWIBhnn22A4Y317cH5txsqOCoD0xzLlfs/\\niHqU0vGc5Khw7/HnSp2PHmODLnIvbyLptS5TT84hdh8CuyxyqC7YrCGmu3Ca8dj9\\\ + nN4A87ni2oeeTaMZzUKVRlVDyFxSUMnMV\\n=Vm14\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:36.132213Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions\"\ + , \n \"url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"aff8e8be-dc85-4061-84d4-cb4d7d936193\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"godly procession\"\ + , \n \"key\": {\n \"fingerprint\": \"E07CA6BE7FDEE97654C9F20946498FA0EE291046\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC0Emkwa6IWSzTNQbB3UOkDDx97gCZ/vUByIdMxzkjthUVIBsZS\\\ + nhd+LpTqOAYub003IMPHLQc0sy1mC4RRnd2G2AEiQrBSAnM5dDOYTEJDYd45W1WPN\\nRnaXhhUiEyHlTjCHNT4I8MCXdb0BCTghW/axzsVgPbqDxyujJS7zftr4SytKbrz6\\\ + nqAacrG8J8EP9OthpodqujgS0bYIA/LtVWS1ANV6va6e+dWSWStKZ1H29XmTwt3tT\\nAUg9xifNyMAutyYF2hFbrPaSDjhMPzIn1O7HdcrcVs3MEkD4Jai7Q78nuPIuSYmy\\\ + nNxHDvksgJxFbE5YtXwIropIO++RuFTzS2zyqcYXLwhAZpySVthW+5j5OcZldF9va\\ncaapb1/4o+KFHrZVvfxAvg8bNGs/FzvcT5gzkx7L8FB7fksRK2WBgM4glfoWuwoW\\\ + nW2neeYPaBVE4X9V6hobRLb2nzPBOP4JHqPNQbEPFQRWZibJlKXbbUqU7KAyMVD0V\\nmFrnB9hNEXZZP662CEGD6NUtm+fFQBZCtuxSA53hAX6NrW1fK3YKAdsSCCEURK7H\\\ + nyNz36FAZAJqdr1oq1BixOJ1ftX6cDK6PRdUA9NplhUBHg9ah6niSKwTNZ9nbeMdb\\noNi+ZBv97pcpz0erRHoBfQThpIzIa1nb816TbsoC5T/FOaMFfCKiACC4LQARAQAB\\\ + ntHxBdXRvZ2VuZXJhdGVkIEtleSA8SkdMMkVJRDNFNU9LS0VFNTQ1UDJVQlpJWklS\\nM05URFdSUkdYSEZHNk5NNlFPUERCTlJUSzJONUIzN1RXVE1YQk9ZSjJSTlpIQlpW\\\ + nVTMySlg3WUtYVlJCU1RTUFlHVjNZQlNQUk01ST0+iQI3BBMBCgAhBQJRkX6AAhsv\\nBQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJEEZJj6DuKRBGnyUQAJmxFCbEt47i\\\ + n97f1MYVTJsj3MFBzq9PaQPUlhpy+wJoPYQ4rBB30eoX61noWcBZhK7ho4Py0/XBV\\nHPGiaIz6Z2iAkhLyUkYBDxHU0WHgN+7DjIv5MnpJx1j5gMQyFobKGiTeIg3MiVs2\\\ + n9Ra/WAiEQmDrA+tUeFm+NQ8N6TKFQf+eBY4hx/fRvqx/YBvOhOJuMyvKwbi9zmUB\\nU4G13t2eWpkA1Eg0nU4c/5Yc2bEW22EqWhS5chPvinTaWFlcg8gbL2BZGGdjw7+c\\\ + nqb/rlN2gd5PoFe4J5vhv4ThiHAE4urVXazTwwmtF4N0ywxA5J1XmNzjdWmBoVb67\\nqbBXEjpKcdz2m8cEnZZuNREZN8ifcmBwjZpFBfiSxVegNBU9whpstT1al7UJ7Y1Z\\\ + nm5Z22JpoktNGmrOwd8B3tYxr8A7qL5MPs/ecSlobBdZuR16Q8RI5traN/cABBGWS\\nXDvtmWbphhdKhpR2WEGBED6wWwLYVic+UsHoVUrrC2VKUzd6J4TbnzY7xsZllU+W\\\ + nSeR0suM7Y0oJvqZwSrQ9RvnzoKuHYA2PGpiU4geV18YVkn2Z1vLTxhokI2SXVIwZ\\nLGi43XmN4G69hOqvmBqChfUbOCNixYUsnXKE+fLmQwqe0EzELNuXAtwhqQmalqlA\\\ + nTWU1OaVz5anSjplaRTY+WxAbfejiS4uP\\n=JzVe\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:40.683821Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions\"\ + , \n \"url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"eaca9e46-2675-481f-9376-341b071c6f5e\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/add_star\"\ + , \n \"interaction_count\": 2, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"holier-than-thou\ + \ amine\", \n \"key\": {\n \"fingerprint\": \"4A748E7A86A5C8B0DA0EB91CFC30F95532FFF518\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC2fmZFKvw8ZVr5uXYxn15ReU9bATjGAMPouLHA/XhLuVsQBzkH\\\ + njrGDn/yeWHGhX/GOx+ojiF7G4JYMHvRk0EoumAzWmFgxkx9WUXBTrvwTapx+2801\\n/kgvw0nrpkvhbgdC+6DEQp0/DVOGmZW8ldKYup35NyZZ3iS1e1MIx49XOmwJ8pGp\\\ + naHXPmRc42ks+9oY3l08Jx4H+sHGK/1tqcaO5AnyQE0IFJGZwk1aIIggP3W899RiI\\nmJYi2fSShO9ZHTe7qUolyKDQJypB9AYf4TNZFIf5/zSeU6snYD04AhV1kfWf+Ea3\\\ + nVeafnyauBz1bNUHeoye06yESJ2QIa4Cp9nNEW6cJc9bFqzKmG23BJLKLHsu4avLn\\nqoM39Odha7k2y0MA+sdNcwPnQNGnw2YNErVTSqzv/q2pbjBfXDQ3AYIuNJN46q5p\\\ + njNfHoLm6fCxhnWkZXpQJ47TO4xApcEkhhpzPD8F85UP9fgVIgehQB7tyUkm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3LVXjyY+4uxEBvde6RUhB1/fZA\\nUBNBRZxmyz0jVj5bDz0ta5N11VvkyzLBgpszZF79uGN45wCLxSueNqwb/AdHjjvL\\\ + npbvZseUAAwzt7+c2hH+Hjh9YG6FpL3yk\\n=rD40\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:45:29.018866Z\"\ + , \n \"number_of_documents\": 1, \n \"number_of_messages\": 1, \n\ + \ \"remove_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions\"\ + , \n \"url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"uuid\": \"f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '8017' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:26 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/submissions + response: + body: + string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download\"\ + , \n \"filename\": \"1-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441\"\ + , \n \"uuid\": \"51758cc8-8b4d-4336-b668-a0e91f139441\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download\"\ + , \n \"filename\": \"2-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 693, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9\"\ + , \n \"uuid\": \"b1700241-add4-4fbc-804a-c9f9385357e9\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download\"\ + , \n \"filename\": \"1-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\ + , \n \"uuid\": \"88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download\"\ + , \n \"filename\": \"2-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 692, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\ + , \n \"uuid\": \"fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download\"\ + , \n \"filename\": \"1-holier-than-thou_amine-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 605, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\ + , \n \"uuid\": \"8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download\"\ + , \n \"filename\": \"2-holier-than-thou_amine-doc.gz.gpg\", \n \"\ + is_read\": true, \n \"size\": 625, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\ + , \n \"uuid\": \"1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '3066' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:26 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/replies + response: + body: + string: "{\n \"replies\": [\n {\n \"filename\": \"3-carbonated_object-reply.gpg\"\ + , \n \"is_deleted_by_source\": false, \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_username\"\ + : \"journalist\", \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"4b6596cc-04ce-477e-94c5-16705cd01499\"\n }, \n \ + \ {\n \"filename\": \"4-carbonated_object-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"a814c3f9-637e-4753-bd82-279d2b010f58\"\n }, \n \ + \ {\n \"filename\": \"3-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\n }, \n \ + \ {\n \"filename\": \"4-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '2263' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:26 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources + response: + body: + string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"carbonated\ + \ object\", \n \"key\": {\n \"fingerprint\": \"B8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AoJENSlhW24KeJwtc4P/ix6VGGRBrDU\\\ + nIL0EanySOBxGcI5PyYXHAh4VDznPQBEI63+3+faC0xKrh1OkgxjiOZtQxX127UJ3\\nXEUnaN6v6kgKVZAqeTYxCr2cLdtMi9m/HcEKKFcYndHwLJDYvuLseHDPwlfE/v0X\\\ + nPJzg/41iZvwvHQZIKpYn6e+Oxt5JIDntV3XthJQmqiquora8I0nF5X/y0Cah3usT\\nYTuhvXuARaqnD+5Qv1dvdOZ+cQ+ClAm1vLZURPa+boqIOzPGvkEcO9kXoORf1lF7\\\ + nPECF2YNObSJgb7GpFrUrT8ceQQ2ykiP7TDTxpplDcRzU5UJ+MedIjK4si8dKEPP8\\nkIwSOFDD3/XpaA0ekygV6xkCt1kgUil0P1BGwvNqY1cthi9BxQeksocQJUpWS5r7\\\ + nQdgpSycel4sPNnk2YcYJ6oH4LrEEax/7eOh+rVa7tEhneF9GVsFrNU+a1jWAlfvf\\nhxyuggQ/1NiINAGx3RxdXndri6KKuzWzXcfwnMQPf3EtezZJS9hkP8wuMokDh3Oo\\\ + naIbrv4TB4JZ2OUZbI4vYTr9MCzl6ddLWIBhnn22A4Y317cH5txsqOCoD0xzLlfs/\\niHqU0vGc5Khw7/HnSp2PHmODLnIvbyLptS5TT84hdh8CuyxyqC7YrCGmu3Ca8dj9\\\ + nN4A87ni2oeeTaMZzUKVRlVDyFxSUMnMV\\n=Vm14\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:36.132213Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions\"\ + , \n \"url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"aff8e8be-dc85-4061-84d4-cb4d7d936193\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"godly procession\"\ + , \n \"key\": {\n \"fingerprint\": \"E07CA6BE7FDEE97654C9F20946498FA0EE291046\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC0Emkwa6IWSzTNQbB3UOkDDx97gCZ/vUByIdMxzkjthUVIBsZS\\\ + nhd+LpTqOAYub003IMPHLQc0sy1mC4RRnd2G2AEiQrBSAnM5dDOYTEJDYd45W1WPN\\nRnaXhhUiEyHlTjCHNT4I8MCXdb0BCTghW/axzsVgPbqDxyujJS7zftr4SytKbrz6\\\ + nqAacrG8J8EP9OthpodqujgS0bYIA/LtVWS1ANV6va6e+dWSWStKZ1H29XmTwt3tT\\nAUg9xifNyMAutyYF2hFbrPaSDjhMPzIn1O7HdcrcVs3MEkD4Jai7Q78nuPIuSYmy\\\ + nNxHDvksgJxFbE5YtXwIropIO++RuFTzS2zyqcYXLwhAZpySVthW+5j5OcZldF9va\\ncaapb1/4o+KFHrZVvfxAvg8bNGs/FzvcT5gzkx7L8FB7fksRK2WBgM4glfoWuwoW\\\ + nW2neeYPaBVE4X9V6hobRLb2nzPBOP4JHqPNQbEPFQRWZibJlKXbbUqU7KAyMVD0V\\nmFrnB9hNEXZZP662CEGD6NUtm+fFQBZCtuxSA53hAX6NrW1fK3YKAdsSCCEURK7H\\\ + nyNz36FAZAJqdr1oq1BixOJ1ftX6cDK6PRdUA9NplhUBHg9ah6niSKwTNZ9nbeMdb\\noNi+ZBv97pcpz0erRHoBfQThpIzIa1nb816TbsoC5T/FOaMFfCKiACC4LQARAQAB\\\ + ntHx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"2020-03-19T10:44:40.683821Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions\"\ + , \n \"url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"eaca9e46-2675-481f-9376-341b071c6f5e\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/add_star\"\ + , \n \"interaction_count\": 2, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"holier-than-thou\ + \ amine\", \n \"key\": {\n \"fingerprint\": \"4A748E7A86A5C8B0DA0EB91CFC30F95532FFF518\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC2fmZFKvw8ZVr5uXYxn15ReU9bATjGAMPouLHA/XhLuVsQBzkH\\\ + njrGDn/yeWHGhX/GOx+ojiF7G4JYMHvRk0EoumAzWmFgxkx9WUXBTrvwTapx+2801\\n/kgvw0nrpkvhbgdC+6DEQp0/DVOGmZW8ldKYup35NyZZ3iS1e1MIx49XOmwJ8pGp\\\ + naHXPmRc42ks+9oY3l08Jx4H+sHGK/1tqcaO5AnyQE0IFJGZwk1aIIggP3W899RiI\\nmJYi2fSShO9ZHTe7qUolyKDQJypB9AYf4TNZFIf5/zSeU6snYD04AhV1kfWf+Ea3\\\ + nVeafnyauBz1bNUHeoye06yESJ2QIa4Cp9nNEW6cJc9bFqzKmG23BJLKLHsu4avLn\\nqoM39Odha7k2y0MA+sdNcwPnQNGnw2YNErVTSqzv/q2pbjBfXDQ3AYIuNJN46q5p\\\ + njNfHoLm6fCxhnW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\\\ + nJAehKMwTOhaVVGcuv1b2UYcuuB00yRh0nGeiRK3LVXjyY+4uxEBvde6RUhB1/fZA\\nUBNBRZxmyz0jVj5bDz0ta5N11VvkyzLBgpszZF79uGN45wCLxSueNqwb/AdHjjvL\\\ + npbvZseUAAwzt7+c2hH+Hjh9YG6FpL3yk\\n=rD40\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:45:29.018866Z\"\ + , \n \"number_of_documents\": 1, \n \"number_of_messages\": 1, \n\ + \ \"remove_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions\"\ + , \n \"url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"uuid\": \"f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '8017' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:41 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/submissions + response: + body: + string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download\"\ + , \n \"filename\": \"1-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441\"\ + , \n \"uuid\": \"51758cc8-8b4d-4336-b668-a0e91f139441\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download\"\ + , \n \"filename\": \"2-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 693, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9\"\ + , \n \"uuid\": \"b1700241-add4-4fbc-804a-c9f9385357e9\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download\"\ + , \n \"filename\": \"1-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\ + , \n \"uuid\": \"88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download\"\ + , \n \"filename\": \"2-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 692, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\ + , \n \"uuid\": \"fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download\"\ + , \n \"filename\": \"1-holier-than-thou_amine-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 605, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\ + , \n \"uuid\": \"8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download\"\ + , \n \"filename\": \"2-holier-than-thou_amine-doc.gz.gpg\", \n \"\ + is_read\": true, \n \"size\": 625, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\ + , \n \"uuid\": \"1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '3066' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:41 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/replies + response: + body: + string: "{\n \"replies\": [\n {\n \"filename\": \"3-carbonated_object-reply.gpg\"\ + , \n \"is_deleted_by_source\": false, \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_username\"\ + : \"journalist\", \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"4b6596cc-04ce-477e-94c5-16705cd01499\"\n }, \n \ + \ {\n \"filename\": \"4-carbonated_object-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"a814c3f9-637e-4753-bd82-279d2b010f58\"\n }, \n \ + \ {\n \"filename\": \"3-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\n }, \n \ + \ {\n \"filename\": \"4-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '2263' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:41 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/sources + response: + body: + string: "{\n \"sources\": [\n {\n \"add_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"carbonated\ + \ object\", \n \"key\": {\n \"fingerprint\": \"B8AE9A1BFFAF6BC09FD6F5E2D4A5856DB829E270\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEACgvETGDNddvNLXJ7sXeVQhtBNh0ZSDlTDchR4OTpXfBcGHfSZc\\\ + n/A6UPQtUvxTX4+CFZzAMjBovGMiAOZuRGaX89oRkaIcEvvB5G+IJ1ERh9jd9y8T0\\nBSk1kQkwt0IBvFp7K/SDPLNwgOkJ6g/pEOGVEUpnW0RcqLc5Ed5HTy+d2/dh2flZ\\\ + niCTCJx3/rNL4ixfcMiZ0kdp5d/or8XwqzS15y0T5Pzk+gUuh+2cWdfVlS4p9gT2N\\n3a1TB58Z3NIPbgQbuQYlJe336chB3tYg88rA2SfcCnM6NeryXmCtjdizROHR3id0\\\ + np/0R8iMvkDdNhYpO9LOiDAVJh9OStQYwuz7Lc8xCm9pJQbig/CP3DztMrbd6mTdC\\nfkuFBnNwPHOV0xGQQyGoV0GE7UI0TIMWuqOMwLogEol2YfifcXADILpNVKNBpFCR\\\ + n730HE2HQ221YNNylfywg5qRmdHKq07I0slGVlemXI7PsvxoX/5lkTkhhmf5rgwob\\nFID/L9EuJqN/jtygbBi9VVwq8g+U9PkrkfZ3NsK+8NQYhUyDX+tpxuvvTPGIPdY0\\\ + nuwoRTbfsC4vU5PskKRQxD5v7JiKm1G3+8lU2O34qEZ4UjL1PYfTDCic5PSQXoINE\\n0nZ40ulj94rY1U2wTkAIEWXnw1fpS3P9pnI2BvUmlm/aWgmkVplEhIWPxwARAQAB\\\ + ntHxBdXRvZ2VuZXJhdGVkIEtleSA8M1BFRTNaVTdCRlNFNFdWT0s0Mko0WUtOSko1\\nUVJUTDVYU1dYVE9SU1BOUU9TVkwyVldXSkREQktIUlJKR1k3MzZVQ0lRWElZMldC\\\ + nQUhDRlBHUENBU0xINlo2TTdGNkoyVkszVzJIWT0+iQI3BBMBCgAhBQJRkX6AAhsv\\nBQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJENSlhW24KeJwtc4P/ix6VGGRBrDU\\\ + nIL0EanySOBxGcI5PyYXHAh4VDznPQBEI63+3+faC0xKrh1OkgxjiOZtQxX127UJ3\\nXEUnaN6v6kgKVZAqeTYxCr2cLdtMi9m/HcEKKFcYndHwLJDYvuLseHDPwlfE/v0X\\\ + nPJzg/41iZvwvHQZIKpYn6e+Oxt5JIDntV3XthJQmqiquora8I0nF5X/y0Cah3usT\\nYTuhvXuARaqnD+5Qv1dvdOZ+cQ+ClAm1vLZURPa+boqIOzPGvkEcO9kXoORf1lF7\\\ + nPECF2YNObSJgb7GpFrUrT8ceQQ2ykiP7TDTxpplDcRzU5UJ+MedIjK4si8dKEPP8\\nkIwSOFDD3/XpaA0ekygV6xkCt1kgUil0P1BGwvNqY1cthi9BxQeksocQJUpWS5r7\\\ + nQdgpSycel4sPNnk2YcYJ6oH4LrEEax/7eOh+rVa7tEhneF9GVsFrNU+a1jWAlfvf\\nhxyuggQ/1NiINAGx3RxdXndri6KKuzWzXcfwnMQPf3EtezZJS9hkP8wuMokDh3Oo\\\ + naIbrv4TB4JZ2OUZbI4vYTr9MCzl6ddLWIBhnn22A4Y317cH5txsqOCoD0xzLlfs/\\niHqU0vGc5Khw7/HnSp2PHmODLnIvbyLptS5TT84hdh8CuyxyqC7YrCGmu3Ca8dj9\\\ + nN4A87ni2oeeTaMZzUKVRlVDyFxSUMnMV\\n=Vm14\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:36.132213Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions\"\ + , \n \"url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"aff8e8be-dc85-4061-84d4-cb4d7d936193\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/add_star\"\ + , \n \"interaction_count\": 4, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"godly procession\"\ + , \n \"key\": {\n \"fingerprint\": \"E07CA6BE7FDEE97654C9F20946498FA0EE291046\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC0Emkwa6IWSzTNQbB3UOkDDx97gCZ/vUByIdMxzkjthUVIBsZS\\\ + nhd+LpTqOAYub003IMPHLQc0sy1mC4RRnd2G2AEiQrBSAnM5dDOYTEJDYd45W1WPN\\nRnaXhhUiEyHlTjCHNT4I8MCXdb0BCTghW/axzsVgPbqDxyujJS7zftr4SytKbrz6\\\ + nqAacrG8J8EP9OthpodqujgS0bYIA/LtVWS1ANV6va6e+dWSWStKZ1H29XmTwt3tT\\nAUg9xifNyMAutyYF2hFbrPaSDjhMPzIn1O7HdcrcVs3MEkD4Jai7Q78nuPIuSYmy\\\ + nNxHDvksgJxFbE5YtXwIropIO++RuFTzS2zyqcYXLwhAZpySVthW+5j5OcZldF9va\\ncaapb1/4o+KFHrZVvfxAvg8bNGs/FzvcT5gzkx7L8FB7fksRK2WBgM4glfoWuwoW\\\ + nW2neeYPaBVE4X9V6hobRLb2nzPBOP4JHqPNQbEPFQRWZibJlKXbbUqU7KAyMVD0V\\nmFrnB9hNEXZZP662CEGD6NUtm+fFQBZCtuxSA53hAX6NrW1fK3YKAdsSCCEURK7H\\\ + nyNz36FAZAJqdr1oq1BixOJ1ftX6cDK6PRdUA9NplhUBHg9ah6niSKwTNZ9nbeMdb\\noNi+ZBv97pcpz0erRHoBfQThpIz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OCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:44:40.683821Z\"\ + , \n \"number_of_documents\": 0, \n \"number_of_messages\": 2, \n\ + \ \"remove_star_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions\"\ + , \n \"url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"eaca9e46-2675-481f-9376-341b071c6f5e\"\n }, \n \ + \ {\n \"add_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/add_star\"\ + , \n \"interaction_count\": 2, \n \"is_flagged\": false, \n \ + \ \"is_starred\": false, \n \"journalist_designation\": \"holier-than-thou\ + \ amine\", \n \"key\": {\n \"fingerprint\": \"4A748E7A86A5C8B0DA0EB91CFC30F95532FFF518\"\ + , \n \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n\\nmQINBFGRfoABEAC2fmZFKvw8ZVr5uXYxn15ReU9bATjGAMPouLHA/XhLuVsQBzkH\\\ + njrGDn/yeWHGhX/GOx+ojiF7G4JYMHvRk0EoumAzWmFgxkx9WUXBTrvwTapx+2801\\n/kgvw0nrpkvhbgdC+6DEQp0/DVOGmZW8ldKYup35NyZZ3iS1e1MIx49XOmwJ8pGp\\\ + naHXPmRc42ks+9oY3l08Jx4H+sHGK/1tqcaO5AnyQE0IFJGZwk1aIIggP3W899RiI\\nmJYi2fSShO9ZHTe7qUolyKDQJypB9AYf4TNZFIf5/zSeU6snYD04AhV1kfWf+Ea3\\\ + nVeafnyauBz1bNUHeoye06yESJ2QIa4Cp9nNEW6cJc9bFqzKmG23BJLKLHsu4avLn\\nqoM39Odha7k2y0MA+sdNcwPnQNGnw2YNErVTSqzv/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E4SU9N9n5dzU7DSFGhpfPc7hC8GwTgxNsTaMkDV4zc\\\ + nJAehKMwTOhaVVGcuv1b2UYcuuB00yRh0nGeiRK3LVXjyY+4uxEBvde6RUhB1/fZA\\nUBNBRZxmyz0jVj5bDz0ta5N11VvkyzLBgpszZF79uGN45wCLxSueNqwb/AdHjjvL\\\ + npbvZseUAAwzt7+c2hH+Hjh9YG6FpL3yk\\n=rD40\\n-----END PGP PUBLIC KEY BLOCK-----\\\ + n\", \n \"type\": \"PGP\"\n }, \n \"last_updated\": \"2020-03-19T10:45:29.018866Z\"\ + , \n \"number_of_documents\": 1, \n \"number_of_messages\": 1, \n\ + \ \"remove_star_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/remove_star\"\ + , \n \"replies_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/replies\"\ + , \n \"submissions_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions\"\ + , \n \"url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"uuid\": \"f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '8017' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:56 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/submissions + response: + body: + string: "{\n \"submissions\": [\n {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441/download\"\ + , \n \"filename\": \"1-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/51758cc8-8b4d-4336-b668-a0e91f139441\"\ + , \n \"uuid\": \"51758cc8-8b4d-4336-b668-a0e91f139441\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9/download\"\ + , \n \"filename\": \"2-carbonated_object-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 693, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"submission_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/submissions/b1700241-add4-4fbc-804a-c9f9385357e9\"\ + , \n \"uuid\": \"b1700241-add4-4fbc-804a-c9f9385357e9\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f/download\"\ + , \n \"filename\": \"1-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 627, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\ + , \n \"uuid\": \"88f67a17-d3b9-478d-b77a-5de6e6ebbd1f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a/download\"\ + , \n \"filename\": \"2-godly_procession-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 692, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"submission_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/submissions/fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\ + , \n \"uuid\": \"fe5e6be9-f989-4b70-ab37-01df3fcf883a\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f/download\"\ + , \n \"filename\": \"1-holier-than-thou_amine-msg.gpg\", \n \"is_read\"\ + : true, \n \"size\": 605, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\ + , \n \"uuid\": \"8feb75a5-9599-4e38-9c27-68ccdc497a3f\"\n }, \n \ + \ {\n \"download_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35/download\"\ + , \n \"filename\": \"2-holier-than-thou_amine-doc.gz.gpg\", \n \"\ + is_read\": true, \n \"size\": 625, \n \"source_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03\"\ + , \n \"submission_url\": \"/api/v1/sources/f8d1dd4f-09c4-4c36-8b55-835d8de49b03/submissions/1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\ + , \n \"uuid\": \"1f2f1545-cde5-40e1-85d2-ef6d7ba58d35\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '3066' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:56 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Authorization: + - Token eyJhbGciOiJIUzI1NiIsImV4cCI6MTU4NDY0MzczNSwiaWF0IjoxNTg0NjE0OTM1fQ.eyJpZCI6MX0.vwVxjLTkkQCB5vDj6pNAxYV8dPZFOpvqkEvZ7v5j4GE + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - python-requests/2.20.0 + method: GET + uri: http://localhost:8081/api/v1/replies + response: + body: + string: "{\n \"replies\": [\n {\n \"filename\": \"3-carbonated_object-reply.gpg\"\ + , \n \"is_deleted_by_source\": false, \n \"journalist_first_name\"\ + : null, \n \"journalist_last_name\": null, \n \"journalist_username\"\ + : \"journalist\", \n \"journalist_uuid\": \"2f01b225-2ed1-4880-8f02-2997e39dbded\"\ + , \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/4b6596cc-04ce-477e-94c5-16705cd01499\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"4b6596cc-04ce-477e-94c5-16705cd01499\"\n }, \n \ + \ {\n \"filename\": \"4-carbonated_object-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193/replies/a814c3f9-637e-4753-bd82-279d2b010f58\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/aff8e8be-dc85-4061-84d4-cb4d7d936193\"\ + , \n \"uuid\": \"a814c3f9-637e-4753-bd82-279d2b010f58\"\n }, \n \ + \ {\n \"filename\": \"3-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\ + , \n \"size\": 1149, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"ad6100b0-3df4-412e-b187-4d1705e2a4f5\"\n }, \n \ + \ {\n \"filename\": \"4-godly_procession-reply.gpg\", \n \"is_deleted_by_source\"\ + : false, \n \"journalist_first_name\": null, \n \"journalist_last_name\"\ + : null, \n \"journalist_username\": \"journalist\", \n \"journalist_uuid\"\ + : \"2f01b225-2ed1-4880-8f02-2997e39dbded\", \n \"reply_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e/replies/a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\ + , \n \"size\": 1217, \n \"source_url\": \"/api/v1/sources/eaca9e46-2675-481f-9376-341b071c6f5e\"\ + , \n \"uuid\": \"a0e1a18e-d85e-42b0-b330-01fdef303c1c\"\n }\n ]\n\ + }\n" + headers: + Content-Length: + - '2263' + Content-Type: + - application/json + Date: + - Thu, 19 Mar 2020 10:49:56 GMT + Server: + - Werkzeug/0.16.0 Python/3.5.2 + status: + code: 200 + message: OK +version: 1 diff --git a/tests/functional/test_download_file.py b/tests/functional/test_download_file.py new file mode 100644 index 0000000000..28ffd88de8 --- /dev/null +++ b/tests/functional/test_download_file.py @@ -0,0 +1,52 @@ +""" +Functional tests for sending messages in the SecureDrop client application. The +tests are based upon the client testing descriptions here: + +https://github.com/freedomofpress/securedrop-client/wiki/Test-plan#basic-client-testing +""" +import pytest +from PyQt5.QtCore import Qt +from securedrop_client.gui.widgets import FileWidget +from .utils import get_safe_tempdir, get_logged_in_test_context + + +@pytest.mark.vcr() +def test_download_file(qtbot, mocker): + """ + We will download a file received from the source + the conversation window. + """ + totp = "353061" + tempdir = get_safe_tempdir() + gui, controller = get_logged_in_test_context(tempdir, qtbot, totp) + qtbot.wait(1000) + + def check_for_sources(): + assert len(list(gui.main_view.source_list.source_widgets.keys())) + + qtbot.waitUntil(check_for_sources, timeout=10000) + source_ids = list(gui.main_view.source_list.source_widgets.keys()) + first_source_id = source_ids[2] + first_source_widget = gui.main_view.source_list.source_widgets[first_source_id] + qtbot.mouseClick(first_source_widget, Qt.LeftButton) + + qtbot.wait(10000) # Wait for the client to sync. + # Ensure the last widget in the conversation view contains the expected + # text from the source. + conversation = gui.main_view.view_layout.itemAt(0).widget() + message = "this is the message" + # We get the file from the source. + file_msg_id = list(conversation.conversation_view.current_messages.keys())[-1] + file_msg = conversation.conversation_view.current_messages[file_msg_id] + assert isinstance(file_msg, FileWidget) + # We see the source's message. + last_msg_id = list(conversation.conversation_view.current_messages.keys())[-2] + last_msg = conversation.conversation_view.current_messages[last_msg_id] + assert last_msg.message.text() == message + + # Let us download the file + qtbot.mouseClick(file_msg.download_button, Qt.LeftButton) + qtbot.wait(5000) + assert file_msg.export_button.isHidden() == False + assert file_msg.file_name.text() == "hello.txt" + assert file_msg.file_size.text() == "625B" \ No newline at end of file