MSP-8292 Add ui_settings/sudir

This commit is contained in:
Синельник Тимур Романович committed 2026-08-12 16:25:37 +03:00
1 parent 5daaea50a1
commit 3ee480f5e3
10 files changed
+355 -14

No files matched your search

+76
View File
@@ -761,6 +761,58 @@
}
}
},
"/ui_settings/sudir": {
"post": {
"description": "Получение настроек для ui для авторизации через СУДИР",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"ui_settings"
],
"summary": "Получение настроек для ui для авторизации через СУДИР",
"parameters": [
{
"description": "Тело запроса",
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/domain.ClientNameRequest"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/domain.UiSudirSetting"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/domain.GrpcError"
}
},
"401": {
"description": "Неизвестное название клиента",
"schema": {
"$ref": "#/definitions/domain.GrpcError"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/domain.GrpcError"
}
}
}
}
},
"/user/block_user": {
"post": {
"consumes": [
@@ -1498,6 +1550,17 @@
}
}
},
"domain.ClientNameRequest": {
"type": "object",
"required": [
"clientName"
],
"properties": {
"clientName": {
"type": "string"
}
}
},
"domain.CreateRoleRequest": {
"type": "object",
"properties": {
@@ -1970,6 +2033,19 @@
}
}
},
"domain.UiSudirSetting": {
"type": "object",
"properties": {
"loginUrl": {
"description": "URL для получения authCode для авторизации через СУДИР",
"type": "string"
},
"logoutUrl": {
"description": "URL для завершения сессии",
"type": "string"
}
}
},
"domain.UpdateRoleRequest": {
"type": "object",
"properties": {