@@ -12,16 +12,73 @@ tags:
12
12
description : " Template files to serve as reference for multitude of tasks"
13
13
- name : " uploads"
14
14
description : " Upload files for batch processing"
15
- - name : " skills"
16
- description : " Skills endpoints"
17
- externalDocs :
18
- description : " Proxy to EMSI skills"
19
- url : " https://api.emsidata.com/apis/skills-classification#get-search-for-skills"
20
15
schemes :
21
16
- " https"
22
17
- " http"
23
18
paths :
24
19
/templates :
20
+ get :
21
+ summary : " Get all templates"
22
+ description : |
23
+ "Return all templates. You can filter by the name"
24
+ tags :
25
+ - " templates"
26
+ operationId : " getTemplates"
27
+ parameters :
28
+ - name : " name"
29
+ in : " query"
30
+ description : " The name of templates"
31
+ required : false
32
+ type : " string"
33
+ responses :
34
+ " 200 " :
35
+ description : " Success"
36
+ schema :
37
+ type : array
38
+ items :
39
+ $ref : ' #/definitions/Template'
40
+ " 400 " :
41
+ $ref : " #/definitions/BadRequest"
42
+ " 401 " :
43
+ $ref : " #/definitions/Unauthorized"
44
+ " 403 " :
45
+ $ref : " #/definitions/Forbidden"
46
+ " 404 " :
47
+ $ref : " #/definitions/NotFound"
48
+ " 500 " :
49
+ $ref : " #/definitions/ServerError"
50
+ security :
51
+ - api_key : []
52
+ x-swagger-router-controller : " Templates"
53
+
54
+ head :
55
+ summary : " Get only status code for fetching all templates"
56
+ description : " Equivalent to GET /templates, but returns only status codes"
57
+ tags :
58
+ - " templates"
59
+ operationId : " headTemplates"
60
+ parameters :
61
+ - name : " name"
62
+ in : " query"
63
+ description : " The name of templates"
64
+ required : false
65
+ type : " string"
66
+ responses :
67
+ " 200 " :
68
+ description : " Success"
69
+ " 400 " :
70
+ $ref : " #/definitions/BadRequest"
71
+ " 401 " :
72
+ $ref : " #/definitions/Unauthorized"
73
+ " 403 " :
74
+ $ref : " #/definitions/Forbidden"
75
+ " 404 " :
76
+ $ref : " #/definitions/NotFound"
77
+ " 500 " :
78
+ $ref : " #/definitions/ServerError"
79
+ security :
80
+ - api_key : []
81
+ x-swagger-router-controller : " Templates"
25
82
post :
26
83
tags :
27
84
- " templates"
@@ -89,6 +146,29 @@ paths:
89
146
security :
90
147
- api_key : []
91
148
x-swagger-router-controller : " Templates"
149
+ head :
150
+ tags :
151
+ - " templates"
152
+ summary : " Get only status code for getting template"
153
+ description : " Equivalent to GET /templates/:id, but returns only status codes"
154
+ operationId : " headTemplateById"
155
+ produces :
156
+ - " application/json"
157
+ parameters : []
158
+ responses :
159
+ " 200 " :
160
+ description : " Success"
161
+ " 401 " :
162
+ $ref : " #/definitions/Unauthorized"
163
+ " 403 " :
164
+ $ref : " #/definitions/Forbidden"
165
+ " 404 " :
166
+ $ref : " #/definitions/NotFound"
167
+ " 500 " :
168
+ $ref : " #/definitions/ServerError"
169
+ security :
170
+ - api_key : []
171
+ x-swagger-router-controller : " Templates"
92
172
/uploads :
93
173
get :
94
174
summary : " Get all uploads"
@@ -104,6 +184,11 @@ paths:
104
184
required : false
105
185
type : " string"
106
186
default : " today's value"
187
+ - name : " organizationId"
188
+ in : " query"
189
+ description : " The organization id to associate with"
190
+ required : true
191
+ type : " string"
107
192
responses :
108
193
" 200 " :
109
194
description : " Success"
@@ -121,6 +206,9 @@ paths:
121
206
$ref : " #/definitions/NotFound"
122
207
" 500 " :
123
208
$ref : " #/definitions/ServerError"
209
+ security :
210
+ - api_key : []
211
+ x-swagger-router-controller : " Uploads"
124
212
125
213
head :
126
214
summary : " Get only status code for fetching all uploads"
@@ -135,6 +223,11 @@ paths:
135
223
required : false
136
224
type : " string"
137
225
default : " today's value"
226
+ - name : " organizationId"
227
+ in : " query"
228
+ description : " The organization id to associate with"
229
+ required : true
230
+ type : " string"
138
231
responses :
139
232
" 200 " :
140
233
description : " Success"
@@ -148,6 +241,9 @@ paths:
148
241
$ref : " #/definitions/NotFound"
149
242
" 500 " :
150
243
$ref : " #/definitions/ServerError"
244
+ security :
245
+ - api_key : []
246
+ x-swagger-router-controller : " Uploads"
151
247
152
248
post :
153
249
tags :
@@ -217,6 +313,29 @@ paths:
217
313
security :
218
314
- api_key : []
219
315
x-swagger-router-controller : " Uploads"
316
+ head :
317
+ tags :
318
+ - " uploads"
319
+ summary : " Get only status code for getting details of an upload"
320
+ description : " Equivalent to GET /uploads/:id, but returns only status codes"
321
+ operationId : " headUploadById"
322
+ produces :
323
+ - " application/json"
324
+ parameters : []
325
+ responses :
326
+ " 200 " :
327
+ description : " Success"
328
+ " 401 " :
329
+ $ref : " #/definitions/Unauthorized"
330
+ " 403 " :
331
+ $ref : " #/definitions/Forbidden"
332
+ " 404 " :
333
+ $ref : " #/definitions/NotFound"
334
+ " 500 " :
335
+ $ref : " #/definitions/ServerError"
336
+ security :
337
+ - api_key : []
338
+ x-swagger-router-controller : " Uploads"
220
339
patch :
221
340
tags :
222
341
- " uploads"
@@ -254,37 +373,6 @@ paths:
254
373
security :
255
374
- api_key : []
256
375
x-swagger-router-controller : " Uploads"
257
- /skills :
258
- get :
259
- tags :
260
- - " skills"
261
- summary : " Search for skills by name using the q query parameter"
262
- description : " Responds with the skills search result. Proxy api to EMSI"
263
- operationId : " getSkills"
264
- produces :
265
- - " application/json"
266
- parameters :
267
- - name : " q"
268
- in : " query"
269
- description : " The skill to search for. All special characters must be URL encoded, eg. \" C++ Progr\" should be encoded \" C%2B%2B%20Progr\" "
270
- required : false
271
- type : " string"
272
- responses :
273
- " 200 " :
274
- description : " Success"
275
- schema :
276
- $ref : " #/definitions/Skill"
277
- " 401 " :
278
- $ref : " #/definitions/Unauthorized"
279
- " 403 " :
280
- $ref : " #/definitions/Forbidden"
281
- " 404 " :
282
- $ref : " #/definitions/NotFound"
283
- " 500 " :
284
- $ref : " #/definitions/ServerError"
285
- security :
286
- - api_key : []
287
- x-swagger-router-controller : " Skills"
288
376
securityDefinitions :
289
377
api_key :
290
378
type : " apiKey"
@@ -335,26 +423,6 @@ definitions:
335
423
type : " string"
336
424
description : " The organization id to associate new users with"
337
425
- $ref : " #/definitions/AuditFields"
338
- Skill :
339
- allOf :
340
- - type : " object"
341
- properties :
342
- skills :
343
- type : " array"
344
- items :
345
- properties :
346
- type :
347
- type : string
348
- description : The skill type
349
- example : ' Hard Skill'
350
- id :
351
- type : string
352
- description : The skill id
353
- example : ' KS1200364C9C1LK3V5Q1'
354
- name :
355
- type : string
356
- description : The skill name
357
- example : ' C (Programming Language)'
358
426
AuditFields :
359
427
type : " object"
360
428
required :
0 commit comments