@@ -12,16 +12,85 @@ 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 specify the date from and name when you would like the records.""
24
+ tags :
25
+ - " templates"
26
+ operationId : " getTemplates"
27
+ parameters :
28
+ - name : " from"
29
+ in : " query"
30
+ description : " The date from when you would like the uploads (inclusive)"
31
+ required : false
32
+ type : " string"
33
+ default : " today's value"
34
+ - name : " name"
35
+ in : " query"
36
+ description : " The name of templates"
37
+ required : false
38
+ type : " string"
39
+ responses :
40
+ " 200 " :
41
+ description : " Success"
42
+ schema :
43
+ type : array
44
+ items :
45
+ $ref : ' #/definitions/Template'
46
+ " 400 " :
47
+ $ref : " #/definitions/BadRequest"
48
+ " 401 " :
49
+ $ref : " #/definitions/Unauthorized"
50
+ " 403 " :
51
+ $ref : " #/definitions/Forbidden"
52
+ " 404 " :
53
+ $ref : " #/definitions/NotFound"
54
+ " 500 " :
55
+ $ref : " #/definitions/ServerError"
56
+ security :
57
+ - api_key : []
58
+ x-swagger-router-controller : " Templates"
59
+
60
+ head :
61
+ summary : " Get only status code for fetching all templates"
62
+ description : " Equivalent to GET /templates, but returns only status codes"
63
+ tags :
64
+ - " templates"
65
+ operationId : " headTemplates"
66
+ parameters :
67
+ - name : " from"
68
+ in : " query"
69
+ description : " The date from when you would like the uploads (inclusive)"
70
+ required : false
71
+ type : " string"
72
+ default : " today's value"
73
+ - name : " organizationId"
74
+ in : " query"
75
+ description : " The name of templates"
76
+ required : false
77
+ type : " string"
78
+ responses :
79
+ " 200 " :
80
+ description : " Success"
81
+ " 400 " :
82
+ $ref : " #/definitions/BadRequest"
83
+ " 401 " :
84
+ $ref : " #/definitions/Unauthorized"
85
+ " 403 " :
86
+ $ref : " #/definitions/Forbidden"
87
+ " 404 " :
88
+ $ref : " #/definitions/NotFound"
89
+ " 500 " :
90
+ $ref : " #/definitions/ServerError"
91
+ security :
92
+ - api_key : []
93
+ x-swagger-router-controller : " Templates"
25
94
post :
26
95
tags :
27
96
- " templates"
@@ -89,6 +158,29 @@ paths:
89
158
security :
90
159
- api_key : []
91
160
x-swagger-router-controller : " Templates"
161
+ head :
162
+ tags :
163
+ - " templates"
164
+ summary : " Get only status code for getting template"
165
+ description : " Equivalent to GET /templates/:id, but returns only status codes"
166
+ operationId : " headTemplateById"
167
+ produces :
168
+ - " application/json"
169
+ parameters : []
170
+ responses :
171
+ " 200 " :
172
+ description : " Success"
173
+ " 401 " :
174
+ $ref : " #/definitions/Unauthorized"
175
+ " 403 " :
176
+ $ref : " #/definitions/Forbidden"
177
+ " 404 " :
178
+ $ref : " #/definitions/NotFound"
179
+ " 500 " :
180
+ $ref : " #/definitions/ServerError"
181
+ security :
182
+ - api_key : []
183
+ x-swagger-router-controller : " Templates"
92
184
/uploads :
93
185
get :
94
186
summary : " Get all uploads"
@@ -104,6 +196,11 @@ paths:
104
196
required : false
105
197
type : " string"
106
198
default : " today's value"
199
+ - name : " organizationId"
200
+ in : " query"
201
+ description : " The organization id to associate with"
202
+ required : true
203
+ type : " string"
107
204
responses :
108
205
" 200 " :
109
206
description : " Success"
@@ -121,6 +218,9 @@ paths:
121
218
$ref : " #/definitions/NotFound"
122
219
" 500 " :
123
220
$ref : " #/definitions/ServerError"
221
+ security :
222
+ - api_key : []
223
+ x-swagger-router-controller : " Uploads"
124
224
125
225
head :
126
226
summary : " Get only status code for fetching all uploads"
@@ -135,6 +235,11 @@ paths:
135
235
required : false
136
236
type : " string"
137
237
default : " today's value"
238
+ - name : " organizationId"
239
+ in : " query"
240
+ description : " The organization id to associate with"
241
+ required : true
242
+ type : " string"
138
243
responses :
139
244
" 200 " :
140
245
description : " Success"
@@ -148,6 +253,9 @@ paths:
148
253
$ref : " #/definitions/NotFound"
149
254
" 500 " :
150
255
$ref : " #/definitions/ServerError"
256
+ security :
257
+ - api_key : []
258
+ x-swagger-router-controller : " Uploads"
151
259
152
260
post :
153
261
tags :
@@ -217,6 +325,29 @@ paths:
217
325
security :
218
326
- api_key : []
219
327
x-swagger-router-controller : " Uploads"
328
+ head :
329
+ tags :
330
+ - " uploads"
331
+ summary : " Get only status code for getting details of an upload"
332
+ description : " Equivalent to GET /uploads/:id, but returns only status codes"
333
+ operationId : " headUploadById"
334
+ produces :
335
+ - " application/json"
336
+ parameters : []
337
+ responses :
338
+ " 200 " :
339
+ description : " Success"
340
+ " 401 " :
341
+ $ref : " #/definitions/Unauthorized"
342
+ " 403 " :
343
+ $ref : " #/definitions/Forbidden"
344
+ " 404 " :
345
+ $ref : " #/definitions/NotFound"
346
+ " 500 " :
347
+ $ref : " #/definitions/ServerError"
348
+ security :
349
+ - api_key : []
350
+ x-swagger-router-controller : " Uploads"
220
351
patch :
221
352
tags :
222
353
- " uploads"
@@ -254,37 +385,6 @@ paths:
254
385
security :
255
386
- api_key : []
256
387
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
388
securityDefinitions :
289
389
api_key :
290
390
type : " apiKey"
@@ -335,26 +435,6 @@ definitions:
335
435
type : " string"
336
436
description : " The organization id to associate new users with"
337
437
- $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
438
AuditFields :
359
439
type : " object"
360
440
required :
0 commit comments