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-06-22 15:28:27 +02:00
|
|
|
body: {string: '{"id":"3","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-07-30 23:10:24 +02:00
|
|
|
Content-Type: [application/json; charset=utf-8]
|
|
|
|
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-06-22 15:28:27 +02:00
|
|
|
X-Request-Id: [bd8dd539-c0a0-4e80-b882-a97b7a4fe8f1]
|
|
|
|
X-Runtime: ['0.034055']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 15:28:27 +02:00
|
|
|
content-length: ['112']
|
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-06-22 15:28:27 +02:00
|
|
|
uri: http://localhost:3000/api/v1/filters/3
|
2018-07-30 23:10:24 +02:00
|
|
|
response:
|
2019-06-22 15:28:27 +02:00
|
|
|
body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-07-30 23:10:24 +02:00
|
|
|
Content-Type: [application/json; charset=utf-8]
|
|
|
|
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-06-22 15:28:27 +02:00
|
|
|
X-Request-Id: [8f11357b-3bd5-46e7-8a5b-578299e3d426]
|
|
|
|
X-Runtime: ['0.086907']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 15:28:27 +02:00
|
|
|
content-length: ['119']
|
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-06-22 15:28:27 +02:00
|
|
|
uri: http://localhost:3000/api/v1/filters/3
|
2018-07-30 23:10:24 +02:00
|
|
|
response:
|
2019-06-22 15:28:27 +02:00
|
|
|
body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'}
|
2018-07-30 23:10:24 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-07-30 23:10:24 +02:00
|
|
|
Content-Type: [application/json; charset=utf-8]
|
|
|
|
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-06-22 15:28:27 +02:00
|
|
|
X-Request-Id: [3758c54b-454e-47a6-be44-ca4b5b6ce94a]
|
|
|
|
X-Runtime: ['0.031811']
|
2018-07-30 23:10:24 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 15:28:27 +02:00
|
|
|
content-length: ['119']
|
2018-07-30 23:10:24 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|