2018-07-30 21:00:20 +02:00
interactions :
- request :
body : status=Toot%21
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
Content-Length : [ '14' ]
Content-Type : [ application/x-www-form-urlencoded]
User-Agent : [ python-requests/2.18.4]
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2019-10-12 23:03:14 +02:00
body : {string : '{"id":"102951424990808897","created_at":"2019-10-12T21:01:17.623Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102951424990808897","url":"http://localhost/@mastodonpy_test/102951424990808897","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
test suite","website":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":3,"last_status_at":"2019-10-12T21:01:17.636Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-07-30 21:00:20 +02:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2018-07-30 21:00:20 +02:00
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]
2019-10-12 23:03:14 +02:00
X-Request-Id : [ d3922ff4-905c-46fe-becc-8ce987df9a81]
X-Runtime : [ '0.136372' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-10-11 23:59:24 +02:00
content-length : [ '1280' ]
2018-07-30 21:00:20 +02:00
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/accounts/verify_credentials
response :
2019-10-12 23:03:14 +02:00
body : {string : '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:01:13.837Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}' }
2018-07-30 21:00:20 +02:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2018-07-30 21:00:20 +02:00
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]
2019-10-12 23:03:14 +02:00
X-Request-Id : [ b2f14632-e7f4-4d45-a473-aaa92c613f9c]
X-Runtime : [ '0.051172' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-10-11 23:59:24 +02:00
content-length : [ '680' ]
2018-07-30 21:00:20 +02:00
status : {code: 200, message : OK}
- request :
2019-10-12 23:03:14 +02:00
body : spoiler_text=&visibility=public&in_reply_to_id=102951424990808897&status=%40mastodonpy_test+same%21
2018-07-30 21:00:20 +02:00
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
Connection : [ keep-alive]
Content-Length : [ '99' ]
Content-Type : [ application/x-www-form-urlencoded]
User-Agent : [ python-requests/2.18.4]
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2019-10-12 23:03:14 +02:00
body : {string : '{"id":"102951425004505729","created_at":"2019-10-12T21:01:17.839Z","in_reply_to_id":"102951424990808897","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951425004505729","url":"http://localhost/@admin/102951425004505729","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
2019-04-27 21:04:06 +02:00
class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
2019-06-22 15:28:27 +02:00
same!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
2019-10-12 23:03:14 +02:00
suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:17.856Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-07-30 21:00:20 +02:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2018-07-30 21:00:20 +02:00
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]
2019-10-12 23:03:14 +02:00
X-Request-Id : [ c29d28ed-f459-4120-9d44-7ebf022b4177]
X-Runtime : [ '0.225278' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-10-11 23:59:24 +02:00
content-length : [ '1561' ]
2018-07-30 21:00:20 +02:00
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 : DELETE
2019-10-12 23:03:14 +02:00
uri : http://localhost:3000/api/v1/statuses/102951425004505729
2018-07-30 21:00:20 +02:00
response :
2019-10-12 23:03:14 +02:00
body : {string : '{"id":"102951425004505729","created_at":"2019-10-12T21:01:17.839Z","in_reply_to_id":"102951424990808897","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951425004505729","url":"http://localhost/@admin/102951425004505729","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test
same!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":2,"following_count":1,"statuses_count":32,"last_status_at":"2019-10-12T21:01:17.856Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-07-30 21:00:20 +02:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2018-07-30 21:00:20 +02:00
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]
2019-10-12 23:03:14 +02:00
X-Request-Id : [ 66768996 -612d-41ea-8691-1821fe2938ae]
X-Runtime : [ '0.153070' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-10-11 23:59:24 +02:00
content-length : [ '1354' ]
2018-07-30 21:00:20 +02:00
status : {code: 200, message : OK}
- request :
body : null
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
Content-Length : [ '0' ]
User-Agent : [ python-requests/2.18.4]
method : DELETE
2019-10-12 23:03:14 +02:00
uri : http://localhost:3000/api/v1/statuses/102951424990808897
2018-07-30 21:00:20 +02:00
response :
2019-10-12 23:03:14 +02:00
body : {string : '{"id":"102951424990808897","created_at":"2019-10-12T21:01:17.623Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102951424990808897","url":"http://localhost/@mastodonpy_test/102951424990808897","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
test suite","website":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":3,"last_status_at":"2019-10-12T21:01:17.636Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-07-30 21:00:20 +02:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2018-07-30 21:00:20 +02:00
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]
2019-10-12 23:03:14 +02:00
X-Request-Id : [ a7a7d31d-8939-4909-b701-fdfbd913ef40]
X-Runtime : [ '0.125810' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-10-11 23:59:24 +02:00
content-length : [ '1250' ]
2018-07-30 21:00:20 +02:00
status : {code: 200, message : OK}
version : 1