API Guide Items- Calendar_Events - Get All Calendar Events

Calendar_Events - Get All Calendar Events

GET yourdomain.com/api/calendar/

Header

json
Field Type Description
Authorization String

Basic Access Authentication token.

HTTP/1.1 200 OK
[
    {
        "eventid": "1",
        "title": "Hello",
        "description": "test",
        "userid": "1",
        "start": "2023-12-12 07:00:00",
        "end": 2023-12-12 07:00:00,
        "public": "1",
        "color": "#03a9f4",
        "isstartnotified": "0",
        "reminder_before": "30",
        "reminder_before_type": "minutes"
    },
    {
        "eventid": "2",
        "title": "Hello2",
        "description": "test2",
        "userid": "2",
        "start": "2022-12-12 07:00:00",
        "end": 2022-12-12 07:00:00,
        "public": "0",
        "color": "#03a9f4",
        "isstartnotified": "0",
        "reminder_before": "3",
        "reminder_before_type": "hours"
    }
]
HTTP/1.1 404 Not Found
{
    "status": false,
    "message": "No data were found"
}

Did you find this article useful?