feat: изменения в api досок #15
@@ -3822,6 +3822,9 @@ paths:
|
|||||||
summary: Список новичков
|
summary: Список новичков
|
||||||
operationId: /newbies/index
|
operationId: /newbies/index
|
||||||
parameters:
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/boardDepartmentId'
|
||||||
|
- $ref: '#/components/parameters/userListKey'
|
||||||
|
- $ref: '#/components/parameters/boardWithFavorites'
|
||||||
- $ref: '#/components/parameters/boardDateTypeParam'
|
- $ref: '#/components/parameters/boardDateTypeParam'
|
||||||
- $ref: '#/components/parameters/boardDateDayParam'
|
- $ref: '#/components/parameters/boardDateDayParam'
|
||||||
- $ref: '#/components/parameters/boardDateWeekParam'
|
- $ref: '#/components/parameters/boardDateWeekParam'
|
||||||
@@ -3867,6 +3870,10 @@ paths:
|
|||||||
$ref: '#/components/schemas/_meta'
|
$ref: '#/components/schemas/_meta'
|
||||||
_periodUrls:
|
_periodUrls:
|
||||||
$ref: '#/components/schemas/_periodUrls'
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
periodUrls:
|
||||||
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
currentPeriod:
|
||||||
|
$ref: '#/components/schemas/currentPeriod'
|
||||||
400:
|
400:
|
||||||
description: Bad Request.
|
description: Bad Request.
|
||||||
401:
|
401:
|
||||||
@@ -3883,6 +3890,9 @@ paths:
|
|||||||
summary: Список дней рождений
|
summary: Список дней рождений
|
||||||
operationId: /birthday/index
|
operationId: /birthday/index
|
||||||
parameters:
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/boardDepartmentId'
|
||||||
|
- $ref: '#/components/parameters/userListKey'
|
||||||
|
- $ref: '#/components/parameters/boardWithFavorites'
|
||||||
- $ref: '#/components/parameters/boardDateTypeParam'
|
- $ref: '#/components/parameters/boardDateTypeParam'
|
||||||
- $ref: '#/components/parameters/boardDateDayParam'
|
- $ref: '#/components/parameters/boardDateDayParam'
|
||||||
- $ref: '#/components/parameters/boardDateWeekParam'
|
- $ref: '#/components/parameters/boardDateWeekParam'
|
||||||
@@ -3928,6 +3938,10 @@ paths:
|
|||||||
$ref: '#/components/schemas/_meta'
|
$ref: '#/components/schemas/_meta'
|
||||||
_periodUrls:
|
_periodUrls:
|
||||||
$ref: '#/components/schemas/_periodUrls'
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
periodUrls:
|
||||||
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
currentPeriod:
|
||||||
|
$ref: '#/components/schemas/currentPeriod'
|
||||||
400:
|
400:
|
||||||
description: Bad Request.
|
description: Bad Request.
|
||||||
401:
|
401:
|
||||||
@@ -3944,6 +3958,9 @@ paths:
|
|||||||
summary: Список годовщин по стажу в компании
|
summary: Список годовщин по стажу в компании
|
||||||
operationId: /experienced/index
|
operationId: /experienced/index
|
||||||
parameters:
|
parameters:
|
||||||
|
- $ref: '#/components/parameters/boardDepartmentId'
|
||||||
|
- $ref: '#/components/parameters/userListKey'
|
||||||
|
- $ref: '#/components/parameters/boardWithFavorites'
|
||||||
- $ref: '#/components/parameters/boardDateTypeParam'
|
- $ref: '#/components/parameters/boardDateTypeParam'
|
||||||
- $ref: '#/components/parameters/boardDateDayParam'
|
- $ref: '#/components/parameters/boardDateDayParam'
|
||||||
- $ref: '#/components/parameters/boardDateWeekParam'
|
- $ref: '#/components/parameters/boardDateWeekParam'
|
||||||
@@ -4006,6 +4023,10 @@ paths:
|
|||||||
$ref: '#/components/schemas/_meta'
|
$ref: '#/components/schemas/_meta'
|
||||||
_periodUrls:
|
_periodUrls:
|
||||||
$ref: '#/components/schemas/_periodUrls'
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
periodUrls:
|
||||||
|
$ref: '#/components/schemas/_periodUrls'
|
||||||
|
currentPeriod:
|
||||||
|
$ref: '#/components/schemas/currentPeriod'
|
||||||
400:
|
400:
|
||||||
description: Bad Request.
|
description: Bad Request.
|
||||||
401:
|
401:
|
||||||
@@ -4583,6 +4604,12 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
href:
|
href:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
currentPeriod:
|
||||||
|
type: string
|
||||||
|
description: Выбранный период дат в текстовом формате, с учётом локализации
|
||||||
|
example: "07.04.25 - 13.04.25"
|
||||||
|
|
||||||
WorkflowCategory:
|
WorkflowCategory:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -8025,6 +8052,9 @@ components:
|
|||||||
description: User department name
|
description: User department name
|
||||||
type: string
|
type: string
|
||||||
example: 'New Department'
|
example: 'New Department'
|
||||||
|
isFavorite:
|
||||||
|
description: Находится ли пользователь в избранном
|
||||||
|
type: boolean
|
||||||
|
|
||||||
shopOrderCheckoutRequestBody:
|
shopOrderCheckoutRequestBody:
|
||||||
type: object
|
type: object
|
||||||
@@ -8264,6 +8294,23 @@ components:
|
|||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
example: 2024
|
example: 2024
|
||||||
|
boardDepartmentId:
|
||||||
|
name: department_id
|
||||||
|
in: query
|
||||||
|
description: UUID подразделения, либо их список, разделённый запятой
|
||||||
|
required: false
|
||||||
|
boardWithFavorites:
|
||||||
|
name: with_favorites
|
||||||
|
in: query
|
||||||
|
description: Возвращать результат вместе с избранными пользователями
|
||||||
|
required: false
|
||||||
|
example: 1
|
||||||
|
userListKey:
|
||||||
|
name: user_list_key
|
||||||
|
in: query
|
||||||
|
description: UUID списка пользователей
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
security:
|
security:
|
||||||
- SessionAuth: [ ]
|
- SessionAuth: [ ]
|
||||||
- ApiKeyAuth: [ ]
|
- ApiKeyAuth: [ ]
|
||||||
Reference in New Issue
Block a user