Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Update OpenAPI #751

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 41 additions & 102 deletions api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,108 +25,6 @@
}
}
},
"/api/v1/dashboard/messages": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Get Messages",
"description": "Get all the messages from the database and return them as a list of conversations.",
"operationId": "v1_get_messages",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"$ref": "#/components/schemas/Conversation"
},
"type": "array",
"title": "Response V1 Get Messages"
}
}
}
}
}
}
},
"/api/v1/dashboard/alerts": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Get Alerts",
"description": "Get all the messages from the database and return them as a list of conversations.",
"operationId": "v1_get_alerts",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/AlertConversation"
},
{
"type": "null"
}
]
},
"type": "array",
"title": "Response V1 Get Alerts"
}
}
}
}
}
}
},
"/api/v1/dashboard/alerts_notification": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Stream Sse",
"description": "Send alerts event",
"operationId": "v1_stream_sse",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/v1/dashboard/version": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Version Check",
"operationId": "v1_version_check",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/v1/workspaces": {
"get": {
"tags": [
Expand Down Expand Up @@ -632,6 +530,47 @@
}
}
}
},
"/api/v1/alerts_notification": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Stream Sse",
"description": "Send alerts event",
"operationId": "v1_stream_sse",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/v1/version": {
"get": {
"tags": [
"CodeGate API",
"Dashboard"
],
"summary": "Version Check",
"operationId": "v1_version_check",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
},
"components": {
Expand Down