aboutsummaryrefslogtreecommitdiff
blob: e0c1fa429ad47f44ce50ae41dff3a83313e07075 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
interactions:
- request:
    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
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['388']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/push/subscription
  response:
    body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
    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: [dce13274-504f-4258-9c96-803874768b33]
      X-Runtime: ['0.027264']
      X-XSS-Protection: [1; mode=block]
      content-length: ['229']
    status: {code: 200, message: OK}
- request:
    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
    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]
      User-Agent: [python-requests/2.18.4]
    method: PUT
    uri: http://localhost:3000/api/v1/push/subscription
  response:
    body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
    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: [618b7132-e767-40b5-8d45-a75379cb4e2e]
      X-Runtime: ['0.040108']
      X-XSS-Protection: [1; mode=block]
      content-length: ['225']
    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":14,"endpoint":"https://example.com","alerts":{"follow":"True","favourite":"True","reblog":"True","mention":"True"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
    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: [ae7f8cd0-7fbd-4656-93ee-0d1908cbf023]
      X-Runtime: ['0.052002']
      X-XSS-Protection: [1; mode=block]
      content-length: ['225']
    status: {code: 200, message: OK}
- request:
    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
    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]
      User-Agent: [python-requests/2.18.4]
    method: PUT
    uri: http://localhost:3000/api/v1/push/subscription
  response:
    body: {string: '{"id":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
    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: [62d2ea53-af2d-4855-87e4-ae49bed448ad]
      X-Runtime: ['0.046968']
      X-XSS-Protection: [1; mode=block]
      content-length: ['229']
    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":14,"endpoint":"https://example.com","alerts":{"follow":"False","favourite":"False","reblog":"False","mention":"False"},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
    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: [a0001fc1-ac0f-41ac-be02-08533b54d277]
      X-Runtime: ['0.032558']
      X-XSS-Protection: [1; mode=block]
      content-length: ['229']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)