2017-11-27 19:43:27 +00:00
|
|
|
interactions:
|
|
|
|
- request:
|
2022-11-07 21:11:30 +00:00
|
|
|
body: username=mastodonpy_test_2%40localhost%3A3000&password=5fc638e0e53eafd9c4145b6bb852667d&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
|
2017-11-27 19:43:27 +00:00
|
|
|
headers:
|
2022-11-07 21:11:30 +00:00
|
|
|
Accept:
|
|
|
|
- '*/*'
|
|
|
|
Accept-Encoding:
|
|
|
|
- gzip, deflate
|
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
Content-Length:
|
|
|
|
- '271'
|
|
|
|
Content-Type:
|
|
|
|
- application/x-www-form-urlencoded
|
|
|
|
User-Agent:
|
|
|
|
- tests/v311
|
2017-11-27 19:43:27 +00:00
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/oauth/token
|
|
|
|
response:
|
2022-11-07 21:11:30 +00:00
|
|
|
body:
|
|
|
|
string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read
|
2022-11-13 16:39:56 +00:00
|
|
|
write follow push","created_at":1668364145}'
|
2017-11-27 19:43:27 +00:00
|
|
|
headers:
|
2022-11-07 21:11:30 +00:00
|
|
|
Cache-Control:
|
|
|
|
- no-store
|
|
|
|
Content-Security-Policy:
|
|
|
|
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
|
|
|
''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
|
2022-11-13 16:39:56 +00:00
|
|
|
style-src ''self'' http://localhost:3000 ''nonce-hYUM0YEB/FTM8jw0eq78fg=='';
|
2022-11-07 21:11:30 +00:00
|
|
|
media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
|
|
|
|
https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
|
|
|
|
data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
|
|
|
|
ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
|
|
|
|
''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
|
|
|
|
worker-src ''self'' blob: http://localhost:3000'
|
|
|
|
Content-Type:
|
|
|
|
- application/json; charset=utf-8
|
|
|
|
ETag:
|
2022-11-13 16:39:56 +00:00
|
|
|
- W/"a85c27c12baddc5120131dbd780882c5"
|
2022-11-07 21:11:30 +00:00
|
|
|
Pragma:
|
|
|
|
- no-cache
|
|
|
|
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:
|
2022-11-13 16:39:56 +00:00
|
|
|
- 6a787428-b0f3-4a76-bdb0-46a41f8ef399
|
2022-11-07 21:11:30 +00:00
|
|
|
X-Runtime:
|
2022-11-13 16:39:56 +00:00
|
|
|
- '0.041745'
|
2022-11-07 21:11:30 +00:00
|
|
|
X-XSS-Protection:
|
|
|
|
- 1; mode=block
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
2017-11-27 19:43:27 +00:00
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
2022-11-07 21:11:30 +00:00
|
|
|
Accept:
|
|
|
|
- '*/*'
|
|
|
|
Accept-Encoding:
|
|
|
|
- gzip, deflate
|
|
|
|
Authorization:
|
|
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3
|
|
|
|
Connection:
|
|
|
|
- keep-alive
|
|
|
|
User-Agent:
|
|
|
|
- tests/v311
|
2017-11-27 19:43:27 +00:00
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/accounts/verify_credentials
|
|
|
|
response:
|
2022-11-07 21:11:30 +00:00
|
|
|
body:
|
2022-11-13 16:39:56 +00:00
|
|
|
string: '{"id":"109337440792699713","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@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":"2022-11-13","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
|
2017-11-27 19:43:27 +00:00
|
|
|
headers:
|
2022-11-07 21:11:30 +00:00
|
|
|
Cache-Control:
|
|
|
|
- no-store
|
|
|
|
Content-Security-Policy:
|
|
|
|
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
|
|
|
|
''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
|
2022-11-13 16:39:56 +00:00
|
|
|
style-src ''self'' http://localhost:3000 ''nonce-cGUSIpJ5CgjnLN1PbdtWQQ=='';
|
2022-11-07 21:11:30 +00:00
|
|
|
media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
|
|
|
|
https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
|
|
|
|
data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
|
|
|
|
ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
|
|
|
|
''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
|
|
|
|
worker-src ''self'' blob: http://localhost:3000'
|
|
|
|
Content-Type:
|
|
|
|
- application/json; charset=utf-8
|
|
|
|
ETag:
|
2022-11-13 16:39:56 +00:00
|
|
|
- W/"56507862302301f555c05cda4c2b6ae9"
|
2022-11-07 21:11:30 +00:00
|
|
|
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:
|
2022-11-13 16:39:56 +00:00
|
|
|
- da5122a3-f30a-4440-99fc-72765b5c121c
|
2022-11-07 21:11:30 +00:00
|
|
|
X-Runtime:
|
2022-11-13 16:39:56 +00:00
|
|
|
- '0.010756'
|
2022-11-07 21:11:30 +00:00
|
|
|
X-XSS-Protection:
|
|
|
|
- 1; mode=block
|
|
|
|
status:
|
|
|
|
code: 200
|
|
|
|
message: OK
|
2017-11-27 19:43:27 +00:00
|
|
|
version: 1
|