-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathInsomnia_Taskflow.yaml
More file actions
242 lines (242 loc) · 6.13 KB
/
Insomnia_Taskflow.yaml
File metadata and controls
242 lines (242 loc) · 6.13 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
type: collection.insomnia.rest/5.0
schema_version: "5.1"
name: Taskflow Service
meta:
id: wrk_bae83ac2db46447189a6f6d41012d14d
created: 1767032655722
modified: 1771459230574
description: ""
collection:
- url: http://localhost:8081/api/v1/tasks
name: TaskFlowService_GetTasks
meta:
id: req_1c23d70bf66f429d96540ed947ec2705
created: 1771457308337
modified: 1771460876078
isPrivate: false
description: ""
sortKey: -1771457308337
method: GET
headers:
- name: X-Tenant-ID
value: "{{ _.TENANT_ID }}"
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://localhost:8081/api/v1/tasks
name: TaskFlowService_CreateTask
meta:
id: req_37fd0f34d26d4e9f99344126768e4b17
created: 1771459635095
modified: 1771460880103
isPrivate: false
description: ""
sortKey: -1771456788884.5
method: POST
body:
mimeType: application/json
text: |-
{
"title": "Minha tarefa {% faker 'randomInt' %}",
"description": "Minha tarefa de teste {% faker 'randomUUID' %}"
}
headers:
- name: Content-Type
value: application/json
- name: X-Tenant-ID
value: "{{ _.TENANT_ID }}"
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://localhost:8081/api/v1/tasks/:id
name: TaskFlowService_UpdateTask
meta:
id: req_b620cf7abeca4485be498f25350ddd44
created: 1771459752262
modified: 1771460911240
isPrivate: false
description: ""
sortKey: -1771456529158.25
method: PUT
body:
mimeType: application/json
text: |-
{
"title": "Minha tarefa {% faker 'randomInt' %}",
"description": "Minha tarefa de teste {% faker 'randomUUID' %}"
}
headers:
- name: Content-Type
value: application/json
- name: X-Tenant-ID
value: "{{ _.TENANT_ID }}"
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost:8081/api/v1/tasks/:id/status
name: TaskFlowService_UpdateTaskStatus
meta:
id: req_a23359fbd907411088a19f73237bb45e
created: 1771459801928
modified: 1771608258284
isPrivate: false
description: ""
sortKey: -1771456399295.125
method: PATCH
body:
mimeType: application/json
text: |-
{
"status": "DONE"
}
headers:
- name: Content-Type
value: application/json
- name: X-Tenant-ID
value: "{{ _.TENANT_ID }}"
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost:8081/api/v1/tasks/:id/history
name: TaskFlowService_GetAllPaginatedTaskHistory
meta:
id: req_5eb78e08a5494db6aae295931733becd
created: 1771459869383
modified: 1771608547620
isPrivate: false
description: ""
sortKey: -1771457048610.75
method: GET
parameters:
- name: page
value: "1"
description: ""
disabled: false
- name: pageSize
value: "10"
description: ""
disabled: false
headers:
- name: X-Tenant-ID
value: 550e8400-e29b-41d4-a716-446655440001
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
- url: http://localhost:8081/api/v1/tasks/:id
name: TaskFlowService_DeleteTask
meta:
id: req_807480873d3f4fc8bf3603b5d1c269aa
created: 1771460134936
modified: 1771460916106
isPrivate: false
description: ""
sortKey: -1771456334263.5625
method: DELETE
headers:
- name: X-Tenant-ID
value: "{{ _.TENANT_ID }}"
description: ""
disabled: false
- name: X-User-ID
value: "{% uuid 'v4' %}"
description: ""
disabled: false
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
pathParameters:
- name: id
value: "{{ _.TASK_ID }}"
cookieJar:
name: Default Jar
meta:
id: jar_9fd202a0aa71af963c6678def8d028f57c60230f
created: 1767032655725
modified: 1767032655725
environments:
name: Base Environment
meta:
id: env_9fd202a0aa71af963c6678def8d028f57c60230f
created: 1767032655724
modified: 1767032655724
isPrivate: false
subEnvironments:
- name: Teste Envs
meta:
id: env_40863e1c9964440eaf07b4f11b46ad29
created: 1771460777166
modified: 1771608527479
isPrivate: false
sortKey: 1771460777165
data:
TENANT_ID: 550e8400-e29b-41d4-a716-446655440001
TASK_ID: 97a6fea4-0e81-11f1-af51-ff2cb06f4350