-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_2022-01-04.yaml
334 lines (334 loc) · 9.52 KB
/
Insomnia_2022-01-04.yaml
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
_type: export
__export_format: 4
__export_date: 2022-01-05T01:50:24.909Z
__export_source: insomnia.desktop.app:v2021.7.2
resources:
- _id: req_0538845173d241248bb6233df97f19f1
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641340985529
created: 1641340214053
url: "{{ _.baseURL }}/deliveryman"
name: Create
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "Bruno",
"password": "bruno123"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_bafa71442fd64c788588e62106cf78b5
authentication: {}
metaSortKey: -1641286695434
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_0c183ab67c6b49ad884df6d3dcbba054
parentId: wrk_61f449353bc24a23856682cee14beb5c
modified: 1641340209133
created: 1641340209133
name: Deliveryman
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1641340209134
_type: request_group
- _id: wrk_61f449353bc24a23856682cee14beb5c
parentId: null
modified: 1641233593628
created: 1641233593628
name: Ignite
description: ""
scope: design
_type: workspace
- _id: req_5a2bee5038ad4c358ec1ad620b8ab82f
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641341018274
created: 1641340256913
url: "{{ _.baseURL }}/deliveryman/session"
name: Session
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "Bruno",
"password": "bruno123"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_122770e2aa2c44d6b0e62e8f7aca9d85
authentication: {}
metaSortKey: -1641286695384
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_4ddfd92d00e7441c945226658274b234
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641341159855
created: 1641340279452
url: "{{ _.baseURL }}/deliveryman/deliveries"
name: Get my deliveries
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.tokenDeliveryman }}"
metaSortKey: -1641286695334
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_1033720de0ea453094350961f54e9fd3
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641341166314
created: 1641340503406
url: "{{ _.baseURL }}/deliveries/available"
name: Deliveries available
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.tokenDeliveryman }}"
metaSortKey: -1641286695309
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_97d5589678e9438bb7e55b7e2457b825
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641341138885
created: 1641340405067
url: "{{ _.baseURL
}}/deliveries/updateDeliveryman/3b50ed3e-9049-4c77-ba45-4a44d1159e0c"
name: Accept delivery
description: ""
method: PUT
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.tokenDeliveryman }}"
metaSortKey: -1641286695284
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_d088dcac9cda457ba9b89d31dcead1cc
parentId: fld_0c183ab67c6b49ad884df6d3dcbba054
modified: 1641341146037
created: 1641340441857
url: "{{ _.baseURL
}}/deliveries/updateEndDate/3b50ed3e-9049-4c77-ba45-4a44d1159e0c"
name: Finish delivery
description: ""
method: PUT
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.tokenDeliveryman }}"
metaSortKey: -1641286695234
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_93ee6c48772a461a9c47e69e7ed534c4
parentId: fld_a0434dbe7f974cc4be74e1e8dee2dfe9
modified: 1641340834541
created: 1641233637885
url: "{{ _.baseURL }}/clients"
name: Create
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "Anderson",
"password": "anderson123"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_bafa71442fd64c788588e62106cf78b5
authentication: {}
metaSortKey: -1641286695459
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_a0434dbe7f974cc4be74e1e8dee2dfe9
parentId: wrk_61f449353bc24a23856682cee14beb5c
modified: 1641339753033
created: 1641339753033
name: Client
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1641339753033
_type: request_group
- _id: req_51d952b58a334adfb91f6d7ea49666e9
parentId: fld_a0434dbe7f974cc4be74e1e8dee2dfe9
modified: 1641340891534
created: 1641339786462
url: "{{ _.baseURL }}/clients/session"
name: Session
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "Anderson",
"password": "anderson123"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_122770e2aa2c44d6b0e62e8f7aca9d85
authentication: {}
metaSortKey: -1641286695409
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_f44635aaeafa432bb5eaa04319e7e48b
parentId: fld_a0434dbe7f974cc4be74e1e8dee2dfe9
modified: 1641341173376
created: 1641340060472
url: "{{ _.baseURL }}/deliveries"
name: Create delivery
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"item_name": "Monitor AOC 24 / 144hz"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_3eb17f5ebe01446fbdc4711c5c11a860
authentication:
type: bearer
token: "{{ _.tokenClient }}"
metaSortKey: -1641286695309
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_802d08be1ac54cd5b7b5eda24db2cf0a
parentId: fld_a0434dbe7f974cc4be74e1e8dee2dfe9
modified: 1641347372831
created: 1641339903523
url: "{{ _.baseURL }}/clients/deliveries"
name: Get my deliveries
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.tokenClient }}"
metaSortKey: -1641286695259
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_058512c25d2b1ad64878e48621d6c5a90eda6525
parentId: wrk_61f449353bc24a23856682cee14beb5c
modified: 1641341018103
created: 1641233593632
name: Base Environment
data:
baseURL: http://localhost:3333
tokenClient: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NDEzNDA4ODEsImV4cCI6MTY0MTQyNzI4MSwic3ViIjoiZWVhZjkzMGMtOWY4Yy00MDcyLTgyZGYtNDg4ZGVhZjdkZGQ3In0.YzBBVqhWFX3tiz7Ny692KInkTXc0MnpV6ioTx_Qxo68
tokenDeliveryman: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NDEzNDEwMTAsImV4cCI6MTY0MTQyNzQxMCwic3ViIjoiMzVlMjQwYjEtNTgxOS00OGZlLWEzNmUtNTZkMmU4ZmU0MTEwIn0.8kbGICA9sgCtTdwtTyNbqXe_2Jxq0HdYex-Jm6Lb6iY
dataPropertyOrder:
"&":
- baseURL
- tokenClient
- tokenDeliveryman
color: null
isPrivate: false
metaSortKey: 1641233593632
_type: environment
- _id: jar_058512c25d2b1ad64878e48621d6c5a90eda6525
parentId: wrk_61f449353bc24a23856682cee14beb5c
modified: 1641233593633
created: 1641233593633
name: Default Jar
cookies: []
_type: cookie_jar
- _id: spc_a2155790643d4c1a9996b096ad01c025
parentId: wrk_61f449353bc24a23856682cee14beb5c
modified: 1641347359846
created: 1641233593629
fileName: Delivery Fast
contents: ""
contentType: yaml
_type: api_spec