2018-06-05 22:52:18 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BEQRJdvNORvTkA49w78QoxpeuwfVNydvoEVYtdm4P1QBYAbKfsy75f2CrzDaNpv%2BgM5Y89E2%2BkaACu3UHTdrOek%3D&subscription%5Bkeys%5D%5Bauth%5D=ujnJKHWzxo4xGUZl9TyPlw%3D%3D&data%5Balerts%5D%5Bfollow%5D=False&data%5Balerts%5D%5Bfavourite%5D=False&data%5Balerts%5D%5Breblog%5D=False&data%5Balerts%5D%5Bmention%5D=False
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
2019-06-22 23:16:47 +02:00
|
|
|
Content-Length: ['388']
|
2018-06-05 22:52:18 +02:00
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-06-05 22:52:18 +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 23:16:47 +02:00
|
|
|
X-Request-Id: [dce13274-504f-4258-9c96-803874768b33]
|
|
|
|
X-Runtime: ['0.027264']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 23:16:47 +02:00
|
|
|
content-length: ['229']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
2018-07-14 01:07:26 +02:00
|
|
|
body: data%5Balerts%5D%5Bfollow%5D=True&data%5Balerts%5D%5Bfavourite%5D=True&data%5Balerts%5D%5Breblog%5D=True&data%5Balerts%5D%5Bmention%5D=True
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['139']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: PUT
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-06-05 22:52:18 +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 23:16:47 +02:00
|
|
|
X-Request-Id: [618b7132-e767-40b5-8d45-a75379cb4e2e]
|
|
|
|
X-Runtime: ['0.040108']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 23:16:47 +02:00
|
|
|
content-length: ['225']
|
2018-06-05 22:52:18 +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]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-06-05 22:52:18 +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 23:16:47 +02:00
|
|
|
X-Request-Id: [ae7f8cd0-7fbd-4656-93ee-0d1908cbf023]
|
|
|
|
X-Runtime: ['0.052002']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 23:16:47 +02:00
|
|
|
content-length: ['225']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
2018-07-14 01:07:26 +02:00
|
|
|
body: data%5Balerts%5D%5Bfollow%5D=False&data%5Balerts%5D%5Bfavourite%5D=False&data%5Balerts%5D%5Breblog%5D=False&data%5Balerts%5D%5Bmention%5D=False
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['143']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: PUT
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-06-05 22:52:18 +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 23:16:47 +02:00
|
|
|
X-Request-Id: [62d2ea53-af2d-4855-87e4-ae49bed448ad]
|
|
|
|
X-Runtime: ['0.046968']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 23:16:47 +02:00
|
|
|
content-length: ['229']
|
2018-06-05 22:52:18 +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]
|
2018-07-14 01:07:26 +02:00
|
|
|
User-Agent: [python-requests/2.18.4]
|
2018-06-05 22:52:18 +02:00
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-06-22 23:16:47 +02:00
|
|
|
body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
|
2018-06-05 22:52:18 +02:00
|
|
|
headers:
|
2019-06-22 15:28:27 +02:00
|
|
|
Cache-Control: ['no-cache, no-store']
|
2018-06-05 22:52:18 +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 23:16:47 +02:00
|
|
|
X-Request-Id: [a0001fc1-ac0f-41ac-be02-08533b54d277]
|
|
|
|
X-Runtime: ['0.032558']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-06-22 23:16:47 +02:00
|
|
|
content-length: ['229']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|