2018-06-05 22:52:18 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
2019-06-22 15:28:27 +02:00
|
|
|
body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BCSaRbfF44wktnrM7Fk%2BGpfbi0wAYv7GWggcO%2FWDo2TE6lzmMKToEgNn%2F2wJ0joGbgTvSlLxy1TTdC7lnhWqKpQ%3D&subscription%5Bkeys%5D%5Bauth%5D=a33tvmLQP2HR1OEYwlMbJg%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 15:28:27 +02:00
|
|
|
Content-Length: ['390']
|
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 15:28:27 +02:00
|
|
|
body: {string: '{"id":2,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
|
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 15:28:27 +02:00
|
|
|
X-Request-Id: [4664e69f-5eb3-4914-b582-311b223d1742]
|
|
|
|
X-Runtime: ['0.027990']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['228']
|
|
|
|
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 15:28:27 +02:00
|
|
|
body: {string: '{"id":2,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
|
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 15:28:27 +02:00
|
|
|
X-Request-Id: [8c70a605-241a-4428-8c83-449b6a9a09a9]
|
|
|
|
X-Runtime: ['0.018987']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['224']
|
|
|
|
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 15:28:27 +02:00
|
|
|
body: {string: '{"id":2,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
|
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 15:28:27 +02:00
|
|
|
X-Request-Id: [1637493b-ac39-482b-9872-6a377d574442]
|
|
|
|
X-Runtime: ['0.016466']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['224']
|
|
|
|
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 15:28:27 +02:00
|
|
|
body: {string: '{"id":2,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
|
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 15:28:27 +02:00
|
|
|
X-Request-Id: [0664fb73-af67-4cbb-ab55-f4cfdf0e5a22]
|
|
|
|
X-Runtime: ['0.027340']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['228']
|
|
|
|
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 15:28:27 +02:00
|
|
|
body: {string: '{"id":2,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'}
|
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 15:28:27 +02:00
|
|
|
X-Request-Id: [fe12165a-06c0-4bce-9eb3-037c6828f0cf]
|
|
|
|
X-Runtime: ['0.022023']
|
2018-06-05 22:52:18 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['228']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|