You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Test API to see if processors are working.\n\n- [ ] Create a challenge using v5 API, make sure it goes back into v4 correctly\n- [ ] Review the legacy processor to make sure the updated properties correctly update v5 data. The following properties must be updated when a challenge gets created on legacy by the processor:\n - [ ] `legacy.directProjectId`\n - [ ] `legacy.forumId`\n - [ ] `legacy.informixModified`\n - [ ] `legacyId`",
"description": "The legacy processor should ingore the event if the `challenge.status` is `New`"
134
+
},
135
+
"response": []
136
+
},
137
+
{
138
+
"name": "Get challenge",
139
+
"request": {
140
+
"method": "GET",
141
+
"header": [
142
+
{
143
+
"key": "Authorization",
144
+
"type": "text",
145
+
"value": "Bearer {{TOKEN}}"
146
+
}
147
+
],
148
+
"url": {
149
+
"raw": "{{URL}}/challenges/{{CHALLENGE_ID}}",
150
+
"host": [
151
+
"{{URL}}"
152
+
],
153
+
"path": [
154
+
"challenges",
155
+
"{{CHALLENGE_ID}}"
156
+
]
157
+
}
158
+
},
159
+
"response": []
160
+
},
161
+
{
162
+
"name": "Update challenge status to Draft",
163
+
"request": {
164
+
"method": "PATCH",
165
+
"header": [
166
+
{
167
+
"key": "Authorization",
168
+
"type": "text",
169
+
"value": "Bearer {{TOKEN}}"
170
+
}
171
+
],
172
+
"body": {
173
+
"mode": "raw",
174
+
"raw": "{\n\"status\": \"Draft\"\n}",
175
+
"options": {
176
+
"raw": {
177
+
"language": "json"
178
+
}
179
+
}
180
+
},
181
+
"url": {
182
+
"raw": "{{URL}}/challenges/{{CHALLENGE_ID}}",
183
+
"host": [
184
+
"{{URL}}"
185
+
],
186
+
"path": [
187
+
"challenges",
188
+
"{{CHALLENGE_ID}}"
189
+
]
190
+
},
191
+
"description": "The legacy processor should create the challenge on legacy"
192
+
},
193
+
"response": []
194
+
},
195
+
{
196
+
"name": "Update challenge status to Active",
197
+
"request": {
198
+
"method": "PATCH",
199
+
"header": [
200
+
{
201
+
"key": "Authorization",
202
+
"type": "text",
203
+
"value": "Bearer {{TOKEN}}"
204
+
}
205
+
],
206
+
"body": {
207
+
"mode": "raw",
208
+
"raw": "{\n\"status\": \"Active\"\n}",
209
+
"options": {
210
+
"raw": {
211
+
"language": "json"
212
+
}
213
+
}
214
+
},
215
+
"url": {
216
+
"raw": "{{URL}}/challenges/{{CHALLENGE_ID}}",
217
+
"host": [
218
+
"{{URL}}"
219
+
],
220
+
"path": [
221
+
"challenges",
222
+
"{{CHALLENGE_ID}}"
223
+
]
224
+
},
225
+
"description": "If the `challenge.legacy.directProjectId` is not set, meaning the challenge wasn't yet created on the legacy system, this will fail. Otherwise, the processor will activate the challenge on the legacy system."
226
+
},
227
+
"response": []
228
+
},
229
+
{
230
+
"name": "Update challenge status to Completed and set winner",
0 commit comments