feature/H-1169 #9
@@ -427,58 +427,6 @@ paths:
|
|||||||
description: User not found
|
description: User not found
|
||||||
500:
|
500:
|
||||||
description: Server Error
|
description: Server Error
|
||||||
/employment/set-main:
|
|
||||||
post:
|
|
||||||
tags:
|
|
||||||
- employment
|
|
||||||
summary: Set main employment
|
|
||||||
operationId: /calendar-event-request
|
|
||||||
requestBody:
|
|
||||||
required: true
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
employment_id:
|
|
||||||
type: string
|
|
||||||
format: uuid
|
|
||||||
description: User employment ID
|
|
||||||
responses:
|
|
||||||
200:
|
|
||||||
description: User employments data
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
success:
|
|
||||||
description: Result status.
|
|
||||||
type: boolean
|
|
||||||
example: true
|
|
||||||
message:
|
|
||||||
description: Message displayed to user (localized).
|
|
||||||
type: string
|
|
||||||
default: null
|
|
||||||
example: {
|
|
||||||
"type": "success",
|
|
||||||
"text": "Запись установлена основной!"
|
|
||||||
}
|
|
||||||
errors:
|
|
||||||
description: Array of validation errors.
|
|
||||||
type: array
|
|
||||||
default: null
|
|
||||||
data:
|
|
||||||
type: object
|
|
||||||
default: null
|
|
||||||
401:
|
|
||||||
description: Unauthorized request
|
|
||||||
403:
|
|
||||||
description: Unauthorized request
|
|
||||||
404:
|
|
||||||
description: User not found
|
|
||||||
500:
|
|
||||||
description: Server Error
|
|
||||||
|
|
||||||
/user-group/items:
|
/user-group/items:
|
||||||
get:
|
get:
|
||||||
|
|||||||
Reference in New Issue
Block a user