2018-05-06 02:00:18 +02:00
interactions :
2018-05-07 00:53:13 +02:00
- request :
body : null
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
Connection : [ keep-alive]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2018-05-07 00:53:13 +02:00
method : GET
uri : http://localhost:3000/api/v1/accounts/verify_credentials
response :
2018-07-14 01:07:26 +02:00
body : {string : '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":0,"following_count":0,"statuses_count":67,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}' }
2018-05-07 00:53:13 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag : [ W/"03333c78c288b92df2ec3c09c0e63037"]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2018-05-07 00:53:13 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options : [ noopen]
2018-05-07 00:53:13 +02:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2018-07-14 01:07:26 +02:00
X-Request-Id : [ 28c6732b-fc30-424a-9a1a-4ac6d030d41e]
X-Runtime : [ '0.021988' ]
2018-05-07 00:53:13 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-07-14 01:07:26 +02:00
content-length : [ '635' ]
2018-05-07 00:53:13 +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' ]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2018-05-07 00:53:13 +02:00
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-07-14 01:07:26 +02:00
ETag : [ W/"76bfa2cb470ebb17bc806ed95cf15079"]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2018-05-07 00:53:13 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options : [ noopen]
2018-05-07 00:53:13 +02:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2018-07-14 01:07:26 +02:00
X-Request-Id : [ ac32e90b-fdf7-432e-9f1b-0fd1fe8c225a]
X-Runtime : [ '0.033365' ]
2018-05-07 00:53:13 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '175' ]
status : {code: 200, message : OK}
2018-05-06 02:00:18 +02:00
- request :
body : null
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2018-05-06 02:00:18 +02:00
method : GET
uri : http://localhost:3000/api/v1/instance/
response :
2018-07-14 01:07:26 +02:00
body : {string : '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":156,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}' }
2018-05-06 02:00:18 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag : [ W/"0ef6046fadfce7bfce51a5c2b0ce3538"]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2018-05-06 02:00:18 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options : [ noopen]
2018-05-06 02:00:18 +02:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2018-07-14 01:07:26 +02:00
X-Request-Id : [ 01c1b942-f38e-4df5-94b1-3fc33536c1c2]
X-Runtime : [ '0.024253' ]
2018-05-06 02:00:18 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-07-14 01:07:26 +02:00
content-length : [ '293' ]
2018-05-06 02:00:18 +02:00
status : {code: 200, message : OK}
- request :
body : status=it%27s+cool+guy
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection : [ keep-alive]
Content-Length : [ '22' ]
Content-Type : [ application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2018-05-06 02:00:18 +02:00
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2018-07-14 01:07:26 +02:00
body : {string : '{"id":"100369878639416248","created_at":"2018-07-13T23:00:06.400Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369878639416248","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369878639416248","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
2018-05-06 02:00:18 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2018-07-14 01:07:26 +02:00
Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
2018-05-06 02:00:18 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-14 01:07:26 +02:00
ETag : [ W/"db59416f04b8028a25293d6ca1cf10da"]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2018-05-06 02:00:18 +02:00
Transfer-Encoding : [ chunked]
Vary : [ 'Accept-Encoding, Origin' ]
X-Content-Type-Options : [ nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options : [ noopen]
2018-05-06 02:00:18 +02:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2018-07-14 01:07:26 +02:00
X-Request-Id : [ 9431555a-f3a7-4efd-9b6a-49a4480a79d4]
X-Runtime : [ '0.156942' ]
2018-05-06 02:00:18 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-07-14 01:07:26 +02:00
content-length : [ '1527' ]
2018-05-06 02:00:18 +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]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2018-05-06 02:00:18 +02:00
method : GET
uri : http://localhost:4000/api/v1/streaming/user
response :
body : {string: 'event : update
2018-07-14 01:07:26 +02:00
data : {"id" : "100369878639416248" , "created_at" : "2018-07-13T23:00:06.400Z" , "in_reply_to_id" : null , "in_reply_to_account_id" : null , "sensitive" : false , "spoiler_text" : "" , "visibility" : "public" , "language" : "fy" , "uri" : "http://localhost:3000/users/mastodonpy_test/statuses/100369878639416248" , "content" : "<p>it's
cool guy</p>","url":"http://localhost:3000/@mastodonpy_test/100369878639416248","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
2018-05-06 02:00:18 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2018-07-14 01:07:26 +02:00
Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"<p>I
walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":90,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}
2018-05-06 02:00:18 +02:00
2018-07-14 01:07:26 +02:00
: '}
2018-05-06 02:00:18 +02:00
headers :
Access-Control-Allow-Headers : [ 'Authorization, Accept, Cache-Control' ]
Access-Control-Allow-Methods : [ 'GET, OPTIONS' ]
Access-Control-Allow-Origin : [ '*' ]
Connection : [ keep-alive]
Content-Type : [ text/event-stream]
2018-07-14 01:07:26 +02:00
Date : [ 'Fri, 13 Jul 2018 23:00:06 GMT' ]
2018-05-06 02:00:18 +02:00
Transfer-Encoding : [ chunked]
X-Powered-By : [ Express]
2018-07-14 01:07:26 +02:00
X-Request-Id : [ ed221dae-6d7b-47ee-9d80-a925a7a9d358]
2018-05-06 02:00:18 +02:00
status : {code: 200, message : OK}
version : 1