GET /events
Returns all events of a day.
(required) all parameters
- year — a year in number format
- month — a month in number format
- day — a day in number format
{
"events": ["Array of events"]
}
- 204 No Content — This status returns on a day with no event.
- 400 Bad Request — Request did not contain one of the required parameters.
- 500 Internal Server Error — there is a problem with time.ir
Request
GET /events?year=1397&month=07&day=14
Return
{
"events": [
"روز دامپزشکی"
]
}