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 :
2018-07-30 23:19:51 +02:00
body : {string : '{"id":"100465731443639918","created_at":"2018-07-30T21:16:44.150Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465731443639918","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465731443639918","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
2018-07-30 21:00:20 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
2018-07-30 23:19:51 +02:00
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":113,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
2018-07-30 21:00:20 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-30 23:19:51 +02:00
ETag : [ W/"35b94cccb99b616d5e923f65944812c8"]
2018-07-30 21:00:20 +02:00
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]
2018-07-30 23:19:51 +02:00
X-Request-Id : [ 571591f3-dc13-4039-82e4-1b327d29a2e9]
X-Runtime : [ '0.274064' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2018-07-30 23:19:51 +02:00
content-length : [ '1510' ]
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 :
2018-07-30 23:19:51 +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":84,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}' }
2018-07-30 21:00:20 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-30 23:19:51 +02:00
ETag : [ W/"c428b68bac63d10881542917bc8ebc36"]
2018-07-30 21:00:20 +02:00
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]
2018-07-30 23:19:51 +02:00
X-Request-Id : [ 825b5a75-3efa-4052-9a6a-1869f28bd8b2]
X-Runtime : [ '0.113849' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '635' ]
status : {code: 200, message : OK}
- request :
2018-07-30 23:19:51 +02:00
body : spoiler_text=&visibility=public&in_reply_to_id=100465731443639918&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 :
2018-07-30 23:19:51 +02:00
body : {string : '{"id":"100465731471346615","created_at":"2018-07-30T21:16:44.561Z","in_reply_to_id":"100465731443639918","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100465731471346615","content":"\u003cp\u003e\u003cspan
2018-07-30 21:00:20 +02:00
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
2018-07-30 23:19:51 +02:00
same!\u003c/p\u003e","url":"http://localhost:3000/@admin/100465731471346615","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,"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":85,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'}
2018-07-30 21:00:20 +02:00
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-30 23:19:51 +02:00
ETag : [ W/"d413fd938903db33fee0dd2d50ddc1c2"]
2018-07-30 21:00:20 +02:00
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]
2018-07-30 23:19:51 +02:00
X-Request-Id : [ 606e572b-b485-4b25-ba4c-c9f84b788a4b]
X-Runtime : [ '0.294533' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '1520' ]
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
2018-07-30 23:19:51 +02:00
uri : http://localhost:3000/api/v1/statuses/100465731471346615
2018-07-30 21:00:20 +02:00
response :
body : {string : '{}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-30 23:19:51 +02:00
ETag : [ W/"4d510ea9875b50cbdd745c3073e0c6a9"]
2018-07-30 21:00:20 +02:00
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]
2018-07-30 23:19:51 +02:00
X-Request-Id : [ aa3d4a6f-cdf3-4cda-bb71-b688d4298a7e]
X-Runtime : [ '0.128996' ]
2018-07-30 21:00:20 +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.18.4]
method : DELETE
2018-07-30 23:19:51 +02:00
uri : http://localhost:3000/api/v1/statuses/100465731443639918
2018-07-30 21:00:20 +02:00
response :
body : {string : '{}' }
headers :
Cache-Control : [ 'max-age=0, private, must-revalidate' ]
Content-Type : [ application/json; charset=utf-8]
2018-07-30 23:19:51 +02:00
ETag : [ W/"c94a435904ec3f882f8c14272bd581ac"]
2018-07-30 21:00:20 +02:00
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]
2018-07-30 23:19:51 +02:00
X-Request-Id : [ 98ec240b-4dd5-4901-96e0-88611ef52f69]
X-Runtime : [ '0.152319' ]
2018-07-30 21:00:20 +02:00
X-XSS-Protection : [ 1 ; mode=block]
content-length : [ '2' ]
status : {code: 200, message : OK}
version : 1