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

@@ -232,6 +232,7 @@ definitions:
type: number
required:
- id
- name
type: object
history-api_internal_dtos_request.EntityWikiLinkSnapshot:
properties:
@@ -550,6 +551,8 @@ definitions:
- delete
- reference
type: string
slug:
type: string
source:
enum:
- inline
@@ -899,7 +902,7 @@ paths:
schema:
$ref: '#/definitions/history-api_internal_dtos_response.CommonResponse'
security:
- ApiKeyAuth: []
- BearerAuth: []
summary: Ask the AI chatbot
tags:
- Chatbot
@@ -963,6 +966,57 @@ paths:
summary: Get entity by ID
tags:
- Entities
/entities/slug/{slug}:
get:
consumes:
- application/json
description: Get detailed information about a specific entity by its unique
slug
parameters:
- description: Entity Slug
in: path
name: slug
required: true
type: string
produces:
- application/json
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'
summary: Get entity by slug
tags:
- Entities
/entities/slug/exists:
get:
consumes:
- application/json
description: Check if a given slug already exists for entities
parameters:
- description: Slug to check
in: query
name: slug
required: true
type: string
produces:
- application/json
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'
summary: Check entity slug existence
tags:
- Entities
/geometries:
get:
consumes:
@@ -2902,6 +2956,56 @@ paths:
summary: Get wiki by ID
tags:
- Wikis
/wikis/slug/{slug}:
get:
consumes:
- application/json
description: Get detailed information about a specific wiki by its unique slug
parameters:
- description: Wiki Slug
in: path
name: slug
required: true
type: string
produces:
- application/json
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'
summary: Get wiki by slug
tags:
- Wikis
/wikis/slug/exists:
get:
consumes:
- application/json
description: Check if a given slug already exists for wikis
parameters:
- description: Slug to check
in: query
name: slug
required: true
type: string
produces:
- application/json
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'
summary: Check wiki slug existence
tags:
- Wikis
securityDefinitions:
BearerAuth:
description: Type "Bearer " followed by a space and JWT token.