interactions: - request: body: status=Testing+grouped+notifications%21&visibility=public headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive Content-Length: - '57' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v1/statuses response: body: string: '{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eTesting grouped notifications!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}' headers: Content-Length: - '1871' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"1f5a5d848db1cbbc7800d3e2f0b94cc5" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.07, sql.active_record;dur=14.71, cache_generate.active_support;dur=2.97, cache_write.active_support;dur=0.13, instantiation.active_record;dur=0.36, start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, transaction.active_record;dur=5.66, render.active_model_serializers;dur=12.59, process_action.action_controller;dur=60.56 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '284' x-ratelimit-reset: - '2025-08-17T21:00:00.946845Z' x-request-id: - 2ce1783a-8d8b-4d08-b0cc-d7eca2f6b9e0 x-runtime: - '0.078167' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 Connection: - keep-alive Content-Length: - '0' User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v1/statuses/115045579483817481/favourite response: body: string: '{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":1,"edited_at":null,"favourited":true,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eTesting grouped notifications!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}' headers: Content-Length: - '1855' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"d0e897466ce099cc18c6ef111fcb785b" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.06, sql.active_record;dur=8.90, cache_generate.active_support;dur=3.38, cache_write.active_support;dur=0.14, instantiation.active_record;dur=0.45, start_processing.action_controller;dur=0.01, start_transaction.active_record;dur=0.00, transaction.active_record;dur=8.27, render.active_model_serializers;dur=15.09, process_action.action_controller;dur=59.63 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.028960Z' x-request-id: - 69f4fd8a-0e67-49a9-876b-22f4809818eb x-runtime: - '0.080386' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3 Connection: - keep-alive Content-Length: - '0' User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v1/statuses/115045579483817481/favourite response: body: string: '{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":2,"edited_at":null,"favourited":true,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eTesting grouped notifications!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}' headers: Content-Length: - '1855' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"b42954c4e397e37fd2c46e433dafc3d3" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.07, sql.active_record;dur=9.91, cache_generate.active_support;dur=2.92, cache_write.active_support;dur=0.14, instantiation.active_record;dur=0.61, start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, transaction.active_record;dur=7.30, render.active_model_serializers;dur=16.66, process_action.action_controller;dur=59.93 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.150231Z' x-request-id: - 917b0444-cf53-4e85-a349-128ff6952142 x-runtime: - '0.080076' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v2/notifications?limit=10&expand_accounts=partial_avatars response: body: string: '{"accounts":[{"id":"115045158144846374","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","uri":"http://localhost:3000/users/mastodonpy_test_2","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":1,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[]}],"partial_accounts":[{"id":"115045157726281124","acct":"admin","locked":false,"bot":false,"url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png"}],"statuses":[{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":2,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eTesting grouped notifications!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}],"notification_groups":[{"group_key":"favourite-115045579483817481-487626","notifications_count":2,"type":"favourite","most_recent_notification_id":34,"page_min_id":"33","page_max_id":"34","latest_page_notification_at":"2025-08-17T18:43:50.523Z","sample_account_ids":["115045158144846374","115045157726281124"],"status_id":"115045579483817481"}]}' headers: Content-Length: - '3264' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"0c4f69f5a049c97477ac730962ab8102" link: - ; rel="next", ; rel="prev" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.19, sql.active_record;dur=5.45, cache_generate.active_support;dur=2.96, cache_write.active_support;dur=0.15, instantiation.active_record;dur=1.36, start_processing.action_controller;dur=0.01, cache_fetch_hit.active_support;dur=0.00, render.active_model_serializers;dur=8.94, process_action.action_controller;dur=63.52 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.271269Z' x-request-id: - ec3e50d9-ece5-45c5-8805-9cf042802a8b x-runtime: - '0.085248' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v2/notifications/favourite-115045579483817481-487626 response: body: string: '{"accounts":[{"id":"115045158144846374","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","uri":"http://localhost:3000/users/mastodonpy_test_2","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":1,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[]},{"id":"115045157726281124","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","uri":"http://localhost:3000/users/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":0,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]}],"statuses":[{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":2,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eTesting grouped notifications!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}],"notification_groups":[{"group_key":"favourite-115045579483817481-487626","notifications_count":2,"type":"favourite","most_recent_notification_id":34,"sample_account_ids":["115045158144846374","115045157726281124"],"status_id":"115045579483817481"}]}' headers: Content-Length: - '3660' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"faa3bcfd43daff6c224e7f0dc3b861ad" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.21, sql.active_record;dur=6.39, cache_generate.active_support;dur=11.28, cache_write.active_support;dur=0.16, instantiation.active_record;dur=1.48, start_processing.action_controller;dur=0.01, cache_fetch_hit.active_support;dur=0.01, render.active_model_serializers;dur=38.40, process_action.action_controller;dur=73.86 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.417780Z' x-request-id: - f756abd7-5111-497f-ae8c-79267a3a1a0b x-runtime: - '0.095687' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v2/notifications/favourite-115045579483817481-487626/accounts response: body: string: '[{"id":"115045158144846374","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","uri":"http://localhost:3000/users/mastodonpy_test_2","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":1,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[]},{"id":"115045157726281124","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","uri":"http://localhost:3000/users/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":0,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]}]' headers: Content-Length: - '1512' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"0f296896eb5078bb82f6e909a9fb3db8" link: - ; rel="prev" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.09, sql.active_record;dur=2.08, cache_generate.active_support;dur=1.45, cache_write.active_support;dur=0.11, instantiation.active_record;dur=0.41, start_processing.action_controller;dur=0.00, cache_fetch_hit.active_support;dur=0.00, render.active_model_serializers;dur=4.06, process_action.action_controller;dur=35.33 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.585433Z' x-request-id: - a26b42bb-8026-4531-a770-d6f2cd64b011 x-runtime: - '0.056286' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive Content-Length: - '0' User-Agent: - tests/v311 method: POST uri: http://localhost:3000/api/v2/notifications/favourite-115045579483817481-487626/dismiss response: body: string: '{}' headers: Content-Length: - '2' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"44136fa355b3678a1146ad16f7e8649e" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.03, sql.active_record;dur=9.76, cache_generate.active_support;dur=1.01, cache_write.active_support;dur=0.07, instantiation.active_record;dur=0.26, start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.01, transaction.active_record;dur=10.69, render.active_model_serializers;dur=0.02, process_action.action_controller;dur=39.33 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.678162Z' x-request-id: - 90fda763-8ed1-4f25-a2a4-db6906f65190 x-runtime: - '0.057547' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive User-Agent: - tests/v311 method: GET uri: http://localhost:3000/api/v2/notifications?limit=10&expand_accounts=partial_avatars response: body: string: '{"accounts":[],"partial_accounts":[],"statuses":[],"notification_groups":[]}' headers: Content-Length: - '76' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"eda10f9499b0acd6b521397b2c54e608" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.05, sql.active_record;dur=1.80, cache_generate.active_support;dur=2.35, cache_write.active_support;dur=0.10, instantiation.active_record;dur=0.16, start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=0.25, process_action.action_controller;dur=30.14 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '300' x-ratelimit-remaining: - '299' x-ratelimit-reset: - '2025-08-17T18:45:00.738014Z' x-request-id: - 6d3f1ae3-b4eb-4881-8665-1299fa09acbd x-runtime: - '0.046684' x-xss-protection: - '0' status: code: 200 message: OK - request: body: null headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate, br Authorization: - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN Connection: - keep-alive Content-Length: - '0' User-Agent: - tests/v311 method: DELETE uri: http://localhost:3000/api/v1/statuses/115045579483817481 response: body: string: '{"id":"115045579483817481","created_at":"2025-08-17T18:43:49.916Z","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/115045579483817481","url":"http://localhost:3000/@mastodonpy_test/115045579483817481","replies_count":0,"reblogs_count":0,"favourites_count":2,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Testing grouped notifications!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"115045158004229352","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"discoverable":null,"indexable":false,"group":false,"created_at":"2025-08-17T00:00:00.000Z","note":"\u003cp\u003eI walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","uri":"http://localhost:3000/users/mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/115/045/158/004/229/352/original/228aadcd9f964064.jpg","header":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","header_static":"http://localhost:3000/system/accounts/headers/115/045/158/004/229/352/original/75c82cb34a6eb173.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2025-08-17","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"quote":null,"card":null,"poll":null}' headers: Content-Length: - '1841' cache-control: - private, no-store content-security-policy: - default-src 'none'; frame-ancestors 'none'; form-action 'none' content-type: - application/json; charset=utf-8 etag: - W/"3b029fb175086eed9b505be035a580f7" referrer-policy: - strict-origin-when-cross-origin server-timing: - cache_read.active_support;dur=0.07, sql.active_record;dur=7.90, cache_generate.active_support;dur=3.03, cache_write.active_support;dur=0.14, instantiation.active_record;dur=0.52, start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, transaction.active_record;dur=4.71, render.active_model_serializers;dur=15.67, process_action.action_controller;dur=52.65 vary: - Authorization, Origin x-content-type-options: - nosniff x-frame-options: - SAMEORIGIN x-permitted-cross-domain-policies: - none x-ratelimit-limit: - '30' x-ratelimit-remaining: - '29' x-ratelimit-reset: - '2025-08-17T19:00:00.796193Z' x-request-id: - 5b45238a-8604-43f3-97a4-d019b4f0331e x-runtime: - '0.069223' x-xss-protection: - '0' status: code: 200 message: OK version: 1