This commit is contained in:
2026-03-21 15:41:30 -04:00
parent 197a1577c2
commit ba919bbde4
19 changed files with 824 additions and 198 deletions

View File

@@ -460,8 +460,8 @@ components:
user_id:
type: string
value:
type: integer
format: int64
type: number
format: double
required:
- user_id
- value
@@ -617,6 +617,20 @@ components:
filter:
type: string
InfoResponse:
type: object
properties:
version:
type: string
search_enabled:
type: boolean
registration_enabled:
type: boolean
required:
- version
- search_enabled
- registration_enabled
securitySchemes:
BearerAuth:
type: http
@@ -1111,6 +1125,26 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
/info:
get:
summary: Get server information
operationId: getInfo
tags:
- Info
responses:
200:
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InfoResponse'
500:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/home:
get:
summary: Get home page data