Skip to content

Commit 06c1415

Browse files
author
Sebastian Molenda
committed
Tests pt.4 Final
1 parent 3c88180 commit 06c1415

31 files changed

Lines changed: 4008 additions & 0 deletions
Lines changed: 182 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,182 @@
1+
{
2+
"version": 1,
3+
"interactions": [
4+
{
5+
"request": {
6+
"method": "GET",
7+
"uri": "https://ps.pndsn.com/v1/push/sub-key/{PN_KEY_SUBSCRIBE}/devices/0000000000000000?add=channel_op_1%2Cchannel_op_2%2Cchannel_op_3&type=apns&uuid=test-uuid",
8+
"body": "",
9+
"headers": {
10+
"host": [
11+
"ps.pndsn.com"
12+
],
13+
"accept": [
14+
"*/*"
15+
],
16+
"accept-encoding": [
17+
"gzip, deflate"
18+
],
19+
"connection": [
20+
"keep-alive"
21+
],
22+
"user-agent": [
23+
"PubNub-Python/10.4.0"
24+
]
25+
}
26+
},
27+
"response": {
28+
"status": {
29+
"code": 200,
30+
"message": "OK"
31+
},
32+
"headers": {
33+
"Date": [
34+
"Thu, 05 Jun 2025 13:17:27 GMT"
35+
],
36+
"Content-Type": [
37+
"text/javascript; charset=\"UTF-8\""
38+
],
39+
"Content-Length": [
40+
"24"
41+
],
42+
"Connection": [
43+
"keep-alive"
44+
],
45+
"Cache-Control": [
46+
"no-cache"
47+
],
48+
"Access-Control-Allow-Methods": [
49+
"GET, POST, DELETE, OPTIONS"
50+
],
51+
"Access-Control-Allow-Credentials": [
52+
"true"
53+
],
54+
"Access-Control-Expose-Headers": [
55+
"*"
56+
]
57+
},
58+
"body": {
59+
"pickle": "gASVKAAAAAAAAAB9lIwGc3RyaW5nlIwYWzEsICJNb2RpZmllZCBDaGFubmVscyJdlHMu"
60+
}
61+
}
62+
},
63+
{
64+
"request": {
65+
"method": "GET",
66+
"uri": "https://ps.pndsn.com/v1/push/sub-key/{PN_KEY_SUBSCRIBE}/devices/0000000000000000?remove=channel_op_1&type=apns&uuid=test-uuid",
67+
"body": "",
68+
"headers": {
69+
"host": [
70+
"ps.pndsn.com"
71+
],
72+
"accept": [
73+
"*/*"
74+
],
75+
"accept-encoding": [
76+
"gzip, deflate"
77+
],
78+
"connection": [
79+
"keep-alive"
80+
],
81+
"user-agent": [
82+
"PubNub-Python/10.4.0"
83+
]
84+
}
85+
},
86+
"response": {
87+
"status": {
88+
"code": 200,
89+
"message": "OK"
90+
},
91+
"headers": {
92+
"Date": [
93+
"Thu, 05 Jun 2025 13:17:27 GMT"
94+
],
95+
"Content-Type": [
96+
"text/javascript; charset=\"UTF-8\""
97+
],
98+
"Content-Length": [
99+
"24"
100+
],
101+
"Connection": [
102+
"keep-alive"
103+
],
104+
"Cache-Control": [
105+
"no-cache"
106+
],
107+
"Access-Control-Allow-Methods": [
108+
"GET, POST, DELETE, OPTIONS"
109+
],
110+
"Access-Control-Allow-Credentials": [
111+
"true"
112+
],
113+
"Access-Control-Expose-Headers": [
114+
"*"
115+
]
116+
},
117+
"body": {
118+
"pickle": "gASVKAAAAAAAAAB9lIwGc3RyaW5nlIwYWzEsICJNb2RpZmllZCBDaGFubmVscyJdlHMu"
119+
}
120+
}
121+
},
122+
{
123+
"request": {
124+
"method": "GET",
125+
"uri": "https://ps.pndsn.com/v1/push/sub-key/{PN_KEY_SUBSCRIBE}/devices/0000000000000000/remove?type=apns&uuid=test-uuid",
126+
"body": "",
127+
"headers": {
128+
"host": [
129+
"ps.pndsn.com"
130+
],
131+
"accept": [
132+
"*/*"
133+
],
134+
"accept-encoding": [
135+
"gzip, deflate"
136+
],
137+
"connection": [
138+
"keep-alive"
139+
],
140+
"user-agent": [
141+
"PubNub-Python/10.4.0"
142+
]
143+
}
144+
},
145+
"response": {
146+
"status": {
147+
"code": 200,
148+
"message": "OK"
149+
},
150+
"headers": {
151+
"Date": [
152+
"Thu, 05 Jun 2025 13:17:27 GMT"
153+
],
154+
"Content-Type": [
155+
"text/javascript; charset=\"UTF-8\""
156+
],
157+
"Content-Length": [
158+
"21"
159+
],
160+
"Connection": [
161+
"keep-alive"
162+
],
163+
"Cache-Control": [
164+
"no-cache"
165+
],
166+
"Access-Control-Allow-Methods": [
167+
"GET, POST, DELETE, OPTIONS"
168+
],
169+
"Access-Control-Allow-Credentials": [
170+
"true"
171+
],
172+
"Access-Control-Expose-Headers": [
173+
"*"
174+
]
175+
},
176+
"body": {
177+
"pickle": "gASVJQAAAAAAAAB9lIwGc3RyaW5nlIwVWzEsICJSZW1vdmVkIERldmljZSJdlHMu"
178+
}
179+
}
180+
}
181+
]
182+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"version": 1,
3+
"interactions": [
4+
{
5+
"request": {
6+
"method": "GET",
7+
"uri": "https://ps.pndsn.com/v2/push/sub-key/{PN_KEY_SUBSCRIBE}/devices-apns2/0000000000000000/remove?environment=development&topic=com.example.testapp.notifications&uuid=test-uuid",
8+
"body": "",
9+
"headers": {
10+
"host": [
11+
"ps.pndsn.com"
12+
],
13+
"accept": [
14+
"*/*"
15+
],
16+
"accept-encoding": [
17+
"gzip, deflate"
18+
],
19+
"connection": [
20+
"keep-alive"
21+
],
22+
"user-agent": [
23+
"PubNub-Python/10.4.0"
24+
]
25+
}
26+
},
27+
"response": {
28+
"status": {
29+
"code": 200,
30+
"message": "OK"
31+
},
32+
"headers": {
33+
"Date": [
34+
"Thu, 05 Jun 2025 13:17:28 GMT"
35+
],
36+
"Content-Type": [
37+
"text/javascript; charset=\"UTF-8\""
38+
],
39+
"Content-Length": [
40+
"21"
41+
],
42+
"Connection": [
43+
"keep-alive"
44+
],
45+
"Cache-Control": [
46+
"no-cache"
47+
],
48+
"Access-Control-Allow-Methods": [
49+
"GET, POST, DELETE, OPTIONS"
50+
],
51+
"Access-Control-Allow-Credentials": [
52+
"true"
53+
],
54+
"Access-Control-Expose-Headers": [
55+
"*"
56+
]
57+
},
58+
"body": {
59+
"pickle": "gASVJQAAAAAAAAB9lIwGc3RyaW5nlIwVWzEsICJSZW1vdmVkIERldmljZSJdlHMu"
60+
}
61+
}
62+
}
63+
]
64+
}

0 commit comments

Comments
 (0)