feat: описание методов для фильтров календаря
This commit is contained in:
+192
-2
@@ -339,6 +339,100 @@ paths:
|
||||
500:
|
||||
description: Server Error
|
||||
|
||||
/user/items:
|
||||
get:
|
||||
tags:
|
||||
- user
|
||||
summary: User items.
|
||||
operationId: actionItems
|
||||
parameters:
|
||||
- name: name
|
||||
in: query
|
||||
type: string
|
||||
- name: q
|
||||
in: query
|
||||
type: string
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: User items.
|
||||
schema:
|
||||
properties:
|
||||
data:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: uuid
|
||||
name:
|
||||
type: string
|
||||
faceUrl:
|
||||
type: string
|
||||
|
||||
400:
|
||||
description: Bad Request.
|
||||
401:
|
||||
description: Unathorized request.
|
||||
403:
|
||||
description: Unathorized request.
|
||||
404:
|
||||
description: Calendar event not found.
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/user-group/items:
|
||||
get:
|
||||
tags:
|
||||
- userGroup
|
||||
summary: User group items.
|
||||
operationId: actionItems
|
||||
parameters:
|
||||
- name: name
|
||||
in: query
|
||||
type: string
|
||||
- name: only_with_calendar_events
|
||||
in: query
|
||||
type: integer
|
||||
description: Only used in calendar event
|
||||
example: '0 or 1'
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: User group items.
|
||||
schema:
|
||||
properties:
|
||||
data:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: uuid
|
||||
name:
|
||||
type: string
|
||||
faceUrl:
|
||||
type: string
|
||||
|
||||
400:
|
||||
description: Bad Request.
|
||||
401:
|
||||
description: Unathorized request.
|
||||
403:
|
||||
description: Unathorized request.
|
||||
404:
|
||||
description: Calendar event not found.
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/account/status-text:
|
||||
post:
|
||||
tags:
|
||||
@@ -1004,19 +1098,24 @@ paths:
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month
|
||||
example: '2023-01-01 10:00:00'
|
||||
- name: end_date_time
|
||||
in: query
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month +3 month
|
||||
example: '2023-04-01 10:00:00'
|
||||
- name: calendar_event_type_id
|
||||
in: query
|
||||
type: integer
|
||||
type: string
|
||||
enum: [1, 2, 3, 4, 5, 6]
|
||||
description: 1 - CORPORATE, 2 - TRAINING, 3 - MEET, 4 - PUBLIC_HOLIDAY, 5 - EVENT, 6 - WEBINAR
|
||||
example: '1,2,3 or 1'
|
||||
- name: entity_id
|
||||
in: query
|
||||
type: integer
|
||||
enum: [1030]
|
||||
description: Communication with entities, for example, is used in meeting places. 1030 - MeetingPlace
|
||||
- name: calendar_event_entity_item_id
|
||||
in: query
|
||||
type: string
|
||||
@@ -1030,6 +1129,7 @@ paths:
|
||||
description: Visible to user group
|
||||
type: string
|
||||
format: uuid
|
||||
example: '9f7063d1-959e-4c32-b186-313576375739,3a7539cb-d85e-4455-af41-fc505d1ce6dd or 3a7539cb-d85e-4455-af41-fc505d1ce6dd'
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
@@ -1054,6 +1154,86 @@ paths:
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/calendar-event/items:
|
||||
get:
|
||||
tags:
|
||||
- calendarEvent
|
||||
summary: Calendar event items.
|
||||
operationId: actionItems
|
||||
parameters:
|
||||
- name: title
|
||||
in: query
|
||||
type: string
|
||||
- name: title_exact
|
||||
in: query
|
||||
type: string
|
||||
- name: start_date_time
|
||||
in: query
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month
|
||||
example: '2023-01-01 10:00:00'
|
||||
- name: end_date_time
|
||||
in: query
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month +3 month
|
||||
example: '2023-04-01 10:00:00'
|
||||
- name: calendar_event_type_id
|
||||
in: query
|
||||
type: string
|
||||
enum: [1, 2, 3, 4, 5, 6]
|
||||
description: 1 - CORPORATE, 2 - TRAINING, 3 - MEET, 4 - PUBLIC_HOLIDAY, 5 - EVENT, 6 - WEBINAR
|
||||
example: '1,2,3 or 1'
|
||||
- name: entity_id
|
||||
in: query
|
||||
type: integer
|
||||
enum: [1030]
|
||||
description: Communication with entities, for example, is used in meeting places. 1030 - MeetingPlace
|
||||
- name: calendar_event_entity_item_id
|
||||
in: query
|
||||
type: string
|
||||
format: uuid
|
||||
- name: user_id
|
||||
in: query
|
||||
type: string
|
||||
format: uuid
|
||||
- name: visible_to
|
||||
in: query
|
||||
description: Visible to user group
|
||||
type: string
|
||||
format: uuid
|
||||
example: '9f7063d1-959e-4c32-b186-313576375739,3a7539cb-d85e-4455-af41-fc505d1ce6dd or 3a7539cb-d85e-4455-af41-fc505d1ce6dd'
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
200:
|
||||
description: Calendar event items.
|
||||
schema:
|
||||
properties:
|
||||
data:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: uuid
|
||||
title:
|
||||
type: string
|
||||
400:
|
||||
description: Bad Request.
|
||||
401:
|
||||
description: Unathorized request.
|
||||
403:
|
||||
description: Unathorized request.
|
||||
404:
|
||||
description: Calendar event not found.
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/calendar-event/my:
|
||||
get:
|
||||
tags:
|
||||
@@ -1072,28 +1252,38 @@ paths:
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month
|
||||
example: '2023-01-01 10:00:00'
|
||||
- name: end_date_time
|
||||
in: query
|
||||
type: string
|
||||
format: 'date-time'
|
||||
description: Default current month +3 month
|
||||
example: '2023-04-01 10:00:00'
|
||||
- name: calendar_event_type_id
|
||||
in: query
|
||||
type: integer
|
||||
type: string
|
||||
enum: [1, 2, 3, 4, 5, 6]
|
||||
description: 1 - CORPORATE, 2 - TRAINING, 3 - MEET, 4 - PUBLIC_HOLIDAY, 5 - EVENT, 6 - WEBINAR
|
||||
example: '1,2,3 or 1'
|
||||
- name: entity_id
|
||||
in: query
|
||||
type: integer
|
||||
enum: [1030]
|
||||
description: Communication with entities, for example, is used in meeting places. 1030 - MeetingPlace
|
||||
- name: calendar_event_entity_item_id
|
||||
in: query
|
||||
type: string
|
||||
format: uuid
|
||||
- name: user_id
|
||||
in: query
|
||||
type: string
|
||||
format: uuid
|
||||
- name: visible_to
|
||||
in: query
|
||||
description: Visible to user group
|
||||
type: string
|
||||
format: uuid
|
||||
example: '9f7063d1-959e-4c32-b186-313576375739,3a7539cb-d85e-4455-af41-fc505d1ce6dd or 3a7539cb-d85e-4455-af41-fc505d1ce6dd'
|
||||
consumes:
|
||||
- application/json
|
||||
produces:
|
||||
|
||||
Reference in New Issue
Block a user