Request Specific Event Information
GET/api/calendar/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| 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"
}