2019-10-11 20:32:51 +00:00
interactions :
- request :
body : null
headers :
2022-11-07 21:11:30 +00:00
Accept :
- '*/*'
Accept-Encoding :
- gzip, deflate
Authorization :
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection :
- keep-alive
User-Agent :
- tests/v311
2019-10-11 20:32:51 +00:00
method : GET
uri : http://localhost:3000/api/v1/instance/
response :
2022-11-07 21:11:30 +00:00
body :
2023-06-23 20:16:44 +00:00
string : '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.1.2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":3,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
2019-10-11 20:32:51 +00:00
headers :
2022-11-07 21:11:30 +00:00
Cache-Control :
- max-age=180, public
Content-Security-Policy :
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
2022-11-07 21:11:30 +00:00
Content-Type :
- application/json; charset=utf-8
Date :
2024-02-11 14:24:06 +00:00
- Sun, 11 Feb 2024 14:23:00 GMT
2022-11-07 21:11:30 +00:00
ETag :
2023-06-23 20:16:44 +00:00
- W/"8ff550f009b0b2277f612709ef8b85e8"
2022-11-07 21:11:30 +00:00
Referrer-Policy :
- strict-origin-when-cross-origin
Transfer-Encoding :
- chunked
Vary :
- Accept, Origin
X-Content-Type-Options :
- nosniff
X-Download-Options :
- noopen
X-Frame-Options :
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies :
- none
X-Request-Id :
2024-02-11 14:24:06 +00:00
- 969fc05a-3666-4670-b4c6-5fdf224b3c14
2022-11-07 21:11:30 +00:00
X-Runtime :
2024-02-11 14:24:06 +00:00
- '0.018028'
2022-11-07 21:11:30 +00:00
X-XSS-Protection :
- 1 ; mode=block
status :
code : 200
message : OK
2019-10-11 20:32:51 +00:00
- request :
2022-11-07 21:11:30 +00:00
body : status=%40mastodonpy_test+todo+funny+text+here&visibility=direct
2019-10-11 20:32:51 +00:00
headers :
2022-11-07 21:11:30 +00:00
Accept :
- '*/*'
Accept-Encoding :
- gzip, deflate
Authorization :
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
Connection :
- keep-alive
Content-Length :
- '64'
Content-Type :
- application/x-www-form-urlencoded
User-Agent :
- tests/v311
2019-10-11 20:32:51 +00:00
method : POST
uri : http://localhost:3000/api/v1/statuses
response :
2022-11-07 21:11:30 +00:00
body :
2024-02-11 14:24:06 +00:00
string : '{"id":"111913296580792248","created_at":"2024-02-11T14:23:05.817Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"en","uri":"http://localhost:3000/users/admin/statuses/111913296580792248","url":"http://localhost:3000/@admin/111913296580792248","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
2022-11-07 21:11:30 +00: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
todo funny text here\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
2024-02-11 14:24:06 +00:00
test suite","website":null},"account":{"id":"111913290281145421","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2024-02-11T00:00:00.000Z","note":"","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":2,"last_status_at":"2024-02-11","noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]},"media_attachments":[],"mentions":[{"id":"111913290558315733","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
2019-10-11 20:32:51 +00:00
headers :
2022-11-07 21:11:30 +00:00
Cache-Control :
2023-04-23 18:22:33 +00:00
- private, no-store
2022-11-07 21:11:30 +00:00
Content-Security-Policy :
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
2022-11-07 21:11:30 +00:00
Content-Type :
- application/json; charset=utf-8
ETag :
2024-02-11 14:24:06 +00:00
- W/"7b8bdea4e04400833c441ccd03e82ca0"
2022-11-07 21:11:30 +00:00
Referrer-Policy :
- strict-origin-when-cross-origin
Transfer-Encoding :
- chunked
Vary :
- Accept, Origin
X-Content-Type-Options :
- nosniff
X-Download-Options :
- noopen
X-Frame-Options :
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies :
- none
X-RateLimit-Limit :
- '300'
X-RateLimit-Remaining :
2024-02-11 14:24:06 +00:00
- '297'
2022-11-07 21:11:30 +00:00
X-RateLimit-Reset :
2024-02-11 14:24:06 +00:00
- '2024-02-11T15:00:00.850615Z'
2022-11-07 21:11:30 +00:00
X-Request-Id :
2024-02-11 14:24:06 +00:00
- 98968ffc-4425-42e5-b1d4-a2f78c1ba77d
2022-11-07 21:11:30 +00:00
X-Runtime :
2024-02-11 14:24:06 +00:00
- '0.049373'
2022-11-07 21:11:30 +00:00
X-XSS-Protection :
- 1 ; mode=block
status :
code : 200
message : OK
2022-11-10 22:21:00 +00:00
- request :
body : null
headers :
Accept :
- '*/*'
Accept-Encoding :
- gzip, deflate
Authorization :
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection :
- keep-alive
User-Agent :
- tests/v311
method : GET
uri : http://localhost:4000/api/v1/streaming/direct
response :
body :
string : ':)
event : conversation
2024-02-11 14:24:06 +00:00
data : {"id" : "4" , "unread" : true , "accounts" : [ {"id" : "111913290281145421" , "username" : "admin" , "acct" : "admin" , "display_name" : "" , "locked" : false , "bot" : false , "discoverable" : null , "group" : false , "created_at" : "2024-02-11T00:00:00.000Z" , "note" : "" , "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" : 2 , "last_status_at" : "2024-02-11" , "noindex" : false , "emojis" : [ ] , "roles" : [ {"id" : "3" , "name" : "Owner" , "color" : "" }] , "fields" : [ ] }] , "last_status" : {"id" : "111913296580792248" , "created_at" : "2024-02-11T14:23:05.817Z" , "in_reply_to_id" : null , "in_reply_to_account_id" : null , "sensitive" : false , "spoiler_text" : "" , "visibility" : "direct" , "language" : "en" , "uri" : "http://localhost:3000/users/admin/statuses/111913296580792248" , "url" : "http://localhost:3000/@admin/111913296580792248" , "replies_count" : 0 , "reblogs_count" : 0 , "favourites_count" : 0 , "edited_at" : null , "favourited" : false , "reblogged" : false , "muted" : false , "bookmarked" : false , "content" : "<p><span
2022-11-10 22:21:00 +00:00
class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url
mention\">@<span>mastodonpy_test</span></a></span> todo funny text here</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
2024-02-11 14:24:06 +00:00
test suite","website":null},"account":{"id":"111913290281145421","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2024-02-11T00:00:00.000Z","note":"","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":2,"last_status_at":"2024-02-11","noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]},"media_attachments":[],"mentions":[{"id":"111913290558315733","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}
2022-11-10 22:21:00 +00:00
: '
headers :
Access-Control-Allow-Headers :
- Authorization, Accept, Cache-Control
Access-Control-Allow-Methods :
- GET, OPTIONS
Access-Control-Allow-Origin :
- '*'
Cache-Control :
- no -store
Connection :
- keep-alive
Content-Type :
- text/event-stream
Date :
2024-02-11 14:24:06 +00:00
- Sun, 11 Feb 2024 14:23:00 GMT
2022-11-10 22:21:00 +00:00
Keep-Alive :
- timeout=5
Transfer-Encoding :
- chunked
X-Powered-By :
- Express
X-Request-Id :
2024-02-11 14:24:06 +00:00
- efb67569-dc8c-4fba-ba9c-6df74c9227c9
2022-11-10 22:21:00 +00:00
status :
code : 200
message : OK
2019-10-11 20:32:51 +00:00
version : 1