Mastodon.py/tests/cassettes/test_list_timeline.yaml

499 wiersze
17 KiB
YAML
Czysty Zwykły widok Historia

2018-05-06 13:42:38 +00:00
interactions:
- request:
body: title=ham+burglars
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
- '18'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: POST
uri: http://localhost:3000/api/v1/lists
response:
body:
string: '{"id":"5","title":"ham burglars","replies_policy":"list"}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
- W/"e602c7a21a40b36230f28438acbb4bc2"
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:
2023-06-23 20:16:44 +00:00
- 05b4c00f-f73d-4855-9920-7b5dd09e90ef
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.013418'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
Connection:
- keep-alive
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials
response:
body:
2023-06-23 20:16:44 +00:00
string: '{"id":"110594123022662601","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2023-06-23T00: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":0,"last_status_at":"2023-06-23","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"7b9c8b1cc82f2000ae32920bf0131055"
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:
2023-06-23 20:16:44 +00:00
- ebc11efb-1721-4a8f-af0f-1dd1534a5992
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.014855'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
2022-11-21 20:34:12 +00:00
body: reblogs=1&notify=0
2018-05-06 13:42:38 +00:00
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
2022-11-21 20:34:12 +00:00
- '18'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: POST
2023-06-23 20:16:44 +00:00
uri: http://localhost:3000/api/v1/accounts/110594123022662601/follow
2018-05-06 13:42:38 +00:00
response:
body:
2023-06-23 20:16:44 +00:00
string: '{"id":"110594123022662601","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"requested_by":false,"domain_blocking":false,"endorsed":false,"note":"top
ebayer gerne wieder"}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"a29791e143b39157ff449d201f2134f2"
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:
- '400'
X-RateLimit-Remaining:
2023-06-23 20:16:44 +00:00
- '391'
X-RateLimit-Reset:
2023-06-23 20:16:44 +00:00
- '2023-06-24T00:00:00.127796Z'
X-Request-Id:
2023-06-23 20:16:44 +00:00
- 0a78e4fe-0242-445e-8855-bf0092c180db
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.024255'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
2023-06-23 20:16:44 +00:00
body: account_ids%5B%5D=110594123022662601
2018-05-06 13:42:38 +00:00
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
- '36'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: POST
2020-02-22 19:31:33 +00:00
uri: http://localhost:3000/api/v1/lists/5/accounts
2018-05-06 13:42:38 +00:00
response:
body:
string: '{}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- 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
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:
2023-06-23 20:16:44 +00:00
- 595ac0d5-268c-4c5b-aadf-8e4dd09b22f2
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.020118'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
body: status=I+have+never+stolen+a+ham+in+my+life.&visibility=public
2018-05-06 13:42:38 +00:00
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
Connection:
- keep-alive
Content-Length:
- '62'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body:
2023-06-23 20:16:44 +00:00
string: '{"id":"110594129603359991","created_at":"2023-06-23T15:01:35.170Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/110594129603359991","url":"http://localhost:3000/@admin/110594129603359991","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
2023-06-23 20:16:44 +00:00
test suite","website":null},"account":{"id":"110594123022662601","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2023-06-23T00: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":1,"following_count":0,"statuses_count":1,"last_status_at":"2023-06-23","noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"48636c2d7543a6a39d5db8bb7e42efce"
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:
2022-11-13 14:16:29 +00:00
- '298'
X-RateLimit-Reset:
2023-06-23 20:16:44 +00:00
- '2023-06-23T18:00:00.198056Z'
X-Request-Id:
2023-06-23 20:16:44 +00:00
- fd53fe5c-90f3-46f5-804a-ed6d240ea0c4
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.041076'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +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
2018-05-06 13:42:38 +00:00
method: GET
2020-02-22 19:31:33 +00:00
uri: http://localhost:3000/api/v1/timelines/list/5
2018-05-06 13:42:38 +00:00
response:
body:
2023-06-23 20:16:44 +00:00
string: '[{"id":"110594129603359991","created_at":"2023-06-23T15:01:35.170Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/110594129603359991","url":"http://localhost:3000/@admin/110594129603359991","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
2023-06-23 20:16:44 +00:00
test suite","website":null},"account":{"id":"110594123022662601","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2023-06-23T00: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":1,"following_count":0,"statuses_count":1,"last_status_at":"2023-06-23","noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"517960ef38750466a75b50187328f7b4"
Link:
2023-06-23 20:16:44 +00:00
- <http://localhost:3000/api/v1/timelines/list/5?max_id=110594129603359991>;
rel="next", <http://localhost:3000/api/v1/timelines/list/5?min_id=110594129603359991>;
rel="prev"
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:
2023-06-23 20:16:44 +00:00
- 3a76709e-d939-4495-8c6d-a6ea8be9ffa6
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.040153'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: DELETE
2023-06-23 20:16:44 +00:00
uri: http://localhost:3000/api/v1/statuses/110594129603359991
2018-05-06 13:42:38 +00:00
response:
body:
2023-06-23 20:16:44 +00:00
string: '{"id":"110594129603359991","created_at":"2023-06-23T15:01:35.170Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/110594129603359991","url":"http://localhost:3000/@admin/110594129603359991","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"I
have never stolen a ham in my life.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
2023-06-23 20:16:44 +00:00
test suite","website":null},"account":{"id":"110594123022662601","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2023-06-23T00: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":1,"following_count":0,"statuses_count":0,"last_status_at":"2023-06-23","noindex":false,"emojis":[],"roles":[{"id":"3","name":"Owner","color":""}],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"d2d58ee929d62a13653244404e99ae8c"
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:
2023-06-23 20:16:44 +00:00
- 40400c78-c27c-47c1-b791-27a48a301ae8
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.030539'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: POST
2023-06-23 20:16:44 +00:00
uri: http://localhost:3000/api/v1/accounts/110594123022662601/unfollow
2018-05-06 13:42:38 +00:00
response:
body:
2023-06-23 20:16:44 +00:00
string: '{"id":"110594123022662601","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"requested_by":false,"domain_blocking":false,"endorsed":false,"note":"top
ebayer gerne wieder"}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
Content-Type:
- application/json; charset=utf-8
ETag:
2023-06-23 20:16:44 +00:00
- W/"938adf143184cddb4f058de4c91617bb"
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:
2023-06-23 20:16:44 +00:00
- 08e38438-6f6f-42ca-9820-0c60bb1962b2
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.021210'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Authorization:
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- tests/v311
2018-05-06 13:42:38 +00:00
method: DELETE
2020-02-22 19:31:33 +00:00
uri: http://localhost:3000/api/v1/lists/5
2018-05-06 13:42:38 +00:00
response:
body:
string: '{}'
2018-05-06 13:42:38 +00:00
headers:
Cache-Control:
2023-04-23 18:22:33 +00:00
- private, no-store
Content-Security-Policy:
2023-04-23 18:22:33 +00:00
- 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
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:
2023-06-23 20:16:44 +00:00
- f5fe3800-35b2-4199-a1fc-d1fb32183f37
X-Runtime:
2023-06-23 20:16:44 +00:00
- '0.012661'
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
2018-05-06 13:42:38 +00:00
version: 1