kopia lustrzana https://github.com/halcy/Mastodon.py
315 wiersze
8.4 KiB
YAML
315 wiersze
8.4 KiB
YAML
interactions:
|
|
- request:
|
|
body: name=ringtones
|
|
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
|
|
User-Agent:
|
|
- tests/v311
|
|
method: POST
|
|
uri: http://localhost:3000/api/v1/featured_tags
|
|
response:
|
|
body:
|
|
string: '{"id":"1","name":"ringtones","url":"http://localhost:3000/@mastodonpy_test/tagged/ringtones","statuses_count":"0","last_status_at":null}'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
ETag:
|
|
- W/"aa2380f6b72962d051f0cd1ca31074a1"
|
|
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:
|
|
- 12608aae-94e6-4fff-80fb-c27befc1b998
|
|
X-Runtime:
|
|
- '0.075731'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: name=%23coolfree
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '16'
|
|
Content-Type:
|
|
- application/x-www-form-urlencoded
|
|
User-Agent:
|
|
- tests/v311
|
|
method: POST
|
|
uri: http://localhost:3000/api/v1/featured_tags
|
|
response:
|
|
body:
|
|
string: '{"id":"2","name":"coolfree","url":"http://localhost:3000/@mastodonpy_test/tagged/coolfree","statuses_count":"0","last_status_at":null}'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
ETag:
|
|
- W/"d47f3ae554fb41ba2cfce5d780148e4a"
|
|
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:
|
|
- b06f244d-ba88-4034-b1ee-a610747b2ba4
|
|
X-Runtime:
|
|
- '0.034696'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
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'
|
|
User-Agent:
|
|
- tests/v311
|
|
method: DELETE
|
|
uri: http://localhost:3000/api/v1/featured_tags/1
|
|
response:
|
|
body:
|
|
string: '{}'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- 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:
|
|
- 66f3fe3f-27fd-4ebe-9591-62eb7e74f9e4
|
|
X-Runtime:
|
|
- '0.015535'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- tests/v311
|
|
method: GET
|
|
uri: http://localhost:3000/api/v1/accounts/verify_credentials
|
|
response:
|
|
body:
|
|
string: '{"id":"111912717622374375","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2024-02-11T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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":30,"last_status_at":"2024-02-11","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"roles":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
ETag:
|
|
- W/"1a7acabbe5430e17f89071d8bb2c09fd"
|
|
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:
|
|
- dd7ae72d-f7b8-4d73-93ba-28c4e36f8796
|
|
X-Runtime:
|
|
- '0.019703'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- tests/v311
|
|
method: GET
|
|
uri: http://localhost:3000/api/v1/accounts/111912717622374375/featured_tags
|
|
response:
|
|
body:
|
|
string: '[{"id":"2","name":"coolfree","url":"http://localhost:3000/@mastodonpy_test/tagged/coolfree","statuses_count":"0","last_status_at":null}]'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
ETag:
|
|
- W/"fe81172a6dacc0c169c02012a8e1ee5e"
|
|
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:
|
|
- b111e621-c203-4d0d-a1b6-fc6bd1b8918c
|
|
X-Runtime:
|
|
- '0.016312'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
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'
|
|
User-Agent:
|
|
- tests/v311
|
|
method: DELETE
|
|
uri: http://localhost:3000/api/v1/featured_tags/2
|
|
response:
|
|
body:
|
|
string: '{}'
|
|
headers:
|
|
Cache-Control:
|
|
- private, no-store
|
|
Content-Security-Policy:
|
|
- 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:
|
|
- 03e26f0e-fcf5-4b3d-8a1a-cec8c0245df6
|
|
X-Runtime:
|
|
- '0.011199'
|
|
X-XSS-Protection:
|
|
- 1; mode=block
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|