blob: 79ab5d354d79e49126a2ba3f94f8497acc0bc178 [file] [log] [blame]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +02001{
2 "basePath": "/",
3 "paths": {
PatrikBuhr08d483a2020-10-29 10:01:13 +01004 "/producer_simulator/ei_job": {"post": {
5 "summary": "Callback for EI job creation",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +02006 "deprecated": false,
7 "produces": ["application/json"],
PatrikBuhr08d483a2020-10-29 10:01:13 +01008 "operationId": "jobCreatedCallbackUsingPOST",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +02009 "responses": {
PatrikBuhr08d483a2020-10-29 10:01:13 +010010 "200": {"description": "OK"},
11 "201": {"description": "Created"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020012 "401": {"description": "Unauthorized"},
13 "403": {"description": "Forbidden"},
14 "404": {"description": "Not Found"}
15 },
PatrikBuhr08d483a2020-10-29 10:01:13 +010016 "parameters": [{
17 "schema": {"$ref": "#/definitions/producer_ei_job_request"},
18 "in": "body",
19 "name": "request",
20 "description": "request",
21 "required": true
22 }],
23 "tags": ["Producer Callbacks"],
24 "consumes": ["application/json"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020025 }},
26 "/A1-EI/v1/eitypes/{eiTypeId}": {"get": {
27 "summary": "Individual EI type",
28 "deprecated": false,
29 "produces": ["application/json"],
30 "operationId": "getEiTypeUsingGET",
31 "responses": {
32 "200": {
PatrikBuhrdddded32020-10-21 15:39:33 +020033 "schema": {"$ref": "#/definitions/EiTypeObject"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020034 "description": "EI type"
35 },
36 "401": {"description": "Unauthorized"},
37 "403": {"description": "Forbidden"},
38 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +020039 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020040 "description": "Enrichment Information type is not found"
41 }
42 },
43 "parameters": [{
44 "in": "path",
45 "name": "eiTypeId",
46 "description": "eiTypeId",
47 "type": "string",
48 "required": true
49 }],
PatrikBuhrdddded32020-10-21 15:39:33 +020050 "tags": ["A1-EI (enrichment information)"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020051 }},
PatrikBuhr530fa602020-10-27 10:53:39 +010052 "/consumer_simulator/eijobs/{eiJobId}/status": {"post": {
53 "summary": "Callback for EI job status",
54 "deprecated": false,
55 "produces": ["application/json"],
56 "operationId": "jobStatusCallbackUsingPOST",
57 "responses": {
58 "200": {"description": "OK"},
59 "201": {"description": "Created"},
60 "401": {"description": "Unauthorized"},
61 "403": {"description": "Forbidden"},
62 "404": {"description": "Not Found"}
63 },
64 "parameters": [
65 {
66 "in": "path",
67 "name": "eiJobId",
68 "description": "eiJobId",
69 "type": "string",
70 "required": true
71 },
72 {
73 "schema": {"$ref": "#/definitions/EiJobStatusObject"},
74 "in": "body",
75 "name": "status",
76 "description": "status",
77 "required": true
78 }
79 ],
80 "tags": ["Consumer Callbacks"],
81 "consumes": ["application/json"]
82 }},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +020083 "/ei-producer/v1/eitypes": {"get": {
84 "summary": "EI type identifiers",
85 "deprecated": false,
86 "produces": ["application/json"],
87 "operationId": "getEiTypeIdentifiersUsingGET_1",
88 "responses": {
89 "200": {
90 "schema": {
91 "type": "array",
92 "items": {"type": "string"}
93 },
94 "description": "EI type identifiers"
95 },
96 "401": {"description": "Unauthorized"},
97 "403": {"description": "Forbidden"},
98 "404": {"description": "Not Found"}
99 },
100 "tags": ["Enrichment Data Producer API"]
101 }},
102 "/A1-EI/v1/eitypes": {"get": {
103 "summary": "EI type identifiers",
104 "deprecated": false,
105 "produces": ["application/json"],
106 "operationId": "getEiTypeIdentifiersUsingGET",
107 "responses": {
108 "200": {
109 "schema": {
110 "type": "array",
111 "items": {"type": "string"}
112 },
113 "description": "EI type identifiers"
114 },
115 "401": {"description": "Unauthorized"},
116 "403": {"description": "Forbidden"},
117 "404": {"description": "Not Found"}
118 },
PatrikBuhrdddded32020-10-21 15:39:33 +0200119 "tags": ["A1-EI (enrichment information)"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200120 }},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200121 "/ei-producer/v1/eiproducers/{eiProducerId}/status": {"get": {
122 "summary": "EI producer status",
123 "deprecated": false,
124 "produces": ["application/json"],
125 "operationId": "getEiProducerStatusUsingGET",
126 "responses": {
127 "200": {
128 "schema": {"$ref": "#/definitions/producer_status"},
129 "description": "EI jobs"
130 },
131 "401": {"description": "Unauthorized"},
132 "403": {"description": "Forbidden"},
133 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200134 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200135 "description": "Enrichment Information producer is not found"
136 }
137 },
138 "parameters": [{
139 "in": "path",
140 "name": "eiProducerId",
141 "description": "eiProducerId",
142 "type": "string",
143 "required": true
144 }],
145 "tags": ["Enrichment Data Producer API"]
146 }},
PatrikBuhr08d483a2020-10-29 10:01:13 +0100147 "/producer_simulator/ei_job/{eiJobId}": {"delete": {
148 "summary": "Callback for EI job deletion",
149 "deprecated": false,
150 "produces": ["application/json"],
151 "operationId": "jobDeletedCallbackUsingDELETE",
152 "responses": {
153 "200": {"description": "OK"},
154 "401": {"description": "Unauthorized"},
155 "204": {"description": "No Content"},
156 "403": {"description": "Forbidden"}
157 },
158 "parameters": [{
159 "in": "path",
160 "name": "eiJobId",
161 "description": "eiJobId",
162 "type": "string",
163 "required": true
164 }],
165 "tags": ["Producer Callbacks"]
166 }},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200167 "/ei-producer/v1/eiproducers": {"get": {
168 "summary": "EI producer identifiers",
169 "deprecated": false,
170 "produces": ["application/json"],
171 "operationId": "getEiProducerIdentifiersUsingGET",
172 "responses": {
173 "200": {
174 "schema": {
175 "type": "array",
176 "items": {"type": "string"}
177 },
178 "description": "EI producer identifiers"
179 },
180 "401": {"description": "Unauthorized"},
181 "403": {"description": "Forbidden"},
182 "404": {"description": "Not Found"}
183 },
184 "tags": ["Enrichment Data Producer API"]
185 }},
186 "/ei-producer/v1/eitypes/{eiTypeId}": {"get": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200187 "summary": "Individual EI type",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200188 "deprecated": false,
189 "produces": ["application/json"],
190 "operationId": "getEiTypeUsingGET_1",
191 "responses": {
192 "200": {
193 "schema": {"$ref": "#/definitions/producer_ei_type_info"},
194 "description": "EI type"
195 },
196 "401": {"description": "Unauthorized"},
197 "403": {"description": "Forbidden"},
198 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200199 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200200 "description": "Enrichment Information type is not found"
201 }
202 },
203 "parameters": [{
204 "in": "path",
205 "name": "eiTypeId",
206 "description": "eiTypeId",
207 "type": "string",
208 "required": true
209 }],
210 "tags": ["Enrichment Data Producer API"]
211 }},
PatrikBuhrb41c6e72020-10-02 12:47:00 +0200212 "/status": {"get": {
213 "summary": "Returns status and statistics of this service",
214 "deprecated": false,
215 "produces": ["application/json"],
216 "operationId": "getStatusUsingGET",
217 "responses": {
218 "200": {
219 "schema": {"$ref": "#/definitions/status_info"},
220 "description": "Service is living"
221 },
222 "401": {"description": "Unauthorized"},
223 "403": {"description": "Forbidden"},
224 "404": {"description": "Not Found"}
225 },
226 "tags": ["Service status"]
227 }},
PatrikBuhrdddded32020-10-21 15:39:33 +0200228 "/A1-EI/v1/eijobs/{eiJobId}": {
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200229 "get": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200230 "summary": "Individual EI job",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200231 "deprecated": false,
232 "produces": ["application/json"],
233 "operationId": "getIndividualEiJobUsingGET",
234 "responses": {
235 "200": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200236 "schema": {"$ref": "#/definitions/EiJobObject"},
237 "description": "EI job"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200238 },
239 "401": {"description": "Unauthorized"},
240 "403": {"description": "Forbidden"},
241 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200242 "schema": {"$ref": "#/definitions/ProblemDetails"},
243 "description": "Enrichment Information job is not found"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200244 }
245 },
PatrikBuhrdddded32020-10-21 15:39:33 +0200246 "parameters": [{
247 "in": "path",
248 "name": "eiJobId",
249 "description": "eiJobId",
250 "type": "string",
251 "required": true
252 }],
253 "tags": ["A1-EI (enrichment information)"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200254 },
255 "delete": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200256 "summary": "Individual EI job",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200257 "deprecated": false,
258 "produces": ["application/json"],
259 "operationId": "deleteIndividualEiJobUsingDELETE",
260 "responses": {
261 "200": {"description": "Not used"},
262 "401": {"description": "Unauthorized"},
263 "204": {"description": "Job deleted"},
264 "403": {"description": "Forbidden"},
265 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200266 "schema": {"$ref": "#/definitions/ProblemDetails"},
267 "description": "Enrichment Information job is not found"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200268 }
269 },
PatrikBuhrdddded32020-10-21 15:39:33 +0200270 "parameters": [{
271 "in": "path",
272 "name": "eiJobId",
273 "description": "eiJobId",
274 "type": "string",
275 "required": true
276 }],
277 "tags": ["A1-EI (enrichment information)"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200278 },
279 "put": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200280 "summary": "Individual EI job",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200281 "deprecated": false,
282 "produces": ["application/json"],
283 "operationId": "putIndividualEiJobUsingPUT",
284 "responses": {
285 "200": {"description": "Job updated"},
286 "201": {"description": "Job created"},
287 "401": {"description": "Unauthorized"},
288 "403": {"description": "Forbidden"},
289 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200290 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200291 "description": "Enrichment Information type is not found"
292 }
293 },
294 "parameters": [
295 {
296 "in": "path",
297 "name": "eiJobId",
298 "description": "eiJobId",
299 "type": "string",
300 "required": true
301 },
302 {
PatrikBuhrdddded32020-10-21 15:39:33 +0200303 "schema": {"$ref": "#/definitions/EiJobObject"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200304 "in": "body",
PatrikBuhrdddded32020-10-21 15:39:33 +0200305 "name": "eiJobObject",
306 "description": "eiJobObject",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200307 "required": true
308 }
309 ],
PatrikBuhrdddded32020-10-21 15:39:33 +0200310 "tags": ["A1-EI (enrichment information)"],
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200311 "consumes": ["application/json"]
312 }
313 },
314 "/ei-producer/v1/eiproducers/{eiProducerId}": {
315 "get": {
316 "summary": "Individual EI producer",
317 "deprecated": false,
318 "produces": ["application/json"],
319 "operationId": "getEiProducerUsingGET",
320 "responses": {
321 "200": {
322 "schema": {"$ref": "#/definitions/producer_registration_info"},
PatrikBuhrdddded32020-10-21 15:39:33 +0200323 "description": "EI jobs"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200324 },
325 "401": {"description": "Unauthorized"},
326 "403": {"description": "Forbidden"},
327 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200328 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200329 "description": "Enrichment Information producer is not found"
330 }
331 },
332 "parameters": [{
333 "in": "path",
334 "name": "eiProducerId",
335 "description": "eiProducerId",
336 "type": "string",
337 "required": true
338 }],
339 "tags": ["Enrichment Data Producer API"]
340 },
341 "delete": {
342 "summary": "Individual EI producer",
343 "deprecated": false,
344 "produces": ["application/json"],
345 "operationId": "deleteEiProducerUsingDELETE",
346 "responses": {
347 "200": {"description": "Not used"},
348 "401": {"description": "Unauthorized"},
349 "204": {"description": "Producer deleted"},
350 "403": {"description": "Forbidden"},
351 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200352 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200353 "description": "Producer is not found"
354 }
355 },
356 "parameters": [{
357 "in": "path",
358 "name": "eiProducerId",
359 "description": "eiProducerId",
360 "type": "string",
361 "required": true
362 }],
363 "tags": ["Enrichment Data Producer API"]
364 },
365 "put": {
366 "summary": "Individual EI producer",
367 "deprecated": false,
368 "produces": ["application/json"],
369 "operationId": "putEiProducerUsingPUT",
370 "responses": {
371 "200": {"description": "Producer updated"},
372 "201": {"description": "Producer created"},
373 "401": {"description": "Unauthorized"},
374 "403": {"description": "Forbidden"},
375 "404": {"description": "Not Found"}
376 },
377 "parameters": [
378 {
379 "in": "path",
380 "name": "eiProducerId",
381 "description": "eiProducerId",
382 "type": "string",
383 "required": true
384 },
385 {
386 "schema": {"$ref": "#/definitions/producer_registration_info"},
387 "in": "body",
388 "name": "registrationInfo",
389 "description": "registrationInfo",
390 "required": true
391 }
392 ],
393 "tags": ["Enrichment Data Producer API"],
394 "consumes": ["application/json"]
395 }
396 },
PatrikBuhr08d483a2020-10-29 10:01:13 +0100397 "/producer_simulator/health_check": {"get": {
398 "summary": "Producer supervision",
399 "deprecated": false,
400 "produces": ["application/json"],
401 "operationId": "producerSupervisionUsingGET",
402 "responses": {
403 "200": {
404 "schema": {"type": "string"},
405 "description": "OK"
406 },
407 "401": {"description": "Unauthorized"},
408 "403": {"description": "Forbidden"},
409 "404": {"description": "Not Found"}
410 },
411 "tags": ["Producer Callbacks"]
412 }},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200413 "/ei-producer/v1/eiproducers/{eiProducerId}/eijobs": {"get": {
414 "summary": "EI job definitions",
415 "deprecated": false,
416 "produces": ["application/json"],
417 "description": "EI job definitions for one EI producer",
418 "operationId": "getEiProducerJobsUsingGET",
419 "responses": {
420 "200": {
421 "schema": {
422 "type": "array",
423 "items": {"$ref": "#/definitions/producer_ei_job_request"}
424 },
425 "description": "EI jobs"
426 },
427 "401": {"description": "Unauthorized"},
428 "403": {"description": "Forbidden"},
429 "404": {
PatrikBuhrdddded32020-10-21 15:39:33 +0200430 "schema": {"$ref": "#/definitions/ProblemDetails"},
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200431 "description": "Enrichment Information producer is not found"
432 }
433 },
434 "parameters": [{
435 "in": "path",
436 "name": "eiProducerId",
437 "description": "eiProducerId",
438 "type": "string",
439 "required": true
440 }],
441 "tags": ["Enrichment Data Producer API"]
442 }},
PatrikBuhrdddded32020-10-21 15:39:33 +0200443 "/A1-EI/v1/eijobs": {"get": {
444 "summary": "EI job identifiers",
445 "deprecated": false,
446 "produces": ["application/json"],
447 "description": "query for EI job identifiers",
448 "operationId": "getEiJobIdsUsingGET",
449 "responses": {
450 "200": {
451 "schema": {
452 "type": "array",
453 "items": {"type": "string"}
454 },
455 "description": "EI job identifiers"
456 },
457 "401": {"description": "Unauthorized"},
458 "403": {"description": "Forbidden"},
459 "404": {
460 "schema": {"$ref": "#/definitions/ProblemDetails"},
461 "description": "Enrichment Information type is not found"
462 }
463 },
464 "parameters": [
465 {
466 "in": "query",
467 "allowEmptyValue": false,
468 "name": "eiTypeId",
469 "description": "selects EI jobs of matching EI type",
470 "type": "string",
471 "required": false
472 },
473 {
474 "in": "query",
475 "allowEmptyValue": false,
476 "name": "owner",
477 "description": "selects EI jobs for one EI job owner",
478 "type": "string",
479 "required": false
480 }
481 ],
482 "tags": ["A1-EI (enrichment information)"]
483 }},
484 "/A1-EI/v1/eijobs/{eiJobId}/status": {"get": {
485 "summary": "EI job status",
486 "deprecated": false,
487 "produces": ["application/json"],
488 "operationId": "getEiJobStatusUsingGET",
489 "responses": {
490 "200": {
491 "schema": {"$ref": "#/definitions/EiJobStatusObject"},
492 "description": "EI job status"
493 },
494 "401": {"description": "Unauthorized"},
495 "403": {"description": "Forbidden"},
496 "404": {
497 "schema": {"$ref": "#/definitions/ProblemDetails"},
498 "description": "Enrichment Information job is not found"
499 }
500 },
501 "parameters": [{
502 "in": "path",
503 "name": "eiJobId",
504 "description": "eiJobId",
505 "type": "string",
506 "required": true
507 }],
508 "tags": ["A1-EI (enrichment information)"]
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200509 }}
510 },
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200511 "definitions": {
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200512 "producer_ei_job_request": {
513 "description": "The body of the EI producer callbacks for EI job creation and deletion",
514 "type": "object",
515 "title": "producer_ei_job_request",
516 "required": ["ei_job_identity"],
517 "properties": {
PatrikBuhr4bc05f12020-11-27 12:11:20 +0100518 "owner": {
519 "description": "The owner of the job",
520 "type": "string"
521 },
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200522 "ei_job_identity": {
523 "description": "Idenitity of the EI job",
524 "type": "string"
525 },
526 "ei_job_data": {
527 "description": "Json for the job data",
528 "type": "object"
529 },
530 "target_uri": {
531 "description": "URI for the target of the EI",
532 "type": "string"
533 },
534 "ei_type_identity": {
535 "description": "Type idenitity for the job",
536 "type": "string"
537 }
538 }
539 },
PatrikBuhrdddded32020-10-21 15:39:33 +0200540 "EiTypeObject": {
541 "description": "Information for an EI type",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200542 "type": "object",
PatrikBuhrdddded32020-10-21 15:39:33 +0200543 "title": "EiTypeObject"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200544 },
545 "producer_ei_type_registration_info": {
546 "description": "Information for an EI type",
547 "type": "object",
548 "title": "producer_ei_type_registration_info",
549 "required": ["ei_type_identity"],
550 "properties": {
551 "ei_type_identity": {
552 "description": "EI type identity",
553 "type": "string"
554 },
555 "ei_job_data_schema": {
556 "description": "Json schema for the job data",
557 "type": "object"
558 }
559 }
560 },
PatrikBuhrb41c6e72020-10-02 12:47:00 +0200561 "status_info": {
562 "type": "object",
563 "title": "status_info",
564 "properties": {
565 "no_of_producers": {
566 "format": "int32",
567 "description": "Number of EI producers",
568 "type": "integer"
569 },
570 "no_of_jobs": {
571 "format": "int32",
572 "description": "Number of EI jobs",
573 "type": "integer"
574 },
575 "no_of_types": {
576 "format": "int32",
577 "description": "Number of EI types",
578 "type": "integer"
579 },
580 "status": {
581 "description": "status text",
582 "type": "string"
583 }
584 }
585 },
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200586 "Mono«ResponseEntity«object»»": {
587 "type": "object",
588 "title": "Mono«ResponseEntity«object»»"
589 },
590 "producer_ei_type_info": {
591 "description": "Information for an EI type",
592 "type": "object",
593 "title": "producer_ei_type_info",
594 "properties": {
595 "ei_producer_ids": {
596 "description": "Registered producers",
597 "type": "array",
598 "items": {"type": "string"}
599 },
600 "ei_job_data_schema": {
601 "description": "Json schema for the job data",
602 "type": "object"
603 }
604 }
605 },
606 "producer_registration_info": {
607 "description": "Information for an EI producer",
608 "type": "object",
609 "title": "producer_registration_info",
610 "required": [
PatrikBuhr08d483a2020-10-29 10:01:13 +0100611 "ei_job_callback_url",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200612 "ei_producer_supervision_callback_url",
613 "supported_ei_types"
614 ],
615 "properties": {
616 "supported_ei_types": {
617 "description": "Supported EI types",
618 "type": "array",
619 "items": {"$ref": "#/definitions/producer_ei_type_registration_info"}
620 },
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200621 "ei_producer_supervision_callback_url": {
622 "description": "callback for producer supervision",
623 "type": "string"
PatrikBuhr08d483a2020-10-29 10:01:13 +0100624 },
625 "ei_job_callback_url": {
626 "description": "callback for EI job",
627 "type": "string"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200628 }
629 }
630 },
631 "producer_status": {
632 "description": "Status for an EI Producer",
633 "type": "object",
634 "title": "producer_status",
635 "required": ["operational_state"],
636 "properties": {"operational_state": {
637 "description": "Operational state, values:\nENABLED: TBD\nDISABLED: TBD.",
638 "type": "string",
639 "enum": [
640 "ENABLED",
641 "DISABLED"
642 ]
643 }}
PatrikBuhrdddded32020-10-21 15:39:33 +0200644 },
645 "ProblemDetails": {
646 "description": "A problem detail to carry details in a HTTP response according to RFC 7807",
647 "type": "object",
648 "title": "ProblemDetails",
649 "properties": {
650 "detail": {
651 "description": "A human-readable explanation specific to this occurrence of the problem.",
652 "type": "string",
653 "example": "EI job type not found"
654 },
655 "status": {
656 "format": "int32",
657 "description": "The HTTP status code generated by the origin server for this occurrence of the problem.",
658 "type": "integer",
659 "example": 404
660 }
661 }
662 },
663 "Void": {
664 "description": "Void/empty",
665 "type": "object",
666 "title": "Void"
667 },
668 "EiJobStatusObject": {
669 "description": "Status for an EI job",
670 "type": "object",
671 "title": "EiJobStatusObject",
672 "required": ["eiJobStatus"],
673 "properties": {"eiJobStatus": {
674 "description": "values:\nENABLED: the A1-EI producer is able to deliver EI result for the EI job\nDISABLED: the A1-EI producer is unable to deliver EI result for the EI job",
675 "type": "string",
676 "enum": [
677 "ENABLED",
678 "DISABLED"
679 ]
680 }}
681 },
682 "EiJobObject": {
683 "description": "Information for an Enrichment Information Job",
684 "type": "object",
685 "title": "EiJobObject",
686 "required": [
687 "eiTypeId",
688 "jobDefinition",
689 "jobOwner",
690 "jobResultUri"
691 ],
692 "properties": {
693 "eiTypeId": {
694 "description": "EI type Idenitifier of the EI job",
695 "type": "string"
696 },
697 "jobResultUri": {
698 "description": "The target URI of the EI data",
699 "type": "string"
700 },
701 "jobOwner": {
702 "description": "Identity of the owner of the job",
703 "type": "string"
704 },
705 "jobStatusNotificationUri": {
706 "description": "The target of EI job status notifications",
707 "type": "string"
708 },
709 "jobDefinition": {
710 "description": "EI type specific job data",
711 "type": "object"
712 }
713 }
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200714 }
715 },
716 "swagger": "2.0",
717 "info": {
718 "description": "This page lists all the rest apis for the service.",
719 "title": "Enrichment Data service",
720 "version": "1.0"
721 },
722 "tags": [
723 {
PatrikBuhrdddded32020-10-21 15:39:33 +0200724 "name": "A1-EI (enrichment information)",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200725 "description": "Consumer Controller"
726 },
727 {
PatrikBuhr530fa602020-10-27 10:53:39 +0100728 "name": "Consumer Callbacks",
729 "description": "Consumer Simulator Controller"
730 },
731 {
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200732 "name": "Enrichment Data Producer API",
733 "description": "Producer Controller"
734 },
735 {
PatrikBuhrdddded32020-10-21 15:39:33 +0200736 "name": "Producer Callbacks",
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200737 "description": "Producer Simulator Controller"
PatrikBuhrb41c6e72020-10-02 12:47:00 +0200738 },
739 {
740 "name": "Service status",
741 "description": "Status Controller"
PatrikBuhr13b5a8e2020-10-02 09:26:06 +0200742 }
743 ]
elinuxhenrik7a09fbb2020-12-04 16:51:19 +0100744}