2017-11-30 02:36:43 +01:00
interactions :
- request :
2018-04-18 22:00:35 +02:00
body : status=%40mastodonpy_test+hello%21
2017-11-30 02:36:43 +01:00
headers :
Accept : [ '*/*' ]
Accept-Encoding : [ 'gzip, deflate' ]
Authorization : [ Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
Connection : [ keep-alive]
2018-04-18 22:00:35 +02:00
Content-Length : [ '34' ]
2017-11-30 02:36:43 +01:00
Content-Type : [ application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent : [ python-requests/2.18.4]
2017-11-30 02:36:43 +01:00
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2019-06-22 23:16:47 +02:00
body : {string : '{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","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
hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
2019-06-22 23:16:47 +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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
2017-11-30 02:36:43 +01:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2017-11-30 02:36:43 +01:00
Content-Type : [ application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2019-06-22 23:16:47 +02:00
X-Request-Id : [ dc66a95b-5f9e-4ff9-8460-47338fa14d54]
X-Runtime : [ '0.192275' ]
2017-11-30 02:36:43 +01:00
X-XSS-Protection : [ 1 ; mode=block]
2019-06-22 23:16:47 +02:00
content-length : [ '1488' ]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
method : GET
uri : http://localhost:3000/api/v1/notifications
response :
2019-06-22 23:16:47 +02:00
body : {string : '[{"id":"111","type":"mention","created_at":"2019-06-22T21:12:41.299Z","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":17,"emojis":[],"fields":[]},"status":{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":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
hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
2019-06-22 23:16:47 +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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]'}
2017-11-30 02:36:43 +01:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2017-11-30 02:36:43 +01:00
Content-Type : [ application/json; charset=utf-8]
2019-06-22 23:16:47 +02:00
Link : [ '<http://localhost:3000/api/v1/notifications?max_id=111>; rel="next",
<http://localhost:3000/api/v1/notifications?min_id=111>; rel="prev"']
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2019-06-22 23:16:47 +02:00
X-Request-Id : [ 8425d090-1986-4a66-8209-a586fb44d8aa]
X-Runtime : [ '0.188802' ]
2017-11-30 02:36:43 +01:00
X-XSS-Protection : [ 1 ; mode=block]
2019-06-22 23:16:47 +02:00
content-length : [ '2089' ]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
method : GET
2019-06-22 23:16:47 +02:00
uri : http://localhost:3000/api/v1/notifications/111
2017-11-30 02:36:43 +01:00
response :
2019-06-22 23:16:47 +02:00
body : {string : '{"id":"111","type":"mention","created_at":"2019-06-22T21:12:41.299Z","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":17,"emojis":[],"fields":[]},"status":{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":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
hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
2019-06-22 23:16:47 +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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}'}
2017-11-30 02:36:43 +01:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2017-11-30 02:36:43 +01:00
Content-Type : [ application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2019-06-22 23:16:47 +02:00
X-Request-Id : [ 01865241 -8559 -4e6e-b18e-6fd024f903e9]
X-Runtime : [ '0.065520' ]
2017-11-30 02:36:43 +01:00
X-XSS-Protection : [ 1 ; mode=block]
2019-06-22 23:16:47 +02:00
content-length : [ '2087' ]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
method : DELETE
2019-06-22 23:16:47 +02:00
uri : http://localhost:3000/api/v1/statuses/102317291016996228
2017-11-30 02:36:43 +01:00
response :
2019-06-22 23:16:47 +02:00
body : {string : '{"id":"102317291016996228","created_at":"2019-06-22T21:12:41.083Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317291016996228","url":"http://localhost/@admin/102317291016996228","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"@mastodonpy_test
hello!","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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
2017-11-30 02:36:43 +01:00
headers :
2019-06-22 15:28:27 +02:00
Cache-Control : [ 'no-cache, no-store' ]
2017-11-30 02:36:43 +01:00
Content-Type : [ application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy : [ strict-origin-when-cross-origin]
2017-11-30 02:36:43 +01: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]
2017-11-30 02:36:43 +01:00
X-Frame-Options : [ SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies : [ none]
2019-06-22 23:16:47 +02:00
X-Request-Id : [ 42bb7a06-0bcd-4037-89d7-86e203e3300b]
X-Runtime : [ '0.081948' ]
2018-04-18 22:07:03 +02:00
X-XSS-Protection : [ 1 ; mode=block]
2019-06-22 23:16:47 +02:00
content-length : [ '1281' ]
2018-04-18 22:07:03 +02:00
status : {code: 200, message : OK}
2017-11-30 02:36:43 +01:00
version : 1