Event
Event DTO
{
"id" [INTEGER],
"title": [STRING],
"subTitle": [STRING],
"content": [TEXT],
"website": [URL],
"ticketLink": [URL],
"active": [BOOLEAN],
"updatedAt": [DATETIME],
"createdAt": [DATETIME],
"category": {
"id" [INTEGER],
"name": [STRING]
},
"mainMedia": {
"id" [INTEGER],
"size": [INTEGER],
"originalName": [STRING],
"extension": [ENUM('jpg', 'png', 'gif')],
"caption": [STRING],
"source": [STRING],
"isDownloadable": [BOOLEAN],
"isFreeOfCharge": [BOOLEAN],
"url": [URL],
"uri": [STRING],
"deletedAt": [DATETIME],
"updatedAt": [DATETIME],
"createdAT": [DATETIME],
"thumbs": {
"small": {
"width": 150,
"height": [INTEGER],
"url": [STRING],
"size": [INTEGER]
},
"medium": {
"width": 300,
"height": [INTEGER],
"url": [STRING],
"size": [INTEGER]
}
"large": {
"width": 800,
"height": [INTEGER],
"url": [STRING],
"size": [INTEGER]
},
"cropped-small": {
"width": 300,
"height": 200,
"url": [STRING],
"size": [INTEGER]
},
"cropped-medium": {
"width": 450,
"height": 300,
"url": [STRING],
"size": [INTEGER]
},
"original": {
"width": [INTEGER],
"height": [INTEGER],
"url": [STRING],
"size": [INTEGER]
}
}
},
"client": {
"id" [INTEGER],
"name": [STRING],
"portalFirma": [STRING],
"portalStrasse": [STRING],
"portalPlz": [STRING],
"portalOrt": [STRING],
"portalLand": [COUNTRY],
"portalTelefon": [STRING],
"portalEmail": [STRING],
"portalWebsite": [URL],
"portalInfoTelefon": [STRING],
"portalKartenTelefon": [STRING],
"portalTicketEmail": [STRING],
"portalTicketshopLink": [URL],
"istFestival": [BOOLEAN]
},
"repeatedShows": [{
"id" [INTEGER],
"from": [DATE],
"to": [DATE],
"time": [TIME],
"timeText": [TEXT],
"location": [STRING],
"address": [STRING],
"zip": [STRING],
"city": [STRING],
"monday": [BOOLEAN],
"tuesday": [BOOLEAN],
"wednesday": [BOOLEAN],
"thursday": [BOOLEAN],
"friday": [BOOLEAN],
"saturday": [BOOLEAN],
"sunday": [BOOLEAN],
"updatedAt": [DATETIME],
"createdAT": [DATETIME]
},
...
],
"shows": [{
"id": [INTEGER],
"date": [DATE],
"time": [TIME],
"location": [STRING],
"address": [STRING],
"zip": [STRING],
"city": [STRING],
"isPremiere": [BOOLEAN],
"belongsToRepeatedShow": [BOOLEAN],
"updatedAt": [DATETIME],
"createdAt": [DATETIME]
},
...
]
}
Requests
GET /event/
Gets an array of events.
Query parameters
clientId=[INTEGER]
to filter byclientId
showDateFrom=[DATE]
to filter byshow.date
showDateTo=[DATE]
to filter byshow.date
isFestival=[0,1]
to filter byclient.istFestival
q=[STRING]
to search by keyword(s)page=[INTEGER]
to paginate through the results (default 1)limit=[INTEGER]
to modify the result limit per page (default 25)
Response body
{
"results": [EVENTS],
"resultCount": [INTEGER]
}
GET /event/{eventId}/
Gets a single Event by eventId
.
Response body
Event DTO
Example
Getting the first 25 events with shows starting from 2019-03-04:
curl -X GET https://api.kulturkurier.de/event/?page=1&showDateFrom=2019-03-04 \