Skip to main content

Search Events

This endpoint (without params) returns the list of all events visible for the current user; this means all events with visible = true and also the events with visible = false and subscribed by the current user. The list of events can be filtered by some params (see the parameters section for more information).

info

This operation requires authentication only if content_availability community option is false.

HTTP Request

GET /api/v2/event/search/

Parameters

NameInTypeRequiredDescription
searchquerystringfalseA term that will be searched for within the event name and description
date_filterquerystringfalseFilter events by date; return only events that will be running in the: past, today, tomorrow, this_week, next_week, this_month
followsquerybooleanfalseReturn only events my followings (or connections) are subscribed to
limitqueryintegerfalseNumber of results to return per page
offsetqueryintegerfalseThe initial index from which to return the results

Example Request


const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/event/search/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» countintegerfalsenoneTotal results count
» nextstring(uri)¦nullfalsenoneNext page url
» previousstring(uri)¦nullfalsenonePrevious page url
» resultslist(Event)falsenoneList of results