diff --git a/openapi.yaml b/openapi.yaml index a3932930e04d969008d4f6d9cc1ff260ea8d7b3d..8911ab3215a1adf0e9482729b5e0a74a7a9b9f9d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: - version: 2.0 + version: "2.0" title: CF Online description: CF Online license: @@ -306,6 +306,13 @@ paths: - config summary: "Upravit polozku konfigu" operationId: updateConfigEntry + parameters: + - name: id + description: "ID" + in: path + schema: + type: integer + required: true requestBody: content: application/json: @@ -429,6 +436,13 @@ paths: - events summary: "Detail udalosti" operationId: getEvent + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer responses: 200: description: Udalost @@ -442,8 +456,15 @@ paths: - Bearer: [] tags: - events - summary: "Uprava udalosti" + summary: "Editace udalosti" operationId: updateEvent + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer requestBody: content: application/json: @@ -490,6 +511,13 @@ paths: - event summary: "Smazat udalost" operationId: deleteEvent + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer responses: 204: description: Event deleted @@ -556,6 +584,13 @@ paths: - programm summary: "Upravit bod programu" operationId: updateProgramEntry + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer requestBody: content: application/json: @@ -647,6 +682,13 @@ paths: - announcements summary: "Upravit notifikaci" operationId: updateAnnouncement + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer requestBody: content: application/json: @@ -663,6 +705,13 @@ paths: - announcements summary: "Smazat notifikaci" operationId: deleteAnnouncement + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer responses: 204: description: Announcement deleted @@ -767,6 +816,13 @@ paths: - posts summary: "Detail zpravy" operationId: getPost + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer responses: 200: description: Post @@ -782,6 +838,13 @@ paths: - posts summary: "Uprava zpravu" operationId: updatePost + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer requestBody: content: application/json: @@ -808,6 +871,13 @@ paths: - posts summary: "Smazat zpravu" operationId: deletePost + parameters: + - name: id + in: path + required: true + description: "ID" + schema: + type: integer responses: 204: description: Post deleted @@ -822,6 +892,12 @@ paths: summary: "Like" operationId: likePost parameters: + - name: id + in: path + description: "ID" + required: true + schema: + type: integer - name: ranking in: query required: false @@ -843,6 +919,12 @@ paths: summary: "Like" operationId: dislikePost parameters: + - name: id + in: path + description: "ID" + schema: + type: integer + required: true - name: ranking in: query required: false @@ -880,6 +962,13 @@ paths: - users summary: Ban user operationId: banUser + parameters: + - name: id + in: path + description: "ID" + schema: + type: integer + required: true responses: 204: description: User banned @@ -893,6 +982,13 @@ paths: - users summary: Unban user operationId: UnbanUser + parameters: + - name: id + in: path + description: "ID" + required: true + schema: + type: integer responses: 204: description: User banned @@ -906,6 +1002,13 @@ paths: - users summary: Set jitsi access operationId: jitsi + parameters: + - name: id + description: "ID" + in: path + schema: + type: integer + required: true requestBody: content: application/json: