diff --git a/api-documentation.md b/api-documentation.md index dcd5c74..db7186c 100644 --- a/api-documentation.md +++ b/api-documentation.md @@ -205,7 +205,7 @@ A json object for the meeting to add with **`title`**, `description`, `start_tim "timezone": "Europe/Brussels", "duration": 90, "status": 0, - "password" "simple-meeting-password" + "password": "simple-meeting-password" } ``` @@ -232,12 +232,10 @@ A json object for the added meeting with `id`, `title`, `description`, `start_ti ##### Request -A json object for the meeting to update with `id`, `acount_id` and any of `title`, `description`, `start_time`, `timezone`, `duration`, `status` and `password`. +A json object for the meeting to update with any of `title`, `description`, `start_time`, `timezone`, `duration`, `status` and `password`. ``` { - "id": "f86983db-955e-43b8-be3e-bc92bbeb9b43", - "account_id": 5, "start_time": "2022-02-16 20:00:00", "timezone": "Europe/Brussels", "status": 1 @@ -250,15 +248,13 @@ A json object for the updated meeting with `id`, `title`, `description`, `start_ ``` { - "data": { - "id": "f86983db-955e-43b8-be3e-bc92bbeb9b43", - "title": "Worldwide strategy meeting for growth", - "description": "Let's find the best ethical growth hacking technics together. Yeah, fun.", - "start_time": "2022-02-16 20:00:00", - "timezone": "Europe/Brussels", - "duration: 90, - "status": 1 - } + "id": "f86983db-955e-43b8-be3e-bc92bbeb9b43", + "title": "Worldwide strategy meeting for growth", + "description": "Let's find the best ethical growth hacking technics together.Yeah, fun.", + "start_time": "2022-02-16 20:00:00", + "timezone": "Europe/Brussels", + "duration: 90, + "status": 1 } ``` @@ -282,10 +278,7 @@ A json object for the deleted meeting with `id` and `meeting_title`. ``` { - "data": { - "id": "f86983db-955e-43b8-be3e-bc92bbeb9b43", - "meeting_title": "Worldwide strategy meeting for growth" - } + "message": "Meeting with id f86983db-955e-43b8-be3e-bc92bbeb9b43 successfully deleted." } ```