Mastodonplus.py/tests/cassettes_pre_2_9_2/test_notifications_dismiss.yaml
2019-10-11 22:43:20 +02:00

190 líneas
8,5 KiB
YAML

interactions:
- request:
body: status=%40mastodonpy_test+hello%21
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
Connection: [keep-alive]
Content-Length: ['34']
Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.18.4]
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body:
string: !!binary |
H4sIAFTpoF0AA5RU246bMBD9ldTPTTDktiBV2h/o2z61qdDEOODW2BY22UbR/nvHYBKSoKz6hOfM
nBmP5wxnIgqSkZgm6Wq9Sel2u07jOE1T8pWwhoPjRQ4OIxIap/OYzuP4LaHZaplRulhtVz8wTqi8
4Uaecqdzn021Ut6iwJhulRt5LVdWOHHkJDuAtBwRo4XkTe74X18P8x6FFXshhTuhbdq9FAxRCaps
oUQi4QrtthF4rJwzWRRJzUBW2rqotbyxERS1UJF14NC20WSbbSOnErz23EmKb0xwm3ddkYx6ZC91
OUYOcNR4N8cnweLSd88sR0jdjv1GKDUymVaO+2xk11K6ZKb78N6wBtSMSbD2245UcwZNsSPjAJhV
DT9450O7NVinC60MToxbtyOXRO0cn2hWY1Wh1ZDv9VqxB+75nTu6+gMAN9bVPau4lPpLwENXZHie
QTZg8OEZ+IuQ7EwU1F4H30PphTnNfO2ZbfGJkfzO99afOvYH0lkYxTnI3o8fhRLydBMnXZgbmYWw
RsIpD1Feg5r9Gc1kr911Pg9LQzfzJHmLk2yVZGu6oOnGL43S/l5TQxw1/1Sa/qJHcNBMhfQeG+lG
lEKBjGphrVDlwqjyQsz9YuBS/T+/4lDwycK95xPik8Kf8A8aVfKOAcNSJQOGMQMW498krPwlDJeP
1/q3sCT7+Qs5gsuiO6Msal4IwIk5YJWXeYgJivfWoJdkif+C7UtK+9OtfO424Mn8HiOD5O4dH3gN
B2W40LgBv9vDVhh8gKDxfwAAAP//AwBP4Bk20AUAAA==
headers:
Cache-Control: ['no-cache, no-store']
Content-Encoding: [gzip]
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [c8f1a689-c9e4-484c-ac27-2e56b52323ce]
X-Runtime: ['0.316550']
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: [python-requests/2.18.4]
method: GET
uri: http://localhost:3000/api/v1/notifications
response:
body:
string: !!binary |
H4sIAFTpoF0AA+xZz4/aOhD+V9KcgdjOL5KnSr320FtP7VbIJAbcOnYUO+yiJ/73NyYJCZDuslX1
tCvlAvF4xvaMv5n5At//dXnupi72A3fmmkPJYFAwabiSIMgqRg3LV9SAmCCczDGaY/yVoDTwU4QW
ESbfQI9mmaolKHXLgazWrJK0sAvSvOCyUTODYc51Kehh1WqBRKjsF4MFNlRoNnPXypyfb4+Cojkh
XzFJA5KGaIGSyB5FKmMXe6gR8rPy9MWagdeO7NkqATo7Y8rU82BTKnZKG+/T+aB7amg1ptLMaE9V
fMslFV7BteZyuyjl9my40oYanv2B/Y7RnI1u3My8YPjMxi/Yb5QQ6hEUVu1Nkk4GOp0Mz1y7Adxs
r4ZmLivUT67d9PsPsOFM5KfnY6fcowKRJAijBMVxmGCcJMk9EAviwN4rl6uKleKwMmplV5O1EJfS
FoSDWc2k5obv2RlFulRcQJwMezIN5PZc8zUX3BxgXNZrAeEDIFK5renWIonJE2D4WFAtxrV3Qo3X
RcYbdfNZxI2bWMd4H2lkJWuhtkPJhu4VnM2wUWGfSY3ldiAp6uF8pqRh1nwscXRJpZMJqvXHB3c3
z2iVP7hDBersKraxkzf+FVQblStZwhUxbR7c80L1HGLitLWmW+9Tv2MjuLZvMrmfbwX0YtRPOzsG
GP5wUwCaeHQ4oSVEOqOnogdgbevRl3brRXlw7N6OriGmYPzI1to+nayPU/Wbqt9o9StYzincmKHZ
zsK81WkRb0cdXogPyR8vE9Q8XcLnKgOeub9bzRZy1xNHOIah2/ZAQwdsbndZUUIAWowfZ2eegF7J
E3ySYn8RBfHEE6ZMeRVPCJZ+vAwTFPnkHoiFJPzfeELOK5aZv8MTLt28iydcmkw84S/wBGvsbGop
ba9/MsAbqttyMLGGqRZOrOEPWAMZsIaTwu+xSXCKlymKFkkQTJRhSpO7KYOPY5IQn8RBGMSR/wLE
/BThBVr67+6nhVs3X6QMtyZvgDJInk0Ndqocb7HBvqLPddCy3Zc9lfBaoH/X0aDcNL9kNnpgZqr6
lC3C8FL0hWSvBjmHm/FZW5U9DTDcWDMISV055hEcOLhX5sj24E5P8ydzmEsu2bUaPl54ehy0bhze
98I/LK0kWixJMnXvKQdf170DhMJlHBE0/sfAFcRiFL3P7n3h5n3d+8LkDXTv9//Cv2asbD4+WwmJ
aKn0P4VDnZ8gnJjJVBXfIDN5P6/+P/4DAAD//wMArULE9VogAAA=
headers:
Cache-Control: ['no-cache, no-store']
Content-Encoding: [gzip]
Content-Type: [application/json; charset=utf-8]
Link: ['<http://localhost:3000/api/v1/notifications?max_id=115>; rel="next",
<http://localhost:3000/api/v1/notifications?min_id=134>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [7332ffde-9101-4a43-82b4-a4f0ecbce551]
X-Runtime: ['0.131203']
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: [python-requests/2.18.4]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
body:
string: !!binary |
H4sIAFTpoF0AA0yQXU7EMAyE7+Ln0vRnabe5AydAqDKJaQNpEiXO7sNq705KWcSb/WlGM/YNcjQg
wXqFdvWJoQI2bKmwF0zstXcFaUoqmsCmbBIKoA2NPcYLxXTwrp7qtpAcbQJ5g8SRcDNumTHsIdck
hfhLkqemaeBeFRnyjz4nirPy2THI/uA5PUDXlhq+xLoHaYqX17y9u6PLyhz+B4iA6iuJjbRBYTZc
KIkQ6WLo+jRhO+q++1Cncz9MdFZKT22D43M3NDSMuv4MS7nEolvybgT5CuTgrYJIiymH4f6Lgjlm
qkB5x6h4RvXbzWVr798AAAD//wMA7+lJTl0BAAA=
headers:
Cache-Control: ['max-age=300, public']
Content-Encoding: [gzip]
Content-Type: [application/json; charset=utf-8]
Date: ['Fri, 11 Oct 2019 20:43:00 GMT']
ETag: [W/"ad29a128469658ac7b93b5ec01dbc18f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [59964f41-6806-4a96-9a09-5ba735eecb3f]
X-Runtime: ['0.030156']
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
body: id=134
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['6']
Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.18.4]
method: POST
uri: http://localhost:3000/api/v1/notifications/dismiss
response:
body:
string: !!binary |
H4sIAFTpoF0AA6quBQAAAP//AwBDv6ajAgAAAA==
headers:
Cache-Control: ['no-cache, no-store']
Content-Encoding: [gzip]
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [9093e35a-5e86-4974-b423-90e9268c082c]
X-Runtime: ['0.026793']
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_2]
Connection: [keep-alive]
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: DELETE
uri: http://localhost:3000/api/v1/statuses/102945690775911999
response:
body:
string: !!binary |
H4sIAFXpoF0AA5RU23KbMBD9lVTPtRH4FnjKD/QtT70MsxYybCskDRJOPZ78e1cgPCRh4ukTezln
tbs64sqwYgVLeZZvd/ucHw67PE3zPGdfmegkeFmV4AmR8TRfpXyVps8ZL7abgvP19rD9TjjUZSet
upTelKGa7pV6GwUhTK/9LOukdujxLFlxAuUkRaxBJbvSy7/hPKp7RodHVOgv5Nv+qFBQVIGue6iJ
yKQmv++QzMZ7WySJMgJUY5xPeic7l0DVok6cB0++SxbH7Du1VOBp5C5SwmAoXTlMxQoeIkdl6nnk
BGdDvXm5GKxuc4/MehZp+3neotYzN67nqQXnTWW0pQVL5x8aqZT5wqZ6057BUqcCPBrNiivT0IbF
fYvktb08DGzXU09EfpFHF6yB/Up0EXu/Rp2EfdFmY51hRWyA+ZlbobMKLmVEhUsz4s9siKPxN/uj
yvh+lWXPaVZss2LH1zzfB5VpE/piP3vON8IOHzk6SfTu3WVo9AweuiXImHGJ6bBGDSpp0TnU9drq
+kYsg5JIhf/PbyRUcvHgMXOH+MnBd/gnQ7p4IcCkwmyKEWaKpfT84hu5wUitsjW/0bHixy/ioFTV
YJMsWlkh0I15EE0rtY+YYJLQgjfpJdvQ4zk85ny03srnnYY/ub+PyCi594lXasNDHRuaDyCgu/19
LC0gavwfAAAA//8DAPavAQgBBQAA
headers:
Cache-Control: ['no-cache, no-store']
Content-Encoding: [gzip]
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [09583968-dd77-4f00-9afe-4803a55d4157]
X-Runtime: ['0.083699']
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1