blob: 7f56ca5589a29bebc5bb5259ec5dc49779690e92 [file] [log] [blame]
elinuxhenrikd661dbc2018-08-17 12:34:58 +02001---
2swagger: '2.0'
3info:
elinuxhenrikf3945942018-09-14 15:49:10 +02004 description: This page lists all the rest apis for DATAFILE app server.
elinuxhenrikd661dbc2018-08-17 12:34:58 +02005 version: '1.0'
elinuxhenrikf3945942018-09-14 15:49:10 +02006 title: DATAFILE app server
elinuxhenrikd661dbc2018-08-17 12:34:58 +02007host: localhost:8100
8basePath: "/"
9tags:
10- name: heartbeat-controller
elinuxhenrikf3945942018-09-14 15:49:10 +020011 description: Check liveness of DATAFILE service
elinuxhenrikd661dbc2018-08-17 12:34:58 +020012- name: schedule-controller
13 description: Schedule Controller
14paths:
15 "/heartbeat":
16 get:
17 tags:
18 - heartbeat-controller
elinuxhenrikf3945942018-09-14 15:49:10 +020019 summary: Returns liveness of DATAFILE service
elinuxhenrikd661dbc2018-08-17 12:34:58 +020020 operationId: heartbeatUsingGET
21 produces:
22 - "*/*"
23 responses:
24 '200':
elinuxhenrikf3945942018-09-14 15:49:10 +020025 description: DATAFILE service is living
elinuxhenrikd661dbc2018-08-17 12:34:58 +020026 schema:
27 "$ref": "#/definitions/Mono«ResponseEntity«string»»"
28 '401':
29 description: You are not authorized to view the resource
30 '403':
31 description: Accessing the resource you were trying to reach is forbidden
32 '404':
33 description: The resource you were trying to reach is not found
34 "/start":
35 get:
36 tags:
37 - schedule-controller
38 summary: Start scheduling worker request
39 operationId: startTasksUsingGET
40 produces:
41 - "*/*"
42 responses:
43 '200':
44 description: OK
45 schema:
46 "$ref": "#/definitions/Mono«ResponseEntity«string»»"
47 '401':
48 description: Unauthorized
49 '403':
50 description: Forbidden
51 '404':
52 description: Not Found
53 "/stopDatafile":
54 get:
55 tags:
56 - schedule-controller
57 summary: Stop scheduling worker request
58 operationId: stopTaskUsingGET
59 produces:
60 - "*/*"
61 responses:
62 '200':
63 description: OK
64 schema:
65 "$ref": "#/definitions/Mono«ResponseEntity«string»»"
66 '401':
67 description: Unauthorized
68 '403':
69 description: Forbidden
70 '404':
71 description: Not Found
72definitions:
73 Mono«ResponseEntity«string»»:
74 type: object
75 title: Mono«ResponseEntity«string»»
76