-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathReactChallenge2Insomnia.yaml
More file actions
550 lines (550 loc) · 22.2 KB
/
ReactChallenge2Insomnia.yaml
File metadata and controls
550 lines (550 loc) · 22.2 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
_type: export
__export_format: 4
__export_date: 2023-09-14T13:23:55.173Z
__export_source: insomnia.desktop.app:v2023.5.8
resources:
- _id: req_58dade89fe4a4764962c1a585504d720
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694684308467
created: 1694684256230
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: updateTaskStatus
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation updateTaskStatus($task_id: Int!, $status:
status_type_enum = OPEN) {\n update_tasks_by_pk(pk_columns: {task_id:
$task_id}, _set: {status: $status})
{\n created_at\n description\n name\n project_id\n status\n task_id\n }\n}","operationName":"updateTaskStatus"}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_b1711055017848c1b04ada4768a71e45
- name: Content-Type
value: application/json
id: pair_66e6e3770b834b9daa6fa70e1b2ef528
- id: pair_5436c24f5d5e4ac5bb8040467fb61a35
name: Authorization
value: ""
description: ""
authentication: {}
metaSortKey: -1694684225265.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_a3cedb75293c4d939e403c7a59a4225f
parentId: wrk_706d316fda584061b26e9868e04d5fa8
modified: 1694611181024
created: 1694611181024
name: TaskRequests
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1694611181024
_type: request_group
- _id: wrk_706d316fda584061b26e9868e04d5fa8
parentId: null
modified: 1694697823763
created: 1694597105414
name: ReactChallenge2.yaml
description: ""
scope: design
_type: workspace
- _id: req_d5dccfab0e534d64a2b7f6a40a578780
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694684306262
created: 1694684206728
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: updateTaskDescription
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation updateTaskDescription($task_id: Int!, $description:
String!) {\n update_tasks_by_pk(pk_columns: {task_id: $task_id}, _set:
{description: $description})
{\n created_at\n description\n name\n project_id\n status\n task_id\n }\n}","operationName":"updateTaskDescription"}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_7c7170ad2b6f420c990285c2f9689f44
- name: Content-Type
value: application/json
id: pair_0bb162a4a2824998bf823ba9ff508737
- id: pair_62642547fab842379ef7baea03f24c35
name: Authorization
value: ""
description: ""
authentication: {}
metaSortKey: -1694684206728
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_06628597200240669b28ef3aae603b46
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694693353288
created: 1694684171179
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: updateTaskName
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation updateTaskName($task_id: Int!, $name: String!)
{\n update_tasks_by_pk(pk_columns: {task_id: $task_id}, _set: {name:
$name})
{\n created_at\n description\n name\n project_id\n status\n task_id\n }\n}","operationName":"updateTaskName","variables":{"task_id":5,"name":"hahaha"}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_115c478d198942d6a056f0b5f7cf4e14
- name: Content-Type
value: application/json
id: pair_96e17a75d0d5495187efe0f83b7c14db
- id: pair_98f925c472b44c7984160ca5df6860cd
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication: {}
metaSortKey: -1694684171179
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_d35011e6d3b94a4aa14936c9551ad3d6
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694693303107
created: 1694683970838
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: getTaskById
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"query getTaskById($task_id: Int!) {\n tasks_by_pk(task_id:
$task_id)
{\n created_at\n description\n name\n project_id\n status\n task_id\n project
{\n name\n }\n }\n}","operationName":"getTaskById","variables":{"task_id":5}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_d67ecb6f53024a38a021fac45e2adfc4
- name: Content-Type
value: application/json
id: pair_f632c82ce9004091a4354b9239c1dec4
- id: pair_de8d702f8e8c47f19a4407f6ae527027
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
- id: pair_8ae8a55cbc8e4da1abf1f5f0b1e395ef
name: ""
value: ""
description: ""
authentication: {}
metaSortKey: -1694683970838
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_efe6ce46bb64447083b702e3ec3ad2d3
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694696474457
created: 1694614225380
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: deleteTask
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation deleteTask($task_id: Int!)
{\n delete_tasks_by_pk(task_id: $task_id)
{\n created_at\n description\n name\n project_id\n status\n task_id\n }\n}","operationName":"deleteTask","variables":{"task_id":5}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_e24708878c7a4454b73dad28d70db4a0
- name: Content-Type
value: application/json
id: pair_403782f489b5483eab193cbea95f0de6
- id: pair_dc0fcc1e61b7498181a55d57a6911f09
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
- id: pair_7ca3a66a28684d4d913f188d51ab6b40
name: ""
value: ""
description: ""
authentication:
type: bearer
metaSortKey: -1694614170345.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_c36c7cfe72084913aa9bc163fb3f0288
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694693132732
created: 1694614115311
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: addTask
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation addTask($description: String!, $name: String!,
$project_id: Int!, $status: status_type_enum = OPEN)
{\n insert_tasks_one(object: {description: $description, name: $name,
project_id: $project_id, status: $status})
{\n created_at\n description\n name\n project_id\n status\n task_id\n }\n}","operationName":"addTask","variables":{"description":"ahjdgk","name":"fjkdald","project_id":28}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_8abc5924c57243b2bdbbbadfd1a1188b
- name: Content-Type
value: application/json
id: pair_3ec4138b6e7141c494154bc7b8b8300b
- id: pair_68290dc1b5164d049a4934ff5730aeb9
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication:
type: bearer
metaSortKey: -1694614115311
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_d73e04d9d3af424ea46e40d5c8c73bb6
parentId: fld_a3cedb75293c4d939e403c7a59a4225f
modified: 1694693244587
created: 1694613858301
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: getTasks
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"query getTasks {\n\ttasks
{\n\t\tdescription\n\t\tname\n\t\tproject_id\n\t\tstatus\n\t\ttask_id\n\t}\n}\n","operationName":"getTasks"}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_eb5af0c197db4f74b6edc1dbad245f61
- name: Content-Type
value: application/json
id: pair_b877b989f7734e51bbfe2ae29cfd6246
- id: pair_4c4d086e8f3345e3aacc321a27e387f4
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication:
type: bearer
metaSortKey: -1694613858301
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_608a530c7fff44808af46e701696a292
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694693215449
created: 1694614082501
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: getProjectAndTasksByProjectId
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"query getProjectAndTasksByProjectId($project_id: Int!)
{\n projects(where: {project_id: {_eq: $project_id}})
{\n created_at\n description\n email_address\n name\n project_id\n tasks
{\n created_at\n description\n name\n status\n task_id\n }\n }\n}","operationName":"getProjectAndTasksByProjectId","variables":{"project_id":28}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_dd4e7783d2474ecc93de5edb3f7e2d7b
- name: Content-Type
value: application/json
id: pair_2ad7b488e7cb4bb0b594b9e89ea3fc45
- id: pair_29fb034cb9f64e0688bcb4382ad9c209
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication:
type: bearer
metaSortKey: -1694684096254
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_a8e6e58ec8264fb4a69f346f4072a0ad
parentId: wrk_706d316fda584061b26e9868e04d5fa8
modified: 1694611170735
created: 1694611170735
name: ProjectRequests
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1694611170735
_type: request_group
- _id: req_63c1c110965c486986dd0c6f3a7683a6
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694684289823
created: 1694684096154
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: updateProjectDescription
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation updateProjectDescription($project_id: Int!,
$description: String!) {\n update_projects_by_pk(pk_columns:
{project_id: $project_id}, _set: {description: $description})
{\n created_at\n description\n email_address\n name\n project_id\n }\n}","operationName":"updateProjectDescription"}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_68be6168d2214358b414ca9276d9b2c9
- name: Content-Type
value: application/json
id: pair_2fbae2b5e7e44923a71604ebe4f419a9
- id: pair_67fc20bddb8943f4b5c73d2b08b697e1
name: Authorization
value: ""
description: ""
authentication: {}
metaSortKey: -1694684096154
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_1d226e23cc414859a985e412ceb464e2
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694692798837
created: 1694684042160
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: updateProjectName
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation updateProjectName($project_id: Int!, $name: String!)
{\n\tupdate_projects_by_pk(\n\t\tpk_columns: { project_id: $project_id
}\n\t\t_set: { name: $name }\n\t)
{\n\t\tcreated_at\n\t\tdescription\n\t\temail_address\n\t\tname\n\t\tproject_id\n\t}\n}\n","operationName":"updateProjectName","variables":{"project_id":27,"name":"changed"}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_a2cfd9168e554256a64695d92b339cbb
- name: Content-Type
value: application/json
id: pair_f36687cbde3b43f0befea1feb0a5edc1
- id: pair_f964b1ccf357476293b1898834d3a7b0
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication: {}
metaSortKey: -1694684042160
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_1263fd435abb4f44a3743710c58f1fb5
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694692981262
created: 1694611879819
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: deleteProject
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation deleteProject($project_id: Int!)
{\n delete_projects_by_pk(project_id: $project_id) {\n tasks
{\n project_id\n\t\t\ttask_id\n name\n }\n name\n email_address\n project_id\n description\n created_at\n }\n}","operationName":"deleteProject","variables":{"project_id":27}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_e464f4356b004c07a6d3f0e217aeb9e7
- name: Content-Type
value: application/json
id: pair_a0e04eb0651a4e6e844fc008fc105d44
- id: pair_54e90936c14c4acab783bb390a1475d4
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication:
type: bearer
token: ""
metaSortKey: -1694611879819
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_24069c464b634c4ab21c77ecde779b43
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694692668248
created: 1694611307379
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: addProject
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"mutation addProject($description: String!, $name: String!)
{\n insert_projects_one(object: {description: $description, name:
$name})
{\n created_at\n description\n email_address\n name\n project_id\n }\n}","operationName":"addProject","variables":{"name":"Projekt3","description":"Beispiel1"}}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_1e9beb9d2434437e9664618e14bb7e7f
- name: Content-Type
value: application/json
id: pair_a6ab9b5e13894c6c81e3babf85697c7e
- id: pair_39054cb9afa946ad8eb49067927adfcb
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
- id: pair_162ac6add22446d58260d3b0d1c952c4
name: ""
value: ""
description: ""
authentication: {}
metaSortKey: -1694611307379
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_e9fb1ee77bb64f8bad69a9f2548f8f9e
parentId: fld_a8e6e58ec8264fb4a69f346f4072a0ad
modified: 1694692600375
created: 1694611226437
url: https://react-challenge.deploy.selectcode.dev/v1/graphql
name: getProjects
description: ""
method: POST
body:
mimeType: application/graphql
text: '{"query":"query getProjects {\n projects
{\n project_id\n name\n description\n created_at\n email_address\n project_id\n }\n}","operationName":"getProjects"}'
parameters: []
headers:
- name: User-Agent
value: insomnia/2023.5.8
id: pair_9dc2bf4c60b24a4f897003548154ddf5
- name: Content-Type
value: application/json
id: pair_27730441284b49aca02d5689ce6d8866
- id: pair_b2cae90264994b00850b057e948fc224
name: Authorization
value: Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJodHRwczovL2hhc3VyYS5pby9qd3QvY2xhaW1zIjp7IngtaGFzdXJhLWRlZmF1bHQtcm9sZSI6InVzZXIiLCJ4LWhhc3VyYS1hbGxvd2VkLXJvbGVzIjpbInVzZXIiLCJhZG1pbiJdLCJ4LWhhc3VyYS11c2VyLWVtYWlsLWFkZHJlc3MiOiJkb21pbmlrLnN0b3Jja0BzZWxlY3Rjb2RlLmRlIn0sImlhdCI6MTY5NDYxMzYxMn0.Y_QqXpI_bMZ4GMyA8vG1lZPYU8QpL_APwNdJs7eLRJ4
description: ""
authentication: {}
metaSortKey: -1694611226437
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_b36222d7e1f95a0d4cbe728a3ade8c64b63d5f9e
parentId: wrk_706d316fda584061b26e9868e04d5fa8
modified: 1694597105422
created: 1694597105422
name: Base Environment
data: {}
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1694597105422
_type: environment
- _id: jar_b36222d7e1f95a0d4cbe728a3ade8c64b63d5f9e
parentId: wrk_706d316fda584061b26e9868e04d5fa8
modified: 1694597105425
created: 1694597105425
name: Default Jar
cookies: []
_type: cookie_jar
- _id: spc_c26e2e22adbd4a3c9355a3e779de8cae
parentId: wrk_706d316fda584061b26e9868e04d5fa8
modified: 1694697823761
created: 1694597105419
fileName: ReactChallenge2.yaml
contents: ""
contentType: yaml
_type: api_spec