2018-05-06 15:42:38 +02:00
interactions :
- request :
body : title=ham+burglars
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
Content-Length : [ '18' ]
Content-Type : [ application/x-www-form-urlencoded]
User-Agent : [ python-requests/2.9.1]
method : POST
uri : http://localhost:3000/api/v1/lists
response :
2018-05-07 00:53:13 +02:00
body : {string : '{"id":"11","title":"ham burglars"}' }
2018-05-06 15:42:38 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"959fa100ca1cadc8d076d53173c65d3f"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 603e1265 -8813 -42b0-9840-e0ef3ad51458]
X-Runtime : [ '0.029091' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '34' ]
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.9.1]
method : GET
uri : http://localhost:3000/api/v1/accounts/verify_credentials
response :
2018-05-07 00:53:13 +02:00
body : {string : '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6,"source":{"privacy":"public","sensitive":false,"note":""}}' }
2018-05-06 15:42:38 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"48dec04b47acf91c95d921354636a6a7"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 1d7b5b7d-5dd0-4c34-9af9-f544d2aa2331]
X-Runtime : [ '0.020716' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-05-07 00:53:13 +02:00
content-length : [ '570' ]
2018-05-06 15:42:38 +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.9.1]
method : POST
uri : http://localhost:3000/api/v1/accounts/1/follow
response :
body : {string : '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"cef1a083cbdd840a03cca72b95ea653b"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 10929688 -c231-44ab-aee7-bdcda5699197]
X-Runtime : [ '0.035432' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '174' ]
status : {code: 200, message : OK}
- request :
body : account_ids%5B%5D=1
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
Content-Length : [ '19' ]
Content-Type : [ application/x-www-form-urlencoded]
User-Agent : [ python-requests/2.9.1]
method : POST
2018-05-07 00:53:13 +02:00
uri : http://localhost:3000/api/v1/lists/11/accounts
2018-05-06 15:42:38 +02:00
response :
body : {string : '{}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"dfebc5bdd5f9edfea8c743decc046958"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 05d5732f-89cf-49a1-91fc-fb92ab2394fd]
X-Runtime : [ '0.043590' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '2' ]
status : {code: 200, message : OK}
- request :
2018-05-07 00:53:13 +02:00
body : status=I+have+never+stolen+a+ham+in+my+life.&visibility=public
2018-05-06 15:42:38 +02:00
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
Connection : [ keep-alive]
Content-Length : [ '62' ]
Content-Type : [ application/x-www-form-urlencoded]
User-Agent : [ python-requests/2.9.1]
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2018-05-07 00:53:13 +02:00
body : {string : '{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984786118987758","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
2018-05-06 15:42:38 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"fa4c60b4f9f1c900fdc55f8c5c21cea2"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 42009640 -e1ef-4ecb-ab79-211096f164fb]
X-Runtime : [ '0.226850' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-05-07 00:53:13 +02:00
content-length : [ '1157' ]
2018-05-06 15:42:38 +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]
User-Agent : [ python-requests/2.9.1]
method : GET
2018-05-07 00:53:13 +02:00
uri : http://localhost:3000/api/v1/timelines/list/11
2018-05-06 15:42:38 +02:00
response :
2018-05-07 00:53:13 +02:00
body : {string : '[{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984786118987758","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
2018-05-06 15:42:38 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"edf8767f9d8e63a3102bbcdac58ce620"]
Link : [ '<http://localhost:3000/api/v1/timelines/list/11?max_id=99984786118987758>;
rel="next", <http://localhost:3000/api/v1/timelines/list/11?since_id=99984786118987758>;
2018-05-06 15:42:38 +02:00
rel="prev"']
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 64a57a6c-8f1a-487c-b809-5b4e578755cc]
X-Runtime : [ '0.144037' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-05-07 00:53:13 +02:00
content-length : [ '1144' ]
2018-05-06 15:42:38 +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.9.1]
method : DELETE
2018-05-07 00:53:13 +02:00
uri : http://localhost:3000/api/v1/statuses/99984786118987758
2018-05-06 15:42:38 +02:00
response :
body : {string : '{}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"1e9183cf3bfe2134fd39b219636ffa8b"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 9010a178-3602-4b4e-b4e9-673ecc1ca274]
X-Runtime : [ '0.042932' ]
2018-05-06 15:42:38 +02:00
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]
Connection : [ keep-alive]
Content-Length : [ '0' ]
User-Agent : [ python-requests/2.9.1]
method : POST
uri : http://localhost:3000/api/v1/accounts/1/unfollow
response :
body : {string : '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"418dfb344e516f102d3d12f34f0e8c93"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ ebc45a88-c907-4fad-8441-14e31891b1fb]
X-Runtime : [ '0.094351' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '175' ]
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.9.1]
method : DELETE
2018-05-07 00:53:13 +02:00
uri : http://localhost:3000/api/v1/lists/11
2018-05-06 15:42:38 +02:00
response :
body : {string : '{}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-05-07 00:53:13 +02:00
ETag : [ W/"1e9183cf3bfe2134fd39b219636ffa8b"]
2018-05-06 15:42:38 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
X-Frame-Options : [ SAMEORIGIN]
2018-05-07 00:53:13 +02:00
X-Request-Id : [ 018f88c7-3e3a-46e5-9145-937c9d1eceaa]
X-Runtime : [ '0.030450' ]
2018-05-06 15:42:38 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '2' ]
status : {code: 200, message : OK}
version : 1