2018-06-05 22:52:18 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
2019-10-11 23:59:24 +02:00
|
|
|
body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BIZ1wWA3EboNcUWBZN5glPa1WVlA5BBS%2FGIQCbule2Zf%2FUg1bBSoT%2BmPJ5%2FLasg23FpxrNHSyPaJIYqV%2BV0iU24%3D&subscription%5Bkeys%5D%5Bauth%5D=Kxunpb%2F7V%2BbjkNYNUuqwlw%3D%3D&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0
|
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-10-11 23:59:24 +02:00
|
|
|
Content-Length: ['382']
|
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-10-11 23:59:24 +02:00
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
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-10-11 23:59:24 +02:00
|
|
|
X-Request-Id: [b179ef39-798e-4509-8254-650b5bab6248]
|
|
|
|
X-Runtime: ['0.052281']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-10-11 23:59:24 +02:00
|
|
|
content-length: ['221']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
2019-10-11 23:59:24 +02:00
|
|
|
body: data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1
|
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-10-11 23:59:24 +02:00
|
|
|
Content-Length: ['127']
|
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: PUT
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-10-11 23:59:24 +02:00
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":true,"favourite":true,"reblog":true,"mention":true},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
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-10-11 23:59:24 +02:00
|
|
|
X-Request-Id: [77c71d4e-4122-4352-be58-000c07f2b5b0]
|
|
|
|
X-Runtime: ['0.018310']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-10-11 23:59:24 +02:00
|
|
|
content-length: ['217']
|
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-10-11 23:59:24 +02:00
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":true,"favourite":true,"reblog":true,"mention":true},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
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-10-11 23:59:24 +02:00
|
|
|
X-Request-Id: [ba525c4c-71b1-48c8-86fc-595b8242c274]
|
|
|
|
X-Runtime: ['0.017948']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-10-11 23:59:24 +02:00
|
|
|
content-length: ['217']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
2019-10-11 23:59:24 +02:00
|
|
|
body: data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0
|
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-10-11 23:59:24 +02:00
|
|
|
Content-Length: ['127']
|
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: PUT
|
|
|
|
uri: http://localhost:3000/api/v1/push/subscription
|
|
|
|
response:
|
2019-10-11 23:59:24 +02:00
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
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-10-11 23:59:24 +02:00
|
|
|
X-Request-Id: [a1f9a93e-183e-4915-915a-69fe399ab25f]
|
|
|
|
X-Runtime: ['0.030133']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-10-11 23:59:24 +02:00
|
|
|
content-length: ['221']
|
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-10-11 23:59:24 +02:00
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
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-10-11 23:59:24 +02:00
|
|
|
X-Request-Id: [2b1245fe-6cd3-4afd-96d7-ccee7791f4df]
|
|
|
|
X-Runtime: ['0.028445']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2019-10-11 23:59:24 +02:00
|
|
|
content-length: ['221']
|
|
|
|
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/push/subscription
|
|
|
|
response:
|
|
|
|
body: {string: '{"id":44,"endpoint":"https://example.com","alerts":{"follow":false,"favourite":false,"reblog":false,"mention":false},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['no-cache, no-store']
|
|
|
|
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]
|
|
|
|
X-Request-Id: [6d7d368e-82d3-42a1-857b-2dc0240fb8b7]
|
|
|
|
X-Runtime: ['0.014119']
|
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['221']
|
2018-06-05 22:52:18 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|