Request Specific Event Information

GET/api/calendar/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id id Event data by id.
curl -X GET "https://yoursite.com/api/calendar/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

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"
    }
]

Error-Response:

HTTP/1.1 404 Not Found
{
    "status": false,
    "message": "No data were found"
}
MethodGET
Path/api/calendar/{id}
GroupCalendar Events
Sincev0.0.0
Defined inmodules/api/controllers/Calendar.php