2025-05-14 11:54:07: merge [master:138dde59487c426482ca2f7c3e9db90630787f98];
This commit is contained in:
1 parent
a648f4f9a7
commit
c5b82152e0
13 files changed
+286
-120
No files matched your search
+49
-1
@@ -3,7 +3,7 @@ definitions:
|
||||
apierrors.Error:
|
||||
properties:
|
||||
details:
|
||||
additionalProperties: true
|
||||
additionalProperties: {}
|
||||
type: object
|
||||
errorCode:
|
||||
type: integer
|
||||
@@ -230,6 +230,20 @@ definitions:
|
||||
$ref: '#/definitions/domain.ServiceWithApps'
|
||||
type: array
|
||||
type: object
|
||||
domain.GetApplicationByTokenRequest:
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
required:
|
||||
- token
|
||||
type: object
|
||||
domain.GetApplicationByTokenResponse:
|
||||
properties:
|
||||
applicationGroupId:
|
||||
type: integer
|
||||
applicationId:
|
||||
type: integer
|
||||
type: object
|
||||
domain.IdListRequest:
|
||||
properties:
|
||||
idList:
|
||||
@@ -629,6 +643,40 @@ paths:
|
||||
summary: Получить приложение по идентификатору
|
||||
tags:
|
||||
- application
|
||||
/application/get_application_by_token:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Возвращает идентификатор приложения и группы по токену
|
||||
parameters:
|
||||
- description: Тело запроса
|
||||
in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/domain.GetApplicationByTokenRequest'
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/domain.GetApplicationByTokenResponse'
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
$ref: '#/definitions/apierrors.Error'
|
||||
"404":
|
||||
description: Not Found
|
||||
schema:
|
||||
$ref: '#/definitions/apierrors.Error'
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/apierrors.Error'
|
||||
summary: Получить идентификатор приложения и группы по токену
|
||||
tags:
|
||||
- application
|
||||
/application/get_applications:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
Reference in new issue
Block a user