|
25 | 25 | }
|
26 | 26 | }
|
27 | 27 | },
|
28 |
| - "/api/v1/dashboard/messages": { |
29 |
| - "get": { |
30 |
| - "tags": [ |
31 |
| - "CodeGate API", |
32 |
| - "Dashboard" |
33 |
| - ], |
34 |
| - "summary": "Get Messages", |
35 |
| - "description": "Get all the messages from the database and return them as a list of conversations.", |
36 |
| - "operationId": "v1_get_messages", |
37 |
| - "responses": { |
38 |
| - "200": { |
39 |
| - "description": "Successful Response", |
40 |
| - "content": { |
41 |
| - "application/json": { |
42 |
| - "schema": { |
43 |
| - "items": { |
44 |
| - "$ref": "#/components/schemas/Conversation" |
45 |
| - }, |
46 |
| - "type": "array", |
47 |
| - "title": "Response V1 Get Messages" |
48 |
| - } |
49 |
| - } |
50 |
| - } |
51 |
| - } |
52 |
| - } |
53 |
| - } |
54 |
| - }, |
55 |
| - "/api/v1/dashboard/alerts": { |
56 |
| - "get": { |
57 |
| - "tags": [ |
58 |
| - "CodeGate API", |
59 |
| - "Dashboard" |
60 |
| - ], |
61 |
| - "summary": "Get Alerts", |
62 |
| - "description": "Get all the messages from the database and return them as a list of conversations.", |
63 |
| - "operationId": "v1_get_alerts", |
64 |
| - "responses": { |
65 |
| - "200": { |
66 |
| - "description": "Successful Response", |
67 |
| - "content": { |
68 |
| - "application/json": { |
69 |
| - "schema": { |
70 |
| - "items": { |
71 |
| - "anyOf": [ |
72 |
| - { |
73 |
| - "$ref": "#/components/schemas/AlertConversation" |
74 |
| - }, |
75 |
| - { |
76 |
| - "type": "null" |
77 |
| - } |
78 |
| - ] |
79 |
| - }, |
80 |
| - "type": "array", |
81 |
| - "title": "Response V1 Get Alerts" |
82 |
| - } |
83 |
| - } |
84 |
| - } |
85 |
| - } |
86 |
| - } |
87 |
| - } |
88 |
| - }, |
89 |
| - "/api/v1/dashboard/alerts_notification": { |
90 |
| - "get": { |
91 |
| - "tags": [ |
92 |
| - "CodeGate API", |
93 |
| - "Dashboard" |
94 |
| - ], |
95 |
| - "summary": "Stream Sse", |
96 |
| - "description": "Send alerts event", |
97 |
| - "operationId": "v1_stream_sse", |
98 |
| - "responses": { |
99 |
| - "200": { |
100 |
| - "description": "Successful Response", |
101 |
| - "content": { |
102 |
| - "application/json": { |
103 |
| - "schema": {} |
104 |
| - } |
105 |
| - } |
106 |
| - } |
107 |
| - } |
108 |
| - } |
109 |
| - }, |
110 |
| - "/api/v1/dashboard/version": { |
111 |
| - "get": { |
112 |
| - "tags": [ |
113 |
| - "CodeGate API", |
114 |
| - "Dashboard" |
115 |
| - ], |
116 |
| - "summary": "Version Check", |
117 |
| - "operationId": "v1_version_check", |
118 |
| - "responses": { |
119 |
| - "200": { |
120 |
| - "description": "Successful Response", |
121 |
| - "content": { |
122 |
| - "application/json": { |
123 |
| - "schema": {} |
124 |
| - } |
125 |
| - } |
126 |
| - } |
127 |
| - } |
128 |
| - } |
129 |
| - }, |
130 | 28 | "/api/v1/workspaces": {
|
131 | 29 | "get": {
|
132 | 30 | "tags": [
|
|
632 | 530 | }
|
633 | 531 | }
|
634 | 532 | }
|
| 533 | + }, |
| 534 | + "/api/v1/alerts_notification": { |
| 535 | + "get": { |
| 536 | + "tags": [ |
| 537 | + "CodeGate API", |
| 538 | + "Dashboard" |
| 539 | + ], |
| 540 | + "summary": "Stream Sse", |
| 541 | + "description": "Send alerts event", |
| 542 | + "operationId": "v1_stream_sse", |
| 543 | + "responses": { |
| 544 | + "200": { |
| 545 | + "description": "Successful Response", |
| 546 | + "content": { |
| 547 | + "application/json": { |
| 548 | + "schema": {} |
| 549 | + } |
| 550 | + } |
| 551 | + } |
| 552 | + } |
| 553 | + } |
| 554 | + }, |
| 555 | + "/api/v1/version": { |
| 556 | + "get": { |
| 557 | + "tags": [ |
| 558 | + "CodeGate API", |
| 559 | + "Dashboard" |
| 560 | + ], |
| 561 | + "summary": "Version Check", |
| 562 | + "operationId": "v1_version_check", |
| 563 | + "responses": { |
| 564 | + "200": { |
| 565 | + "description": "Successful Response", |
| 566 | + "content": { |
| 567 | + "application/json": { |
| 568 | + "schema": {} |
| 569 | + } |
| 570 | + } |
| 571 | + } |
| 572 | + } |
| 573 | + } |
635 | 574 | }
|
636 | 575 | },
|
637 | 576 | "components": {
|
|
0 commit comments