forked from cerpus/Edlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
insomnia.yaml
220 lines (219 loc) · 6.56 KB
/
insomnia.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
_type: export
__export_format: 4
__export_date: 2021-09-30T07:49:38.335Z
__export_source: insomnia.desktop.app:v2021.5.3
resources:
- _id: req_64e0dadeb00b4369b9536d7521b51c66
parentId: fld_9015909a5ec94bd2a843391b4424f248
modified: 1632988047463
created: 1632907487251
url: "{{ _.url }}/common/app/h5p/generate-from-qa"
name: H5P - generate from QA
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"title": "This is the title",
"sharing": true,
"published": true,
"license": "by",
"authId": "1",
"questions": [
{
"type": "H5P.MultiChoice",
"text": "test",
"answers": [
{
"text": "w",
"correct": false
},
{
"text": "w2",
"correct": true
}
]
}
]
}
parameters: []
headers:
- id: pair_5811dfb15f654198937b12766d7f30a0
name: x-api-key
value: "{{ _.appAuth.secret }}"
description: ""
- id: pair_b6143656148947b39fc5fb09945a03e4
name: x-api-client-id
value: "{{ _.appAuth.clientId }}"
description: ""
- name: Content-Type
value: application/json
id: pair_a454fdc767744a80bfe55c54eefc2264
authentication: {}
metaSortKey: -1632907487251
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_9015909a5ec94bd2a843391b4424f248
parentId: fld_66678e2e7b5d4a1c98b77c4154530a49
modified: 1632907424689
created: 1632907388050
name: Common
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1632907388050
_type: request_group
- _id: fld_66678e2e7b5d4a1c98b77c4154530a49
parentId: wrk_aac3577c1fa44e6483233be9b2e02f44
modified: 1632918915161
created: 1632907414620
name: proxies
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1632907414720
_type: request_group
- _id: wrk_aac3577c1fa44e6483233be9b2e02f44
parentId: null
modified: 1632907325405
created: 1632907325405
name: Edlib
description: ""
scope: collection
_type: workspace
- _id: req_db669c2990ab45c48dab57b00b2292da
parentId: fld_5fdfa8cb9c61457cb74181c80f997e36
modified: 1632921938292
created: 1632918927855
url: "{{ _.urls.contentAuthor }}/internal/v1/contenttypes/questionsets"
name: H5P - generate from QA
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"title": "This is the title",
"sharing": true,
"published": true,
"license": "by",
"authId": "as",
"questions": [
{
"type": "H5P.MultiChoice",
"text": "test",
"answers": [
{
"text": "w",
"correct": false
},
{
"text": "w2",
"correct": true
}
]
}
]
}
parameters: []
headers:
- name: Content-Type
value: application/json
id: pair_a454fdc767744a80bfe55c54eefc2264
- id: pair_f7362920ad8845d8b3be71d5de30626d
name: x-api-key
value: keyfortest
description: ""
authentication: {}
metaSortKey: -1628928355657.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_5fdfa8cb9c61457cb74181c80f997e36
parentId: wrk_aac3577c1fa44e6483233be9b2e02f44
modified: 1632918907465
created: 1632918883985
name: Content Author
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1632907414670
_type: request_group
- _id: env_0376127161e4c58f84b574e71aa73d470de7a181
parentId: wrk_aac3577c1fa44e6483233be9b2e02f44
modified: 1632918959234
created: 1632907325408
name: Base Environment
data:
url: https://api.edlib.local
urls:
contentAuthor: https://contentauthor.local
appAuth:
clientId: d6644293-7f80-4647-a8cd-291d7582e525
secret: zZQXXlAGe5r5y1F9o+z+7k2lG1eJzqqDY6QVh3TXc/SKSRr4
dataPropertyOrder:
"&":
- url
- urls
- appAuth
"&~|urls":
- contentAuthor
"&~|appAuth":
- clientId
- secret
color: null
isPrivate: false
metaSortKey: 1632907325408
_type: environment
- _id: jar_0376127161e4c58f84b574e71aa73d470de7a181
parentId: wrk_aac3577c1fa44e6483233be9b2e02f44
modified: 1632920548459
created: 1632907325408
name: Default Jar
cookies:
- key: XSRF-TOKEN
value: eyJpdiI6Ijk0d2FxaXlHRlYrYVQ4cjFcL1JiUjFBPT0iLCJ2YWx1ZSI6Im1ITWJQVXdLQnV0WEFCeFhYdTJMRDBmeGE5b0NWZ0w4TG5PdTI0Y3dMRkpOSlRVRzBMNFFFeVVTVmtiamoyRnVGc0dQZnNRUXltaURwQmM5ZlpDR0duNGxWZDI3MHJKckoxU3htUXZTdndCY3QyS1Z6XC90TzBBcWdKcWtIWUpPbyIsIm1hYyI6IjhmYWExMWZiMjM3MmMwMWQyM2ZiMzk5ZjBhOWQxYmIwMDc2ZTg5OGYxOGQxODNjZjIzOGFiNjUzMWQyMWQ3YjEifQ%3D%3D
expires: 2021-09-29T14:36:46.000Z
maxAge: 7200
domain: contentauthor.local
path: /
secure: true
extensions:
- samesite=none
hostOnly: true
creation: 2021-09-29T12:36:46.259Z
lastAccessed: 2021-09-29T12:36:46.259Z
id: "7801301016627413"
- key: laravel_session
value: eyJpdiI6Ikk2RjZCVGFPZFNOTzZoSnNLTmVHR3c9PSIsInZhbHVlIjoiOGFmeTdcL29sQUZPYjZDOTRmN3ZoTURjc0hoU2IxXC9vZ0RyNFl3eEFzMlBUWmxCa2liUGI3RTFVRGdiV0NBY0VxQUxBOThhQzJhQ3ZmRDFPd01mM3NTT2ErUHRldGNLQ0E3N09CWTBJMkVsRTRYalFQdk1iN3djNlg0M3JhVlFwUiIsIm1hYyI6IjgxMGRlM2VhYWU5NmE0ZTYzNjA3MzllY2M2YzNlZTk3MDRlZDdiNWY5NjM4ZjRhNjYxNGM3NTBmZDc2M2NhYjQifQ%3D%3D
domain: contentauthor.local
path: /
secure: true
httpOnly: true
extensions:
- samesite=none
hostOnly: true
creation: 2021-09-29T12:36:46.260Z
lastAccessed: 2021-09-29T13:02:28.459Z
id: "7685433063580289"
_type: cookie_jar
- _id: spc_6154903e85c24cdc81470b5f2ce6bb5e
parentId: wrk_aac3577c1fa44e6483233be9b2e02f44
modified: 1632907325406
created: 1632907325406
fileName: Edlib
contents: ""
contentType: yaml
_type: api_spec