This commit is contained in:
2026-10-03 14:33:08 +04:00
parent 6a73d760c4
commit 93a9442e1c
67 changed files with 941 additions and 698 deletions
+13 -14
View File
@@ -65,7 +65,7 @@
"Launcher Auth"
],
"summary": "Авторизация лаунчера",
"description": "Авторизация по логину и паролю игрового аккаунта. Возвращает Bearer-токен для доступа к API.",
"description": "Авторизация по логину и паролю сайта. Возвращает Bearer-токен для доступа к API и выдачи игрового билета.",
"operationId": "8b934358769733a6925c1fbc8dc07705",
"requestBody": {
"required": true,
@@ -81,13 +81,13 @@
"type": "string",
"pattern": "^[A-Za-z0-9]+$",
"example": "Player",
"maxLength": 32,
"maxLength": 16,
"minLength": 3
},
"password": {
"type": "string",
"example": "secret123",
"maxLength": 32,
"maxLength": 16,
"minLength": 3
}
},
@@ -409,8 +409,8 @@
"tags": [
"Launcher Auth"
],
"summary": "Issue a single-use game login ticket",
"description": "Creates short-lived SRP credentials for authserver. A new ticket atomically revokes the previous generation. The plaintext ticket is never stored.",
"summary": "Выдать одноразовый билет для входа в vMaNGOS",
"description": "Создаёт короткоживущий SRP-билет. Новый билет отзывает предыдущий.",
"operationId": "7b54b9b05714077ff61483260a0e64a7",
"requestBody": {
"required": true,
@@ -423,7 +423,7 @@
"properties": {
"client_build": {
"type": "integer",
"example": 12340
"example": 5875
}
},
"type": "object"
@@ -433,7 +433,7 @@
},
"responses": {
"200": {
"description": "Ticket issued",
"description": "Билет выдан",
"content": {
"application/json": {
"schema": {
@@ -449,8 +449,7 @@
},
"ticket": {
"type": "string",
"pattern": "^[A-Z0-9]{16}$",
"example": "7W6D4M2Q9K8R3X5Z"
"pattern": "^[A-Z0-9]{16}$"
},
"expires_at": {
"type": "string",
@@ -466,7 +465,7 @@
"description": "Launcher authentication required"
},
"422": {
"description": "Client build is not allowed"
"description": "Unsupported client build"
},
"429": {
"description": "Too many requests"
@@ -660,7 +659,7 @@
"Launcher Auth"
],
"summary": "Зарегистрировать игровой аккаунт",
"description": "Создаёт игровой аккаунт AzerothCore. Инвайт-код обязателен, если на сервере включена регистрация по приглашениям.",
"description": "Создаёт аккаунт сайта и vMaNGOS со случайным игровым паролем. Для входа в игру лаунчер выдаёт билет. Инвайт-код обязателен, если включена регистрация по приглашениям.",
"operationId": "bfc1dbd42cbcc339bc8a13dbf189c525",
"requestBody": {
"required": true,
@@ -679,7 +678,7 @@
"type": "string",
"pattern": "^[A-Za-z0-9]+$",
"example": "Player",
"maxLength": 32,
"maxLength": 16,
"minLength": 3
},
"email": {
@@ -698,13 +697,13 @@
"password": {
"type": "string",
"example": "Secret123",
"maxLength": 32,
"maxLength": 16,
"minLength": 8
},
"password_confirmation": {
"type": "string",
"example": "Secret123",
"maxLength": 32,
"maxLength": 16,
"minLength": 8
},
"terms": {