366 líneas
21 KiB
YAML
366 líneas
21 KiB
YAML
|
interactions:
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v1/accounts/verify_credentials
|
||
|
response:
|
||
|
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":[]}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [aa064dd7-6f49-4308-ab68-17130de204b1]
|
||
|
X-Runtime: ['0.033881']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['653']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: send_email_notification=1&type=disable
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['38']
|
||
|
Content-Type: [application/x-www-form-urlencoded]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/action
|
||
|
response:
|
||
|
body: {string: '{}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [12eb6f99-0b79-47b9-a61b-2c01939b2eef]
|
||
|
X-Runtime: ['0.038479']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['2']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [3cb9e402-a36b-4bb3-9e85-f8e55b58924c]
|
||
|
X-Runtime: ['0.052556']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['878']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [fbc1c872-c78d-4737-9ffd-aab6ac569727]
|
||
|
X-Runtime: ['0.072257']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: send_email_notification=1&type=silence
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['38']
|
||
|
Content-Type: [application/x-www-form-urlencoded]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/action
|
||
|
response:
|
||
|
body: {string: '{}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [5eb4cb13-617b-4c0f-a8b1-b77ca412e5e1]
|
||
|
X-Runtime: ['0.059976']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['2']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [bd1d95a4-ca94-4757-ba95-d6e605c1a078]
|
||
|
X-Runtime: ['0.046756']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['878']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [b9098809-599c-408a-8148-d9fd3362628b]
|
||
|
X-Runtime: ['0.082879']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: send_email_notification=1&type=suspend
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['38']
|
||
|
Content-Type: [application/x-www-form-urlencoded]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/action
|
||
|
response:
|
||
|
body: {string: '{}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [82c35ecb-8a86-4110-b314-0b325960ec32]
|
||
|
X-Runtime: ['0.077761']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['2']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [412e8231-2367-4988-88b6-f427b2017d52]
|
||
|
X-Runtime: ['0.055886']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['877']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [a82b647c-4f22-4037-9a85-df9dc29554cf]
|
||
|
X-Runtime: ['0.107695']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [56c54dd1-089e-4c5c-ab51-93d4c6eb1469]
|
||
|
X-Runtime: ['0.086749']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [c9907143-2c1e-4c8f-8d5e-ba064be9d87b]
|
||
|
X-Runtime: ['0.164157']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
||
|
Connection: [keep-alive]
|
||
|
Content-Length: ['0']
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: POST
|
||
|
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
|
||
|
response:
|
||
|
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":[]}}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [31a3caa7-07d5-48a5-bc5d-138c90ac0413]
|
||
|
X-Runtime: ['0.211513']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['879']
|
||
|
status: {code: 200, message: OK}
|
||
|
version: 1
|