diff --git a/docs/event-service/apis/event-controller-create.api.mdx b/docs/event-service/apis/event-controller-create.api.mdx
new file mode 100644
index 0000000..9cc3235
--- /dev/null
+++ b/docs/event-service/apis/event-controller-create.api.mdx
@@ -0,0 +1,71 @@
+---
+id: event-controller-create
+title: "Create Events"
+description: "Create Events"
+sidebar_label: "Create Events"
+hide_title: true
+hide_table_of_contents: true
+api: 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
+sidebar_class_name: "post api-method"
+info_path: docs/event-service/apis/event-management
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+
+
+
+
+
+
+
+
+
+Create Events
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/event-service/apis/event-controller-find-all.api.mdx b/docs/event-service/apis/event-controller-find-all.api.mdx
new file mode 100644
index 0000000..b718c19
--- /dev/null
+++ b/docs/event-service/apis/event-controller-find-all.api.mdx
@@ -0,0 +1,71 @@
+---
+id: event-controller-find-all
+title: "Search Events"
+description: "Search Events"
+sidebar_label: "Search Events"
+hide_title: true
+hide_table_of_contents: true
+api: eJztWEtv2zgQ/ivCnHYBaSM/ZeuWVwEDu0iRuFhgjWBBiyObXYlySdqtYei/L4a0ZUl2U6e59BAjh5jkzHyc+eZh7qBYoWJGFHLCIYb7DUpzW0ijiixD9W8qJL/OMvBhxRTL0aDSEM92IFmOEMNao5pw8EHhl7VQyCE2ao0+CAkxfFmj2oIPOlliziDeleWzO4ra3BR8C/HuRDIppEFpaIutVplILLqrz7qQtFbpArNdEYRi/hkTQwgV3cUI1LSbiVyY2jG5zueowAeOOlFiRUohhj/tsdKHIk01XiDw4M6VPqQic+7YtY58cBteWihPI1PJEnxgWfaQWte9jJszg6cqnwxTxqM9TzG5QM8Zf4VeltL54/W0UUIuwAf8xvJVRkvdsNsPwijo9qdhGNu/f07uP3l68EbDsEO3y5nDFBiRo6dwpVCjNEIuPLNET1vQRWq/WNjktjmmhcILkUTTbi8ejOPB+E1IUPIWjrJO2dneOxW4Zx+MMBbKHTP4SDJ3poDyufTBXuvuPUy/eJhQ8vNBupf8PUS/RIi0YWZtfVoBnkEmNkgIFUvJ90JeJ8YtUSUVG+SktHmBa6XYlnA5jd6GZWvUsUe6fM+q8r2DJr/S4x8cx0iejBnM9alD6Y5InXFqlxtwC5kJSeiKNLX/XQzOSfreQfA1aPY+fSnytpV7U3uwDcntOSUltdxloQwNAC8pjIZsgKM+C/q93jDoR8koGI+GaTAepRHjnXGI4fzE0q1VbY0oZAb5zfZlK5imYThio6A7iHpBfzjkwXwURUHKeTpk/TTp9E7vc1vpbtPRttN6zT4Whop/9eAeXFtzSh16jc6uy++53LLqho9qqDjOCjX5JzsZ1LRUXrAxd9t/C7O0TeVa8vtjQdPrPGdqS5F0InbW+L5I2193aJjIkHt4objlbG2s6oThcWTqNmahRnvc18p9GRoF3c60M4p7h4J4qGDH/S7td12ZahbxE1X9H6gaNFUdis2lFaaW8LN6ch/iZ3OozpMYwm40SvmQBcjHvaCfdsfBfDzsBLyXjKLhOEqiIWvQ6UK6l8SvY3jIIxN5g+YrorQV9RJOnJF6JS3OaniRGZ3mlPweyVYkH8wS1Yda7vwgho3zr4xeS/YVcXurn0r3oRKpV4XUrsB1w/DMAG3hIqcwD84dmEiDSrLMe0K1QeXdK1Uo1xLZwnLC9QLPgT1pxs6A2yU35GiWBd1kVWg76jGzhBiuLGcCjWojEnTfrjadq0zYU9oaJ3PPPtAv08fjb9r7QyurXFtzbHhBQpyMja2EaA1z7V8kb1X23ZL7U7jekKhnBqsGE6vZpsbHC2eUn8hbAp0WJ+ng/cUkW2DuMqM1lTx+uvOuP04o21Bpt9j5IwT3yMESY59EfMu9nNnnjf27SpumDcXV+GTwm7laZUxI8vZaZbTnGDyDBoMPMw5B6YAPlsfPPiyJ9fEMdrs50/hJZWVJy+7hhn4KcaHZPKOpJmWZxhMk1WsN/Pa4H4B+946jbBPhf7itvxntSxAAvQptmBJkiXKq9GGJjBP3Zru91K0zFOyntIPsyRMR6aqS+uPD05SIun9qygtOMop9pRcr9pVs+1DYy9iEtGs7yJhcrBm1VXA66fM//BU/Pw==
+sidebar_class_name: "post api-method"
+info_path: docs/event-service/apis/event-management
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+
+
+
+
+
+
+
+
+
+Search Events
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/event-service/apis/event-controller-update-event.api.mdx b/docs/event-service/apis/event-controller-update-event.api.mdx
new file mode 100644
index 0000000..ff78ef0
--- /dev/null
+++ b/docs/event-service/apis/event-controller-update-event.api.mdx
@@ -0,0 +1,71 @@
+---
+id: event-controller-update-event
+title: "Edit Events"
+description: "Edit Events"
+sidebar_label: "Edit Events"
+hide_title: true
+hide_table_of_contents: true
+api: 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
+sidebar_class_name: "patch api-method"
+info_path: docs/event-service/apis/event-management
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+
+
+
+
+
+
+
+
+
+Edit Events
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/event-service/apis/event-management.info.mdx b/docs/event-service/apis/event-management.info.mdx
new file mode 100644
index 0000000..e962e30
--- /dev/null
+++ b/docs/event-service/apis/event-management.info.mdx
@@ -0,0 +1,35 @@
+---
+id: event-management
+title: "Event Management"
+description: "CRUD API"
+sidebar_label: Introduction
+sidebar_position: 0
+hide_title: true
+custom_edit_url: null
+---
+
+import ApiLogo from "@theme/ApiLogo";
+import Heading from "@theme/Heading";
+import SchemaTabs from "@theme/SchemaTabs";
+import TabItem from "@theme/TabItem";
+import Export from "@theme/ApiExplorer/Export";
+
+
+
+
+
+
+
+
+
+CRUD API
+
+
+
\ No newline at end of file
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 7813f88..968a8a7 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -5,7 +5,7 @@ import type * as OpenApiPlugin from "docusaurus-plugin-openapi-docs";
const config: Config = {
title: "Tekdi Docs",
- tagline: "CATALYSE • DIGITAL • TRANSFORMATION",
+ tagline: `CATALYSE • DIGITAL • TRANSFORMATION`,
favicon: "img/favicon.png",
// Set the production url of your site here
@@ -75,6 +75,10 @@ const config: Config = {
specPath: "swagger/todo-service.json",
outputDir: "docs/todo-service/apis",
} satisfies OpenApiPlugin.Options,
+ events: {
+ specPath: "swagger/event-service.json",
+ outputDir: "docs/event-service/apis",
+ } satisfies OpenApiPlugin.Options,
},
},
],
diff --git a/swagger/event-service.json b/swagger/event-service.json
new file mode 100644
index 0000000..2ea3b9c
--- /dev/null
+++ b/swagger/event-service.json
@@ -0,0 +1,1136 @@
+{
+ "openapi": "3.0.0",
+ "paths": {
+ "/event-service/event/v1/create": {
+ "post": {
+ "operationId": "EventController_create",
+ "summary": "Create Events",
+ "parameters": [
+ {
+ "name": "userId",
+ "required": true,
+ "in": "query",
+ "description": "UserId Required",
+ "schema": { "example": "123e4567-e89b-12d3-a456-426614174000" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/CreateEventDto" },
+ "examples": {
+ "RecurringOnlineDailyByEndDate": {
+ "summary": "Example for RecurringOnlineDailyByEndDate",
+ "description": "Detailed example for RecurringOnlineDailyByEndDate",
+ "value": {
+ "title": "Sample OnlineDailyByEndDate Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "online",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "onlineProvider": "Zoom",
+ "isMeetingNew": false,
+ "meetingDetails": {
+ "url": "https://zoom.us/j/99201586505?pwd=ZA8uek6tYu0LQTPbW2GgIORpNDmv7j",
+ "id": "meeting-id"
+ },
+ "attendees": [],
+ "recordings": { "url": "https://zoom.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "daily",
+ "interval": 1,
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-25T11:00:00Z"
+ },
+ "recurringStartDate": "2024-03-18T10:00:00Z"
+ },
+ "metaData": {
+ "cohortId": "3218bb35-a87d-4adf-b305-b205286fe320"
+ },
+ "erMetaData": {}
+ }
+ },
+ "RecurringOnlineDailyByOccurrences": {
+ "summary": "Example for RecurringOnlineDailyByOccurrences",
+ "description": "Detailed example for RecurringOnlineDailyByOccurrences",
+ "value": {
+ "title": "Sample OnlineDailyByOccurrences Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "online",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "onlineProvider": "Zoom",
+ "isMeetingNew": false,
+ "meetingDetails": {
+ "url": "https://zoom.us/j/99201586505?pwd=ZA8uek6tYu0LQTPbW2GgIORpNDmv7j",
+ "id": "meeting-id"
+ },
+ "attendees": [],
+ "recordings": { "url": "https://zoom.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "daily",
+ "interval": 1,
+ "endCondition": { "type": "occurrences", "value": "20" },
+ "recurringStartDate": "2024-03-18T10:00:00Z"
+ },
+ "metaData": {
+ "cohortId": "3218bb35-a87d-4adf-b305-b205286fe320"
+ },
+ "erMetaData": {}
+ }
+ },
+ "RecurringOfflineDailyByEndDate": {
+ "summary": "Example for RecurringOfflineDailyByEndDate",
+ "description": "Detailed example for RecurringOfflineDailyByEndDate",
+ "value": {
+ "title": "Sample OfflineDailyByEndDate Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "offline",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "location": "Kothrud",
+ "attendees": [],
+ "recordings": { "url": "https://zoom.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "daily",
+ "interval": 1,
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-25T11:00:00Z"
+ },
+ "recurringStartDate": "2024-03-18T10:00:00Z"
+ },
+ "metaData": {
+ "cohortId": "3218bb35-a87d-4adf-b305-b205286fe320"
+ },
+ "erMetaData": {}
+ }
+ },
+ "RecurringOfflineDailyByOccurrence": {
+ "summary": "Example for RecurringOfflineDailyByOccurrence",
+ "description": "Detailed example for RecurringOfflineDailyByOccurrence",
+ "value": {
+ "title": "Sample OfflineDailyByOccurrence Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "offline",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "location": "Kothrud",
+ "attendees": [],
+ "recordings": { "url": "https://zoom.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "daily",
+ "interval": 1,
+ "endCondition": { "type": "occurrences", "value": "20" },
+ "recurringStartDate": "2024-03-18T10:00:00Z"
+ },
+ "metaData": {
+ "cohortId": "3218bb35-a87d-4adf-b305-b205286fe320"
+ },
+ "erMetaData": {}
+ }
+ },
+ "RecurringOnlineWeeklyByEndDate": {
+ "summary": "Example for RecurringOnlineWeeklyByEndDate",
+ "description": "Detailed example for RecurringOnlineWeeklyByEndDate",
+ "value": {
+ "title": "Sample OnlineWeeklyByEndDate Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "online",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "onlineProvider": "Zoom",
+ "isMeetingNew": false,
+ "meetingDetails": {
+ "url": "https://zoom.us/j/99201586505?pwd=ZA8uek6tYu0LQTPbW2GgIORpNDmv7j",
+ "id": "meeting-id"
+ },
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "weekly",
+ "interval": 1,
+ "daysOfWeek": [3, 5],
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-25T11:00:00Z"
+ },
+ "recurringStartDate": "2024-12-18T10:00:00Z"
+ },
+ "metaData": {},
+ "erMetaData": {}
+ }
+ },
+ "RecurringOnlineWeeklyByOccurrences": {
+ "summary": "Example for RecurringOnlineWeeklyByOccurrences",
+ "description": "Detailed example for RecurringOnlineWeeklyByOccurrences",
+ "value": {
+ "title": "Sample OnlineWeeklyByOccurrences Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "online",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "onlineProvider": "Zoom",
+ "isMeetingNew": false,
+ "meetingDetails": {
+ "url": "https://zoom.us/j/99201586505?pwd=ZA8uek6tYu0LQTPbW2GgIORpNDmv7j",
+ "id": "meeting-id"
+ },
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "weekly",
+ "interval": 1,
+ "daysOfWeek": [3, 5],
+ "endCondition": { "type": "occurrences", "value": "20" },
+ "recurringStartDate": "2024-12-18T10:00:00Z"
+ },
+ "metaData": {},
+ "erMetaData": {}
+ }
+ },
+ "RecurringOfflineWeeklyByEndDate": {
+ "summary": "Example for RecurringOfflineWeeklyByEndDate",
+ "description": "Detailed example for RecurringOfflineWeeklyByEndDate",
+ "value": {
+ "title": "Sample Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "offline",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "location": "Kothrud",
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "weekly",
+ "interval": 1,
+ "daysOfWeek": [3, 5],
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-25T11:00:00Z"
+ },
+ "recurringStartDate": "2024-12-18T10:00:00Z"
+ },
+ "metaData": {},
+ "erMetaData": {}
+ }
+ },
+ "RecurringOfflineWeeklyByOccurrence": {
+ "summary": "Example for RecurringOfflineWeeklyByOccurrence",
+ "description": "Detailed example for RecurringOfflineWeeklyByOccurrence",
+ "value": {
+ "title": "Sample Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "offline",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "location": "Kothrud",
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": true,
+ "recurrencePattern": {
+ "frequency": "weekly",
+ "interval": 1,
+ "daysOfWeek": [3, 5],
+ "endCondition": { "type": "occurrences", "value": "20" },
+ "recurringStartDate": "2024-12-18T10:00:00Z"
+ },
+ "metaData": {},
+ "erMetaData": {}
+ }
+ },
+ "NonRecurringOffline": {
+ "summary": "Example for NonRecurringOffline",
+ "description": "Detailed example for NonRecurringOffline",
+ "value": {
+ "title": "Sample Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "offline",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "location": "Kothrud",
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": false,
+ "metaData": {},
+ "erMetaData": {}
+ }
+ },
+ "NonRecurringOnline": {
+ "summary": "Example for NonRecurringOnline",
+ "description": "Detailed example for NonRecurringOnline",
+ "value": {
+ "title": "Sample NonRecurringOnline Event",
+ "shortDescription": "This is a sample event",
+ "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
+ "eventType": "online",
+ "isRestricted": true,
+ "autoEnroll": true,
+ "startDatetime": "2024-12-18T10:00:00Z",
+ "endDatetime": "2024-12-18T11:00:00Z",
+ "onlineProvider": "Zoom",
+ "isMeetingNew": false,
+ "meetingDetails": {
+ "url": "https://zoom.us/j/99201586505?pwd=ZA8uek6tYu0LQTPbW2GgIORpNDmv7j",
+ "id": "meeting-id"
+ },
+ "attendees": [],
+ "recordings": { "url": "https://example.com/recording" },
+ "status": "live",
+ "isRecurring": false,
+ "metaData": {},
+ "erMetaData": {}
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": { "description": "Event created successfully" },
+ "400": { "description": "Invalid request body" },
+ "500": { "description": "Internal Server Error" }
+ },
+ "tags": ["Create Event"]
+ }
+ },
+ "/event-service/event/v1/list": {
+ "post": {
+ "operationId": "EventController_findAll",
+ "summary": "Search Events",
+ "parameters": [
+ { "name": "userId", "required": true, "in": "query", "schema": {} }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/SearchFilterDto" },
+ "examples": {
+ "SearchWithStartAndEndDate": {
+ "summary": "Example for SearchWithStartAndEndDate",
+ "description": "Detailed example for SearchWithStartAndEndDate",
+ "value": {
+ "limit": 100,
+ "offset": 2,
+ "filters": {
+ "startDate": {
+ "after": "2024-08-21T18:30:00Z",
+ "before": "2024-08-22T18:29:59Z"
+ },
+ "endDate": {
+ "after": "2024-08-24T18:30:00Z",
+ "before": "2024-08-25T18:29:59Z"
+ },
+ "status": ["live", "draft", "inActive", "archived"],
+ "eventType": ["offline"],
+ "title": "Event",
+ "cohortId": "0278fd6a-ed93-4f29-b961-d3c87697c76a",
+ "createdBy": "eff008a8-2573-466d-b877-fddf6a4fc13e"
+ }
+ }
+ },
+ "SearchWithDateInBetweenRange": {
+ "summary": "Example for SearchWithDateInBetweenRange",
+ "description": "Detailed example for SearchWithDateInBetweenRange",
+ "value": {
+ "limit": 100,
+ "offset": 1,
+ "filters": {
+ "date": {
+ "after": "2024-08-24T18:30:00Z",
+ "before": "2024-08-25T18:29:59Z"
+ },
+ "status": ["live", "draft", "inActive", "archived"],
+ "eventType": ["offline"],
+ "title": "Event",
+ "cohortId": "0278fd6a-ed93-4f29-b961-d3c87697c76a",
+ "createdBy": "eff008a8-2573-466d-b877-fddf6a4fc13e"
+ }
+ }
+ },
+ "SearchWithOtherFilters": {
+ "summary": "Example for SearchWithOtherFilters",
+ "description": "Detailed example for SearchWithOtherFilters",
+ "value": {
+ "limit": 100,
+ "offset": 1,
+ "filters": {
+ "title": "Event",
+ "cohortId": "0278fd6a-ed93-4f29-b961-d3c87697c76a"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": { "description": "Searched" },
+ "500": { "description": "Internal Server Error" }
+ },
+ "tags": ["Create Event"]
+ }
+ },
+ "/event-service/event/v1/{id}": {
+ "patch": {
+ "operationId": "EventController_updateEvent",
+ "summary": "Edit Events",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": { "type": "string" }
+ },
+ {
+ "name": "userId",
+ "required": true,
+ "in": "query",
+ "description": "UserId Required",
+ "schema": { "example": "123e4567-e89b-12d3-a456-426614174000" }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": { "$ref": "#/components/schemas/UpdateEventDto" },
+ "examples": {
+ "EditThisAndFollowingWeeklyOnline": {
+ "summary": "Example for EditThisAndFollowingWeeklyOnline",
+ "description": "Detailed example for EditThisAndFollowingWeeklyOnline",
+ "value": {
+ "isMainEvent": true,
+ "title": "Modify following events",
+ "startDatetime": "2024-12-20T02:00:00Z",
+ "endDatetime": "2024-12-20T03:00:00Z",
+ "onlineProvider": "Zoom",
+ "onlineDetails": {
+ "id": "123-456-0000",
+ "url": "http://zoom.us/j/mymeeting?pwd=xyz",
+ "password": "xxxxxxx",
+ "occurrenceId": "",
+ "providerGenerated": false
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ },
+ "recurrencePattern": {
+ "frequency": "weekly",
+ "interval": 2,
+ "daysOfWeek": [3, 5],
+ "recurringStartDate": "2024-12-06T02:00:00Z",
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-30T03:00:00Z"
+ }
+ }
+ }
+ },
+ "EditThisWeeklyOnline": {
+ "summary": "Example for EditThisWeeklyOnline",
+ "description": "Detailed example for EditThisWeeklyOnline",
+ "value": {
+ "isMainEvent": false,
+ "title": "Modify this event ie 0c8abb6b-02c3-4eb3-88df-b58d9027958e ",
+ "startDatetime": "2024-12-21T02:00:00Z",
+ "endDatetime": "2024-12-21T03:00:00Z",
+ "onlineProvider": "GoogleMeet",
+ "onlineDetails": {
+ "id": "123-456-0000",
+ "url": "https://meet.google.com/hex-uqed-zpp",
+ "password": "xxxxxxx",
+ "occurrenceId": "",
+ "providerGenerated": false
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ }
+ }
+ },
+ "EditThisOneDayOnline": {
+ "summary": "Example for EditThisOneDayOnline",
+ "description": "Detailed example for EditThisOneDayOnline",
+ "value": {
+ "isMainEvent": true,
+ "title": "Modify this event ie 0c8abb6b-02c3-4eb3-88df-b58d9027958e ",
+ "startDatetime": "2024-12-21T02:00:00Z",
+ "endDatetime": "2024-12-21T03:00:00Z",
+ "onlineProvider": "GoogleMeet",
+ "onlineDetails": {
+ "id": "123-456-0000",
+ "url": "https://meet.google.com/hex-uqed-zpp",
+ "password": "xxxxxxx",
+ "occurrenceId": "",
+ "providerGenerated": false
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ }
+ }
+ },
+ "EditThisAndFollowingWeeklyOffline": {
+ "summary": "Example for EditThisAndFollowingWeeklyOffline",
+ "description": "Detailed example for EditThisAndFollowingWeeklyOffline",
+ "value": {
+ "isMainEvent": true,
+ "title": "Modify following events",
+ "startDatetime": "2024-12-20T02:00:00Z",
+ "endDatetime": "2024-12-20T03:00:00Z",
+ "location": "Pune",
+ "recurrencePattern": {
+ "endCondition": {
+ "type": "endDate",
+ "value": "2024-12-25T03:00:00Z"
+ },
+ "frequency": "weekly",
+ "interval": 1,
+ "daysOfWeek": [2, 1, 3],
+ "recurringStartDate": "2024-12-19T02:00:00Z"
+ },
+ "metadata": {
+ "category": "Recurring online",
+ "courseType": "Foundation Course",
+ "subject": "Basic Language",
+ "teacherName": "Sudhakar",
+ "cohortId": "2447aa0c-4111-4cb9-94d1-9898ef6975a1",
+ "cycleId": "",
+ "tenantId": ""
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ }
+ }
+ },
+ "EditThisWeeklyOffline": {
+ "summary": "Example for EditThisWeeklyOffline",
+ "description": "Detailed example for EditThisWeeklyOffline",
+ "value": {
+ "isMainEvent": false,
+ "title": "Modify this event in other recurring events",
+ "startDatetime": "2024-12-29T02:00:00Z",
+ "endDatetime": "2024-12-29T04:00:00Z",
+ "location": "Chandani Chowk",
+ "metadata": {
+ "category": "Recurring online",
+ "courseType": "Foundation Course",
+ "subject": "Basic Language",
+ "teacherName": "Sudhakar",
+ "cohortId": "2447aa0c-4111-4cb9-94d1-9898ef6975a1",
+ "cycleId": "",
+ "tenantId": ""
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ }
+ }
+ },
+ "EditThisOneDayOffline": {
+ "summary": "Example for EditThisOneDayOffline",
+ "description": "Detailed example for EditThisOneDayOffline",
+ "value": {
+ "isMainEvent": true,
+ "title": "Modify this event ie ",
+ "startDatetime": "2024-12-29T02:00:00Z",
+ "endDatetime": "2024-12-29T04:00:00Z",
+ "location": "Chandani Chowk",
+ "metadata": {
+ "category": "Recurring online",
+ "courseType": "Foundation Course",
+ "subject": "Basic Language",
+ "teacherName": "Sudhakar",
+ "cohortId": "2447aa0c-4111-4cb9-94d1-9898ef6975a1",
+ "cycleId": "",
+ "tenantId": ""
+ },
+ "erMetaData": {
+ "topic": "#",
+ "subTopic": "Type of C",
+ "mentorId": "1244546647"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": { "description": "Event updated successfully" },
+ "500": { "description": "Internal Server Error" }
+ },
+ "tags": ["Create Event"]
+ }
+ }
+ },
+ "info": {
+ "title": "Event Management",
+ "description": "CRUD API",
+ "version": "1.0",
+ "contact": {}
+ },
+ "tags": [],
+ "servers": [],
+ "components": {
+ "schemas": {
+ "MeetingDetailsDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Meeting ID",
+ "example": 94292617
+ },
+ "url": {
+ "type": "string",
+ "description": "Meeting url",
+ "example": "https://example.com/meeting"
+ },
+ "password": {
+ "type": "string",
+ "description": "Meeting password",
+ "writeOnly": true
+ },
+ "providerGenerated": {
+ "type": "string",
+ "description": "providerGenerated",
+ "default": false
+ }
+ },
+ "required": ["id", "url", "password", "providerGenerated"]
+ },
+ "EndCondition": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of end condition",
+ "example": "endDate"
+ },
+ "value": {
+ "type": "string",
+ "description": "Value of end condition",
+ "example": "2024-03-18T10:00:00Z | 5"
+ }
+ },
+ "required": ["type", "value"]
+ },
+ "RecurrencePatternDto": {
+ "type": "object",
+ "properties": {
+ "frequency": {
+ "type": "string",
+ "enum": ["daily", "weekly"],
+ "description": "Frequency",
+ "example": "daily"
+ },
+ "interval": {
+ "type": "number",
+ "description": "Interval",
+ "example": 1,
+ "default": 1
+ },
+ "daysOfWeek": {
+ "description": "Days of Week",
+ "example": [1, 3, 5],
+ "type": "array",
+ "items": { "type": "string" }
+ },
+ "endCondition": {
+ "description": "End Condition",
+ "example": { "type": "endDate", "value": "2024-03-18T10:00:00Z" },
+ "allOf": [{ "$ref": "#/components/schemas/EndCondition" }]
+ }
+ },
+ "required": ["frequency", "interval", "daysOfWeek", "endCondition"]
+ },
+ "CreateEventDto": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "title",
+ "example": "Sample Event"
+ },
+ "shortDescription": {
+ "type": "string",
+ "description": "Short Description",
+ "example": "This is a sample event"
+ },
+ "description": {
+ "type": "string",
+ "description": "Description",
+ "example": "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
+ },
+ "eventType": {
+ "type": "string",
+ "enum": ["online", "offline"],
+ "description": "Event Type",
+ "example": "online"
+ },
+ "isRestricted": {
+ "type": "string",
+ "description": "isRestricted",
+ "example": true
+ },
+ "autoEnroll": {
+ "type": "string",
+ "description": "autoEnroll",
+ "example": true
+ },
+ "startDatetime": {
+ "type": "string",
+ "description": "Start Datetime",
+ "example": "2024-03-18T10:00:00"
+ },
+ "endDatetime": {
+ "type": "string",
+ "description": "End Datetime",
+ "example": "2024-03-18T10:00:00"
+ },
+ "location": {
+ "type": "string",
+ "description": "Location",
+ "example": "Event Location"
+ },
+ "longitude": {
+ "type": "number",
+ "description": "Latitude",
+ "example": 18.508345134886994
+ },
+ "latitude": {
+ "type": "number",
+ "description": "Latitude",
+ "example": 18.508345134886994
+ },
+ "onlineProvider": {
+ "type": "string",
+ "description": "Online Provider",
+ "example": "Zoom"
+ },
+ "isMeetingNew": {
+ "type": "boolean",
+ "description": "isMeetingNew",
+ "example": false
+ },
+ "meetingDetails": {
+ "description": "Online Meeting Details",
+ "example": {
+ "url": "https://example.com/meeting",
+ "id": "meeting-id"
+ },
+ "allOf": [{ "$ref": "#/components/schemas/MeetingDetailsDto" }]
+ },
+ "maxAttendees": {
+ "type": "number",
+ "description": "Max Attendees",
+ "example": 100
+ },
+ "attendees": {
+ "type": "object",
+ "description": "Attendees",
+ "example": [
+ "eff008a8-2573-466d-b877-fddf6a4fc13e",
+ "e9fec05a-d6ab-44be-bfa4-eaeef2ef8fe9"
+ ]
+ },
+ "recordings": {
+ "type": "object",
+ "description": "Recordings",
+ "example": { "url": "https://example.com/recording" }
+ },
+ "status": {
+ "type": "string",
+ "description": "Status",
+ "example": "live"
+ },
+ "idealTime": {
+ "type": "string",
+ "description": "idealTime",
+ "example": 120
+ },
+ "registrationStartDate": {
+ "type": "string",
+ "description": "registrationStartDate",
+ "example": "2024-03-18T10:00:00"
+ },
+ "registrationEndDate": {
+ "type": "string",
+ "description": "registrationEndDate",
+ "example": "2024-03-18T10:00:00"
+ },
+ "isRecurring": {
+ "type": "string",
+ "description": "isRecurring",
+ "example": true
+ },
+ "recurrencePattern": {
+ "description": "recurrencePattern",
+ "example": { "frequency": "daily", "interval": 1 },
+ "allOf": [{ "$ref": "#/components/schemas/RecurrencePatternDto" }]
+ },
+ "metaData": {
+ "type": "object",
+ "description": "Event meta data",
+ "example": ""
+ },
+ "erMetaData": {
+ "type": "object",
+ "description": "Meta data for recurring events",
+ "example": ""
+ }
+ },
+ "required": [
+ "title",
+ "shortDescription",
+ "description",
+ "eventType",
+ "isRestricted",
+ "autoEnroll",
+ "startDatetime",
+ "endDatetime",
+ "location",
+ "longitude",
+ "latitude",
+ "onlineProvider",
+ "isMeetingNew",
+ "meetingDetails",
+ "maxAttendees",
+ "attendees",
+ "recordings",
+ "status",
+ "idealTime",
+ "registrationStartDate",
+ "registrationEndDate",
+ "isRecurring",
+ "recurrencePattern",
+ "metaData",
+ "erMetaData"
+ ]
+ },
+ "DateRangeDto": {
+ "type": "object",
+ "properties": {
+ "after": {
+ "type": "string",
+ "example": "2024-07-24T00:00:00Z",
+ "description": "ISO 8601 format date-time representing the start of the range"
+ },
+ "before": {
+ "type": "string",
+ "example": "2024-07-27T23:59:59Z",
+ "description": "ISO 8601 format date-time representing the end of the range"
+ }
+ },
+ "required": ["after", "before"]
+ },
+ "FilterDto": {
+ "type": "object",
+ "properties": {
+ "date": {
+ "description": "Start date range filter",
+ "allOf": [{ "$ref": "#/components/schemas/DateRangeDto" }]
+ },
+ "startDate": {
+ "description": "Start date range filter",
+ "allOf": [{ "$ref": "#/components/schemas/DateRangeDto" }]
+ },
+ "endDate": {
+ "description": "End date range filter",
+ "allOf": [{ "$ref": "#/components/schemas/DateRangeDto" }]
+ },
+ "status": {
+ "example": ["live", "draft", "inActive", "archived"],
+ "description": "Array of status values: live, draft, inActive,archived",
+ "type": "array",
+ "items": { "type": "string" }
+ },
+ "eventType": {
+ "example": ["online", "offline"],
+ "description": "Array of status values: online, offline",
+ "type": "array",
+ "items": { "type": "string" }
+ },
+ "title": {
+ "type": "string",
+ "example": "Event Title",
+ "description": "Event title"
+ },
+ "cohortId": {
+ "type": "string",
+ "example": "76a5e84a-4336-47c8-986f-98f7ad190e0b",
+ "description": "Cohort"
+ },
+ "createdBy": {
+ "type": "string",
+ "example": "eff008a8-2573-466d-b877-fddf6a4fc13e",
+ "description": "CreatedBy"
+ }
+ },
+ "required": [
+ "date",
+ "startDate",
+ "endDate",
+ "status",
+ "eventType",
+ "title",
+ "cohortId",
+ "createdBy"
+ ]
+ },
+ "SearchFilterDto": {
+ "type": "object",
+ "properties": {
+ "limit": { "type": "number", "description": "Limit" },
+ "offset": { "type": "number", "description": "Offset" },
+ "filters": {
+ "description": "Filters for search",
+ "allOf": [{ "$ref": "#/components/schemas/FilterDto" }]
+ }
+ },
+ "required": ["limit", "offset", "filters"]
+ },
+ "UpdateEventDto": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Status",
+ "example": "live"
+ },
+ "title": {
+ "type": "string",
+ "description": "title",
+ "example": "Sample Event"
+ },
+ "isMainEvent": {
+ "type": "string",
+ "description": "isRecurring",
+ "example": true
+ },
+ "onlineDetails": {
+ "description": "Online Meeting Details",
+ "example": {
+ "url": "https://example.com/meeting",
+ "id": "123-456-789"
+ },
+ "allOf": [{ "$ref": "#/components/schemas/MeetingDetailsDto" }]
+ },
+ "erMetaData": {
+ "type": "object",
+ "description": "ErMetaData Details",
+ "example": {
+ "topic": "Java",
+ "mentorId": "1244546647",
+ "subTopic": "Type of fetaures"
+ }
+ },
+ "metadata": {
+ "type": "object",
+ "description": "MetaData Details",
+ "example": {
+ "framework": {
+ "board": "",
+ "medium": "",
+ "grade": "",
+ "subject": "",
+ "topic": "",
+ "subTopic": "",
+ "teacherName": "Vivek Kasture"
+ },
+ "eventType": "PLANNED_SESSION",
+ "doId": "",
+ "cohortId": "71bdbed4-388a-4c79-bd69-65b08e857f1e",
+ "cycleId": "",
+ "tenant": ""
+ }
+ },
+ "startDatetime": {
+ "type": "string",
+ "description": "Start Datetime",
+ "example": "2024-06-02T02:00:00Z"
+ },
+ "endDatetime": {
+ "type": "string",
+ "description": "End Datetime",
+ "example": "2024-06-02T05:00:00Z"
+ },
+ "location": {
+ "type": "string",
+ "description": "Location",
+ "example": "Event Location"
+ },
+ "longitude": {
+ "type": "number",
+ "description": "Latitude",
+ "example": 18.508345134886994
+ },
+ "latitude": {
+ "type": "number",
+ "description": "Latitude",
+ "example": 18.508345134886994
+ },
+ "recurrencePattern": {
+ "description": "recurrencePattern",
+ "example": { "frequency": "daily", "interval": 1 },
+ "allOf": [{ "$ref": "#/components/schemas/RecurrencePatternDto" }]
+ },
+ "onlineProvider": {
+ "type": "string",
+ "description": "Online Provider",
+ "example": "Zoom"
+ }
+ },
+ "required": [
+ "status",
+ "title",
+ "isMainEvent",
+ "onlineDetails",
+ "erMetaData",
+ "metadata",
+ "startDatetime",
+ "endDatetime",
+ "location",
+ "longitude",
+ "latitude",
+ "recurrencePattern",
+ "onlineProvider"
+ ]
+ },
+ "EventAttendeesDTO": {
+ "type": "object",
+ "properties": {
+ "eventId": {
+ "type": "string",
+ "description": "",
+ "example": "bfec8878-623d-40ff-90aa-9bcaf6a73602"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status",
+ "example": "published"
+ }
+ },
+ "required": ["eventId", "status"]
+ },
+ "SearchAttendeesDto": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "The UUID of the user",
+ "example": "014b9a1b-cf76-4fee-8d14-f832bcac61b5"
+ },
+ "eventId": {
+ "type": "string",
+ "description": "The UUID of the event",
+ "example": "bfec8878-623d-40ff-90aa-9bcaf6a73602"
+ }
+ },
+ "required": ["userId", "eventId"]
+ },
+ "UpdateAttendeesDto": {
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string",
+ "description": "The UUID of the user",
+ "example": "0050d1cb-64d0-4902-9ef0-a868aa7aa713"
+ },
+ "eventId": {
+ "type": "string",
+ "description": "The UUID of the event",
+ "example": "bfec8878-623d-40ff-90aa-9bcaf6a73602"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status",
+ "example": "unpublished"
+ },
+ "isAttended": {
+ "type": "boolean",
+ "description": "isAttended",
+ "example": true
+ },
+ "duration": {
+ "type": "number",
+ "description": "Duration",
+ "example": 2000
+ },
+ "joinedLeftHistory": {
+ "type": "object",
+ "description": "joinedLeftHistory",
+ "example": {
+ "duration": 28,
+ "joinedDateTime": "2021-12-30 06:08:50.250",
+ "leftDateTime": "2021-12-30 06:09:18.393"
+ }
+ }
+ },
+ "required": [
+ "userId",
+ "eventId",
+ "status",
+ "isAttended",
+ "duration",
+ "joinedLeftHistory"
+ ]
+ }
+ }
+ }
+}