-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsomnia_Boardcamp-api
288 lines (288 loc) · 7.72 KB
/
Insomnia_Boardcamp-api
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
_type: export
__export_format: 4
__export_date: 2024-05-15T15:25:54.582Z
__export_source: insomnia.desktop.app:v8.6.0
resources:
- _id: req_fe6dbab56f4b4372928b21b4eaefa4c2
parentId: fld_7013a25a52904f47adbeb6217c91e3f5
modified: 1715722512361
created: 1707514240512
url: "{{ _.uri }}/rentals"
name: /rentals
description: ""
method: GET
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707514571073
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_7013a25a52904f47adbeb6217c91e3f5
parentId: wrk_b21df78670bf4ea6b5313fa3b9719064
modified: 1707514237684
created: 1707514237684
name: rentals
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1707514237684
_type: request_group
- _id: wrk_b21df78670bf4ea6b5313fa3b9719064
parentId: null
modified: 1707460110442
created: 1707460110442
name: Boardcamp JAVA
description: ""
scope: collection
_type: workspace
- _id: req_770d860d1ba4465689b19ebf6ff207ee
parentId: fld_7013a25a52904f47adbeb6217c91e3f5
modified: 1707653665410
created: 1707514580873
url: "{{ _.uri }}/rentals"
name: /rentals
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"customerId" : 1,
"gameId": 1,
"daysRented" : 3
}
parameters: []
headers:
- name: Content-Type
value: application/json
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707512035036
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_85a967372775469393def78b33e91951
parentId: fld_7013a25a52904f47adbeb6217c91e3f5
modified: 1715723189648
created: 1707523289972
url: "{{ _.uri }}/rentals/2/return"
name: /rentals/:id/return
description: ""
method: PUT
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707512034936
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_989907837dbe40ff8f5113d0aafaf963
parentId: fld_feeedc9ad9b44fc1ade7f325a40861ef
modified: 1715532049221
created: 1707509497127
url: "{{ _.uri }}/games"
name: /games
description: ""
method: GET
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707509498999
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_feeedc9ad9b44fc1ade7f325a40861ef
parentId: wrk_b21df78670bf4ea6b5313fa3b9719064
modified: 1707509494461
created: 1707509494461
name: games
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1707509494461
_type: request_group
- _id: req_81e54a4d589e40a19da830b87dce8350
parentId: fld_feeedc9ad9b44fc1ade7f325a40861ef
modified: 1707653508480
created: 1707509535111
url: "{{ _.uri }}/games"
name: /games
description: ""
method: POST
body:
mimeType: application/json
text: >-
{
"name" : "Jogo da vida",
"image" : "https://m.media-amazon.com/images/I/61d+ZX8M7ML._AC_UF894,1000_QL80_.jpg",
"stockTotal" : 2,
"pricePerDay": 1500
}
parameters: []
headers:
- name: Content-Type
value: application/json
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707485108016.5
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_d6ea67dd4f2b4a198ee9e058c21c91c2
parentId: fld_0373dfe29beb4acdbe3236106b194267
modified: 1715696224321
created: 1715692518309
url: "{{ _.uri }}/customers"
name: /customers
description: ""
method: GET
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.6.0
authentication: {}
metaSortKey: -1707460717134
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_0373dfe29beb4acdbe3236106b194267
parentId: wrk_b21df78670bf4ea6b5313fa3b9719064
modified: 1707460670296
created: 1707460670296
name: customers
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1707460670296
_type: request_group
- _id: req_55d3a105509d4eb196f880fc5c0b40fe
parentId: fld_0373dfe29beb4acdbe3236106b194267
modified: 1707653541702
created: 1707460116933
url: "{{ _.uri }}/customers/1"
name: /customers/:customerId
description: ""
method: GET
body: {}
parameters: []
headers:
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707460717034
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_0d5d603d30e4459c96605738a4029c5e
parentId: fld_0373dfe29beb4acdbe3236106b194267
modified: 1715722996619
created: 1707460715001
url: "{{ _.uri }}/customers"
name: /customers
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"name": "João Alfredo",
"cpf": "01234567890",
"phone": "21999990909"
}
parameters: []
headers:
- name: Content-Type
value: application/json
- name: User-Agent
value: insomnia/8.5.1
authentication: {}
metaSortKey: -1707460716934
isPrivate: false
pathParameters: []
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_7ee4aa8584ccb821f6607d23eccc3df313a894f1
parentId: wrk_b21df78670bf4ea6b5313fa3b9719064
modified: 1715786688771
created: 1707460110444
name: Base Environment
data:
uri: http://3.138.111.230:80
DEV: http://localhost:8080
DEPLOY: http://3.138.111.230:80
dataPropertyOrder:
"&":
- uri
- DEV
- DEPLOY
color: null
isPrivate: false
metaSortKey: 1707460110444
_type: environment
- _id: jar_7ee4aa8584ccb821f6607d23eccc3df313a894f1
parentId: wrk_b21df78670bf4ea6b5313fa3b9719064
modified: 1707460110445
created: 1707460110445
name: Default Jar
cookies: []
_type: cookie_jar