Last updated 4 months ago
const response = await fetch('/calendars', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/calendars/{uuid}', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/calendars/{uuid}', { method: 'DELETE', headers: {}, }); const data = await response.json();
const response = await fetch('/calendars/{uuid}', { method: 'PATCH', headers: {}, }); const data = await response.json();
const response = await fetch('/bots/{uuid}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "ok": false }
synchronize all events of a new calendar
Fields with value "simple" parse as Kind::Simple. Fields with value "fancy" parse as Kind::SoFancy.
"simple"
Kind::Simple
"fancy"
Kind::SoFancy
const response = await fetch('/calendars', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "oauth_refresh_token": "text", "platform": "Google" }), }); const data = await response.json();
list all events of a calendar
const response = await fetch('/calendar_events', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "google_id": "text", "name": "text", "meeting_url": "text", "start_time": {}, "record": false, "is_organizer": false, "end_time": {}, "status": "PrepareRecording", "error": "text", "session_id": "text", "refuse_recording_by": "text",