kopia lustrzana https://github.com/halcy/Mastodon.py
new cassettes for three auth endpoints
rodzic
d2c80f5210
commit
6ceb054d47
|
@ -23,7 +23,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-xTf02bCzyXWefPQHPg26qg=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-yTx+GSrBfmKCQkLMoTUy5Q=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -37,9 +37,9 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- sql.active_record;dur=9.28, cache_read.active_support;dur=0.05, cache_generate.active_support;dur=16.69,
|
||||
cache_write.active_support;dur=0.49, start_processing.action_controller;dur=0.01,
|
||||
render.active_model_serializers;dur=22.15, process_action.action_controller;dur=89.15
|
||||
- cache_read.active_support;dur=0.08, sql.active_record;dur=3.57, cache_generate.active_support;dur=27.88,
|
||||
cache_write.active_support;dur=0.30, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.76, process_action.action_controller;dur=38.30
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -47,9 +47,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- 63effb9d-20da-4494-bd34-f06f6866ef72
|
||||
- ec08b0ae-32d2-4d31-90aa-cffdbdfa755c
|
||||
X-Runtime:
|
||||
- '0.272233'
|
||||
- '0.208692'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -58,7 +58,7 @@ interactions:
|
|||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=userinfo_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
headers:
|
||||
Accept:
|
||||
- '*/*'
|
||||
|
@ -67,7 +67,7 @@ interactions:
|
|||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '669'
|
||||
- '698'
|
||||
Content-Type:
|
||||
- application/x-www-form-urlencoded
|
||||
User-Agent:
|
||||
|
@ -86,7 +86,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-/1mxNJ3+nOQGOOWgixWKnA=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-XT3JRJSlU5+KW1taYUTZug=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -100,10 +100,10 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- sql.active_record;dur=17.00, cache_read.active_support;dur=0.03, cache_generate.active_support;dur=13.62,
|
||||
cache_write.active_support;dur=0.10, start_processing.action_controller;dur=0.01,
|
||||
instantiation.active_record;dur=39.14, render.active_model_serializers;dur=0.07,
|
||||
process_action.action_controller;dur=123.28
|
||||
- cache_read.active_support;dur=0.17, sql.active_record;dur=5.83, cache_generate.active_support;dur=24.89,
|
||||
cache_write.active_support;dur=0.58, start_processing.action_controller;dur=0.00,
|
||||
instantiation.active_record;dur=2.34, render.active_model_serializers;dur=0.23,
|
||||
process_action.action_controller;dur=61.42
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -111,132 +111,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- 74edaa14-0025-4066-b130-85dc4589c486
|
||||
- 166fbc0c-9b40-4460-8a00-4cd5ea0cad52
|
||||
X-Runtime:
|
||||
- '0.273465'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v1/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.3.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":0,"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '1259'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Sat, 16 Aug 2025 13:36:30 GMT
|
||||
ETag:
|
||||
- W/"32a76711c89057c2e4cf176fc0a878c6"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.18, sql.active_record;dur=23.50, cache_generate.active_support;dur=81.06,
|
||||
cache_write.active_support;dur=0.46, instantiation.active_record;dur=16.10,
|
||||
start_processing.action_controller;dur=0.00, transaction.active_record;dur=6.18,
|
||||
cache_fetch_hit.active_support;dur=0.00, render.active_model_serializers;dur=137.79,
|
||||
process_action.action_controller;dur=176.78
|
||||
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-16T13:40:00.889002Z'
|
||||
X-Request-Id:
|
||||
- 65f69d46-4e2e-476c-879e-75b2b78c58ee
|
||||
X-Runtime:
|
||||
- '0.215207'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v2/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"domain":"localhost:3000","title":"Mastodon","version":"4.3.0","source_url":"https://github.com/mastodon/mastodon","description":"","usage":{"users":{"active_month":0}},"thumbnail":{"url":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png"},"icon":[{"src":"http://localhost:3000/packs/media/icons/android-chrome-36x36-4c61fdb42936428af85afdbf8c6a45a8.png","size":"36x36"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-48x48-2027aead76dc906c981043d658a8258d.png","size":"48x48"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-72x72-799d90b81f5b28cea7355a0c0b356381.png","size":"72x72"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-96x96-c2dfcfa1268c56e59edddfe20d818b91.png","size":"96x96"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-144x144-ff3110f7772743bdd0c1c47fb7b2d4e0.png","size":"144x144"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-192x192-eddc1ed540e97b926202b7b857989d60.png","size":"192x192"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-256x256-7b2b43926019259f7c9ddee627d80a0f.png","size":"256x256"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-384x384-72068ed50b02828fc505a8d69b321dea.png","size":"384x384"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-512x512-ccb53c9fcbb5f61bf741cc54998318f0.png","size":"512x512"}],"languages":["en"],"configuration":{"urls":{"streaming":"ws://localhost:4000","status":null},"vapid":{"public_key":"BM0khLcvEe3sNx-QO2PB1hqB-24BqdAh0_kG3nZKAHj348StAFL2EHzK1JJTplzKhmMoz3Z_cNfW6QY8ibUzdF4="},"accounts":{"max_featured_tags":10,"max_pinned_statuses":5},"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746},"translation":{"enabled":false}},"registrations":{"enabled":true,"approval_required":false,"message":null,"url":null},"api_versions":{"mastodon":2},"contact":{"email":"","account":null},"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '2642'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Sat, 16 Aug 2025 13:36:31 GMT
|
||||
ETag:
|
||||
- W/"07121412715576bdb6734622e9734951"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.37, sql.active_record;dur=5.17, cache_generate.active_support;dur=19.33,
|
||||
cache_write.active_support;dur=0.51, instantiation.active_record;dur=5.36,
|
||||
start_processing.action_controller;dur=0.01, cache_fetch_hit.active_support;dur=0.00,
|
||||
render.active_model_serializers;dur=104.08, process_action.action_controller;dur=157.04
|
||||
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-16T13:40:00.125180Z'
|
||||
X-Request-Id:
|
||||
- 72d97e57-b570-48e7-b52c-561157ff17c6
|
||||
X-Runtime:
|
||||
- '0.185710'
|
||||
- '0.130241'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
|
|
@ -23,7 +23,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-ht8kKhSIlqd5hL4oVQ7avg=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-RxJQxd9BEvYzDxYHkMrpAA=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -37,9 +37,9 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.04, sql.active_record;dur=0.18, cache_generate.active_support;dur=1.06,
|
||||
cache_write.active_support;dur=0.17, start_processing.action_controller;dur=0.01,
|
||||
render.active_model_serializers;dur=0.41, process_action.action_controller;dur=22.04
|
||||
- cache_read.active_support;dur=0.03, sql.active_record;dur=0.15, cache_generate.active_support;dur=1.08,
|
||||
cache_write.active_support;dur=0.26, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.28, process_action.action_controller;dur=19.28
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -47,9 +47,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- 07b81216-ddce-4321-9db2-553e72ee7d9f
|
||||
- 05b4954e-6b69-4688-b810-32ee3d15a558
|
||||
X-Runtime:
|
||||
- '0.045832'
|
||||
- '0.106420'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -58,7 +58,7 @@ interactions:
|
|||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=userinfo_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
headers:
|
||||
Accept:
|
||||
- '*/*'
|
||||
|
@ -67,7 +67,7 @@ interactions:
|
|||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '669'
|
||||
- '698'
|
||||
Content-Type:
|
||||
- application/x-www-form-urlencoded
|
||||
User-Agent:
|
||||
|
@ -86,7 +86,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-3xwX4IAL09oHww3GFhA27A=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-e0jbmYlwBp2XT4aUIiXcSQ=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -100,10 +100,10 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=3.17, cache_generate.active_support;dur=1.05,
|
||||
cache_write.active_support;dur=0.05, start_processing.action_controller;dur=0.01,
|
||||
instantiation.active_record;dur=15.49, render.active_model_serializers;dur=0.04,
|
||||
process_action.action_controller;dur=65.16
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=1.06, cache_generate.active_support;dur=1.21,
|
||||
cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00,
|
||||
instantiation.active_record;dur=0.16, render.active_model_serializers;dur=0.05,
|
||||
process_action.action_controller;dur=39.24
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -111,131 +111,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- dd3c62d5-6588-47ec-88a6-a9972a3febb9
|
||||
- 53f1df83-9797-48c9-a2e5-fddb1a57e1bd
|
||||
X-Runtime:
|
||||
- '0.110323'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v1/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.3.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":0,"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '1259'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Sat, 16 Aug 2025 13:36:32 GMT
|
||||
ETag:
|
||||
- W/"32a76711c89057c2e4cf176fc0a878c6"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.16, sql.active_record;dur=9.84, cache_generate.active_support;dur=65.78,
|
||||
cache_write.active_support;dur=0.53, instantiation.active_record;dur=4.26,
|
||||
start_processing.action_controller;dur=0.00, cache_fetch_hit.active_support;dur=0.00,
|
||||
render.active_model_serializers;dur=78.44, process_action.action_controller;dur=100.64
|
||||
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-16T13:40:00.274053Z'
|
||||
X-Request-Id:
|
||||
- 441723d1-34bc-4956-8085-b6a252309972
|
||||
X-Runtime:
|
||||
- '0.123616'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v2/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"domain":"localhost:3000","title":"Mastodon","version":"4.3.0","source_url":"https://github.com/mastodon/mastodon","description":"","usage":{"users":{"active_month":0}},"thumbnail":{"url":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png"},"icon":[{"src":"http://localhost:3000/packs/media/icons/android-chrome-36x36-4c61fdb42936428af85afdbf8c6a45a8.png","size":"36x36"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-48x48-2027aead76dc906c981043d658a8258d.png","size":"48x48"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-72x72-799d90b81f5b28cea7355a0c0b356381.png","size":"72x72"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-96x96-c2dfcfa1268c56e59edddfe20d818b91.png","size":"96x96"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-144x144-ff3110f7772743bdd0c1c47fb7b2d4e0.png","size":"144x144"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-192x192-eddc1ed540e97b926202b7b857989d60.png","size":"192x192"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-256x256-7b2b43926019259f7c9ddee627d80a0f.png","size":"256x256"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-384x384-72068ed50b02828fc505a8d69b321dea.png","size":"384x384"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-512x512-ccb53c9fcbb5f61bf741cc54998318f0.png","size":"512x512"}],"languages":["en"],"configuration":{"urls":{"streaming":"ws://localhost:4000","status":null},"vapid":{"public_key":"BM0khLcvEe3sNx-QO2PB1hqB-24BqdAh0_kG3nZKAHj348StAFL2EHzK1JJTplzKhmMoz3Z_cNfW6QY8ibUzdF4="},"accounts":{"max_featured_tags":10,"max_pinned_statuses":5},"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746},"translation":{"enabled":false}},"registrations":{"enabled":true,"approval_required":false,"message":null,"url":null},"api_versions":{"mastodon":2},"contact":{"email":"","account":null},"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '2642'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Sat, 16 Aug 2025 13:36:32 GMT
|
||||
ETag:
|
||||
- W/"07121412715576bdb6734622e9734951"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.15, sql.active_record;dur=1.59, cache_generate.active_support;dur=6.13,
|
||||
cache_write.active_support;dur=0.39, instantiation.active_record;dur=0.17,
|
||||
start_processing.action_controller;dur=0.00, cache_fetch_hit.active_support;dur=0.00,
|
||||
render.active_model_serializers;dur=17.38, process_action.action_controller;dur=37.84
|
||||
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-16T13:40:00.423192Z'
|
||||
X-Request-Id:
|
||||
- 15968748-da12-48f0-a835-1d1b7771207f
|
||||
X-Runtime:
|
||||
- '0.070731'
|
||||
- '0.133872'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -260,25 +138,25 @@ interactions:
|
|||
uri: http://localhost:3000/api/v1/accounts/verify_credentials
|
||||
response:
|
||||
body:
|
||||
string: '{"id":"115038701837652014","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-16T00: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":0,"last_status_at":null,"hide_collections":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0,"hide_collections":null,"discoverable":true,"indexable":true},"emojis":[],"roles":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
|
||||
string: '{"id":"115038701837652014","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-16T00: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":90,"last_status_at":"2025-08-16","hide_collections":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0,"hide_collections":null,"discoverable":true,"indexable":true},"emojis":[],"roles":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- private, no-store
|
||||
Content-Length:
|
||||
- '1008'
|
||||
- '1017'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ETag:
|
||||
- W/"25e1ba2b980812f2d4d8ae98b5043658"
|
||||
- W/"d734418c6f79ba96850c9645c2829382"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.04, sql.active_record;dur=7.95, cache_generate.active_support;dur=1.84,
|
||||
cache_write.active_support;dur=0.12, instantiation.active_record;dur=17.81,
|
||||
start_processing.action_controller;dur=0.00, transaction.active_record;dur=8.64,
|
||||
render.active_model_serializers;dur=24.03, process_action.action_controller;dur=79.31
|
||||
- cache_read.active_support;dur=0.05, sql.active_record;dur=3.54, cache_generate.active_support;dur=2.03,
|
||||
cache_write.active_support;dur=0.14, instantiation.active_record;dur=0.59,
|
||||
start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=6.37,
|
||||
process_action.action_controller;dur=30.88
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -290,11 +168,11 @@ interactions:
|
|||
X-RateLimit-Remaining:
|
||||
- '299'
|
||||
X-RateLimit-Reset:
|
||||
- '2025-08-16T13:40:00.512126Z'
|
||||
- '2025-08-16T20:40:00.362203Z'
|
||||
X-Request-Id:
|
||||
- ef6aba3d-735f-4ec2-b6c0-52971d169c4b
|
||||
- c513c3a3-64c6-4257-9bbe-ea9cdb07840f
|
||||
X-Runtime:
|
||||
- '0.104431'
|
||||
- '0.054754'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
|
|
@ -23,7 +23,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-7QFPdh3X9raf1IgIhqRFJQ=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-4u3dcbzN10SNJFP2acIuJQ=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -37,9 +37,9 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- sql.active_record;dur=7.53, cache_read.active_support;dur=0.06, cache_generate.active_support;dur=13.96,
|
||||
cache_write.active_support;dur=0.30, start_processing.action_controller;dur=0.01,
|
||||
render.active_model_serializers;dur=17.92, process_action.action_controller;dur=62.91
|
||||
- cache_read.active_support;dur=0.07, sql.active_record;dur=0.22, cache_generate.active_support;dur=1.38,
|
||||
cache_write.active_support;dur=0.39, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=1.14, process_action.action_controller;dur=23.98
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -47,9 +47,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- 3f5ca043-cf06-418a-a884-aefd66bda12e
|
||||
- 2948b62c-cae6-4c52-ae83-3ffde2c25d21
|
||||
X-Runtime:
|
||||
- '0.173683'
|
||||
- '0.051354'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -58,7 +58,7 @@ interactions:
|
|||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
body: username=mastodonpy_test_2%40localhost&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&oauth_info=issuer&oauth_info=authorization_endpoint&oauth_info=token_endpoint&oauth_info=revocation_endpoint&oauth_info=userinfo_endpoint&oauth_info=scopes_supported&oauth_info=response_types_supported&oauth_info=response_modes_supported&oauth_info=grant_types_supported&oauth_info=token_endpoint_auth_methods_supported&oauth_info=code_challenge_methods_supported&oauth_info=service_documentation&oauth_info=app_registration_endpoint&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
||||
headers:
|
||||
Accept:
|
||||
- '*/*'
|
||||
|
@ -67,7 +67,7 @@ interactions:
|
|||
Connection:
|
||||
- keep-alive
|
||||
Content-Length:
|
||||
- '669'
|
||||
- '698'
|
||||
Content-Type:
|
||||
- application/x-www-form-urlencoded
|
||||
User-Agent:
|
||||
|
@ -77,7 +77,7 @@ interactions:
|
|||
response:
|
||||
body:
|
||||
string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read
|
||||
write follow push","created_at":1755301286}'
|
||||
write follow push","created_at":1755362087}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- no-store
|
||||
|
@ -86,7 +86,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-/L7EJ0+ZnaQW2E2Cmm4wag=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-KTsZcf2rCF6GMWjtYZjpSw=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -96,14 +96,14 @@ interactions:
|
|||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
ETag:
|
||||
- W/"36df5c137719261345ef65f5398791af"
|
||||
- W/"1bfc3ceb3d512286c81b38292f785002"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- sql.active_record;dur=16.37, cache_read.active_support;dur=0.05, cache_generate.active_support;dur=13.55,
|
||||
cache_write.active_support;dur=0.15, start_processing.action_controller;dur=0.01,
|
||||
instantiation.active_record;dur=27.06, render.active_model_serializers;dur=0.06,
|
||||
process_action.action_controller;dur=140.79
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=1.58, cache_generate.active_support;dur=1.25,
|
||||
cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00,
|
||||
instantiation.active_record;dur=0.17, render.active_model_serializers;dur=0.03,
|
||||
process_action.action_controller;dur=40.14
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -111,132 +111,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- 4b847336-3a32-4884-b374-2c8fbac5d86a
|
||||
- bed7a875-9443-4698-bdb5-a7f52da830cd
|
||||
X-Runtime:
|
||||
- '0.236010'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v1/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.3.0","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":0,"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '1259'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Fri, 15 Aug 2025 20:42:03 GMT
|
||||
ETag:
|
||||
- W/"32a76711c89057c2e4cf176fc0a878c6"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.20, sql.active_record;dur=22.01, cache_generate.active_support;dur=70.72,
|
||||
cache_write.active_support;dur=0.42, instantiation.active_record;dur=15.15,
|
||||
start_processing.action_controller;dur=0.01, transaction.active_record;dur=6.82,
|
||||
cache_fetch_hit.active_support;dur=0.00, render.active_model_serializers;dur=133.88,
|
||||
process_action.action_controller;dur=171.70
|
||||
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-15T20:45:00.630770Z'
|
||||
X-Request-Id:
|
||||
- 50903941-32a7-43c8-ae25-22fa4f564180
|
||||
X-Runtime:
|
||||
- '0.242331'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
- Accept, Origin
|
||||
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
|
||||
User-Agent:
|
||||
- tests/v311
|
||||
method: GET
|
||||
uri: http://localhost:3000/api/v2/instance/
|
||||
response:
|
||||
body:
|
||||
string: '{"domain":"localhost:3000","title":"Mastodon","version":"4.3.0","source_url":"https://github.com/mastodon/mastodon","description":"","usage":{"users":{"active_month":0}},"thumbnail":{"url":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png"},"icon":[{"src":"http://localhost:3000/packs/media/icons/android-chrome-36x36-4c61fdb42936428af85afdbf8c6a45a8.png","size":"36x36"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-48x48-2027aead76dc906c981043d658a8258d.png","size":"48x48"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-72x72-799d90b81f5b28cea7355a0c0b356381.png","size":"72x72"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-96x96-c2dfcfa1268c56e59edddfe20d818b91.png","size":"96x96"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-144x144-ff3110f7772743bdd0c1c47fb7b2d4e0.png","size":"144x144"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-192x192-eddc1ed540e97b926202b7b857989d60.png","size":"192x192"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-256x256-7b2b43926019259f7c9ddee627d80a0f.png","size":"256x256"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-384x384-72068ed50b02828fc505a8d69b321dea.png","size":"384x384"},{"src":"http://localhost:3000/packs/media/icons/android-chrome-512x512-ccb53c9fcbb5f61bf741cc54998318f0.png","size":"512x512"}],"languages":["en"],"configuration":{"urls":{"streaming":"ws://localhost:4000","status":null},"vapid":{"public_key":"BI7qs7MwM3_bwlE9QvMLfoqWkFnKVfvABtYlJ6eLBcFfpcPlU5YCotnHHgkp_f8jmImeoZdomdttT5jmiBj_lxQ="},"accounts":{"max_featured_tags":10,"max_pinned_statuses":5},"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":16777216,"image_matrix_limit":33177600,"video_size_limit":103809024,"video_frame_rate_limit":120,"video_matrix_limit":8294400},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746},"translation":{"enabled":false}},"registrations":{"enabled":true,"approval_required":false,"message":null,"url":null},"api_versions":{"mastodon":2},"contact":{"email":"","account":null},"rules":[]}'
|
||||
headers:
|
||||
Cache-Control:
|
||||
- max-age=300, public, stale-while-revalidate=30, stale-if-error=86400
|
||||
Content-Length:
|
||||
- '2642'
|
||||
Content-Security-Policy:
|
||||
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
||||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
Date:
|
||||
- Fri, 15 Aug 2025 20:42:03 GMT
|
||||
ETag:
|
||||
- W/"37e480df3ebd122754cb6657ec7dfa4b"
|
||||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.38, sql.active_record;dur=4.64, cache_generate.active_support;dur=16.95,
|
||||
cache_write.active_support;dur=0.46, instantiation.active_record;dur=4.46,
|
||||
start_processing.action_controller;dur=0.01, cache_fetch_hit.active_support;dur=0.00,
|
||||
render.active_model_serializers;dur=94.91, process_action.action_controller;dur=147.39
|
||||
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-15T20:45:00.859781Z'
|
||||
X-Request-Id:
|
||||
- dbf14af1-4921-4565-9782-c5d3a2e8525b
|
||||
X-Runtime:
|
||||
- '0.175551'
|
||||
- '0.061152'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -270,7 +147,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-8VCwFLyU6n3PuftOITJEzw=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-bK0CoACe9zU2Q7XEHbZ1rQ=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -284,9 +161,9 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.04, sql.active_record;dur=0.14, cache_generate.active_support;dur=0.93,
|
||||
cache_write.active_support;dur=0.15, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.32, process_action.action_controller;dur=19.59
|
||||
- cache_read.active_support;dur=0.03, sql.active_record;dur=0.18, cache_generate.active_support;dur=1.05,
|
||||
cache_write.active_support;dur=0.23, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.35, process_action.action_controller;dur=19.43
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -294,9 +171,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- cb388482-abc6-450d-b9f7-49b29eed7fd3
|
||||
- e11ef398-28ef-4547-ab06-03279fe993f2
|
||||
X-Runtime:
|
||||
- '0.038762'
|
||||
- '0.051748'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -334,7 +211,7 @@ interactions:
|
|||
Content-Security-Policy:
|
||||
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
||||
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
|
||||
style-src ''self'' http://localhost:3000 ''nonce-WyEHN4QqUnnuyb7Z9Nq2Ug=='';
|
||||
style-src ''self'' http://localhost:3000 ''nonce-6X7nmBSY3ocq1IvDKx9dMw=='';
|
||||
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
|
||||
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
|
||||
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
|
||||
|
@ -348,10 +225,10 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=7.76, cache_generate.active_support;dur=0.96,
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=7.08, cache_generate.active_support;dur=1.11,
|
||||
cache_write.active_support;dur=0.04, start_processing.action_controller;dur=0.00,
|
||||
instantiation.active_record;dur=1.54, transaction.active_record;dur=6.07,
|
||||
render.active_model_serializers;dur=0.02, process_action.action_controller;dur=33.31
|
||||
instantiation.active_record;dur=0.16, transaction.active_record;dur=6.89,
|
||||
render.active_model_serializers;dur=0.02, process_action.action_controller;dur=12.72
|
||||
X-Content-Type-Options:
|
||||
- nosniff
|
||||
X-Frame-Options:
|
||||
|
@ -359,9 +236,9 @@ interactions:
|
|||
X-Permitted-Cross-Domain-Policies:
|
||||
- none
|
||||
X-Request-Id:
|
||||
- c34f545e-7a30-45a5-8e16-4382ca798d96
|
||||
- f9b960fa-c837-4871-a00c-c20ef5916845
|
||||
X-Runtime:
|
||||
- '0.052052'
|
||||
- '0.032475'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -401,10 +278,10 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=0.14, cache_generate.active_support;dur=0.87,
|
||||
cache_write.active_support;dur=0.05, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.03, halted_callback.action_controller;dur=0.00,
|
||||
process_action.action_controller;dur=384.48
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=0.12, cache_generate.active_support;dur=0.97,
|
||||
cache_write.active_support;dur=0.07, start_processing.action_controller;dur=0.00,
|
||||
render.active_model_serializers;dur=0.04, halted_callback.action_controller;dur=0.00,
|
||||
process_action.action_controller;dur=772.03
|
||||
WWW-Authenticate:
|
||||
- Bearer realm="Doorkeeper", error="invalid_token", error_description="The access
|
||||
token is invalid"
|
||||
|
@ -419,11 +296,11 @@ interactions:
|
|||
X-RateLimit-Remaining:
|
||||
- '299'
|
||||
X-RateLimit-Reset:
|
||||
- '2025-08-15T20:45:00.133586Z'
|
||||
- '2025-08-16T20:40:00.301088Z'
|
||||
X-Request-Id:
|
||||
- 8906b519-51d8-4638-9906-2bc92cdea4f8
|
||||
- c2b7ff76-05c4-438f-a21c-98d98f9dc07b
|
||||
X-Runtime:
|
||||
- '0.406644'
|
||||
- '0.793204'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
@ -466,11 +343,10 @@ interactions:
|
|||
Referrer-Policy:
|
||||
- strict-origin-when-cross-origin
|
||||
Server-Timing:
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=7.68, cache_generate.active_support;dur=1.21,
|
||||
cache_write.active_support;dur=0.09, instantiation.active_record;dur=24.00,
|
||||
start_processing.action_controller;dur=0.00, transaction.active_record;dur=22.71,
|
||||
render.active_model_serializers;dur=0.04, halted_callback.action_controller;dur=0.00,
|
||||
process_action.action_controller;dur=438.72
|
||||
- cache_read.active_support;dur=0.02, sql.active_record;dur=0.90, cache_generate.active_support;dur=1.11,
|
||||
cache_write.active_support;dur=0.08, instantiation.active_record;dur=0.27,
|
||||
start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=0.03,
|
||||
halted_callback.action_controller;dur=0.00, process_action.action_controller;dur=34.25
|
||||
WWW-Authenticate:
|
||||
- "Bearer realm=\"Doorkeeper\", error=\"invalid_token\", error_description=\"\
|
||||
\xE3\x82\xA2\xE3\x82\xAF\xE3\x82\xBB\xE3\x82\xB9\xE3\x83\x88\xE3\x83\xBC\xE3\
|
||||
|
@ -487,11 +363,11 @@ interactions:
|
|||
X-RateLimit-Remaining:
|
||||
- '299'
|
||||
X-RateLimit-Reset:
|
||||
- '2025-08-15T20:45:00.600495Z'
|
||||
- '2025-08-16T20:40:00.112917Z'
|
||||
X-Request-Id:
|
||||
- 5cf07d45-5e6e-4416-ac34-ce672d2608b5
|
||||
- d175ab97-53cb-414f-9f7d-ca8b16a46b40
|
||||
X-Runtime:
|
||||
- '0.465667'
|
||||
- '0.054463'
|
||||
X-XSS-Protection:
|
||||
- '0'
|
||||
vary:
|
||||
|
|
Ładowanie…
Reference in New Issue