Get events
GET
/api/events
Get events. By default, returns upcoming events from now on or of specific collection if collection in home is set.
You can see examples at:
Parameters
Query Parameters
start
Start timestamp (default: now).
Type
integer
Example
1784109600end
End timestamp (optional).
Type
integer
Example
1784109600query
Search for this string in title, place or tags.
Type
string
Example
"test"tags
List of tags.
Type
array
Example
"testtag""testtag2"place
List of places identifiers.
Type
array
Example
2034show_multidate
Show also multidate events (default: true).
Type
boolean
Example
falseshow_recurrent
Show also recurrent events (default: as choosen in admin settings).
Type
boolean
Example
falseshow_federated
Show federated events too.
Type
boolean
Example
falsemax
Limit events.
Type
integer
Example
100pagination
Pagination.
Type
integer
Example
50older
Select <= start instead of >=.
Type
boolean
Example
truereverse
Reverse order.
Type
boolean
Example
trueResponses
List of events.
application/json
JSON { "id": 1, "slug": "event-slug", "status": "EventScheduled", "title": "Event title", "media": [ { "name": "Image name", "url": "6e599b27-5ed8-44c9-b954-53e9c6fa3c80.jpg", "height": 400, "width": 200, "size": 50000, "focalpoint": [ [ 0, 0 ] ] } ], "start_datetime": 1784109600, "end_datetime": 1784131200, "place": { "type": "string", "properties": "string" } }
[
]

