aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_admin_moderation.yaml')
-rw-r--r--tests/cassettes/test_admin_moderation.yaml107
1 files changed, 61 insertions, 46 deletions
diff --git a/tests/cassettes/test_admin_moderation.yaml b/tests/cassettes/test_admin_moderation.yaml
index 58cb23c..8b4ff0c 100644
--- a/tests/cassettes/test_admin_moderation.yaml
+++ b/tests/cassettes/test_admin_moderation.yaml
@@ -10,7 +10,10 @@ interactions:
10 method: GET 10 method: GET
11 uri: http://localhost:3000/api/v1/accounts/verify_credentials 11 uri: http://localhost:3000/api/v1/accounts/verify_credentials
12 response: 12 response:
13 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} 13 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
14 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
15 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
16 walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
14 headers: 17 headers:
15 Cache-Control: ['no-cache, no-store'] 18 Cache-Control: ['no-cache, no-store']
16 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
@@ -21,10 +24,10 @@ interactions:
21 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
22 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
23 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
24 X-Request-Id: [aa064dd7-6f49-4308-ab68-17130de204b1] 27 X-Request-Id: [dc3c2377-b30d-46d2-8ed7-a700d448f7a1]
25 X-Runtime: ['0.033881'] 28 X-Runtime: ['0.042809']
26 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
27 content-length: ['653'] 30 content-length: ['1134']
28 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
29- request: 32- request:
30 body: send_email_notification=1&type=disable 33 body: send_email_notification=1&type=disable
@@ -50,8 +53,8 @@ interactions:
50 X-Download-Options: [noopen] 53 X-Download-Options: [noopen]
51 X-Frame-Options: [SAMEORIGIN] 54 X-Frame-Options: [SAMEORIGIN]
52 X-Permitted-Cross-Domain-Policies: [none] 55 X-Permitted-Cross-Domain-Policies: [none]
53 X-Request-Id: [12eb6f99-0b79-47b9-a61b-2c01939b2eef] 56 X-Request-Id: [84ac4744-972d-4a65-8fd7-fa316a26c895]
54 X-Runtime: ['0.038479'] 57 X-Runtime: ['0.042256']
55 X-XSS-Protection: [1; mode=block] 58 X-XSS-Protection: [1; mode=block]
56 content-length: ['2'] 59 content-length: ['2']
57 status: {code: 200, message: OK} 60 status: {code: 200, message: OK}
@@ -66,7 +69,9 @@ interactions:
66 method: GET 69 method: GET
67 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 70 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
68 response: 71 response:
69 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 72 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
73 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
74 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
70 headers: 75 headers:
71 Cache-Control: ['no-cache, no-store'] 76 Cache-Control: ['no-cache, no-store']
72 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
@@ -77,10 +82,10 @@ interactions:
77 X-Download-Options: [noopen] 82 X-Download-Options: [noopen]
78 X-Frame-Options: [SAMEORIGIN] 83 X-Frame-Options: [SAMEORIGIN]
79 X-Permitted-Cross-Domain-Policies: [none] 84 X-Permitted-Cross-Domain-Policies: [none]
80 X-Request-Id: [3cb9e402-a36b-4bb3-9e85-f8e55b58924c] 85 X-Request-Id: [60f4dd78-2549-46a4-9b84-7811906d8ea4]
81 X-Runtime: ['0.052556'] 86 X-Runtime: ['0.044526']
82 X-XSS-Protection: [1; mode=block] 87 X-XSS-Protection: [1; mode=block]
83 content-length: ['878'] 88 content-length: ['1240']
84 status: {code: 200, message: OK} 89 status: {code: 200, message: OK}
85- request: 90- request:
86 body: null 91 body: null
@@ -94,7 +99,9 @@ interactions:
94 method: POST 99 method: POST
95 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable 100 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
96 response: 101 response:
97 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 102 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
103 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
104 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
98 headers: 105 headers:
99 Cache-Control: ['no-cache, no-store'] 106 Cache-Control: ['no-cache, no-store']
100 Content-Type: [application/json; charset=utf-8] 107 Content-Type: [application/json; charset=utf-8]
@@ -105,10 +112,10 @@ interactions:
105 X-Download-Options: [noopen] 112 X-Download-Options: [noopen]
106 X-Frame-Options: [SAMEORIGIN] 113 X-Frame-Options: [SAMEORIGIN]
107 X-Permitted-Cross-Domain-Policies: [none] 114 X-Permitted-Cross-Domain-Policies: [none]
108 X-Request-Id: [fbc1c872-c78d-4737-9ffd-aab6ac569727] 115 X-Request-Id: [adc120cb-11ea-407a-8ea2-b8a803c6a4a6]
109 X-Runtime: ['0.072257'] 116 X-Runtime: ['0.054101']
110 X-XSS-Protection: [1; mode=block] 117 X-XSS-Protection: [1; mode=block]
111 content-length: ['879'] 118 content-length: ['1241']
112 status: {code: 200, message: OK} 119 status: {code: 200, message: OK}
113- request: 120- request:
114 body: send_email_notification=1&type=silence 121 body: send_email_notification=1&type=silence
@@ -134,8 +141,8 @@ interactions:
134 X-Download-Options: [noopen] 141 X-Download-Options: [noopen]
135 X-Frame-Options: [SAMEORIGIN] 142 X-Frame-Options: [SAMEORIGIN]
136 X-Permitted-Cross-Domain-Policies: [none] 143 X-Permitted-Cross-Domain-Policies: [none]
137 X-Request-Id: [5eb4cb13-617b-4c0f-a8b1-b77ca412e5e1] 144 X-Request-Id: [b17976da-7a71-4bdd-9bfd-24f6747c6ac0]
138 X-Runtime: ['0.059976'] 145 X-Runtime: ['0.060963']
139 X-XSS-Protection: [1; mode=block] 146 X-XSS-Protection: [1; mode=block]
140 content-length: ['2'] 147 content-length: ['2']
141 status: {code: 200, message: OK} 148 status: {code: 200, message: OK}
@@ -150,7 +157,9 @@ interactions:
150 method: GET 157 method: GET
151 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 158 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
152 response: 159 response:
153 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":true,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 160 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":true,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
161 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
162 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
154 headers: 163 headers:
155 Cache-Control: ['no-cache, no-store'] 164 Cache-Control: ['no-cache, no-store']
156 Content-Type: [application/json; charset=utf-8] 165 Content-Type: [application/json; charset=utf-8]
@@ -161,10 +170,10 @@ interactions:
161 X-Download-Options: [noopen] 170 X-Download-Options: [noopen]
162 X-Frame-Options: [SAMEORIGIN] 171 X-Frame-Options: [SAMEORIGIN]
163 X-Permitted-Cross-Domain-Policies: [none] 172 X-Permitted-Cross-Domain-Policies: [none]
164 X-Request-Id: [bd1d95a4-ca94-4757-ba95-d6e605c1a078] 173 X-Request-Id: [e7093407-e41e-4567-bd6f-c7f291ac6a5c]
165 X-Runtime: ['0.046756'] 174 X-Runtime: ['0.045798']
166 X-XSS-Protection: [1; mode=block] 175 X-XSS-Protection: [1; mode=block]
167 content-length: ['878'] 176 content-length: ['1240']
168 status: {code: 200, message: OK} 177 status: {code: 200, message: OK}
169- request: 178- request:
170 body: null 179 body: null
@@ -178,7 +187,9 @@ interactions:
178 method: POST 187 method: POST
179 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence 188 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
180 response: 189 response:
181 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 190 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
191 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
192 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
182 headers: 193 headers:
183 Cache-Control: ['no-cache, no-store'] 194 Cache-Control: ['no-cache, no-store']
184 Content-Type: [application/json; charset=utf-8] 195 Content-Type: [application/json; charset=utf-8]
@@ -189,10 +200,10 @@ interactions:
189 X-Download-Options: [noopen] 200 X-Download-Options: [noopen]
190 X-Frame-Options: [SAMEORIGIN] 201 X-Frame-Options: [SAMEORIGIN]
191 X-Permitted-Cross-Domain-Policies: [none] 202 X-Permitted-Cross-Domain-Policies: [none]
192 X-Request-Id: [b9098809-599c-408a-8148-d9fd3362628b] 203 X-Request-Id: [0c0d663d-1629-44f0-b8d7-033e3fe95b64]
193 X-Runtime: ['0.082879'] 204 X-Runtime: ['0.080628']
194 X-XSS-Protection: [1; mode=block] 205 X-XSS-Protection: [1; mode=block]
195 content-length: ['879'] 206 content-length: ['1241']
196 status: {code: 200, message: OK} 207 status: {code: 200, message: OK}
197- request: 208- request:
198 body: send_email_notification=1&type=suspend 209 body: send_email_notification=1&type=suspend
@@ -218,8 +229,8 @@ interactions:
218 X-Download-Options: [noopen] 229 X-Download-Options: [noopen]
219 X-Frame-Options: [SAMEORIGIN] 230 X-Frame-Options: [SAMEORIGIN]
220 X-Permitted-Cross-Domain-Policies: [none] 231 X-Permitted-Cross-Domain-Policies: [none]
221 X-Request-Id: [82c35ecb-8a86-4110-b314-0b325960ec32] 232 X-Request-Id: [36d3806b-bdd1-40fa-afa9-cc0a48f37dd4]
222 X-Runtime: ['0.077761'] 233 X-Runtime: ['0.099746']
223 X-XSS-Protection: [1; mode=block] 234 X-XSS-Protection: [1; mode=block]
224 content-length: ['2'] 235 content-length: ['2']
225 status: {code: 200, message: OK} 236 status: {code: 200, message: OK}
@@ -234,7 +245,9 @@ interactions:
234 method: GET 245 method: GET
235 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456 246 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
236 response: 247 response:
237 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 248 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
249 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
250 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
238 headers: 251 headers:
239 Cache-Control: ['no-cache, no-store'] 252 Cache-Control: ['no-cache, no-store']
240 Content-Type: [application/json; charset=utf-8] 253 Content-Type: [application/json; charset=utf-8]
@@ -245,10 +258,10 @@ interactions:
245 X-Download-Options: [noopen] 258 X-Download-Options: [noopen]
246 X-Frame-Options: [SAMEORIGIN] 259 X-Frame-Options: [SAMEORIGIN]
247 X-Permitted-Cross-Domain-Policies: [none] 260 X-Permitted-Cross-Domain-Policies: [none]
248 X-Request-Id: [412e8231-2367-4988-88b6-f427b2017d52] 261 X-Request-Id: [216d28a8-6ae0-4371-8019-4d0400fb8565]
249 X-Runtime: ['0.055886'] 262 X-Runtime: ['0.067961']
250 X-XSS-Protection: [1; mode=block] 263 X-XSS-Protection: [1; mode=block]
251 content-length: ['877'] 264 content-length: ['1239']
252 status: {code: 200, message: OK} 265 status: {code: 200, message: OK}
253- request: 266- request:
254 body: null 267 body: null
@@ -262,7 +275,9 @@ interactions:
262 method: POST 275 method: POST
263 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 276 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
264 response: 277 response:
265 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 278 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
279 Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
280 walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
266 headers: 281 headers:
267 Cache-Control: ['no-cache, no-store'] 282 Cache-Control: ['no-cache, no-store']
268 Content-Type: [application/json; charset=utf-8] 283 Content-Type: [application/json; charset=utf-8]
@@ -273,10 +288,10 @@ interactions:
273 X-Download-Options: [noopen] 288 X-Download-Options: [noopen]
274 X-Frame-Options: [SAMEORIGIN] 289 X-Frame-Options: [SAMEORIGIN]
275 X-Permitted-Cross-Domain-Policies: [none] 290 X-Permitted-Cross-Domain-Policies: [none]
276 X-Request-Id: [a82b647c-4f22-4037-9a85-df9dc29554cf] 291 X-Request-Id: [3bfc3c57-3dac-4fb1-99d2-ca7361dcdda4]
277 X-Runtime: ['0.107695'] 292 X-Runtime: ['0.223399']
278 X-XSS-Protection: [1; mode=block] 293 X-XSS-Protection: [1; mode=block]
279 content-length: ['879'] 294 content-length: ['1241']
280 status: {code: 200, message: OK} 295 status: {code: 200, message: OK}
281- request: 296- request:
282 body: null 297 body: null
@@ -290,7 +305,7 @@ interactions:
290 method: POST 305 method: POST
291 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend 306 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
292 response: 307 response:
293 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 308 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
294 headers: 309 headers:
295 Cache-Control: ['no-cache, no-store'] 310 Cache-Control: ['no-cache, no-store']
296 Content-Type: [application/json; charset=utf-8] 311 Content-Type: [application/json; charset=utf-8]
@@ -301,10 +316,10 @@ interactions:
301 X-Download-Options: [noopen] 316 X-Download-Options: [noopen]
302 X-Frame-Options: [SAMEORIGIN] 317 X-Frame-Options: [SAMEORIGIN]
303 X-Permitted-Cross-Domain-Policies: [none] 318 X-Permitted-Cross-Domain-Policies: [none]
304 X-Request-Id: [56c54dd1-089e-4c5c-ab51-93d4c6eb1469] 319 X-Request-Id: [832698fb-5ee9-4137-ac31-811f64945226]
305 X-Runtime: ['0.086749'] 320 X-Runtime: ['0.141727']
306 X-XSS-Protection: [1; mode=block] 321 X-XSS-Protection: [1; mode=block]
307 content-length: ['879'] 322 content-length: ['880']
308 status: {code: 200, message: OK} 323 status: {code: 200, message: OK}
309- request: 324- request:
310 body: null 325 body: null
@@ -318,7 +333,7 @@ interactions:
318 method: POST 333 method: POST
319 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable 334 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
320 response: 335 response:
321 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 336 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
322 headers: 337 headers:
323 Cache-Control: ['no-cache, no-store'] 338 Cache-Control: ['no-cache, no-store']
324 Content-Type: [application/json; charset=utf-8] 339 Content-Type: [application/json; charset=utf-8]
@@ -329,10 +344,10 @@ interactions:
329 X-Download-Options: [noopen] 344 X-Download-Options: [noopen]
330 X-Frame-Options: [SAMEORIGIN] 345 X-Frame-Options: [SAMEORIGIN]
331 X-Permitted-Cross-Domain-Policies: [none] 346 X-Permitted-Cross-Domain-Policies: [none]
332 X-Request-Id: [c9907143-2c1e-4c8f-8d5e-ba064be9d87b] 347 X-Request-Id: [6d583ce9-4a8d-4fea-aa6d-23c31663a3c3]
333 X-Runtime: ['0.164157'] 348 X-Runtime: ['0.109701']
334 X-XSS-Protection: [1; mode=block] 349 X-XSS-Protection: [1; mode=block]
335 content-length: ['879'] 350 content-length: ['880']
336 status: {code: 200, message: OK} 351 status: {code: 200, message: OK}
337- request: 352- request:
338 body: null 353 body: null
@@ -346,7 +361,7 @@ interactions:
346 method: POST 361 method: POST
347 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence 362 uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
348 response: 363 response:
349 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T22:24:48.478Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T22:24:48.478Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'} 364 body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
350 headers: 365 headers:
351 Cache-Control: ['no-cache, no-store'] 366 Cache-Control: ['no-cache, no-store']
352 Content-Type: [application/json; charset=utf-8] 367 Content-Type: [application/json; charset=utf-8]
@@ -357,9 +372,9 @@ interactions:
357 X-Download-Options: [noopen] 372 X-Download-Options: [noopen]
358 X-Frame-Options: [SAMEORIGIN] 373 X-Frame-Options: [SAMEORIGIN]
359 X-Permitted-Cross-Domain-Policies: [none] 374 X-Permitted-Cross-Domain-Policies: [none]
360 X-Request-Id: [31a3caa7-07d5-48a5-bc5d-138c90ac0413] 375 X-Request-Id: [ba99009a-42b2-4095-af09-3583cfe99abd]
361 X-Runtime: ['0.211513'] 376 X-Runtime: ['0.124775']
362 X-XSS-Protection: [1; mode=block] 377 X-XSS-Protection: [1; mode=block]
363 content-length: ['879'] 378 content-length: ['880']
364 status: {code: 200, message: OK} 379 status: {code: 200, message: OK}
365version: 1 380version: 1
Powered by cgit v1.2.3 (git 2.41.0)