Update meetings and accounts

This commit is contained in:
rui hildt 2020-05-04 15:36:16 +02:00
parent 3292cd740d
commit 42f8e00e51

View File

@ -92,7 +92,6 @@ A json object for the account to register with `id` and any of `username`, `emai
``` ```
{ {
"id": 15,
"earliest_time": "08:30 AM", "earliest_time": "08:30 AM",
"latest_time": "08:00 PM" "latest_time": "08:00 PM"
} }
@ -119,11 +118,11 @@ A json object for the registered account with `id`, `username`, `email`, `timezo
##### Request ##### Request
A json object for the account to delete with `id`. A json object for the account to delete with `token`.
``` ```
{ {
"id": 15 "token": "dsdfs-sdfsf-fefzefz-fzef"
} }
``` ```
@ -143,11 +142,11 @@ A json object for the deleted account with confirmation message.
##### Request ##### Request
A json object with an `account_id`. A json object with an `token`.
``` ```
{ {
"id": 5 "token": "qsd-qsdqd-dfsdfsfsd-sdfsdfs"
} }
``` ```
@ -196,15 +195,17 @@ A json object for the specified account with an array of `meeting`.
##### Request ##### Request
A json object for the meeting to add with **`id`**, **`title`**, `description`, `start_time`, **`duration`** and `password`. A json object for the meeting to add with **`title`**, `description`, `start_time`, **`duration`** and `password`.
``` ```
{ {
"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.",
"start_time": "10:00",
"timezone": "Europe/Brussels",
"duration": 90, "duration": 90,
"password": "generic-password" "status": 0,
"password" "simple-meeting-password"
} }
``` ```
@ -214,13 +215,14 @@ A json object for the added meeting with `id`, `title`, `description`, `start_ti
``` ```
{ {
"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.",
"start_time": "10:00",
"timezone": "Europe/Brussels",
"duration": 90, "duration": 90,
"status": 0 "status": 0,
} "password" "simple-meeting-password"
} }
``` ```