Update meetings response

This commit is contained in:
rui hildt 2020-05-04 16:03:39 +02:00
parent 42f8e00e51
commit 8f1947344d

View File

@ -205,7 +205,7 @@ A json object for the meeting to add with **`title`**, `description`, `start_tim
"timezone": "Europe/Brussels", "timezone": "Europe/Brussels",
"duration": 90, "duration": 90,
"status": 0, "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 ##### 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", "start_time": "2022-02-16 20:00:00",
"timezone": "Europe/Brussels", "timezone": "Europe/Brussels",
"status": 1 "status": 1
@ -250,7 +248,6 @@ A json object for the updated meeting with `id`, `title`, `description`, `start_
``` ```
{ {
"data": {
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43", "id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"title": "Worldwide strategy meeting for growth", "title": "Worldwide strategy meeting for growth",
"description": "Let's find the best ethical growth hacking technics together.Yeah, fun.", "description": "Let's find the best ethical growth hacking technics together.Yeah, fun.",
@ -259,7 +256,6 @@ A json object for the updated meeting with `id`, `title`, `description`, `start_
"duration: 90, "duration: 90,
"status": 1 "status": 1
} }
}
``` ```
#### Delete a meeting #### Delete a meeting
@ -282,10 +278,7 @@ A json object for the deleted meeting with `id` and `meeting_title`.
``` ```
{ {
"data": { "message": "Meeting with id f86983db-955e-43b8-be3e-bc92bbeb9b43 successfully deleted."
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"meeting_title": "Worldwide strategy meeting for growth"
}
} }
``` ```