UPDATE: new db
All checks were successful
Build and Release / release (push) Successful in 1m30s

This commit is contained in:
2026-05-05 16:57:44 +07:00
parent 8b440ad5c8
commit 29944915cd
25 changed files with 893 additions and 110 deletions

View File

@@ -396,7 +396,7 @@
"post": {
"security": [
{
"ApiKeyAuth": []
"BearerAuth": []
}
],
"description": "Ask a history question based on project context or global knowledge using RAG",
@@ -509,6 +509,82 @@
}
}
},
"/entities/slug/exists": {
"get": {
"description": "Check if a given slug already exists for entities",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Entities"
],
"summary": "Check entity slug existence",
"parameters": [
{
"type": "string",
"description": "Slug to check",
"name": "slug",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
}
}
}
},
"/entities/slug/{slug}": {
"get": {
"description": "Get detailed information about a specific entity by its unique slug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Entities"
],
"summary": "Get entity by slug",
"parameters": [
{
"type": "string",
"description": "Entity Slug",
"name": "slug",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
}
}
}
},
"/entities/{id}": {
"get": {
"description": "Get detailed information about a specific entity",
@@ -3512,6 +3588,82 @@
}
}
},
"/wikis/slug/exists": {
"get": {
"description": "Check if a given slug already exists for wikis",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Wikis"
],
"summary": "Check wiki slug existence",
"parameters": [
{
"type": "string",
"description": "Slug to check",
"name": "slug",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
}
}
}
},
"/wikis/slug/{slug}": {
"get": {
"description": "Get detailed information about a specific wiki by its unique slug",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Wikis"
],
"summary": "Get wiki by slug",
"parameters": [
{
"type": "string",
"description": "Wiki Slug",
"name": "slug",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/history-api_internal_dtos_response.CommonResponse"
}
}
}
}
},
"/wikis/{id}": {
"get": {
"description": "Get detailed information about a specific wiki",
@@ -3840,7 +3992,8 @@
"history-api_internal_dtos_request.EntitySnapshot": {
"type": "object",
"required": [
"id"
"id",
"name"
],
"properties": {
"base_hash": {
@@ -4353,6 +4506,9 @@
"reference"
]
},
"slug": {
"type": "string"
},
"source": {
"type": "string",
"enum": [