Mastodon.py/tests/cassettes/test_directory.yaml

62 wiersze
2.3 KiB
YAML

interactions:
- 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/v1/directory
response:
body:
string: '[{"id":"115033965921234147","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"indexable":true,"group":false,"created_at":"2025-08-15T00: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-15","hide_collections":null,"noindex":false,"emojis":[],"roles":[],"fields":[]}]'
headers:
Cache-Control:
- private, no-store
Content-Length:
- '762'
Content-Security-Policy:
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
- W/"8e0decb05d47dc74dc5639ced2cceea3"
Referrer-Policy:
- strict-origin-when-cross-origin
Server-Timing:
- cache_read.active_support;dur=0.07, sql.active_record;dur=2.30, cache_generate.active_support;dur=4.50,
cache_write.active_support;dur=0.17, instantiation.active_record;dur=0.53,
start_processing.action_controller;dur=0.00, render.active_model_serializers;dur=2.45,
process_action.action_controller;dur=30.88
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-15T17:35:00.783480Z'
X-Request-Id:
- 2a5243b5-944a-40c5-9d4c-7a3b6e09fe19
X-Runtime:
- '0.052978'
X-XSS-Protection:
- '0'
vary:
- Authorization, Origin
status:
code: 200
message: OK
version: 1