Release 1.0.0 with server info console

This commit is contained in:
Artem Kokos
2026-05-21 20:46:04 +07:00
parent 85c840ba1b
commit 61b21c63ea
12 changed files with 766 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
"openapi": "3.1.0",
"info": {
"title": "Ignis Core API",
"version": "0.1.0"
"version": "1.0.0"
},
"paths": {
"/devices": {
@@ -879,6 +879,32 @@
}
}
},
"/system/info": {
"get": {
"tags": [
"System"
],
"summary": "Get System Info",
"operationId": "get_system_info_system_info_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerInfoResponse"
}
}
}
}
},
"security": [
{
"APIKeyHeader": []
}
]
}
},
"/": {
"get": {
"summary": "Read Index",
@@ -1745,6 +1771,203 @@
],
"title": "ScheduleTasksResponse"
},
"ServerBuildInfoResponse": {
"properties": {
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"git_sha": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Git Sha"
},
"build_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Build Date"
}
},
"type": "object",
"title": "ServerBuildInfoResponse"
},
"ServerConfigurationStatusResponse": {
"properties": {
"configured": {
"type": "boolean",
"title": "Configured"
},
"master_key_configured": {
"type": "boolean",
"title": "Master Key Configured"
},
"scan_network_configured": {
"type": "boolean",
"title": "Scan Network Configured"
},
"public_base_url_configured": {
"type": "boolean",
"title": "Public Base Url Configured"
},
"build_metadata_complete": {
"type": "boolean",
"title": "Build Metadata Complete"
}
},
"type": "object",
"required": [
"configured",
"master_key_configured",
"scan_network_configured",
"public_base_url_configured",
"build_metadata_complete"
],
"title": "ServerConfigurationStatusResponse"
},
"ServerInfoResponse": {
"properties": {
"app_name": {
"type": "string",
"title": "App Name"
},
"instance_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Instance Name"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Timezone"
},
"uptime_seconds": {
"type": "integer",
"title": "Uptime Seconds"
},
"diagnostics_visible": {
"type": "boolean",
"title": "Diagnostics Visible"
},
"started_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Started At"
},
"build": {
"anyOf": [
{
"$ref": "#/components/schemas/ServerBuildInfoResponse"
},
{
"type": "null"
}
]
},
"urls": {
"anyOf": [
{
"$ref": "#/components/schemas/ServerUrlInfoResponse"
},
{
"type": "null"
}
]
},
"configuration": {
"anyOf": [
{
"$ref": "#/components/schemas/ServerConfigurationStatusResponse"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"app_name",
"uptime_seconds",
"diagnostics_visible"
],
"title": "ServerInfoResponse"
},
"ServerUrlInfoResponse": {
"properties": {
"observed_base_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Observed Base Url"
},
"configured_public_base_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Configured Public Base Url"
},
"effective_public_base_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Effective Public Base Url"
}
},
"type": "object",
"title": "ServerUrlInfoResponse"
},
"ValidationError": {
"properties": {
"loc": {