Mastodonplus.py/tests/cassettes/test_account_pinned.yaml

252 líneas
21 KiB
YAML
Original Vista normal Històric

2018-06-04 20:55:44 +02:00
interactions:
- request:
body: status=Toot%21
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['14']
Content-Type: [application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704144979605747","created_at":"2020-02-22T19:27:53.247Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704144979605747","url":"http://localhost/@mastodonpy_test/103704144979605747","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
2018-06-04 20:55:44 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [f624b217-dab4-4b48-995d-360da77eb449]
X-Runtime: ['0.604335']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1676']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: status=Toot%2C+too%21
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['21']
Content-Type: [application/x-www-form-urlencoded]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704145021682662","created_at":"2020-02-22T19:27:53.826Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704145021682662","url":"http://localhost/@mastodonpy_test/103704145021682662","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot,
2019-06-22 15:28:27 +02:00
too!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [e951149d-0a4e-466a-a124-047b752973b8]
X-Runtime: ['0.277679']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1681']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['0']
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: POST
2020-02-22 20:31:33 +01:00
uri: http://localhost:3000/api/v1/statuses/103704144979605747/pin
2018-06-04 20:55:44 +02:00
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704144979605747","created_at":"2020-02-22T19:27:53.247Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704144979605747","url":"http://localhost/@mastodonpy_test/103704144979605747","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
2018-06-04 20:55:44 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [b7e32940-9757-4228-a5e3-d9f311817a88]
X-Runtime: ['0.234178']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1675']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [387c9db7-94b8-48c5-8c96-9b7f8b0a0268]
X-Runtime: ['0.106294']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1220']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: GET
2018-07-30 23:19:51 +02:00
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=1
2018-06-04 20:55:44 +02:00
response:
2020-02-22 20:31:33 +01:00
body: {string: '[{"id":"103704144979605747","created_at":"2020-02-22T19:27:53.247Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704144979605747","url":"http://localhost/@mastodonpy_test/103704144979605747","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
2018-06-04 20:55:44 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [a5c92997-daec-4c00-b1b0-051ca9f96b18]
X-Runtime: ['0.129916']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1677']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['0']
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: POST
2020-02-22 20:31:33 +01:00
uri: http://localhost:3000/api/v1/statuses/103704144979605747/unpin
2018-06-04 20:55:44 +02:00
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704144979605747","created_at":"2020-02-22T19:27:53.247Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704144979605747","url":"http://localhost/@mastodonpy_test/103704144979605747","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
2018-06-04 20:55:44 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [ba2ab4a2-b9e5-4b25-a0c3-8748f919cfed]
X-Runtime: ['0.096650']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1676']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['0']
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: DELETE
2020-02-22 20:31:33 +01:00
uri: http://localhost:3000/api/v1/statuses/103704145021682662
2018-06-04 20:55:44 +02:00
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704145021682662","created_at":"2020-02-22T19:27:53.826Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704145021682662","url":"http://localhost/@mastodonpy_test/103704145021682662","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot,
2019-06-22 15:28:27 +02:00
too!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [774873f7-bff2-429b-90e1-4fe020a2dc6a]
X-Runtime: ['0.155245']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1651']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['0']
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-06-04 20:55:44 +02:00
method: DELETE
2020-02-22 20:31:33 +01:00
uri: http://localhost:3000/api/v1/statuses/103704144979605747
2018-06-04 20:55:44 +02:00
response:
2020-02-22 20:31:33 +01:00
body: {string: '{"id":"103704144979605747","created_at":"2020-02-22T19:27:53.247Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/103704144979605747","url":"http://localhost/@mastodonpy_test/103704144979605747","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
2019-06-22 15:28:27 +02:00
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
2020-02-22 20:31:33 +01:00
Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/4cb344b864cbd0bf.jpeg?1582399672","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/9b01d187d95da821.jpeg?1582399672","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
2018-06-04 20:55:44 +02:00
headers:
2019-06-22 15:28:27 +02:00
Cache-Control: ['no-cache, no-store']
2018-06-04 20:55:44 +02:00
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Referrer-Policy: [strict-origin-when-cross-origin]
2018-06-04 20:55:44 +02:00
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
2018-06-05 22:10:31 +02:00
X-Download-Options: [noopen]
2018-06-04 20:55:44 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
2020-02-22 20:31:33 +01:00
X-Request-Id: [67c9d449-2a6c-4ff8-aa66-79aaa077d8e1]
X-Runtime: ['0.175630']
2018-06-04 20:55:44 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['1646']
2018-06-04 20:55:44 +02:00
status: {code: 200, message: OK}
version: 1