2018-07-30 23:10:24 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
|
|
|
body: whole_word=1&irreversible=0&phrase=anime&context%5B%5D=notifications
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['68']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/filters
|
|
|
|
response:
|
2019-04-27 21:04:06 +02:00
|
|
|
body: {string: '{"id":"21","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-27 21:04:06 +02:00
|
|
|
ETag: [W/"616b6a636748282f750aca9e2fbcbe21"]
|
2018-07-30 23:10:24 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-27 21:04:06 +02:00
|
|
|
X-Request-Id: [03b6ba4b-c341-457b-a0ef-f8808329489c]
|
|
|
|
X-Runtime: ['0.020179']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-04-27 21:04:06 +02:00
|
|
|
content-length: ['113']
|
2018-07-30 23:10:24 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: phrase=japanimation
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['19']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: PUT
|
2019-04-27 21:04:06 +02:00
|
|
|
uri: http://localhost:3000/api/v1/filters/21
|
2018-07-30 23:10:24 +02:00
|
|
|
response:
|
2019-04-27 21:04:06 +02:00
|
|
|
body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-27 21:04:06 +02:00
|
|
|
ETag: [W/"3f41998f154881d6411e0b12151f9b0c"]
|
2018-07-30 23:10:24 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-27 21:04:06 +02:00
|
|
|
X-Request-Id: [9c5d627e-1a5d-40af-989c-6f2b835e1677]
|
|
|
|
X-Runtime: ['0.020742']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-04-27 21:04:06 +02:00
|
|
|
content-length: ['120']
|
2018-07-30 23:10:24 +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]
|
|
|
|
User-Agent: [python-requests/2.18.4]
|
|
|
|
method: GET
|
2019-04-27 21:04:06 +02:00
|
|
|
uri: http://localhost:3000/api/v1/filters/21
|
2018-07-30 23:10:24 +02:00
|
|
|
response:
|
2019-04-27 21:04:06 +02:00
|
|
|
body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2019-04-27 21:04:06 +02:00
|
|
|
ETag: [W/"3f41998f154881d6411e0b12151f9b0c"]
|
2018-07-30 23:10:24 +02:00
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
|
|
|
X-Download-Options: [noopen]
|
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
2019-04-27 21:04:06 +02:00
|
|
|
X-Request-Id: [0ba85b95-9017-4db9-801f-a7eac4a889c9]
|
|
|
|
X-Runtime: ['0.015210']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-04-27 21:04:06 +02:00
|
|
|
content-length: ['120']
|
2018-07-30 23:10:24 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|