-
Notifications
You must be signed in to change notification settings - Fork 2
/
insomnia collection.yaml
327 lines (293 loc) · 8.17 KB
/
insomnia collection.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
_type: export
__export_format: 4
__export_date: 2021-02-13T03:04:44.127Z
__export_source: insomnia.desktop.app:v2020.5.2
resources:
- _id: req_da55cb32c1204b8cb82c879db3703831
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613184115859
created: 1612309771912
url: "{{ base_url }}/login"
name: Login
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"username": "[email protected]",
"password": "root"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_7a37f12e34ab4434bf7c03cb89ef2398
authentication: {}
metaSortKey: -1613183168266
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: wrk_b1d52629a4634d4eb838db08b0aa5e52
parentId: null
modified: 1613183168222
created: 1612308543498
name: Simple Auth CRUD Example
description: Simple Auth CRUD Example
scope: null
_type: workspace
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e52cd1c58ae
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613184116944
created: 1613183168215
url: "{{ base_url }}/users/me"
name: GET users/me
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183168241
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e5202231431
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613183417632
created: 1613183168216
url: "{{ base_url }}/users"
name: GET users
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183168216
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e52cabf3666
parentId: fld_6549f288baeb4f5888e97c445e32f87e
modified: 1613184097408
created: 1612308543528
url: "{{ base_url }}/todos"
name: GET todos
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183627844.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_6549f288baeb4f5888e97c445e32f87e
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613184112097
created: 1613184087473
name: Todos
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1612308543475
_type: request_group
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e52151cddb4
parentId: fld_6549f288baeb4f5888e97c445e32f87e
modified: 1613184102486
created: 1612308543526
url: "{{ base_url }}/todos"
name: POST todos
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"description": "Code all day"
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_0735960c103c431a8406b935d8f6c264
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183627794.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e5296ffa35e
parentId: fld_6549f288baeb4f5888e97c445e32f87e
modified: 1613184107171
created: 1612308543516
url: "{{ base_url }}/todos/{{ _.lastAddedId }}"
name: DELETE todos/{id}
description: ""
method: DELETE
body: {}
parameters: []
headers: []
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183627769.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_wrk_b1d52629a4634d4eb838db08b0aa5e529b037f99
parentId: fld_6549f288baeb4f5888e97c445e32f87e
modified: 1613184104913
created: 1612308543524
url: "{{ base_url }}/todos/{{ _.lastAddedId }}"
name: PUT todos/{id}
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"done": true
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_bff8a3ce30494879a8cfb92869c38af8
authentication:
type: bearer
token: "{{ _.token }}"
metaSortKey: -1613183627744.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_7f3e270199676dd5bae9644637e809c33639a11d
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613183168220
created: 1612308543530
name: Base environment
data:
base_url: "{{ scheme }}://{{ host }}{{ base_path }}"
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1612308543530
_type: environment
- _id: jar_7f3e270199676dd5bae9644637e809c33639a11d
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1612308543603
created: 1612308543603
name: Default Jar
cookies: []
_type: cookie_jar
- _id: spc_9feab92e9eb94782924b23921158dc74
parentId: wrk_b1d52629a4634d4eb838db08b0aa5e52
modified: 1613183168224
created: 1612308543499
fileName: Imported Workspace
contents: "openapi: \"3.0.3\"\r
info:\r
\ title: \"gab-web API\"\r
\ description: \"gab-web API\"\r
\ version: \"1.0.0\"\r
servers:\r
\ - url: \"https://localhost:8080\"\r
paths:\r
\ /users:\r
\ get:\r
\ summary: \"GET users\"\r
\ responses:\r
\ 200:\r
\ description: \"OK\"\r
\ /users/me:\r
\ get:\r
\ summary: \"GET users/me\"\r
\ responses:\r
\ 200:\r
\ description: \"OK\"\r
\ /todos:\r
\ post:\r
\ summary: \"POST todos\"\r
\ responses:\r
\ 200:\r
\ description: \"OK\"\r
\ /todos/{id}:\r
\ delete:\r
\ summary: \"DELETE todos/{id}\"\r
\ parameters:\r
\ - name: \"id\"\r
\ in: \"path\"\r
\ responses:\r
\ 200:\r
\ description: \"OK\""
contentType: yaml
_type: api_spec
- _id: env_env_7f3e270199676dd5bae9644637e809c33639a11d_sub
parentId: env_7f3e270199676dd5bae9644637e809c33639a11d
modified: 1613184021325
created: 1612308543531
name: OpenAPI env
data:
scheme: http
base_path: ""
host: localhost:8080
token: "{% response 'body', 'req_da55cb32c1204b8cb82c879db3703831',
'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'never', 60 %}"
lastAddedId: "{% response 'body',
'req_wrk_b1d52629a4634d4eb838db08b0aa5e52cabf3666',
'b64::JFstMTpdLmlk::46b', 'always', 60 %}"
dataPropertyOrder:
"&":
- scheme
- base_path
- host
- token
- lastAddedId
color: null
isPrivate: false
metaSortKey: 1612308543531
_type: environment